Serviceguard
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: manually switch pkg one node to other

 
SOLVED
Go to solution
Asif_8
Regular Advisor

manually switch pkg one node to other

have a package configured on two node. when the package is running under SERV1 .

1. How to move the pkg on other node serv2/

2. How to disable the pkg swicthing during maintance periode

3. I have oracle active and passive set by MSservice guard . I do not want to move pkg during oracle shutdown for maintance period ..

7 REPLIES 7
Johnson Punniyalingam
Honored Contributor
Solution

Re: manually switch pkg one node to other

>>>>>1. How to move the pkg on other node serv2/<<<<<

cmhaltpkg -n
cmrunpkg -n


>>>>>2. How to disable the pkg swicthing during maintance periode <<<<<

When you issue the cmhaltpkg command this automatically disables global package switching

To Enable you below command
cmmodpkg -e

>>>3. I have oracle active and passive set by MSservice guard . I do not want to move pkg during oracle shutdown for maintance period ..<<<

sorry no idea, But for more information on the "Database Application" look into "pkg.cntl"
Problems are common to all, but attitude makes the difference
Raj D.
Honored Contributor

Re: manually switch pkg one node to other

Asif,

1. How to move the pkg on other node serv2:

- Halt the pkg on server1.
- Run the pkg on server2 .


2. How to disable the pkg swicthing during maintance period:

# cmmodpkg -d -n server_name


3. If the pkg.cntl is configured correctly it will take care of oracle shutdown with the pkg shutdown. Keep monitoring the pkg.cntl.log file under /etc/cmcluster/pkg/


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
AVV
Super Advisor

Re: manually switch pkg one node to other

Hi,

Starting package on the other node
#cmhaltpkg packagename --->node1
#cmrunpkg pkgname---->node2

To enable the auto switching
#cmmodpkg -e pkackagename

To disable the autoswitching use -d instead of -e
Emil Velez
Honored Contributor

Re: manually switch pkg one node to other


IF the oracle package uses the oracle toolkit there is a package maintenance flag that you can configure.

Example.

set maintenance flag
take down oracle database
but leave filesystems up
change parameters and patch oracle
startup oracle
remove package mainentance flag

HP had extensive training on ServiceGuard in classroom and remote classes

see http://www.hp.com/education/courses/h6487s.html

sahir_1
Frequent Advisor

Re: manually switch pkg one node to other

Hi,

1. How to move the pkg on other node serv2?

Use following command from any node.
cmhaltpkg -n
cmrunpkg -n

2. How to disable the pkg swicthing during maintance period

Anytime if u want to disable pkg switching, run following commmand from any node.
cmmodpkg -d

To enable back

cmmodpkg -e

verify and confirm package is switched by cmviewcl -v

3. I have oracle active and passive set by MSservice guard . I do not want to move pkg during oracle shutdown for maintance period ..

package wont get switched neither any disturbance occured on cluster even down package.
So you need to manually disable pkg during oracle shutdown.

All the Best
Asif_8
Regular Advisor

Re: manually switch pkg one node to other


Thanks all !

Dear Emil Velez !

How to put Oracel flag in toolkit for oracel maintance

Asif Sharif
Honored Contributor

Re: manually switch pkg one node to other

Salam Asif,

Maintenance Flag for Oracle please read the below thread.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1052786

Regards,
Asif Sharif
Regards,
Asif Sharif