Operating System - HP-UX
1833792 Members
2293 Online
110063 Solutions
New Discussion

Re: syslog regarding to execute command "cmhaltcl"

 
study unix
Regular Advisor

syslog regarding to execute command "cmhaltcl"

Hi All,
after run cmhaltcl successfully, its related syslog will note down some message!
who can give one example(syslog) for study!
because I need one example compared with my syslog output,thanks for your support!
8 REPLIES 8
study unix
Regular Advisor

Re: syslog regarding to execute command "cmhaltcl"

Who can give one support!Thanks again!
S. Ney
Trusted Contributor

Re: syslog regarding to execute command "cmhaltcl"

I've attached a sample syslog output from one of our old clusters. You'll also want to make sure you check (traditional directory) /etc/cmcluster/pkg directory for the log files as well.
study unix
Regular Advisor

Re: syslog regarding to execute command "cmhaltcl"

Hi S.Ney,
Thanks for your reply,
but I want one syslog including the message after to run command "cmhaltcl"!
Thanks again!
Kapil Jha
Honored Contributor

Re: syslog regarding to execute command "cmhaltcl"

why you want to compare every system is different, just read your syslog and if you find something suspected send the message it would be easier for you to understand.

If you have 10 syslog comparing is not going to help you much.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
rariasn
Honored Contributor

Re: syslog regarding to execute command "cmhaltcl"

Hi,

Jul 22 07:30:34 node1 cmcld: Request from node node1 to halt package pkg_prod1 on node node1.
Jul 22 07:30:34 node1 cmcld: Executing '/etc/cmcluster/pkg_prod1/control.sh stop' for package pkg_prod1, as service PKG*22033.
Jul 22 07:30:42 node1 cmcld: Service PKG*22033 terminated due to an exit(0).
Jul 22 07:30:42 node1 cmcld: Halted package pkg_prod1 on node node1.
Jul 22 07:35:21 node1 cmcld: Request from node node1 to start package pkg_prod1 on node node1.
Jul 22 07:35:21 node1 cmcld: Executing '/etc/cmcluster/pkg_prod1/control.sh start' for package pkg_prod1, as service PKG*22033.
Jul 22 07:36:18 node1 cmcld: Service PKG*22033 terminated due to an exit(0).
Jul 22 07:36:18 node1 cmcld: Started package pkg_prod1 on node node1.
Jul 23 07:30:40 node1 cmcld: Request from node node1 to halt package pkg_prod1 on node node1.
Jul 23 07:30:40 node1 cmcld: Executing '/etc/cmcluster/pkg_prod1/control.sh stop' for package pkg_prod1, as service PKG*22033.
Jul 23 07:30:47 node1 cmcld: Service PKG*22033 terminated due to an exit(0).
Jul 23 07:30:47 node1 cmcld: Halted package pkg_prod1 on node node1.
Jul 23 07:35:32 node1 cmcld: Request from node node1 to start package pkg_prod1 on node node1.
Jul 23 07:35:32 node1 cmcld: Executing '/etc/cmcluster/pkg_prod1/control.sh start' for package pkg_prod1, as service PKG*22033.
Jul 23 07:36:28 node1 cmcld: Service PKG*22033 terminated due to an exit(0).
Jul 23 07:36:28 node1 cmcld: Started package pkg_prod1 on node node1.

rgs,
rariasn
Honored Contributor

Re: syslog regarding to execute command "cmhaltcl"

Sample HALT node:

Jul 11 09:14:42 node1 cmcld: Request from node node2 to halt package pkg_prod1 on node node1.
Jul 11 09:14:42 node1 cmcld: Executing '/etc/cmcluster/pkg_prod1/control.sh stop' for package pkg_prod1, as service PKG*63492.
Jul 11 09:16:04 node1 cmcld: Service PKG*63492 terminated due to an exit(0).
Jul 11 09:16:04 node1 cmcld: Halted package pkg_prod1 on node node1.
Jul 11 09:16:05 node1 cmcld: Turning off safety time: node halting
Jul 11 09:16:05 node1 cmcld: Service cmlvmd terminated due to an exit(0).
Jul 11 09:16:05 node1 cmcld: This node (node1) has ceased cluster activities.
Jul 11 09:16:05 node1 cmcld: Daemon exiting

rgs,
Deeos
Regular Advisor

Re: syslog regarding to execute command "cmhaltcl"

hi



