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 June 30th, 2006
twieckow's Avatar
twieckow Offline
Junior Member
 
Join Date: June 2006
Posts: 15
LVM mirroring on AIX

Hello, I have (Porbably a basic) question. I'm fairly new to AIX, and we are looking at mirroring are ORacle DB's, splitting off the mirror to do backup and then resync. Our ORacle filesystems reside on Raid 5 EMC san storage running powerpath. So, basicly, looking for commands in order to create a mirror of each VG/Filesystem, then splitting the mirror off and mounting the mirror to the same system to do backup? From what I read, can this mirror ONLY be mounted RO? COuld I in fact mount this mirror, to say startup another Oracle Instance to it ? Or is it only Read only, in order to backup from? Hope this makes sense,
Reagards Tom.
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 June 30th, 2006
FASherman's Avatar
FASherman Offline
IBM pSeries and Storage Architect
 
Join Date: May 2006
Posts: 240
Send a message via Yahoo to FASherman
Re: LVM mirroring on AIX

What version of AIX are you using? The answer hinges on that question.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Fred Sherman
IBM pSeries and Storage Architect
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 June 30th, 2006
twieckow's Avatar
twieckow Offline
Junior Member
 
Join Date: June 2006
Posts: 15
Re: LVM mirroring on AIX

Hi, Sorry I did'nt mention before 5300-03,04.
Thanks very much
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 June 30th, 2006
FASherman's Avatar
FASherman Offline
IBM pSeries and Storage Architect
 
Join Date: May 2006
Posts: 240
Send a message via Yahoo to FASherman
Re: LVM mirroring on AIX

The command you want to use is splitvg:

splitvg -y SnapVGname -c Copy VGname

So you would enter:

# splitvg -y OraSNAPvg -c 3 OraDBvg

(this assumes you have three copies so that the VG is still mirrored after the split. Substitute -c 2 for -c 3 if you have only two copies. Also understand your DB will be at risk for the entire time the backup is being run.)

When you're done the backup, simply rejoin the volume group:

# joinvg OraSNAPvg

But remember, this is a snap volume. It does have limitations. If you need more flexibility you could try something like this:

# splitvg -y OraSNAPvg -c 3 -i OraDBvg

(The -i means that the split is permanent)

Record the hdisks in OraSNAPvg, vary it off and export it. Now type:

# recreatevg -y OraCopyvg list of hdisks

Now you have a regular volume group with no limitations. You can run it as another instance or, if SAN based, you can export/import it on another server/LPAR. Its a fast way to copy production databases to development servers/LPARs.

Just be sure to quiesce the database before issuing the snapvg. Also make sure there are no stale logical volumes.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Fred Sherman
IBM pSeries and Storage Architect
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old July 3rd, 2006
twieckow's Avatar
twieckow Offline
Junior Member
 
Join Date: June 2006
Posts: 15
Re: LVM mirroring on AIX

Fred, Thanks very much for the advise.
I will give this a try. Appreciate the feedback.
Tom
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old July 3rd, 2006
FASherman's Avatar
FASherman Offline
IBM pSeries and Storage Architect
 
Join Date: May 2006
Posts: 240
Send a message via Yahoo to FASherman
Re: LVM mirroring on AIX

Let me know how it works out.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Fred Sherman
IBM pSeries and Storage Architect
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
IBM Still Committed to AIX FASherman Articles 4 1 Week Ago 17:07
Microsoft Windows 2003 Active Directory integration FASherman Tutorials 25 April 28th, 2008 07:14
Aix 6 AIX_Dude AIX for POWER Systems 2 May 25th, 2007 08:09
How to configure alternate link of a LUN in AIX LVM amitava AIX for POWER Systems 0 September 6th, 2006 09:25
Compiling Apache2 and PHP 5.1 on AIX FASherman Tutorials 2 July 22nd, 2006 13:41



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