AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
Expand all | Collapse all

xntpd starts after reboot only when HACMP services are started ?

  • 1.  xntpd starts after reboot only when HACMP services are started ?

    Posted Fri May 14, 2010 05:48 PM

    Originally posted by: Vilius


    Hello,

    Running AIX 6.1, AIX machine is HACMP node.
    Recently I set up ntp service. Started xntpd by hand - everythig is OK. Configured xntpd to start after reboot and rebooted the machine. After reboot checked xntpd:
    
    # lssrc -a|grep ntp xntpd            tcpip                         inoperative
    

    I didn't find any reason why it didn't start. Anyway I started HACMP after some time - and xntpd started right away:
    
    -bash-3.00# lssrc -a|grep ntp xntpd            tcpip            458684       active
    

    So after some checks it was obvious - xntpd starts automatically only after cluster services are started.

    Why this is happening ?

    thanks
    Vilius
    #AIX-Forum


  • 2.  Re: xntpd starts after reboot only when HACMP services are started ?

    Posted Mon May 17, 2010 07:23 AM

    Originally posted by: CRM


    Hi,

    This is something to do with the way HACMP caters for NFS mounts I seem to recall.

    If you have a look at the inittab you will see that rc.tcpip has been changed from run-level 2 to run-level a and HACMP calls telinit a to start the a level services only during a resource group aquisition.

    What I did was create an rc.local and call startsrc -s xntpd as part of the boot process to make sure the standby node has time sync started from boot.

    regards

    Chris
    #AIX-Forum


  • 3.  Re: xntpd starts after reboot only when HACMP services are started ?

    Posted Tue May 18, 2010 12:34 AM

    Originally posted by: Vilius


    Hi,

    Thanks for answer.
    I just thought that this situation is almost OK for me.
    Just one thing that all the servers put 'a' into runlevel of rc.tcpip except one, while config of all of them should be the same.
    So hacmp config could be the reason ?

    thanks
    V
    #AIX-Forum


  • 4.  Re: xntpd starts after reboot only when HACMP services are started ?

    Posted Tue May 18, 2010 12:50 AM

    Originally posted by: Vilius


    yeeee
    #AIX-Forum