Unix Technical Forum

HACMP does not start while inittab was set for

This is a discussion on HACMP does not start while inittab was set for within the AIX Operating System forums, part of the Unix Operating Systems category; --> Context : 6H1 AIX5.1 and HACMP4.4.1 I encoutered a new pb last friday evening : After a mere reboot ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-04-2008, 09:10 PM
Frédéric Normand
 
Posts: n/a
Default HACMP does not start while inittab was set for

Context : 6H1 AIX5.1 and HACMP4.4.1


I encoutered a new pb last friday evening :

After a mere reboot (but are there any mere reboots) my 6H1 refuses to
launch the hacmp processes, though the "start on restart" command had
been submitted

See the tail of /etc/inittab


>>>>>>>>>>>>

ctrmc:2nce:/usr/bin/startsrc -s ctrmc > /dev/console 2>&1
rcopc:2:wait:sh /etc/rc.opc > /dev/console 2>&1 # start OpC
lpd:2nce:/usr/bin/startsrc -s lpd

clinit:a:wait:/bin/touch /usr//sbin/cluster/.telinit # HACMP for AIX
These must
be the last entries in inittab!
pst_clinit:a:wait:/bin/echo Created /usr//sbin/cluster/.telinit >
/dev/console #
HACMP for AIX These must be the last entries in inittab!
hacmp6000:2:wait:/usr//sbin/cluster/etc/rc.cluster -boot -i -b #
Bring up Cluster

<<<<

The system restarted, but no cluster processes appeared though I wait
for more than 5 mn. (nothing visible with the lssrc -g cluster
command)
I finally typed the smitty clstart now command and it immediatly
started and brought the resources on.

What could have happened, dear gurues ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-04-2008, 09:11 PM
Frédéric Normand
 
Posts: n/a
Default Re: HACMP does not start while inittab was set for

On Wed, 17 Sep 2003 17:57:08 +0200, Frédéric Normand
<fr.normand@laposte.net> wrote:

>Context : 6H1 AIX5.1 and HACMP4.4.1
>
>
>I encoutered a new pb last friday evening :
>
>After a mere reboot (but are there any mere reboots) my 6H1 refuses to
>launch the hacmp processes, though the "start on restart" command had
>been submitted
>
>See the tail of /etc/inittab
>
>
>>>>>>>>>>>>>

>ctrmc:2nce:/usr/bin/startsrc -s ctrmc > /dev/console 2>&1
>rcopc:2:wait:sh /etc/rc.opc > /dev/console 2>&1 # start OpC
>lpd:2nce:/usr/bin/startsrc -s lpd
>
>clinit:a:wait:/bin/touch /usr//sbin/cluster/.telinit # HACMP for AIX
>These must
>be the last entries in inittab!
>pst_clinit:a:wait:/bin/echo Created /usr//sbin/cluster/.telinit >
>/dev/console #
> HACMP for AIX These must be the last entries in inittab!
>hacmp6000:2:wait:/usr//sbin/cluster/etc/rc.cluster -boot -i -b #
>Bring up Cluster
>
><<<<
>
>The system restarted, but no cluster processes appeared though I wait
>for more than 5 mn. (nothing visible with the lssrc -g cluster
>command)
>I finally typed the smitty clstart now command and it immediatly
>started and brought the resources on.
>
>What could have happened, dear gurues ?


I answer my own message, due to a discussion with a colleague.
He says that, though commented lines (beginning with a : character)
are supported in the inittab, these comments must be at the beginning.

Does anybody confirm ?

To make a long story short : is it safe to insert comments in the
inittab file ?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-04-2008, 09:11 PM
Steve Nottingham
 
Posts: n/a
Default Re: HACMP does not start while inittab was set for

Frédéric Normand <fr.normand@laposte.net> wrote in message news:<4d2jmv8a6oqkl9oq520il5ihejolunqimu@4ax.com>. ..
> On Wed, 17 Sep 2003 17:57:08 +0200, Frédéric Normand
> <fr.normand@laposte.net> wrote:
>
> >Context : 6H1 AIX5.1 and HACMP4.4.1
> >
> >
> >I encoutered a new pb last friday evening :
> >
> >After a mere reboot (but are there any mere reboots) my 6H1 refuses to
> >launch the hacmp processes, though the "start on restart" command had
> >been submitted
> >
> >See the tail of /etc/inittab
> >
> >
> >>>>>>>>>>>>>

> >ctrmc:2nce:/usr/bin/startsrc -s ctrmc > /dev/console 2>&1
> >rcopc:2:wait:sh /etc/rc.opc > /dev/console 2>&1 # start OpC
> >lpd:2nce:/usr/bin/startsrc -s lpd
> >
> >clinit:a:wait:/bin/touch /usr//sbin/cluster/.telinit # HACMP for AIX
> >These must
> >be the last entries in inittab!
> >pst_clinit:a:wait:/bin/echo Created /usr//sbin/cluster/.telinit >
> >/dev/console #
> > HACMP for AIX These must be the last entries in inittab!
> >hacmp6000:2:wait:/usr//sbin/cluster/etc/rc.cluster -boot -i -b #
> >Bring up Cluster
> >
> ><<<<
> >
> >The system restarted, but no cluster processes appeared though I wait
> >for more than 5 mn. (nothing visible with the lssrc -g cluster
> >command)
> >I finally typed the smitty clstart now command and it immediatly
> >started and brought the resources on.
> >
> >What could have happened, dear gurues ?

>
> I answer my own message, due to a discussion with a colleague.
> He says that, though commented lines (beginning with a : character)
> are supported in the inittab, these comments must be at the beginning.
>
> Does anybody confirm ?
>
> To make a long story short : is it safe to insert comments in the
> inittab file ?


It is safe to insert comments into inittab, they can be anywhere in
the file, but they must have a : as the first character. It is also
supported to have a comment at the end of an entry, preced by a #
(hash) e.g. dsmcad:2nce:/usr/tivoli/tsm/client/ba/bin/dsmcad
>/dev/null 2>&1 # Start TSM W

eb Agent

Steve
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-04-2008, 09:11 PM
Chris Blanks
 
Posts: n/a
Default Re: HACMP does not start while inittab was set for

Lines begging with a : are acceptable comments in /etc/inittab
throughout the file. I use this technique frequently when commenting
out lines that I do not want executed while I am testing.

Hope this helps.
-Chris

Frédéric Normand <fr.normand@laposte.net> wrote in message news:<4d2jmv8a6oqkl9oq520il5ihejolunqimu@4ax.com>. ..
> On Wed, 17 Sep 2003 17:57:08 +0200, Frédéric Normand
> <fr.normand@laposte.net> wrote:
>
> >Context : 6H1 AIX5.1 and HACMP4.4.1
> >
> >
> >I encoutered a new pb last friday evening :
> >
> >After a mere reboot (but are there any mere reboots) my 6H1 refuses to
> >launch the hacmp processes, though the "start on restart" command had
> >been submitted
> >
> >See the tail of /etc/inittab
> >
> >
> >>>>>>>>>>>>>

> >ctrmc:2nce:/usr/bin/startsrc -s ctrmc > /dev/console 2>&1
> >rcopc:2:wait:sh /etc/rc.opc > /dev/console 2>&1 # start OpC
> >lpd:2nce:/usr/bin/startsrc -s lpd
> >
> >clinit:a:wait:/bin/touch /usr//sbin/cluster/.telinit # HACMP for AIX
> >These must
> >be the last entries in inittab!
> >pst_clinit:a:wait:/bin/echo Created /usr//sbin/cluster/.telinit >
> >/dev/console #
> > HACMP for AIX These must be the last entries in inittab!
> >hacmp6000:2:wait:/usr//sbin/cluster/etc/rc.cluster -boot -i -b #
> >Bring up Cluster
> >
> ><<<<
> >
> >The system restarted, but no cluster processes appeared though I wait
> >for more than 5 mn. (nothing visible with the lssrc -g cluster
> >command)
> >I finally typed the smitty clstart now command and it immediatly
> >started and brought the resources on.
> >
> >What could have happened, dear gurues ?

>
> I answer my own message, due to a discussion with a colleague.
> He says that, though commented lines (beginning with a : character)
> are supported in the inittab, these comments must be at the beginning.
>
> Does anybody confirm ?
>
> To make a long story short : is it safe to insert comments in the
> inittab file ?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-04-2008, 09:11 PM
Frédéric Normand
 
Posts: n/a
Default Re: HACMP does not start while inittab was set for

On 18 Sep 2003 07:55:11 -0700, Chris_S_Blanks@yahoo.com (Chris Blanks)
wrote:

>Lines begging with a : are acceptable comments in /etc/inittab
>throughout the file. I use this technique frequently when commenting
>out lines that I do not want executed while I am testing.
>


Thanks to both of you.

By the way, some says empty lines (CR alone) could make PB in inittab.
Do you confirm ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-04-2008, 09:12 PM
Steve Nottingham
 
Posts: n/a
Default Re: HACMP does not start while inittab was set for

Frédéric Normand <fr.normand@laposte.net> wrote in message news:<sallmvos3ii7buh6kteoijlhl4h4a0q71m@4ax.com>. ..
> On 18 Sep 2003 07:55:11 -0700, Chris_S_Blanks@yahoo.com (Chris Blanks)
> wrote:
>
> >Lines begging with a : are acceptable comments in /etc/inittab
> >throughout the file. I use this technique frequently when commenting
> >out lines that I do not want executed while I am testing.
> >

>
> Thanks to both of you.
>
> By the way, some says empty lines (CR alone) could make PB in inittab.
> Do you confirm ?


I've never seen a blank line in inittab, so couldn't comment. The
recommended way to update inittab is to use mkitab and rmitab and this
doesn't (AFAIK) allow you to put a blank line in.

Steve
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:19 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com