Operating System - HP-UX
1833059 Members
2661 Online
110049 Solutions
New Discussion

Stop the Cluster Temporarily

 
SOLVED
Go to solution
Mousa55
Super Advisor

Stop the Cluster Temporarily

Hi

I have one cluster running one package oracle database, however I need to take a backup (could backup)
i need to stop the cluster or some services in the SG Temporarily Which is responsible about failover to package.until solving the problems in oracle data we have it

Thanks & kind Regards
13 REPLIES 13
Asif Sharif
Honored Contributor

Re: Stop the Cluster Temporarily

Hi Nejad,

cmviewcl -v "see the Package Name"
cmhaltpkg -v PACKAGE_NAMEâ
cmhaltcl â v

Regards,
Asif Sharif
Regards,
Asif Sharif
Jeeshan
Honored Contributor

Re: Stop the Cluster Temporarily

well, this means you need a lot work around.

If you have any such processes that uses oracle , than you need to stop all processes.

Is there Oracle RAC running?

if so than you need also stop the RAC.

But, safely you can use "lvsplit" for taking such backups.

#man lvsplit
a warrior never quits
Asif Sharif
Honored Contributor

Re: Stop the Cluster Temporarily

Mousa55
Super Advisor

Re: Stop the Cluster Temporarily

Hi
i need only stop the cluster With survival the package up because included application and oracle data
and this command is not clean

cmviewcl -v "see the Package Name"
cmhaltpkg -v PACKAGE_NAMEâ Â
cmhaltcl â  v

Thanks & kind Regards
Jeeshan
Honored Contributor
Solution

Re: Stop the Cluster Temporarily

if you want to halt the package, all relation with the package will be lost.
a warrior never quits
Mousa55
Super Advisor

Re: Stop the Cluster Temporarily

Hi
Is there any services or script to stop the SG from work a failover when shutdown the database only i need stop the cluster

thanks
Davis Paul
Valued Contributor

Re: Stop the Cluster Temporarily

Hi Nejad
If you want to take a cold backup, need to follow steps below:
1) Halt the package
2) Halt the cluster
3) change the vg with vgchange -a n
4) vgchange -c n
5) vgchange -a y
6) mount the vg manually.
7) Take the backup
8) umount the vg
9) vgchange -a n
10) vgchange -c y
11) cmruncl -v
12) cmrunpkg -v
13) check everything is back online.

Mousa55
Super Advisor

Re: Stop the Cluster Temporarily

Hi
thanks for your replay, but i need solution to stop the cluster This requires my presence, because every time we need to take the backup
thanks
Davis Paul
Valued Contributor

Re: Stop the Cluster Temporarily

Hi Nejad
Make two scripts
1) Before taking the backup.
2) After taking the backup.
Now any one can execute two scripts. Your presence is not required.

Thanks and Regards,
Davis Paul.

Mousa55
Super Advisor

Re: Stop the Cluster Temporarily

Hi and thanks for your replay

I can understand that there is no way to stop the cluster temporarily and make the package up and working.

thanks and best regards
Yogesh M Puranik
Valued Contributor

Re: Stop the Cluster Temporarily

Hi Nejad,

1]Let me first clear that if your cluster is oslevel cluster then there is no necessity of shutdown the cluster for taking the cold backup, just you need to down the database.

2]If it is a database cluster(You could also called it as RAC) then there is no question of taking the cold backup ,You have to go for RMAN, which you can taken online.


Rgds
Yogesh.
Aashique
Honored Contributor

Re: Stop the Cluster Temporarily

Hi,
If you want to take the cold backup, just create a blank file "oracle.debug" in /etc/cmcluster/urpkg/.

When you create the file "oracle.debug" that time the cluster will be in maintenance mode. that time you can shundown the database and take the cold backup without halt or failover the cluster.

Thanks & Regards
Mousa55
Super Advisor

Re: Stop the Cluster Temporarily

Hi
I am working to disciple the cluster with this action plan
1) #cmhaltpkg
2)#cmhaltcl
3)#vgchange -c n
4)#vgchange -a y
5)Then mount the filesystems one by one
but after execute the halt cluster Command â #cmhaltclâ the production server is crash, why
I donâ t know only I am apply the Halt cluster command after cmhaltpkg command
after that I am shifted to work to solve crash problem. After some time I am solved this problem,
by restart from MP by using tc command. But now the cluster is disabled and all everything is fine
what is the cause of this crash?

Thanks & kind Regards