[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 424
  • Last Modified:

URGENT --- Neebie Needs Help Creating a Clone Image of my Aix 5.3 server

First off I know very little about AIX so please bare with me...

Right now I have a production Aix 5.3 server that has boot a 'rootvg' & 'vol1' volumes.
Right now we run a daly 'sysback' of both volumes. We just got a new idential server that will be a DR server that I need to have ready to go ASAP. Here is my problem..

1) I have read that I can only restore the 'rootvg' from a 'mksysb' backup and that I need the orginall installation media to do so.

2) I do not have the orginal installation media and when I try to create a 'mksysb' backup on my production server I keep getting the following message: "cannot access /dev/rmt0 device is busy or write protect" which both are not true becuase this is a new tape..

3) Can I restore BOTH volumes from a 'sysback' image ???

0
compdigit44
Asked:
compdigit44
  • 10
  • 7
1 Solution
 
compdigit44Author Commented:
Good news is that I was finally able to get a 'mksysb' to WORK... I might be able to get the media from one other location but it will be a long shot..

1) How do I tape my 'mksysb' tape and restore this image. I never did this before. What would happend I I used AIx 5.2 media instrad of the Aix 5.3 which is the version I'm currently running?

2) I was going to use the 'sysback' command for my other volume is this correct?
0
 
joolsCommented:
if both systems are the same then you may be able to just boot from the tape from the sms menu and mksysb the system that way.

if the systems are different it is better to boot from the install CD and then use the install from system backup option. If you used 5.2 media to recover 5.3 it may not work!

regards the tape error, is rmt0 the correct tape device? `lsdev -Cctape` may give you the info you need. (it's been a while since I used AIX so bear with me!)

when recovering systems we would just use the mksysb tape for the customer O/S and then restore their data after, I believe sysback includes the lvm information that can be recreated.... again, it's been a while...
0
 
gheistCommented:
1) you do not need original install media to restore mksysb on same system. diag -a tells whats wrong with tape drive - like missing drivers or cleaning needed.
2) ask somebody who has media (USD50 if you ask IBM)
3) you can restore rootvg from mksysb, other volume groups have to be backed up and restored, and raw partitions like Oracle uses have to backed up their ways.
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!

 
compdigit44Author Commented:
I was able to get a copy of the orginal AIX 5.3 install media. Now my question is since I never did this before is how do I now restore the rootvg???? Please help
0
 
gheistCommented:
I do not understand where you got the idea of need for AIX CD.
It is needed if different network etc hw is used.
Rootvg restores from mksysb tape, that includes full AIX from previous system.
0
 
compdigit44Author Commented:
but how do I start the restore... :-(
0
 
gheistCommented:
Boot from mksysb tape using sms menus.
0
 
compdigit44Author Commented:
ok I got it to work...

My other volume was backed up using sysback I can I restore this volume now?
0
 
compdigit44Author Commented:
Also when I run the following command on my newly restored / cloned server is is only showing the 'rootvg" volume both of these servers are exact clone of one another hardware wise please help
0
 
gheistCommented:
http://redbooks.ibm.com/
type mksysb in search
hope this helps.
0
 
compdigit44Author Commented:
but I though mksysb only does the rootvg by default?????

I didn't specific my other volume orginally???
0
 
gheistCommented:
I do not understand what are you talking about.
mksysb backs up filesystems in rootvg. Nothing more.
0
 
compdigit44Author Commented:
i know i need to server data to another volume..

For example my production server has the following volumes
rootvg
users123

My idential cloned server only has the the following VG listed
root123

On my clones server I need to restore the users123 volume

please help
0
 
gheistCommented:
So backup and restore extra volume group.
0
 
compdigit44Author Commented:
COrrect!!!!!!!1 my rootVG was backed up and just restored using 'mksysb' I need to create and restore everything to a different volume called user123... how do I create the volume then restore all of the data to it?????
0
 
compdigit44Author Commented:
I was able to figure this out.... Thanks again for all of the great help everyone...
0
 
gheistCommented:
Walk through all the smitty menus and use F1/F4/F6 to figure out commands under the hood and purpose of each option. Also look around diag menus. Does not take more than two weeks to make experienced user out of newbie. Good luck!
0
 
compdigit44Author Commented:
BTW.... My source server had both the rootvg and user123 volumes mirrored after I restored these volumes on my target will they be mirrord as well. HOw can I check? How would O setup a mirror if need be??
0

Featured Post

Industry Leaders: 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!

  • 10
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now