NIMADM migration 5.3 to 7.1


 
Thread Tools Search this Thread
Operating Systems AIX NIMADM migration 5.3 to 7.1
# 1  
Old 06-21-2012
NIMADM migration 5.3 to 7.1

I am attempting this for the first time having in the past used a DVD migrate. Unfortunately in this instance I do not have this luxury. The migration starts correctly and creates the alt_inst disk and them proceeds to create the filesystems and exports them. First failure was the filesystem /admin on the hd11admin logical volume did not exist on the client which caused a mount problem. However this will not exist as I believe the /admin filesystem appeared on 6.1.

I tried to get around this by creating a dummy LV on the 5.3 system which seemed to work! However it still fails with the following output:

Code:
 nimadm -d hdisk4 -c client1 -s AIX71_TL1spot -l AIX71_TL1 -Y
Initializing the NIM master.
Initializing NIM client client1.
Verifying alt_disk_migration eligibility.
Initializing log: /var/adm/ras/alt_mig/client1_alt_mig.log
Starting Alternate Disk Migration.

+-----------------------------------------------------------------------------+
Executing nimadm phase 1.
+-----------------------------------------------------------------------------+
Cloning altinst_rootvg on client, Phase 1.
Client alt_disk_install command: alt_disk_copy -M 7.1 -P1 -d "hdisk4"
Calling mkszfile to create new /image.data file.
Checking disk sizes.
LOGICAL_VOLUME= hd11admin
FS_LV= /dev/hd11admin
Creating cloned rootvg volume group and associated logical volumes.
Creating logical volume alt_hd5.
Creating logical volume alt_hd6.
Creating logical volume alt_hd8.
Creating logical volume alt_hd4.
Creating logical volume alt_hd2.
Creating logical volume alt_hd9var.
Creating logical volume alt_hd3.
Creating logical volume alt_hd1.
Creating logical volume alt_hd10opt.
Creating logical volume alt_lg_dumplv.
Creating logical volume alt_hd11admin.
Creating /alt_inst/ file system.
Creating /alt_inst/admin file system.
Creating /alt_inst/home file system.
Creating /alt_inst/opt file system.
Creating /alt_inst/tmp file system.
Creating /alt_inst/usr file system.
Creating /alt_inst/var file system.
Generating a list of files
for backup and restore into the alternate file system...
Backing-up the rootvg files and restoring them to the alternate file system...
Phase 1 complete.

+-----------------------------------------------------------------------------+
Executing nimadm phase 2.
+-----------------------------------------------------------------------------+
Exporting alt_inst filesystems from client client1
to NIM master NIM MASTER:
Exporting /alt_inst/admin from client.
Exporting /alt_inst from client.
exportfs: /alt_inst: sub-directory (/alt_inst/admin) already exported
exportfs: /alt_inst not found in /tmp/nfsexpT-ukMb
Exporting /alt_inst/home from client.
Exporting /alt_inst/opt from client.
Exporting /alt_inst/tmp from client.
Exporting /alt_inst/usr from client.
Exporting /alt_inst/var from client.
0505-154 nimadm: Error exporting client alt_inst filesystems.
Cleaning up alt_disk_migration on the NIM master.
Cleaning up alt_disk_migration on client client1.
Unexporting alt_inst filesystems on client client1:
Client alt_disk_install command: alt_disk_install -M 7.1 -X
forced unmount of /alt_inst/var
forced unmount of /alt_inst/usr
forced unmount of /alt_inst/tmp
forced unmount of /alt_inst/opt
forced unmount of /alt_inst/home
forced unmount of /alt_inst/admin
forced unmount of /alt_inst
Bootlist is set to the boot disk: hdisk2 blv=hd5

# 2  
Old 06-21-2012
Just an idea: NIM can become pretty capricious if directories in NIMs working directories are being exported independently (even if only exported indirectly via exporting super-directories of them).

It might be a good idea to have a look in /etc/exports and clean up every entry regarding NIMs working directories or supersets of these prior to attempting any NIM operation.

This is - alas - a part not all too predictable about NIM.

I hope this helps.

