Operating System - HP-UX
1837078 Members
2421 Online
110112 Solutions
New Discussion

Re: Modify cluster script without cmapplyconf ?

 
SOLVED
Go to solution
Juan Manuel López
Valued Contributor

Modify cluster script without cmapplyconf ?

I have got on my cluster config a script to start and stop the oracle databases every time the package go up or go down.
I have to modify the content.
The cuestion is : May I do this modification without execute cmapplyconf ? The modification is only inside the script.

Thanks.

Juanma.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
6 REPLIES 6
Marco Santerre
Honored Contributor

Re: Modify cluster script without cmapplyconf ?

If you are only changing the script that starts and stops your package, the answer to your question would be no. I would recommend bringing down your package first, make your chagne to your script and try it out after. I would also recommend, trying to switch your package to all your other nodes. cmapplyconf is for when you change something specifically to the cluster itself, like a new node in the cluster, or a new VG in the cluster.

Hope it helps
Cooperation is doing with a smile what you have to do anyhow.
Frederic Sevestre
Honored Contributor
Solution

Re: Modify cluster script without cmapplyconf ?

Hi,

As long as you do not modify the cluster or package configurations files, you don't need to use cmapplyconf. Don't forget to copy the modification on all the cluster nodes.

Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
Arturo Perez del Galleg
Frequent Advisor

Re: Modify cluster script without cmapplyconf ?

Sorry but if i understand well it's really not necessary the package shutdown to change the start and stop script. You should change the script and redistribute it to the other nodes. If you should change the package then it's an other matter...
HTH
Chris Wilshaw
Honored Contributor

Re: Modify cluster script without cmapplyconf ?

I recently made a similar change. Modifying the customer defined stop/start commands themselves does not require the use of cmapply conf.

Once the changes are made, you will need to make sure that you copy your new file to any other servers in the cluster.

I don't believe that the changes are actively used until the next time that you start up your cluster, so you need to arrange to do that at a convenient time.
Frank Slootweg
Honored Contributor

Re: Modify cluster script without cmapplyconf ?

Adding to the other responses:

Make sure you *test* your modifications. Many times we see customer's packages failing to switch/(re-)start at a failover. Not good.
hpuxhelp
Regular Advisor

Re: Modify cluster script without cmapplyconf ?

hello,
I am currently working on that script and have a lot of problems. Do you mind if I can take a peek at yours and do the note comparision???
Thanks