Jul 23 15:55:23 amdb01 syslog: cmhaltcl
Jul 23 15:54:14 amdb01 cmdisklockd[1989]: Unable to convert device to I/O tree node: I/O tree node does not exist.
Jul 23 15:55:23 amdb01 above message repeats 14 times
Jul 23 15:55:23 amdb01 cmcld[1977]: Request from root on node amdb01 to halt the cluster on this node
Jul 23 15:55:27 amdb01 vmunix: GAB INFO V-15-1-20032 Port d closed
Jul 23 15:55:27 amdb01 cmcld[1977]: Service SG-CFS-pre_shutdown-check terminated due to an exit(0).
Jul 23 15:55:27 amdb01 cmcld[1977]: Executing '/etc/cmcluster/cfs/SG-CFS-pkg.sh stop' for package SG-CFS-pkg, as service PKG*
59905.
Jul 23 15:55:27 amdb01 cmvxd[2073]: package SG-CFS-pkg status: node 1 halting, node 2 not owned
Jul 23 15:55:29 amdb01 cmdisklockd[1989]: Unable to convert device to I/O tree node: I/O tree node does not exist.
Jul 23 15:55:33 amdb01 syslog: cmhaltserv SG-CFS-sgcvmd
Jul 23 15:55:33 amdb01 syslog: cmhaltserv SG-CFS-vxfsckd
Jul 23 15:55:37 amdb01 vmunix: GAB INFO V-15-1-20032 Port f closed
Jul 23 15:55:39 amdb01 vmunix: GAB INFO V-15-1-20032 Port v closed
Jul 23 15:55:39 amdb01 vmunix: GAB INFO V-15-1-20032 Port w closed
Jul 23 15:55:39 amdb01 vmunix: GAB INFO V-15-1-20032 Port b closed
Jul 23 15:55:39 amdb01 vmunix: GAB INFO V-15-1-20032 Port a closed
Jul 23 15:55:40 amdb01 syslog: cmhaltserv SG-CFS-cmvxd
Jul 23 15:55:40 amdb01 cmvxd[2073]: cmvxd exiting with status 0
Jul 23 15:55:40 amdb01 syslog: cmhaltserv SG-CFS-cmvxpingd
Jul 23 15:55:40 amdb01 syslog: cmhaltserv SG-CFS-vxconfigd
Jul 23 15:55:41 amdb01 cmcld[1977]: Service PKG*59905 terminated due to an exit(0).
Jul 23 15:55:41 amdb01 cmcld[1977]: Halted package SG-CFS-pkg on node amdb01.
Jul 23 15:55:41 amdb01 cmcld[1977]: Node shutdown in progress. Postponing processing package requests.
Jul 23 15:55:41 amdb01 cmcld[1977]: Waiting for CMGMSD to complete halting process
Jul 23 15:55:41 amdb01 cmcld[1977]: Service cmlvmd terminated due to an exit(0).
Jul 23 15:55:41 amdb01 cmgmsd[1991]: cmgmsd processing shutdown message
Jul 23 15:55:41 amdb01 cmgmsd[1991]: cmgmsd exiting...
Jul 23 15:55:41 amdb01 cmcld[1977]: Service cmgmsd terminated due to an exit(0).
Jul 23 15:55:41 amdb01 cmcld[1977]: Service cmdisklockd terminated due to an exit(0).
Jul 23 15:55:41 amdb01 cmcld[1977]: Service cmlockd terminated due to an exit(0).
Jul 23 15:55:41 amdb01 cmnetd[1986]: Subnet 10.4.201.0 switching from lan5 to lan2
Jul 23 15:55:41 amdb01 cmnetd[1986]: lan5 switching to lan2
Jul 23 15:55:41 amdb01 cmnetd[1986]: Subnet 10.4.201.0 switched from lan5 to lan2
Jul 23 15:55:41 amdb01 cmnetd[1986]: lan5 switched to lan2
Jul 23 15:55:41 amdb01 cmcld[1977]: Service cmnetd terminated due to an exit(0).
Jul 23 15:55:41 amdb01 cmcld[1977]: Service cmfileassistd terminated due to an exit(0).
Jul 23 15:55:41 amdb01 cmsrvassistd[1980]: Service assistant daemon halted.
Jul 23 15:55:44 amdb01 cmcld[1977]: This node (amdb01) has ceased cluster activities.
Jul 23 15:55:44 amdb01 cmcld[1977]: Daemon exiting
Jul 23 15:55:44 amdb01 cmclconfd[2143]: The cluster daemon aborted our connection (231).
Jul 23 15:55:44 amdb01 cmclconfd[1961]: The Serviceguard daemon, cmcld[1977], exited normally.
Deepak
rariasn
Honored Contributor

Re: syslog regarding to execute command "cmhaltcl"

Sample Halt cluster:

Apr 16 15:34:40 node1 cmcld: Request from root on node node1 to halt the cluster on this node
Apr 16 15:34:40 node1 cmcld: Node node2 has ceased cluster activities.
Apr 16 15:34:41 node1 cmcld: Attempting to form a new cluster
Apr 16 15:34:41 node1 cmcld: Beginning standard election
Apr 16 15:34:41 node1 cmcld: Turning off safety time: node halting
Apr 16 15:34:41 node1 cmcld: Service cmlvmd terminated due to an exit(0).
Apr 16 15:34:41 node1 cmcld: This node (node1) has ceased cluster activities.
Apr 16 15:34:41 node1 cmcld: Daemon exiting

rgs,