Solved

Regarding mirroring of alternate rootvg

Posted on 2011-02-28
12
931 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 400 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 100 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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

690 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