Operating System - HP-UX
1834646 Members
2335 Online
110069 Solutions
New Discussion

Re: shutdown ServiceGuard

 
Chung
Occasional Contributor

shutdown ServiceGuard

We have rp3440 with serviceguard, we want shutdown the active temporarily and connect tape drive for backup, how can I shutdown the active temporarily, thanks.
4 REPLIES 4
Adisuria Wangsadinata_1
Honored Contributor

Re: shutdown ServiceGuard

Hi,

You dont need to shutdown the cluster for only connect the tape drive, just need the steps like below :

ex. you would like to connect the tape drive on node_A (the active package is package_A).

1. stop the package

# cmhaltpkg -n node_A -v package_A

2. run the package on node_B

# cmrunpkg -n node_B -v package_A

3. check whether the package runs properly on node_B

4. shutdown the node_A

You can try to add the tape drive online. But if doesnt work, you still need to shutdown the node_A for troubleshooting

5. startup the node_A

6. check whether the tape drive can be work properly on the node_A, do test backup & restore

7. stop the package_A on node_B

# cmhaltpkg -n node_B -v package_A

8. start the package_A on node_A

# cmrunpkg -n node_A -v package_A

9. check whether the package_A up & running as per normal

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Rajesh SB
Esteemed Contributor

Re: shutdown ServiceGuard

Hi,

Here are the steps to shutdown active package.

To Halt the package:
# cmhaltpkg -v

To Halt the node :
# cmhaltnode

OR

If you want to halt the cluster:

1. Ensure package is halted by
# cmviewcl
If not halted halt it by # cmhaltpkg
2. Halt the cluster:
# cmhaltcl

Connect the Tape drive and scan for the drive:

# insf -e -C tape
# ioscan -fnC tape
Once the tape device detected. bring up the cluster and package by

# cmruncl
Verify the package also up..
# cmviewcl
If not, start the package by
# cmmodpkg -e

Regards,
Rajesh
Ranjith_5
Honored Contributor

Re: shutdown ServiceGuard

Hi,

If you can arrange an external drive no need of shuttin down the server. Else you can do the following.

#cmhaltpkg -v
#cmhaltpkg -v
#cmhaltcl

Now shutdown the active node with
#shutdown -ry 0


Regards,
Syam
Ranjith_5
Honored Contributor

Re: shutdown ServiceGuard

dont miss to shutdown any database before shutting down the server incase the oracle shutdown is not configured in the package control script.

Regards,
Syam