- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: servicegard prob
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
Discussions
Discussions
Forums
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
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-27-2004 08:12 PM
тАО05-27-2004 08:12 PM
servicegard prob
I'm planning to add several lvol under a cluster that is already cover with servicegard.
Normally adding a lvol will need to edit fstab, but what and where is the file for servicegard?
thanks~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2004 08:18 PM
тАО05-27-2004 08:18 PM
Re: servicegard prob
In service guard the enties will be in package control file . normally in /etc/cmcluster/
For more details you go through the documentation at this site.
http://docs.hp.com/hpux/onlinedocs/B3936-90024/B3936-90024.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2004 08:57 PM
тАО05-27-2004 08:57 PM
Re: servicegard prob
You will done this task without stop your package. Create your news LV's, assigns their corresponding FS and mount them, all of them following standards procedures.
Normally you must have the SG control script placed into /etc/cmcluster/
Inside this file look for FILESYSTEMS section.
Specify the filesystems which are used by this package. Fill in the name of your first
logical volume, filesystem and mount option for the file system. You must begin with LV[0], FS[0] and FS_MOUNT_OPT[0] and increment the list in sequence. Please have special care in the sequence!!!
If you want, you can test your configuration or assume the risk of waiting the next activation of the package.
To test the package:
1.- Disable switching
#cmmodpkg -d -n
2.- Check switching status
#cmviewcl -v
3.- Halt your package
#cmhaltpkg
4.- Umount manually all new FS defined
5.- Prepare to check the startup secuence status into the package log
#tail -f /etc/cmcluster/
6.- Start up you package
#cmrunpkg
7.- Analize previous log and bdf
BR.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2004 11:44 PM
тАО05-27-2004 11:44 PM
Re: servicegard prob
But if your also adding disk for those new lvols, the package will need to be down.
And if your adding a new volume group don't forget to add the entry to your pkg.ascii file then you'll need to cmcheckconf -k -v -P
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2004 11:54 PM
тАО05-27-2004 11:54 PM
Re: servicegard prob
First, modify the volume group on the primary node, then do the following:
On the primary node create a volume group map file :
vgexport -m
NOTE: Make sure you use the -p option - that leaves the volume group intact and only creates the map file.
On any system which runs that node (it should have that volume group defined).
- Copy the mapfile created above to this node
- Do a ll in /dev/
- vgexport
- mkdir /dev/
- mknod /dev/
- vgimport -m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2004 12:47 AM
тАО05-28-2004 12:47 AM
Re: servicegard prob
This particular topic is discussed in the document:
UXSGLVKBAN00000008
TITLE: Adding Logical Volumes to a ServiceGuard volume group
-SD-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2004 04:55 PM
тАО06-02-2004 04:55 PM
Re: servicegard prob
thanks for the responses.
I edited package.sh and add lvol and so for.
Now I have a new problem.
From Server A, I am able to halt and run package without any problem, but I am not able to do the other way.
Server A has vg_fods1
vg_fods1 can switch to server B
I edited the shell in Server B under vg_fods1 (package name) just like in Server A.
When I apply cmrunpkg -n serverB vg_fods1
error occured:
vxfs fsck: /dev/vg_fods1/rlvol_store:cannot stat /dev/vg_fods1/rlvol_store
ERROR: Function check_and_mount
ERROR: Failed to fsck one of the logical volumes.
why did this happen since it worked in serverA?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2004 05:24 PM
тАО06-02-2004 05:24 PM
Re: servicegard prob
Adding lvol and vgexport/import can be done without stopping the package.
Jonas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2004 06:57 AM
тАО06-03-2004 06:57 AM
Re: servicegard prob
But just in case you did that already..and still are seeing an error...
I have found it best to NOT edit the other pkg control script. But rather, once the pkg control script is fixed and working on the primary node, I rcp this file to the other node(s). That way I don't make a 'fat finger' error and wonder why it won't work on the failover node.
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2004 04:43 AM
тАО06-08-2004 04:43 AM
Re: servicegard prob
Have a look at this doc.
http://docs.hp.com/hpux/onlinedocs/B3936-90073/B3936-90073.html
Hope that helps.
Regards,