- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ServiceGuard: access to the files
Operating System - HP-UX
1755736
Members
3994
Online
108837
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО01-10-2005 03:17 AM
тАО01-10-2005 03:17 AM
ServiceGuard: access to the files
Hi,
I need to stop the ServiceGuard package and change some files in the share VG.
Can I use this procedure?
1) cmhaltpkg
2) vgchange -c n # Release control of cluster
3) vgchange -a e # Activate volume group in exclusive mode
4) mount the required file system on the volume group, work with the files, umount filesystem
5) vgchange -a n # Deactivate volume group
6) vgchange -c y # Enable volume group for HA cluster
7) vgchange -a s # Activate volume group in shared mode
8) cmrunpkg
9) cmmodpkg -e
Thanks,
Sergejs
I need to stop the ServiceGuard package and change some files in the share VG.
Can I use this procedure?
1) cmhaltpkg
2) vgchange -c n
3) vgchange -a e
4) mount the required file system on the volume group, work with the files, umount filesystem
5) vgchange -a n
6) vgchange -c y
7) vgchange -a s
8) cmrunpkg
9) cmmodpkg -e
Thanks,
Sergejs
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2005 03:41 AM
тАО01-10-2005 03:41 AM
Re: ServiceGuard: access to the files
You do not need to vgchange -c n, just halt the package with cmhaltpkg, then manually activate using vgchange -a e, then mount whichever filesystem you need, make the change, unmount the FS, vgchange -a n, re-start the package.
This is true even if you are changing the volume group configuration.
The easier method for is simply to halt the software that runs in your MC/SG package and make the file changes in situ while the MC/SG package is still up. Then, when the package is switched over the change will appear on the other node anyway because its on the shared storage.
Steve
This is true even if you are changing the volume group configuration.
The easier method for is simply to halt the software that runs in your MC/SG package and make the file changes in situ while the MC/SG package is still up. Then, when the package is switched over the change will appear on the other node anyway because its on the shared storage.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2005 03:55 AM
тАО01-10-2005 03:55 AM
Re: ServiceGuard: access to the files
Hi Sergejs,
You do not have to vgchange -c n. If the cluster is still running on the node, you can activate the vg in exclusive mode manually and mount the filesystem, do your changes, deactivate the vg and restart the package,
1) cmhaltpkg
2) vgchange -a e # Activate volume group in exclusive mode
3) mount the required file system on the volume group, work with the files, umount filesystem
4) vgchange -a n # Deactivate volume group
5) cmmodpkg -e # if you want to start the package on the priamry node itself.
cmmodpkg -e would automatically restart the down package on the primary node.
Hope this helps.
Regds
You do not have to vgchange -c n. If the cluster is still running on the node, you can activate the vg in exclusive mode manually and mount the filesystem, do your changes, deactivate the vg and restart the package,
1) cmhaltpkg
2) vgchange -a e
3) mount the required file system on the volume group, work with the files, umount filesystem
4) vgchange -a n
5) cmmodpkg -e
cmmodpkg -e
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2005 04:31 AM
тАО01-10-2005 04:31 AM
Re: ServiceGuard: access to the files
vgchange -c n only required if mounting on a server that doesn't have MC/SG installed (IE a backup server).
The rest is fine.
Now, question is, what files do you have to modify and why can't you modify with the package up?
Rgds...Geoff
The rest is fine.
Now, question is, what files do you have to modify and why can't you modify with the package up?
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP