Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Welcome to the pSeries Tech Forums, our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software.

You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments.

Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community.

Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Our Sponsors
Want to advertise?  


Reply
 
LinkBack Thread Tools
  #1  
Old August 11th, 2007
manoj.aix's Avatar
manoj.aix Offline
Junior Member
 
Join Date: August 2007
Posts: 11
Question Mirroring in Aix

Hi,

I want to know how I can create mirroring in Aix what are steps?

and after mirroring how can i come to know on which hard disk Operating System is installed actually,for example if 2 hard disk is there hdisk0,hdisk1?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old August 13th, 2007
drax's Avatar
drax Offline
Junior Member
 
Join Date: January 2007
Location: Melbourne, Australia
Posts: 26
Re: Mirroring in Aix

Mirroring in AIX is pretty straightforward if you understand the logical volume management it has built in.

If you "lsvg -l rootvg" you will see each logical volume in the volume group. These mostly coincide with filesystems, but are sometimes used as raw areas of storage (eg hd5 the boot lv). Note the LP and PP columns.

Each logical volume is made up of a number of logical partitions (LPs).

Each logical partition is matched with a single physical partition (1 LP = 1 PP).

When a logical volume is mirrored one more PP is related to a single LP (1 LP = 2 PP).

So mirroring is done by increasing the number of PP's related to the LP's making up a logical volume.

Command used to make copies (aka mirror a logical volume):
mklvcopy

Of course smit can help out here, although I prefer a more controlled manual approach.
smitty mirrorvg

If you are planning on mirroring rootvg there are several gotcha's to keep in mind.
- Consider two non-mirrored primary and secondary dump areas (sysdumpdev) on separate disks
- Consider mirroring paging hd6 (there are pros/cons here not sure which is best) as it will impact performance, but will improve availability.

A quick google for "mirror rootvg aix" will get you several hits for a procedure to.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old August 13th, 2007
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 394
Re: Mirroring in Aix

You can always see which disks are part of the root volume group by doing:

lsvg -p rootvg
and
lsvg -l rootvg to see how the LPs and PPs are distributed. There should be 2 PPs for every LP in a mirrored system.

To create the mirror (in the example on hdisk1)
extendvg rootvg hdisk1
mirrorvg -S -c2 rootvg hdisk1
syncvg -v rootvg


Do the syncvg when the system is quiet. If you can us the -P 32 parameter to make the mirror as quick as possible.

bosboot -a
to rebuild the hd5 boot

bootlist -m hdisk0 hdisk1

As per the mail from drax think about dump devices, and paging space. I don't mirror paging spaces, I create one on each disk and Icreate one dump device on each disk.
__________________
Ross Mather, IBM AIX IT Specialist.
That said anything I say here is my own opinion and not anything that you can ever hold against IBM.
Ohhh and don't forget that I make mistakes too....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old August 30th, 2007
kinay61's Avatar
kinay61 Offline
Junior Member
 
Join Date: April 2007
Posts: 19
Re: Mirroring in Aix

Be careful, if you add a new FS after the mirroring, this new one will not be mirrored.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac aa00e1f3 aio aix aix aio aix freeware aixif_arp_dup_addr b150f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 dlpar fcp_array_err6 fget_config gnu tar aix gsclvmd gtar aix hi yall hmc root password hmc vmware hscl05db ibm p6 ibm p6 520 libpopt aix libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseries pseriestech rsync aix sc_disk_err4 scan_error_chrp vio server websm xhost file ... powered by Simple Search Cloud


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48