1847725 Members
5068 Online
110265 Solutions
New Discussion

Start cmcld

 
SOLVED
Go to solution
Eudo Jimenez_2
Frequent Advisor

Start cmcld

Please

I need to change a vg in order to configure a clsuter but this happen

vgchange -c y /dev/vgmdsapp
vgchange: Cluster Services not available or unreachable on this system, for volume group "/dev/vgmdsapp".


How a start cmcld demon?
10 REPLIES 10
A. Clay Stephenson
Acclaimed Contributor

Re: Start cmcld

cmrunnode.

Man cmrunnode for details.
If it ain't broke, I can fix that.
Jeff_Traigle
Honored Contributor

Re: Start cmcld

Looks like the node isn't configured to start the node at boot time. Not uncommon. Just run "cmrunnode" and it should join the cluster so you can do what you need to do (assuming it was properly added to the cluster already).
--
Jeff Traigle
Carlos Roberto Schimidt
Regular Advisor

Re: Start cmcld

If you want configure automatic startup, change "AUTOSTART_CMCLD=1" in file
/etc/rc.config.d/cmcluster.

While run cmrunnode, run:
# tail -f /var/adm/syslog/syslog.log

lookink for any error message



Eudo Jimenez_2
Frequent Advisor

Re: Start cmcld

this is my real situation,

I am configuring the first node because the second one is not yet available...

Can I go ahead with this?

.- Create configuration file (cmclconfig.ascii)

.- Generate the binary configuration file

.- vgchange -c y for al vg´s
Marcel Boogert_1
Trusted Contributor

Re: Start cmcld

Hi,

Yes you can. Start / test the cluster using
# cmruncl -v -n

Regards, MB.
Eudo Jimenez_2
Frequent Advisor

Re: Start cmcld

Ok, the lan3 and lan4 are HEARTBEAT_IP and does not has conected cable, is this the reason because DLPI level failed?

/usr/sbin/cmapplyconf -k -v -C /etc/cmcluster/cmclconfig.>

Checking cluster file: /etc/cmcluster/cmclconfig.ascii
Note : a NODE_TIMEOUT value of 2000000 was found in line 115. For a
significant portion of installations, a higher setting is more appropriate.
Refer to the comments in the cluster configuration ascii file or Serviceguard
manual for more information on this parameter.
Checking nodes ... Done
Checking existing configuration ... Done
Warning: Unable to get configuration for cluster ilmds01.
Gathering configuration information ... Done
Gathering configuration information ..
Gathering storage information ..
.....
Gathering Network Configuration ........ Done

Error: csmil01 lan3 can communicate to itself over subnet 192.1.1.0
on the IP level, but not on the DLPI level.
There is possibly a bad network card or a cable disconnected from the card.
Error: csmil01 lan4 can communicate to itself over subnet 192.1.2.0
on the IP level, but not on the DLPI level.
There is possibly a bad network card or a cable disconnected from the card.
Failed to evaluate network
cmapplyconf : Unable to reconcile configuration file /etc/cmcluster/cmclconfig.ascii
with discovered configuration information.
Kent Ostby
Honored Contributor

Re: Start cmcld

cmruncl -n

cmrunnode only helps a node join a cluster that is already up and running.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Stephen Doud
Honored Contributor
Solution

Re: Start cmcld

Yes.... when a NIC is NOT connected but listed in the cluster ASCII file, cmcheckconf and cmapplyconf will fail.
Until they are connected, comment any references to them out of the ASCII file.
Marcel Boogert_1
Trusted Contributor

Re: Start cmcld

Kent,

root@myserver1[/root] cmruncl -v -n myserver1
cmruncl : Validating network configuration...
Gathering configuration information .......... Done
cmruncl : Network validation complete

WARNING:
Performing this task overrides the data integrity protection normally
provided by ServiceGuard. You must be certain that no package applications
or resources are running on the other nodes in the cluster:
myserver2

To ensure this, these nodes should be rebooted (i.e. /usr/sbin/shutdown -r)
before proceeding.

Are you sure you want to continue (y/[n])? y

Successfully started $SGLBIN/cmcld on myserver1.
cmruncl : Waiting for cluster to form....
cmruncl : Cluster successfully formed.
cmruncl : Check the syslog files on all nodes in the cluster
cmruncl : to verify that no warnings occurred during startup.


Regards, MB.
Eudo Jimenez_2
Frequent Advisor

Re: Start cmcld

Thank to every one..

The clsuter configuration is ready