- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: when to run cmmakepkg during patch installatio...
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
05-05-2009 07:16 AM
05-05-2009 07:16 AM
when to run cmmakepkg during patch installation
I am about to install a service guard patch in one of my MCSG, which mentions that there is a need to create the control script(cmmakepkg), can you please tell me as to when to do that , the steps that I have prepared are as:
1)Move the pkg from the primary node to the HA node.
2)halt the Service guard on the primary node node.
3)patch the primary node, reboot it if required.
4) Start the service guard on teh primary server.
5)failback the pkg to the primary node.
Can can you please tell me as to when to run the cmmakepkg in the above mention steps?
Regards
Kumardev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2009 07:36 AM
05-05-2009 07:36 AM
Re: when to run cmmakepkg during patch installation
You can run cmmakepkg before or after step 2.
I would try for before.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2009 07:43 AM
05-05-2009 07:43 AM
Re: when to run cmmakepkg during patch installation
But in the HP docs it says that we have to recreate the control script after the installation of the patch, but befor or after step 2 we still havnt installed the patches..:-(
appreciate your help on this.
Regards
dev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2009 09:11 AM
05-05-2009 09:11 AM
Re: when to run cmmakepkg during patch installation
a) all your LVM work is done and you've vgexported and ftp'd from the pri to the failover.
mkdir /etc/cmcluster/package_name
cd /etc/cmcluster/package_name
cmmakepkg -p package_name.conf (* note conf ext *)
vi package_name.conf
fill in data fields like:
PACKAGE_NAME
NODE_NAME
RUN_SCRIPT ${PWD}package_name.cntl (* see below *)
HALT_SCRIPT ${PWD}package_name.cntl (* see below *)
cmmakepkg -s package_name.cntl (* note ext. *)
vi /etc/cmcluster/package_name.cntl
fill in data fields like
VG[0]
LV[0]
IP[0]
etc.
Addin customer defined start commands like
oracle.sh start
Addin customer defined stop commands like
oracle.sh stop
chcheckconf -P package_name.conf
cmapplyconf -P package_name.conf
vgchange -c y vg??
vgchange -a n vg??
cmmodpkg -e package_name
cmrunpkg -n node package_name
cmviewcl
NOTE: This is 80% of it. Better to take the class, or, draft everything out on paper before applying in a test environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 01:09 AM
05-06-2009 01:09 AM
Re: when to run cmmakepkg during patch installation
1)if the package(1) is running on the primary node(A) can i run the cmmakepkg for pkg 1 on the HA(node B) which is in the same cluster, if not what impact it can cause on the system.
2) if the package is running on the primary node(A) can i run the cmmakepkg on the HA(node B) which is in the same cluster, if not what impact it can cause on the system.
the only reason why I am asking is to know the best time to recreate the control script by using cmmakepkg after patch installation
Regards
dev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 01:55 AM
05-06-2009 01:55 AM
Re: when to run cmmakepkg during patch installation
>>>1)if the package(1) is running on the primary node(A) can i run the cmmakepkg for pkg 1 on the HA(node B) which is in the same cluster, if not what impact it can cause on the system.<<<
cmmakepkg will just create the template of pkg config file or pkg control script. Once you made all the changes on both config file and control script, you need to halt the package and apply configuration using cmcheckconf and cmapplyconf commands.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 02:47 AM
05-06-2009 02:47 AM
Re: when to run cmmakepkg during patch installation
is it PHSS_38860 for 11.18 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 04:58 AM
05-06-2009 04:58 AM
Re: when to run cmmakepkg during patch installation
Actually we are about to install patches on the servers as part of our annual patch activity provided by HP. Now out of the all the patches some of the patches are service guard and the questions that i m asking here is specifically related to patch PHSS_36898.
Regards
Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 08:57 AM
05-06-2009 08:57 AM
Re: when to run cmmakepkg during patch installation
Are you running vxvm?
Do you have PHSS_35302 installed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 10:40 PM
05-06-2009 10:40 PM
Re: when to run cmmakepkg during patch installation
yes we are using VxVM
--------------
#swlist -l bundle|grep -i vxvm
Base-VXVM B.03.50.5 Base VERITAS Volume Manager Bundle 3.5 for HP-UX
--------------
#swlist -l patch PHSS_35302
# Initializing...
# Contacting target "xphx001"...
ERROR: Software "PHSS_35302" was not found on host.
-------------
we dont have the patch PHSS_35302 istalled
Regards
Kumar