bakunin
# 3  
Old 06-25-2012
Solved: NIMADM migration 5.3 to 7.1

The problem with a Google search is if you do not ask the question correctly you get spurious answers. I asked the correct question and found a link to an IBM known problem patch.

IBM IV13892: NIMADM FAILS TO SORT /ALT_INST FILESYS PROPERLY WHEN LANG=EN_GB - United States

I downloaded the patch, updated the LPP_SOURCE and SPOT, ran NIMADM again and it ran all the way to phase 12. The server came back correctly and reported the O/S as:
Code:
7100-00-03-1115

A success after a lot of searching!
# 4  
Old 06-25-2012
Thank you for keeping us updated. This makes a valuable contribution to the knowledge base.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX - FC Switch migration, SAN Migration question!

I'm New to AIX / VIOS We're doing a FC switch cutover on an ibm device, connected via SAN. How do I tell if one path to my remote disk is lost? (aix lvm) How do I tell when my link is down on my HBA port? Appreciate your help, very much! (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies

2. AIX

Lpar migration

We have a 2 node oracle rac cluster one node is in frame 1 and other is in frame 2 Now,because of some hardware failure(processor card and cable) in frame 1 we will failover database services from lpar in frame 1 to lpar(oracle rac cluster node2) in frame2 and the entire replacement of hardware... (9 Replies)
Discussion started by: admin_db
9 Replies

3. AIX

SAN Migration

Hi all, We are migrating our SAN storage from HSV360 to 3PAR. The system runs aix 6.1 version with HACMP. Please let me know what are requirements from OS side and how are the data copied to the new disks. (10 Replies)
Discussion started by: ElizabethPJ
10 Replies

4. AIX

Server migration

Hi, Existing several p5 server with lpar (aix5.3), also implemented with hacmp. And now planning to buy new set of server (installing aix7.1)and SAN to replace the existing server. My question is, how to perform data migration from old server/SAN to new server/SAN. Suppose I install... (6 Replies)
Discussion started by: Oceanlo2013
6 Replies

5. AIX

Migration using nimadm

Hi , I am planning to upgrade nim client server from AIX 5.3 to AIX 6.1 using nimadm. My nim master is a 6.1 TL5 with the bos.alt_disk_install.rte 6.1.5.0 installed. I want to upgrade client at 6.1 TL4 level using the 6.1 TL4 lpp_source and spot. Question : As per the ibm information it... (0 Replies)
Discussion started by: mk8570
0 Replies

6. UNIX for Advanced & Expert Users

Migration of users

We are about to get a new server and I need to prepare for migration to the new one. This will be my first migration so I'm sure I will be learning alot. My current server is running CentOS 4.x and I want to move to a sever running Centos 5.x , thought it would make things easier. The old... (1 Reply)
Discussion started by: mcraul
1 Replies

7. Shell Programming and Scripting

code migration

Hi, I am working on migration project. thier are 50,000 scripts. As we are doing 70% of automization for changing the scripts. The remaining 30% doing manually. After doing manual changes i have to find the wheather the change is dont or not and also clode review process. Is there any... (2 Replies)
Discussion started by: unihp1
2 Replies

8. UNIX for Advanced & Expert Users

Migration

Hi all, Would appreciate advise on my situation. Currently server A is in production. Server A takes in data from Server X, does some processing and send to server Y. We are going to develop a different system in server B, something like an enhanced version of A. Server A will be retired once... (2 Replies)
Discussion started by: new2ss
2 Replies

9. UNIX for Advanced & Expert Users

migration

hi, is there any tool that i can use to update my scripts (SH scripts) form Unix to linux. please mention any useful websites. thanx in advance (2 Replies)
Discussion started by: omran
2 Replies

10. UNIX for Dummies Questions & Answers

Migration

Is it possible to migrate a UNIX program and use it in a NetWare or Windows 2000 network? I have a client that must have one of those two operating systems for the new program that they want. However, they've been using an older UNIX program for about 7 years and they want to be able to refer to... (7 Replies)
Discussion started by: refram
7 Replies
Login or Register to Ask a Question