Re: IPL



It really depends on your shops makeup. If you are a mixed shop ( linux
, solaris , AIX ) I personally recommend using the /etc/rc.X scripts.
Will make it easier for your co-workers to support. However, if you are
primarily AIX I prefer the SRC. Once you get use to it, its easy to
manipulate. I've constructed them before in the SRC so one simple
command to the group object can restart/stop/start all the production
processes. So don't think solely of yourself, think of who actually may
be doing the support ( if this is an option other than yourself ).

Jon

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Davignon, Edward
Sent: Friday, February 29, 2008 10:56 AM
To: aix-l@xxxxxxxxxxxxx
Subject: Re: IPL

Isn't is better to start things using SRC to guarantee a consistent
environment when restarting processes?

-Edward Davignon

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Bob Booth
Sent: Friday, February 29, 2008 12:19 PM
To: aix-l@xxxxxxxxxxxxx
Subject: Re: IPL

On Fri, Feb 29, 2008 at 04:42:06PM -0000, John Dunn wrote:
What is the best way to start a application when the server boots up?

Should I use inittab or is some other method recommended?

AIX version is 5.3

5.3 supports both inittab, or /etc/rc.X scripts. Both allow you to
control
what run level your application will start under.

If using inittab, be careful about using 'respawn' since most
applications
need to be coded a certain way to work this way.

If you want to use the /etc/rc.X method, you can create start/stop
scripts
in those directories, which makes things look more like Solaris, and
Linux.

There is a readme file in /etc/rc.d/samples for more information about
the rc startup stuff.

cheers,

bob



Relevant Pages