- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding Filesystem to a Service Guard Cluster
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
11-14-2005 05:31 AM
11-14-2005 05:31 AM
Adding Filesystem to a Service Guard Cluster
Needing a bit of advice.
One of our operators will be adding a logical volume to one of the volume groups that is part of the cluster configuration. What I need to know (as some of the current posts are either confusing or do not answer the question) are the steps as to how excactly I then incorporate this lvol once created into the cluster config so in the case of a system fallover when the nodes switch this lvol behaves as the others already configured (i.e it switches the secondary node).
As always thanks a million for the effort in responding
Cheers
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 05:48 AM
11-14-2005 05:48 AM
Re: Adding Filesystem to a Service Guard Cluster
The better method is to vgexport/vgimport on each node but that is not strictly necessary. Next, you need to modify the .cntl package file on the active node to include the new LVOL and filesystem + mount options. Copy this file to the other adoptive nodes. Make sure that you create mountpoints on each of these nodes for the new filesystem. Don't overlook changes in your backups. Finally, it is a good idea to test failover to each of the nodes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 06:23 AM
11-14-2005 06:23 AM
Re: Adding Filesystem to a Service Guard Cluster
Sorry but there is one thing I do need to add - the new lvol actually has nothing to do with the application in terms of the fact that it will contain application data - the new lvol will act as part of the tivoli solution although in what capacity I will have no involment with.
My brief is to have the lvol active in the cluster config nothing more.
With that in mind would I still need to do anything with the control files (*.cntl)
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 06:34 AM
11-14-2005 06:34 AM
Re: Adding Filesystem to a Service Guard Cluster
You have to create the Lvol, and FS in adoptive nodes also and also the mount point. Then enter in the /etc/cmcluster/package_name/package_name.cntl file the lvol details, in the adoptive node(s). Check failover.
hth.
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 07:25 AM
11-14-2005 07:25 AM
Re: Adding Filesystem to a Service Guard Cluster
To answer your last question first, yes, you'll need to update package control file because, although the new LV isn't used by the application, it must still fail over with the package.
With that answered - here's your process:
1. Create the new LV and filesystem. Mount as appropriate.
2. Update the package control script; ensure you use a unique index number in the arrays.
3. Preview export the affected volume group and and transfer the map file to the adoptive node:
vgexport -p -s -m ${vg}.map ${vg}
scp ${vg}.map ${adopt}:/tmp
4. Note the VG's group file minor number
5. On the adoptive node, export the volume group :
vgexport ${vg}; rm mapfile
6. Create and reimport the volume group definition:
mkdir /dev/${vg}
mknod /dev/${vg}/group c 64 ${minor}
vgimport -s -m /tmp/${vg}.map ${vg}
7. Transfer the package control script to the adoptive node:
(adoptive node)
cd /etc/cmcluster/${pkg}
cp ${pkg}.cntl ${pkg}.cntl.YYMMDD ## or use RCS - much better/cleaner
scp ${primary}:/etc/cmcluster/${pkg}/${pkg}.cntl /etc/cmcluster/${pkg}/${pkg}.cntl
HTH;
Doug O'Leary
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 07:37 AM
11-14-2005 07:37 AM