- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding a disk to a MetroCluster VG
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
тАО07-31-2008 05:27 AM
тАО07-31-2008 05:27 AM
How do I add a disk to a VG in an active Metrocluster (CA/XP)? I currently have 22 disks assigned to my device group, but they have all been utilized by various VG's.
I want to add the disk to the VG and create 2 new LV's, but I need to know the steps for the MetroCluster portion and is it necessary to take the cluster down for it?
Any help would be appreciated...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 06:23 AM
тАО07-31-2008 06:23 AM
Re: Adding a disk to a MetroCluster VG
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 06:26 AM
тАО07-31-2008 06:26 AM
Re: Adding a disk to a MetroCluster VG
Apologies. The answer is "yes".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 08:46 AM
тАО07-31-2008 08:46 AM
Re: Adding a disk to a MetroCluster VG
Then you need to do your pvcreate, and vgextend, to add in the disk on the Pvol side.
You also need to add it into to your horcm?.conf file, remembering to do it on all nodes.
You then need to export using -p this VG, and import it on all the nodes on the same site (i.e. still at the Pvol side.)
you would then need to import it onto the nodes in the Svol site, either by doing a pairswap first, or doing a pair suspend with a -rw option, so that LVM can read/write to the PV's in the VG.
Only then can it be used by the package.
And yes I guess the package that uses this VG must halted to make certain of these changces
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 12:38 AM
тАО08-01-2008 12:38 AM
Re: Adding a disk to a MetroCluster VG
Thanks for the reply so far, but I have more questions. Please bear with me as I'm learning here.
I'm attaching my horcm.conf file and the output of raidscan in a single document.
A snippet from the raidscan is seen below:
PORT# /ALPA/C,TID#, LU#.Num(LDEV#....)...P/S, Status,Fence, LDEV#,P-Seq#,P-LDEV#
CL1-P /e1/ 4, 1, 5.1(1536)..........SMPL ---- ------ -----, ----- -----
CL1-P /e1/ 4, 1, 6.1(1674)..........SMPL ---- ------ -----, ----- -----
CL1-P /e1/ 4, 1, 7.1(1605)..........P-VOL PAIR DATA 1605, 10243 3738
CL1-P /e1/ 4, 2, 0.1(1743)..........P-VOL PAIR DATA 1743, 10243 3346
1.) How do I translate
CL1-P /e1/ 4, 1, 5.1(1536)..........SMPL ---- ------ -----, ----- -----
into a physical volume (/dev/rdsk/cxtyd0)?
2.) Let's say I have identified a free PV on my Primary and secondary hosts each.
Host A
------
/dev/rdsk/c17t6d4 e1 06 34 CL1P 10:0c OPEN-V 00010215
and
Host B
------
/dev/rdsk/c13t3d6 c9 03 1e CL2P 0e:54 OPEN-V 00010243
So, in my horcm.conf file I would add for e.g. (refer the the horcm.conf):
p01oms p01oms_025 10215 10:0c
and
p01oms p01oms_025 10243 0e:54
Now, to re-read the config, I have to restart raid manager with horcmshutdown.sh
Would this affect the package or cluster i.e. take it down? This is important to know, as it is a PROD environment.
Sadly, we do not have a MetroCluster in a DEV environment (due to costs implications).
From there I presume the following steps (dev_group=p01oms ; dev_name=p01oms_025):
1.) paircreate -g p01oms p01oms_025 -vl -c 15
2.) pvcreate ..
3.) vgextend ...
4.) vgexport -p...
5.) pairsplit -g p01oms -rw
On secondary node:
6.) vgimport -s -m
7.) vgchange -a y
8.) vgcfgbackup
9.) vgchange -a n
10.) pairresync -g p01oms -c 15
done - hopefully
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 01:16 AM
тАО08-01-2008 01:16 AM
Re: Adding a disk to a MetroCluster VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 01:30 AM
тАО08-01-2008 01:30 AM
Re: Adding a disk to a MetroCluster VG
Yes, I do have xpinfo, but I needed "raidscan -fx" to get the LDEV's in HEX, which I missed (a bit embarrased at this point)
Now, does the "horcmshutdown.sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 01:34 AM
тАО08-01-2008 01:34 AM
SolutionNo, it does not affect the packages in any way UNLESS during the shutdown and restart time a failure were to occur AND a package/site switch were required.
So you have around a 3-6 second window. But as you have to do this on each node, it will only affect anything on that node, so a very limited possibility of an issue here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 01:38 AM
тАО08-01-2008 01:38 AM
Re: Adding a disk to a MetroCluster VG
├в d[s] pair_volSpecifies a paired volume name written in the configuration definition file. The command executes only for the specified paired volume.
As far as i remember last time no the downtime at all was required - nor the package or cluster.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 04:43 AM
тАО08-01-2008 04:43 AM
Re: Adding a disk to a MetroCluster VG
OK, with Melvyn and Ivan's help and after a lot of reading, I managed to do it.
I'll award points as appropriate.
Attached is a step by step guide for the next noobie :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 04:45 AM
тАО08-01-2008 04:45 AM
Re: Adding a disk to a MetroCluster VG
OK, with Melvyn and Ivan's help and after a lot of reading, I managed to do it.
I'll award points as appropriate.
Attached is a step by step guide for the next noobie :)