[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Regarding mirroring of alternate rootvg

Posted on 2011-02-28
12
Medium Priority
?
938 Views
Last Modified: 2013-11-17
Hi All,

I want to know the procedure of how to mirror the alternate rootvg which is created is alternate disk installation. I have done alternate disk installation on hdisk0(spare disk) in my system as I have to prepare it for TL-12 upgrade. Now I want that alt_rootvg to be mirrored on another spare (hdisk1). What is the procedure for the same.

Thanks
virgo
0
Comment
Question by:virgo0880
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
12 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 1600 total points
ID: 35001062
Hi,

that's just the same as for rootvg itself.

Issue "extendvg alt_rootvg hdisk1", then

use "smitty mirrorvg" and fill in the values (see attachment).

Synchronizing in foreground will take a while. If you don't want to wait change to "Background". The VG will remain locked, however, until all PPs are synced.

wmp


Mirror a Volume Group

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
* VOLUME GROUP name                                   alt_rootvg
  Mirror sync mode                                   [Foreground]                  +
  PHYSICAL VOLUME names                              [hdisk1]                      +
  Number of COPIES of each logical                    2                            +
    partition
  Keep Quorum Checking On?                            no                           +
  Create Exact LV Mapping?                            no                           +

Open in new window

0
 

Author Comment

by:virgo0880
ID: 35001205
But normally, these alt_rootvg will not be activated by default. So whether the above commands can be executed even if the alt_rootvg is not enabled or should it be enabled first.

Virgo
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35001458
OK,

so at which point in the alternate disk installation process are you right now?

You're right, you cannot work with the alternate_vg at wish, at every point in the process.
So in other words, what exactly did you do up to now?

wmp
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:virgo0880
ID: 35001616
Actually, I have not created the alt rootvg yet, I am just getting prepared for the activity scheduled tomorrow night. But I will start the alternate disk installation in the morning tomorrow. The scenario is this is the ERP Database server which is having 2 disks (hdisk472 and hdisk473), I will break the mirror and start alt disk install on hdisk0 (spare disk) and remirror hdisk473. This is to prepare for TL-12 upgrade on the system. So hdisk0 will have old OS i.e. TL10, but I need to keep the mirror copy of that also, for that i have hdisk1(spare), thats why I was asking the procedure.

virgo
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35001937
First, why would you break the mirror? You do have a spare disk (even two!), so you can leave your rootvg mirrored!

Second, if you want to run all three phases consecutively without interruption you will not be able to vary on the alternate VG without going back to a post phase 1 state, by "waking it up" (alt_rootvg_op -W) which will mount the /alt_inst filesystems.

That's because once phase 3 has finished your alternate rootvg will contain LVs/FSs with the same names as in the original VG, so you can't simply vary it on anymore.

If you plan to use "wake up" don't forget (!!) to put the VG back to sleep (alt_rootvg_op -S) before executing phase 3 or before booting from it.

But why should you mirror the alternate VG? Once you booted successfully from this alternate VG and put it into production it's your new rootvg, and you can mirror it at wish without any further considerations or worries!

wmp
0
 

Author Comment

by:virgo0880
ID: 35002026
I didnt understand what are you saying here..i.e. phases you are talking about. This is what I understood, you are saying that once I break the mirror and completed alt disk install on hdisk0, I will not be able to vary on that hdisk0(cloned copy)...is that right...so I will not be able to make the mirror of that on hdisk1..this is what you want to say ?

Also, I logged a call with IBM for cloning the rootvg without breaking mirrors, but they didnt recommend it as they say it would create issues.

"But why should you mirror the alternate VG >" my client wants to have the mirror copy of that alt disk install (hdisk0) also,on hdisk1, if hdisk0 fails - coz that is only the old working copy.

Virgo
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35002081
In your previous comment you wrote >> I am just getting prepared for the activity ...<<

What kind of preparation is this when you don't even know anything about the phases of alt_disk copy?

I'd really advise you to get a bit more familiar with all the stuff you're trying to do, otherwise it could become very dangerous for your installation and your company!
0
 

Author Comment

by:virgo0880
ID: 35002176
Actually, I am aware of the process, I have done it on other systems with 2 disks in rootvg. As this system is different, I want to know that whether hdisk0 (alt disk copy) can be mirrored to hdisk1 immediately after creating alt disk install. That is the only question I have .

Thanks
virgo
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35002583
Either stop after phase 1 and mirror the new VG as I wrote in my first comment, or, if you're past pase 3 wake up the cloned VG (effectively bringing it back to post phase1), mirror it, put it back to sleep (i.e. bring it back to post phase 3).

That's all I can say.

wmp
0
 
LVL 5

Assisted Solution

by:balasundaram_s
balasundaram_s earned 400 total points
ID: 35031199
You have 2 rootvg disks hdisk472 & hdisk473 and spare disks 'hdisk0' & 'hdisk1'.  

Without breaking the mirror and you can do the alt_disk_install like below:

/usr/sbin/alt_disk_install -C -B -P 'all' hdisk0 hdisk1

This will create the mirrored altinst_rootvg.
0
 

Author Comment

by:virgo0880
ID: 35200738
I wil check the same and revert
0
 

Author Comment

by:virgo0880
ID: 35207748
IBM recommended not to do the alternate disk installation with disks mirrored as they told that you may encounter  issues during installation or the process may get hung. So, I unmirrored the disk, perform the normal alt disk install and re-mirrored the disk. But I thanks for helping me in this.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question