cancel
Showing results for 
Search instead for 
Did you mean: 

CMCLUSTER

Shattia Moorthi
Frequent Advisor

CMCLUSTER

Hai frendz,
In my office we have 2 server App1 and DB1
running on cluster App1 having package oraias and DB1 have oradb. let say i one to restart the server app1 server and i need cluster still need to run. I mean oraias runnig on DB1.
Can anybody give the steps whether i need to do cmhaltpkg or cmhaltnode.

thanks
3 REPLIES
AnthonySN
Respected Contributor

Re: CMCLUSTER

run the command on node App1
cmhaltpkg oraias
and
cmrunpkg oraias
on node DB1
Serviceguard for Linux
Honored Contributor

Re: CMCLUSTER

Hi Shattia,

cmhaltpkg oraias
cmrunpkg -n DB1 oraias

This cleanly shuts down the package oraias and then starts it on DB1

then
cmhaltnode App1

then reboot the server App1

When App1 comes backup SG will automatically start as long as you configured it that way initially.

After it is back up you can move oraias back to App1 if you want the same way.

Either way, after everything is the way you want it. I recommend

cmmodpkg -e App1

Depending on how the package was configured, this is necessary so that it will failover correctly on a failure.
Shattia Moorthi
Frequent Advisor

Re: CMCLUSTER

thanks friends