Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / February 2006

Tip: Looking for answers? Try searching our database.

Linux: How does db2iauto work?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Burkhard Schultheis - 10 Feb 2006 13:45 GMT
On Linux and other UNIX like systems, you can configure a db2 instance
to start automatically at system start with the command db2iauto -on
<instance name>. But how does it work?
On Linux (SuSE 9.3) I see no entry in /etc/inittab and no entry within
/etc/init.d. All I see is this: There is an undocumented DB2 variable
(db2set -lr doesn't know it) DB2AUTOSTART, which will be set to YES or
unset via the db2iauto command.

Which mechanism starts DB2?

Regards,
Signature

Burkhard Schultheis
Tele Data Electronic, Wagnerstr. 10, D-76448 Durmersheim
Email: schultheis@tde-online.de
Phone: +49 7245 9287-21

Darin McBride - 11 Feb 2006 16:25 GMT
> On Linux and other UNIX like systems, you can configure a db2 instance
> to start automatically at system start with the command db2iauto -on
[quoted text clipped - 5 lines]
>
> Which mechanism starts DB2?

You should see in the inittab an entry for db2fmcd (unless you've removed
it).  That entry looks for all instances marked with the autostart value
and starts them during boot.
Evaldez - 12 Feb 2006 12:35 GMT
> > On Linux and other UNIX like systems, you can configure a db2 instance
> > to start automatically at system start with the command db2iauto -on
[quoted text clipped - 9 lines]
> it).  That entry looks for all instances marked with the autostart value
> and starts them during boot.

Verify whether you have the DB2AUTOSTART registry variable set for your
instance.
"db2set DB2AUTOSTART -i db2inst1" will list what the DB2AUTOSTART is
set to.

For instance, if your instance name is db2inst1 and you have done a
"db2set DB2AUTOSTART=YES", then the command above "db2set DB2AUTOSTART
-i db2inst1" should return YES.

If it is not set to YES, log in as the instance owner and type "db2set
DB2AUTOSTART=YES".

That should do it.
Give it a try !!

Enrique Valdez
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.