Mirrorvg to different multiple disks


 
Thread Tools Search this Thread
Operating Systems AIX Mirrorvg to different multiple disks
# 8  
Old 01-16-2014
Thanks for the reply. Can I conclude that if to mirrorvg to one disk I do not require perform extendvg unless more than 1 disk ?
# 9  
Old 01-16-2014
Quote:
Originally Posted by ckwan
Thanks for the reply. Can I conclude that if to mirrorvg to one disk I do not require perform extendvg unless more than 1 disk ?
No, quite the opposite: you can use the "mirrorvg" command only on disks you added with "extendvg" before.

I hope this helps.

bakunin
# 10  
Old 01-17-2014
There is no need to mirror, sync then un-mirror. You can:-
Code:
extendvg appvg hdisk3 hdisk4
migratepv hdisk1 hdisk3
migratepv hdisk2 hdisk4
reducevg appvg hdisk1 hdisk2

The migration phases will take a long time (same as a mirror and sync) but it's less prone to error. I'm assuming that the target disks are at least the same size as the source.

You may want to consider stopping the database and HA too, but test this elsewhere and see if you need to take services down. It might be fine as the OS maintains access to the LV even with updates happening. I'm just very cautious.

I hope that this helps.


Robin
Liverpool/Blackburn
UK
# 11  
Old 01-26-2014
Here the steps to perform HACMP Mirrorring

Code:
To mirror in hacmp
------------------
smitty hacmp

system management (c-spoc)

 HACMP Logical Volume Management

   Shared Volume Groups

     Mirror a Shared Volume Group

	 Select a volume_group to mirror

** select disks to mirror

After this need to issue command to sync

System Management (C-SPOC)
	HACMP Logical Volume Management
		 Synchronize Shared LVM Mirrors
			Synchronize by Volume Group


Do take note, only select and run those vg that in the active node.

You can copy out the script (F6)


Last edited by ckwan; 01-26-2014 at 05:40 AM..
# 12  
Old 01-26-2014
Quote:
Originally Posted by ckwan
Here the steps to perform HACMP Mirrorring

Code:
To mirror in hacmp

     Mirror a Shared Volume Group

This will work only with ECC (enhanced concurrent capable) VGs. Shared VGs need RW-access on one (the active) node and RO-access on all the others. You can have that only with SCSI-3 (SCSI-2 would have disk reservations) and fast disk takeover, which means ECC. There are some storage systems, though, (for instance the EMC CLARiiON), which will not allow concurrent access to mirrors.

In such cases you have to mirror the volume group on the active node with classic AIX means, switch the primary mirror over to the other node during a downtime, do a "learning import" (importvg -L) and then restart the cluster.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

How to know the progress of HA C-SPOC Mirrorvg?

Hi, Anyone know how to check the progress of the HACMP C-SPOC mirror for the vg ? I know there is lsvg -l <appvg>, it show the open/stale .. but I couldn't see the progress of it. Your feedback is very appreciated. Thanks. (2 Replies)
Discussion started by: ckwan
2 Replies

2. Solaris

Broken Disks (?)

Hello Folks, I´m a New Unix admin (by forceps) and I got a warning from one server saying: Solaris Volume Manager: hostnamehere: metacheck: Report: Mon May 14 18:45:00 BRT 2012 -------------------------------------------------------------- metacheck: metadb problem, for more detail run: ... (2 Replies)
Discussion started by: pxb368@motorola
2 Replies

3. Shell Programming and Scripting

Looking for help with script to assign all disk space to slice#0 on multiple disks of varying sizes

Hi Folks, I am trying to make a script to assign all diskspace to slice 0, on multiple sized disks. Since the disks are new they may need to be labelled also to avoid the error: Cannot get disk geometry Below is my code struggling with logic which doesn't seem to be producing the desired... (0 Replies)
Discussion started by: momin
0 Replies

4. Solaris

Get # of disks as non-root

I'm trying to figure if there are commands I can run as non-root/non-privileged users to figure out the number of disks. I know I can use format but it needs root. Any idea? (10 Replies)
Discussion started by: PPPP
10 Replies

5. Filesystems, Disks and Memory

FC related disks

Dear Friends, I would like know what are FC related disks and how it will be viewed by generic OSes (Unix, Unix like, Windows & etc.) AFAIK it is viewed by generic OS as SCSI. Can we have FC related disks as internal storage(physically) of general purpose machine (Server / PC /... (1 Reply)
Discussion started by: Tlogine
1 Replies

6. UNIX for Advanced & Expert Users

how to create multiple-boot system with disks mirrored(RAID1+0) and disk alone

I have a HP proliant ML 570 G3 with two 146GB disk drives mirrored(RAID1+0) windows server 2003 was installed on that disk. I will add a disk.(scsi 300GB) I will install Linux on that additional disk. I want to create multiple-boot system. Is it possible? I wanna know how to create... (0 Replies)
Discussion started by: lifegeek
0 Replies

7. Solaris

Re-using disks

I would like to know if I can move the disks from a V240 chassis into a V440 chassis to use the increased resources (CPU & Memory) to boost performance. I know you can move disks between V210/240 chassis's, but I'm not sure if this would work between 240s & 440s. Any help would be much appreciated. (4 Replies)
Discussion started by: Chains
4 Replies

8. Solaris

disks in solaris

whats the command to find name of all disks. Is it iostat -En ? (1 Reply)
Discussion started by: vikashtulsiyan
1 Replies

9. Solaris

New Array of disks

I was just curious if anyone has a good tutorial or some info about how I can create and add an array of disks to solaris 8 (11 Replies)
Discussion started by: BRaider
11 Replies

10. UNIX for Dummies Questions & Answers

how many disks do I have?

Hi How do I check how many disks do I have in Solaris & HP-UX? Also what does this mean c9t1d5 in /dev/dsk what is c, t, d etc cheers (8 Replies)
Discussion started by: g-e-n-o
8 Replies
Login or Register to Ask a Question