Sponsored Content
Operating Systems AIX xntpd starts after reboot only when HACMP services are started ? Post 302422404 by shockneck on Tuesday 18th of May 2010 09:47:31 AM
Old 05-18-2010
You did not tell us what your cluster's topology looks like and you think the HA release is 5.4. So let me make some assumptions based on what it should look like when you use IPAT with aliasing which is the default for 5.4.

Your cluster has two physical adapters which are configured during boot with a non routed IP address each. E.g. after node boot your adapters are configured with sth. like 192.168.10.1 and 192.168.20.1 on one node and 192.168.10.2 and 192.168.20.2 on the other. These addresses are just used for cluster communication and the nodes are not reachable via TCP/IP from your production network. Only after a Resource Group is online you have a (Service Label) IP address active and the default route. At least this is the presuppostion HA makes. If you understand this you now know why xntpd becomes active after a RG came online only: HA 5.4 deferrs the start of all services that rely on a working production network.

To avoid the nodes (without an active RG) being not reachable via TCP/IP from production network IBM introduced the Persistent Address. Such an address is configured during node boot as an alias and while it is accessible right from the start it is not part of a resource group. Opposed to an aliased boot address such a Persistent IP may be in the same subnet as the Service IP Label. Because the default route is usually tied to this subnet the node is then always reachable just as any other non-clustered node. With a working TCP/IP environment you could start it from the /etc/rc.tcpip automatically with
Code:
start /usr/sbin/xntpd "$src_running"

and/or manually with
Code:
# startsrc -s xntpd

You may read the HA 5.4 Installation Guide and the HA 5.4 Admin Guide. Then follow up with the sg246769 redbook aka HACMP cookbook.

Last edited by shockneck; 05-18-2010 at 11:30 AM.. Reason: typo
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Command xntpd

Hi: I,am trying syncronise clock, but i canīt do it In the server client put: /etc/ntp.conf -> server namehost -> resolver /etc/xntpres /etc/tcp -> uncoment lines when say Xntpd /etc/ xntpd In the server as server clock: /etc/ntp.conf -> peers hostname if... (1 Reply)
Discussion started by: AlvaroD
1 Replies

2. IP Networking

Services not started - HELP!!!!

Yesterday, we had an outage and Solaris 8 Sunfirer Server. Now today we can telnet, ftp or rhost in the server. We are getting error message connection refused for each connection. Is there any other way to get into box to see what is going on with the services? Please advise ASAP (4 Replies)
Discussion started by: cassy
4 Replies

3. AIX

services persistant across reboot

Hi, I am nerw to AIX. how can i make certain services to be persistant across reboot,similar to "chkconfig" in linux. Thanks, amit (2 Replies)
Discussion started by: amit4g
2 Replies

4. HP-UX

Services persistant across reboot

Hi All, I need to run a daemon which should start automatically during reboot. which all files i need to alter/modify ? /etc/inittab ? Thanks, Amit (1 Reply)
Discussion started by: amit4g
1 Replies

5. AIX

HACMP does not start db2 after failover (db2nodes not getting modified by hacmp)

hi, when I do a failover, hacmp always starts db2 but recently it fails to start db2..noticed the issue is db2nodes.cfg is not modified by hacmp and is still showing primary node..manually changed the node name to secondary after which db2 started immediately..unable to figure out why hacmp is... (4 Replies)
Discussion started by: gkr747
4 Replies

6. AIX

Thoughts on HACMP: Automatic start of cluster services

Hi all, I remember way back in some old environment, having the HA cluster services not being started automatically at startup, ie. no entry in /etc/inittab. I remember reason was (taken a 2 node active/passive cluster), to avoid having a backup node being booted, so that it will not... (4 Replies)
Discussion started by: zaxxon
4 Replies

7. Shell Programming and Scripting

Need to write a shell script that starts one, then kills it, then starts another?

This is on a CentOS box, I have two scripts that need to run in order. I want to write a shell script that calls the first script, lets it run and then terminates it after a certain number of hours (that I specify of course), and then calls the second script (they can't run simultaneously) which... (3 Replies)
Discussion started by: btramer
3 Replies

8. Linux

Application services not starting with server reboot

Hi All, My application uses three different sub-services to make complete application up and running to normal. The entry of all the three services are present in /etc/init.d directory with proper softlink created to application home path where it actually exists. In one rare case one of the... (3 Replies)
Discussion started by: hk_kamozalwar
3 Replies

9. Solaris

Lot of services in non-global zones, in uninitialized after reboot

Hello, This is Solaris-10 server, running with 4 non-global zones. This server was hung today and I had to reboot it forcefully from console. Then root file-system was not clean and I had to run fsck from failsafe mode. After it came back in run-level-3, lot of services are showing in... (3 Replies)
Discussion started by: solaris_1977
3 Replies

10. Shell Programming and Scripting

Inotifywait restart script prevents reboot when started

Hi, maybe someone could help me optimizing this little script. It works so far, but when running, reboot does not work. If kill inotifywait reboot from shell works. I think some optimization is required here. This script starts at the end of the boot process, from an external device and... (3 Replies)
Discussion started by: lowmaster
3 Replies
reboot(2)							System Calls Manual							 reboot(2)

NAME
reboot - boot the system SYNOPSIS
DESCRIPTION
causes the system to reboot. howto is a mask of reboot options (see specified as follows: A file system sync is performed (unless is set) and the processor is rebooted from the default device and file. The processor is simply halted. A sync of the file system is performed unless the flag is set. should be used with caution. On systems with cellular architecture, all cells in the partition are rebooted in order to reconfigure the stable complex configuration data. On systems with non-cellular architec- ture, the default is A sync of the file system is performed unless the flag is set. Shut down the system firmware to a "ready to reconfigure" state and do not reboot. This option can be used only in combination with A sync of the file system is not performed. Unless the flag has been specified, reboot(2) unmounts all mounted file systems and marks them clean so that it will not be necessary to run fsck(1M) on these file systems when the system reboots. Only users with appropriate privileges can reboot a machine. RETURN VALUE
If successful, this call never returns. Otherwise, a -1 is returned and is set to indicate the error. ERRORS
fails if this condition is encountered: [EPERM] The effective user ID of the caller is not a user with appropriate privileges. DEPENDENCIES
The default file and device for is on the current root device. AUTHOR
was developed by HP and the University of California, Berkeley. SEE ALSO
reboot(1M), privileges(5). reboot(2)
All times are GMT -4. The time now is 10:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy