Must restore data to DR server


 
Thread Tools Search this Thread
Operating Systems AIX Must restore data to DR server
# 1  
Old 11-13-2008
Network Must restore data to DR server

Hello,

I have posted several threads regarding my voyage of discovery with mksysb's and AIX, but seem to be at a loss now please help me.

I need to restore data from a mksysb to a DR server.
Problem is the DR server only has 2 disks not 4 and no mirrors.

I need to restore AIX 5.2 to the server, I have tried booting from the tape but it hangs before the install text appears,

I have tried to use the sms, the cd and the tape and got no where.
I have tried using wsm and now my latest is cloning the hdisk1 to hdisk0.

Then trying to restore the files from the tape to the new cloned partition, again this is not working, as I ma unaware of how to mount a lv hdisk0 mount point to my hdisk1 /. I was going to use the restore command and extract the directories over the top of each mount point one by one.

Any ideas would be great as I am really stuck, I am a AIX newbie so if you can spell it out it would be great.

I should mention the main error I get using mksysb is

Quote:
# alt_disk_install -i '/var/adm/ras/image.data' -d /dev/rmt0 hdisk0
Restoring /image.data from mksysb image.
Checking disk sizes.
Creating cloned rootvg volume group and associated logical volumes.
0505-102 alt_disk_install: mkvg has returned an error.
0516-1208 mkvg: Warning, The Physical Partition Size of 4 requires the
creation of 35003 partitions for hdisk0. The system limitation is 16256
physical partitions per disk at a factor value of 16. Specify a larger
Physical Partition Size or a larger factor value in order create a
volume group on this disk.
0516-862 mkvg: Unable to create volume group.
Cleaning up.
I was trying to use the existing image.data file not the one on the disk, also I do not have access to a floppy so that way is out as well.

Any Ideas???

Last edited by pobman; 11-16-2008 at 03:44 PM..
# 2  
Old 11-16-2008
From what I remember, when you create a mksysb you have options to create a file (sorry I just cant remember what they are called...) which allows you to "customize" the use of the image when restoring this file if I remember is copied with the mksysb image ( but I remember times when we had to use floppys...) this allows you to change the size of disks, FS etc...

Sorry for the little if any help
# 3  
Old 11-16-2008
Quote:
Originally Posted by pobman
I was trying to use the existing image.data file not the one on the disk, also I do not have access to a floppy so that way is out as well.
Unfortunately I stated I can not use a floppy is there any other way??
# 4  
Old 11-17-2008
You must customize /image.data before to call mksysb (and not use the option i and m...) like VG_SOURCE_DISK_LIST...
And you have /bosinst.data file you can customize also to suit your target system, at the time I worked with AIX there was a stanza: target_disk_data

Good luck
# 5  
Old 11-18-2008
Quote:
Originally Posted by vbe
You must customize /image.data before to call mksysb (and not use the option i and m...)
Correct. There is a tool called "mkszfile", which is called by mksysb automatically when invoked with the "-i" option. Issue this command manually to get a initial "image.data", then use your favourite text editor to change it - this is pretty straightforward and self-explanatory. You might read the manpage of mkszfile for further information.

After this call "mksysb", but WITHOUT the "-i" option, which would overwrite your prepared "/image.data" file.

I hope this helps.

bakunin
# 6  
Old 11-19-2008
Please try by changing the following parameter in image.data.....

In VG_data: section
VG_SOURCE_DISK_LIST= <- delete hdisk from list which you don't have

In LV_data: section
LV_SOURCE_DISK_LIST= <- here also put name only that hdisk which you have
COPIES= <- You need to set it 1 if you hv mirror at Primery site and don't at DR
PP = <- set the number of PP = Number of LP of the same segment.

I think this will be help you out
# 7  
Old 11-24-2008
Hello,

I have still not managed to get anywhere with this.

I managed to get hold of a USB floppy drive.
Edited the image.data and bosinst.data to display only one disk, was not sure about the PP though how can I tell what I should use? So I left it as 32MB
Followed the IBM manual guide as follows:
Quote:
Create a supplementary diskette

1. Create an ASCII file consisting of one word:
data
2. Save the new ASCII file and name it signature.
3. Copy the signature file to the root directory.
4. Create the supplementary diskette and use it for installation. Back up the edited bosinst.data file and the new signature file to the diskette with the following command:
http://www.ibm.com/developerworks/ai...x.html#clonevg

I rebooted and when the tape booted it hung again at a white screen after the kernel was displayed, the floppy disk light came on then nothing happened for over 30mins, just the white screen with no text or output of any kind.

today I decided I would try another method as I am almost out of ideas.

I created a new rootvg called newvg
I created all 15 lv's in the group
mounted them all under /new
and tried to restore data from my backup tape.
I am having issues with the tape and will wait for a new one.
In the mean while what will I need to do to, rename the existing rootvg to oldvg and rename my new one to rootvg and make it bootable?

Last edited by pobman; 11-24-2008 at 10:12 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to automate restore data and root mirror in Solaris 10

Hi Folks, I have taken a backup of root filesystem with tar. Please help me to write a ksh script to automate restoration and root mirror in solaris 10. Thanks in advance. (1 Reply)
Discussion started by: wills
1 Replies

2. Emergency UNIX and Linux Support

Dead server, need to restore few files

Hi, One of my Linux server running Redhat version 3 is dead. I already build the new server but I need to get few of the license files from the old server. Currently, I booted the old server using the CDROM. But when I go to /mnt/sysimage/var, I don't see any of files? I also went to... (4 Replies)
Discussion started by: samnyc
4 Replies

3. Solaris

Restore a server from a ufsdump

Hi guys i tried to restore a server from a ufsdump. For your information, the ufsdump was created on a v440 and i have to restore it to a v240... is it supported? should it work? don't know but i try! the problem is after restoring the filesystem, modify the vfstab, system file and install... (5 Replies)
Discussion started by: beta17
5 Replies

4. SCO

cpio Backup and restore to spare server fails

Our company purchased a spare HP ML350 server - identical to current one in use to act as minimal downtime replacement should the inevitable happen. After install of OS 5.0.7 and restore of cpiobackup I get this message: -: Syntax error: Hostname= $inexpected The SCO licence policy... (4 Replies)
Discussion started by: moondogi
4 Replies

5. HP-UX

restore data after system crash

Hi all, I have a server running HP-UX 11i V1 (11.11). We had a problem with the system disk which cannot boot and the recovery with the CD failed too. the only solution was to re-install the system on a new disk. The problem now is to get access to the data which are on other disks, not... (2 Replies)
Discussion started by: aribault
2 Replies

6. Shell Programming and Scripting

SFTP to server, pulling data and removing the data

Hi all, I have the following script, but are not too sure about the syntax to complete the script. In essence, the script must connect to a SFTP server at a client site with username and password located in a file on my server. Then change to the appropriate directory. Pull the data to the... (1 Reply)
Discussion started by: codenjanod
1 Replies

7. AIX

mksysb restore - Wrong OS level for restore

Hi all, I am still working on my mksysb restore. My latest issue is during an alt_disk_install from tape I got the following error after all the data had been restored. 0505-143 alt_disk_install: Unable to match mksysb level 5.2.0 with any available boot images. Please correct this... (0 Replies)
Discussion started by: pobman
0 Replies

8. UNIX for Dummies Questions & Answers

Backup user from one server and restore to another

Hi. I have a situation here where I need to backup a users' home directory and restore onto another server. The issue here is that both servers have different operating systems and I am looking for advices on how to proceed. The source server operating system is Tru64 v5.1, and here's the output... (1 Reply)
Discussion started by: fidodido
1 Replies
Login or Register to Ask a Question