1834145 Members
1991 Online
110064 Solutions
New Discussion

MC/SG

 
kamal_9
Super Advisor

MC/SG

Hi Gurus
Ihave a doubt In a two node cluster if the primary server went down what will the satus of the packages if the auto witching is not enabled . Is it possible to start the package in the second node without shutting down the second system by using cmrunpkg command.And what abt the data if we are staring by using cmrunpkg will it led to any data loss.Or we need to use any other command
to start the pkg
2 REPLIES 2
Mohanasundaram_1
Honored Contributor

Re: MC/SG

Hi Kamal,

If the Auto-switching was disabled before the primary server went down, then the package will not start on the adoptive server.

You can run the package from the adoptive node by enabling the switching on that node.

# cmmodpkg -e -n

Then you can do

# cmrunpkg -v

The filesystems will be fsck'ed before mounting and hence should not cause any data loss in most of the cases.

Try this out and let us know the result.

Cheers,
Mohan.
Attitude, Not aptitude, determines your altitude
Bharat Katkar
Honored Contributor

Re: MC/SG

Kamal,
When auto switching is disabled, packages will not shift to secondary server. You have two options before you:

1. # cmmodpkg -e -n pkg1
This will enable the switching.
Or
2. When primary server goes down you need execute following on secondary:
# cmmodpkg -e -n pkg1
# cmrunpkg -n pkg1
This will enbale the package on secondary and will be able to run on secondary server.
Hope that helps.

Regards,

You need to know a lot to actually know how little you know