db starts automatically at or after server startup

My env is:  DB2 UDB 8.1.5 in AIX 5.1 system

Can I run a db2 command as user of the instance xxxxxxx to have the db start automatically at system startup?  In other words, is there is a command/or set of commands that will cause the db2 instance to automatically start db2 for users to connect and use the database, without manual intervention?  

What auth would I need?  How can I set it up, could anyone give step by step instruction?  Any help will be greatly appreciated.  


200 pts.
dbrukAsked:
Who is Participating?
 
ghp7000Connect With a Mentor Commented:
to stop the instance you issue:
db2stop
to start the instance you use
db2start
therefore, use a script with these commands
see:
http://publib.boulder.ibm.com/infocenter/db2help/topic/com.ibm.db2.udb.doc/core/r0001939.htm?resultof=%22%64%62%32%73%74%61%72%74%22%20
0
 
db2inst1Commented:

Issue these commands to autostart DB2 when the system starts up!!

db2iauto -on <instance name>

dasauto -on <das instance name>
0
All Courses

From novice to tech pro — start learning today.