- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to start mcsg with rac package ?cmrunpkg ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 11:36 AM
07-29-2005 11:36 AM
how to start mcsg with rac package ?cmrunpkg ?
How do you run the darn rac package ?
All the package does
is activate vg (ops) in shared mode and starts oracle I can do all this manually (see below) but "cmrunpkg ojrdhes5"
command yields all kinds of messages. The other node the vg is activated in server mode.
I have tried activating the vg in shared mode,also deactivating th vg, commenting out "start oracle" line, but cant get
cmrunpkg to run successfully. (SEE BELOW)
excerpts from control file
===================
VGCHANGE="vgchange -a s"
...
..
.
: # do nothing instruction, because a function must contain some command.
# START ORACLE
#/app/oracle/admin/scripts/dbboot start all
==========================
#cmrunpkg inbphes5sg
cmrunpkg : Node inbphes5 is currently unable to run package inbphes5sg.
Check the syslog on node inbphes5 and pkg log files for more detailed information.
# vgchange -a n ops
Deactivated volume group in Shared Mode.
Volume group "ops" has been successfully changed.
# cmrunpkg inbphes5sg
cmrunpkg : Node inbphes5 is currently unable to run package inbphes5sg.
Check the syslog on node inbphes5 and pkg log files for more detailed information.
# vgchange -a s ops
Activated volume group in Shared Mode.
This node is a Client.
Volume group "ops" has been successfully changed.
# cmrunpkg inbphes5sg
cmrunpkg : Node inbphes5 is currently unable to run package inbphes5sg.
Check the syslog on node inbphes5 and pkg log files for more detailed information.
# tail syslog.log
rt the package
Jul 29 16:29:49 inbphes5 cmcld: Unable to start package inbphes5sg. Node inbphes5 not enabled to run it.
Jul 29 16:29:56 inbphes5 LVM[5684]: vgchange -a n ops
Jul 29 16:30:00 inbphes5 CM-CMD[5685]: cmrunpkg inbphes5sg
Jul 29 16:30:00 inbphes5 CM-CMD[5685]: Request from root on node inbphes5 to start the package
Jul 29 16:30:31 inbphes5 CM-CMD[5698]: cmrunpkg inbphes5sg
Jul 29 16:30:31 inbphes5 CM-CMD[5698]: Request from root on node inbphes5 to start the package
Jul 29 16:31:01 inbphes5 LVM[5703]: vgchange -a s ops
Jul 29 16:31:05 inbphes5 CM-CMD[5706]: cmrunpkg inbphes5sg
Jul 29 16:31:05 inbphes5 CM-CMD[5706]: Request from root on node inbphes5 to start the package
inbphes5:/var/adm/syslog ==>
privacy statement using this site means you accept its terms
© 1994-2005 Hewlett-Packard Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 05:35 PM
07-29-2005 05:35 PM
Re: how to start mcsg with rac package ?cmrunpkg ?
I understand your frustration. I went through the same when I first configured this :-)
The problem is most likely at the "do nothing" line.
But provide us the package ascii file and the control file here. I will recollect the exact problem then.
With regards,
Mohan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2005 04:02 PM
07-30-2005 04:02 PM
Re: how to start mcsg with rac package ?cmrunpkg ?
I tried various command again but to no avail. #vgchange -a s ops works but I want
cmrunpkg to do that so cmviewcl shows that the pkg is running.
# vgchange -a n ops
Deactivated volume group in Shared Mode.
Volume group "ops" has been successfully changed.
# vgchange -c y ops
vgchange: Failed to set the specified attributes for volume group "/dev/ops".
# cmrunpkg inbphes5sg
cmrunpkg : Node inbphes5 is currently unable to run package inbphes5sg.
Check the syslog on node inbphes5 and pkg log files for more detailed information.
# vgchange -a s ops
Activated volume group in Shared Mode.
This node is a Client.
Volume group "ops" has been successfully changed.
# cmrunpkg inbphes5sg
cmrunpkg : Node inbphes5 is currently unable to run package inbphes5sg.
Check the syslog on node inbphes5 and pkg log files for more detailed information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2005 04:04 PM
07-30-2005 04:04 PM
Re: how to start mcsg with rac package ?cmrunpkg ?
Thanks. see if you can figure out why package will not start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2005 06:07 PM
07-30-2005 06:07 PM
Re: how to start mcsg with rac package ?cmrunpkg ?
What does the controllog file shows? (located in the same folder as control script)
I think the issue may be, once you set vg as shared and cluster aware (-S y -c y) then don't activate your self. Deactivate (-a n) and start the package. The package control script would activate the VG.
Did you try this?
control.sh log file would give more details why the pkg start fails.
Regds
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2005 07:33 PM
07-30-2005 07:33 PM
Re: how to start mcsg with rac package ?cmrunpkg ?
In my case the problem was in the conf file
RUN_SCRIPT /etc/cmcluster/inbphes5sg/inbphes5sg.sh
RUN_SCRIPT_TIMEOUT NO_TIMEOUT
HALT_SCRIPT /etc/cmcluster/inbphes5sg/inbphes5sg.sh
HALT_SCRIPT_TIMEOUT NO_TIMEOUT
I had defined the run script file but the script itself had only a line
:
Which was the problem. Check what is the content of this script at /etc/cmcluster/inbphes5sg/inbphes5sg.sh
My problem was, the VG will get activated manually but when the package is started it does not get activated.
With regards,
Mohan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2005 04:37 AM
07-31-2005 04:37 AM
Re: how to start mcsg with rac package ?cmrunpkg ?
Also, use cmviewcl -v -p package_name to check the current switching parameters for the package.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2005 08:41 PM
07-31-2005 08:41 PM
Re: how to start mcsg with rac package ?cmrunpkg ?
"cmrunpkg : Node inbphes5 is currently unable to run package inbphes5sg"
usually means that there has been a problem with the package. Either the run script, the halt script or a service in the package has failed.
Any of these conditions can cause ServiceGuard to mark the package as "don't try to run on this node, it didn't work last time".
See this table:
http://docs.hp.com/en/B3936-90079/ch03s04.html#babcbaeh
You can check the state of the package with "cmviewcl -v -pinbphes5sg". You'll see "disabled" in the SWITCHING column for node inbphes5.
When the problem that originally caused the package to fail is fixed, you must re-enable the package to run on the node that had the problem.
In your case, the command would be
cmmodpkg -e -n inbphes5 inbphes5sg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 02:28 AM
08-01-2005 02:28 AM
Re: how to start mcsg with rac package ?cmrunpkg ?
if it happens again/
This is 11.16 so the command below does not work.
# cmviewcl -c -p inbphes5sg
cmviewcl: Bad option inbphes5sg
usage: cmviewcl [-v] [-r {A.11.09|A.11.12}] [-c cluster_name] [-n node_name]... [-l {package|cluster|node|group}]
Matti may have a very close to what i wanted. some good links too.
Thavandi has a good point too abt deactivation vg b4 activating in shared mode.
Thanks to all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 07:42 AM
08-01-2005 07:42 AM
Re: how to start mcsg with rac package ?cmrunpkg ?
You can use the cmviewcl w/ no options & that will give you the cluster status. Otherwise you can use cmviewcl -v.
Next time this happens, you might try manually bringing up the disks.
vgchange -a e vg_group
mount disks
verify they are operational
umount
vgchange -a n vg_group
I was also wondering if the node that you were trying to mount to was active. If when you do the cmviewcl & it shows the node is down. You can do a cmrunnode -n inbphes5.
andy