AIX upgrade fails

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support AIX upgrade fails
# 1  
Old 11-15-2013
AIX upgrade fails

Hello Team,

Am trying to upgrade the AIX 6.1 TL 7 to TL 8. My rootvg is mirrored so i have unmirrored and taken out the secondary disk and trying to install the update via smitty alt_clone.


The filesets has been installed and finally when making the updated disk as bootable bosboot is failing. Please help me ...


Code:
 
 -------------------------------------------------------------------------------
 bos.aso                     6.1.8.16        USR         APPLY       SUCCESS
 bos.aso                     6.1.8.16        ROOT        APPLY       SUCCESS
 bos.aso                     6.1.8.16        USR         COMMIT      SUCCESS
 bos.aso                     6.1.8.16        ROOT        COMMIT      SUCCESS
 install_all_updates: Log file is /var/adm/ras/install_all_updates.log
 install_all_updates: Result = SUCCESS
 Modifying ODM on cloned disk.
 Building boot image on cloned disk.
  
 0301-150 bosboot: Invalid or no boot device specified!
 usage:  bosboot {-a | -v} [-d device] [-p proto] [-k kernel] [-l lvdev]
                 [-b file] [-M primary|standby|both] [-D|-I] [-LTq]
         Where:
         -a              Create boot image and write to device or file.
         -v              Verify, but do not build boot image.
         -d device       Device for which to create the boot image.
         -p proto        Use given proto file for RAM disk file system.
         -k kernel       Use given kernel file for boot image.
         -l lvdev        Target boot logical volume for boot image.
  
  
  
  
  
 fcapdev[/home/root]#ln -f /dev/rhdisk0 /dev/ipldevice
 ln: 0653-419 /dev/rhdisk0 and /dev/ipldevice are identical.
 fcapdev[/home/root]#bosbood -ad /dev/hdisk0
 ksh: bosbood:  not found.
 fcapdev[/home/root]#bosboot -ad /dev/hdisk0
  
 0301-168 bosboot: The current boot logical volume, /dev/hd5,
         does not exist on /dev/hdisk0.
 fcapdev[/home/root]#ipl_varyon -i
 [S 10616942 7471268 11/16/13-00:46:57:783 ipl_varyon.c 1265] ipl_varyon -i
  
  
 PVNAME          BOOT DEVICE     PVID                    VOLUME GROUP ID
 hdisk0          NO              0008761ae1775e910000000000000000        0008761a0000d400
 hdisk1          YES             0008761a49a99d340000000000000000        0008761a0000d400
 [E 10616942 0:097 ipl_varyon.c 1405] ipl_varyon: exited with rc=0
 fcapdev[/home/root]#lslv -m hd5
 hd5:N/A
 LP    PP1  PV1               PP2  PV2               PP3  PV3
 0001  0001 hdisk1

R/G,
Gowtham
# 2  
Old 11-20-2013
What is the output of lspv?

What steps you did to unmirror rootvg?

Did you applied the bundle?

Can you paste oslevel -s output?
# 3  
Old 11-20-2013
When you un-mirrored, do you expect to be able to reboot from the removed disk? This is not the case. If you did something like:-
Code:
unmirrorvg rootvg hdisk1
reducevg hdisk1
rmdev -dl hdisk1

... and then pulled it, then hdisk1 is empty if the reducevg completes.

It seems counter intuitive, but assuming that the two disks were completely mirrored and bootable, you would have been safer to shutdown, pull the disk, boot. That way, if you need to, you could have forced the boot via SMS to start from the disk you pulled out.

If hd5 is not on hdisk0, this would suggest that it was only on hdisk1. The unmirror will not move LVs that are not mirrored. This would mean that you could not take hdisk1 out the VG of course, so that would suggest that something was wrong at that point.


Before we panic too much. Are you happy that you have recent mksysb media to recover with?



Robin
# 4  
Old 11-21-2013
I suggest you do an "alt-disk-install" - which would be a fresh install of the new version of the OS - or an "alt-disk-migration", which means:

- breaking the mirror of a mirrored rootvg
- update the OS on the broken-off mirror
- restart the system (from the newly updated disk)
- resynchronize by remirroring using the disk with the old OS version

alt-disk-installation is quite similar, just instead of an update a fresh install is done.

Fortunately all this is done by the procedure itself, you do not do (manually) any of these steps. I just wrote it so you can picture what goes on during the procedure.

Put the disk back in, establish the mirror again and then start over doing an alt-disk-migration. For a procedure for performing an alternate disk migration read the IBM infocenter page.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 5  
Old 11-21-2013
Quote:
Originally Posted by bakunin
Put the disk back in, establish the mirror again and then start over doing an alt-disk-migration. For a procedure for performing an alternate disk migration read the IBM infocenter page.

bakunin
I would like to make a point here, for Alt_Disk_Install, he actually needs a empty and free disk.

You don't have to place the disk back and mirror.

Before we do Alt_Disk_Install, we actually try to break the mirror and then use that empty disk to clone the OS. It is a backup copy of the current OS

After you done you can either upgrade this or alt_disk image.

But if you want to take a backup of existing image and upgrade the binaries at the same time you use alt_disk_clone.

Your current disk will server as backup disk (it will stay at current version even after reboot) and other empty disk you use for alt_disk_clone operation will be upgraded to the new desired OS version. In both cases you just have to change the bootlist to jump different version (ofcourse after a reboot).

Last edited by ibmtech; 11-21-2013 at 12:24 PM.. Reason: Corrected comment
This User Gave Thanks to ibmtech For This Post:
# 6  
Old 11-21-2013
Quote:
Originally Posted by ibmtech
I would like to make a point here, for Alt_Disk_Install, he actually needs a empty and free disk.

You don't have to place the disk back and mirror.
You are right and i should have clarified what i mean: my suggestion was to do an alternate disk migration, which needs the mirrored disk in place. It will break up the mirror as described in the process, but the procedure does that itself, you don't have to provide the broke-up mirror yourself.

I hope this helps.

bakunin
# 7  
Old 11-21-2013
Sorry again, but if I am recalling it right for NIM ADM (which we perform from NIM server).
We need a free target disk. Correct me if I am wrong.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX upgrade

i upgrade aix ml 5.3.2.1 to 5.3.2.2 but when running commnd #oslevel -r shows out put, again 5.3.2.1-- where should i chek??? 2-can any one tell me when mknfs command run which files get updated?? (2 Replies)
Discussion started by: nayyer
2 Replies

2. Solaris

Sun Live Upgrade - lucreate fails

Hi, I currently have one BE and would like to create an ABE. # lustatus BE_name Complete Active ActiveOnReboot CopyStatus ------------------------------------------------------------------------ coolthreads yes yes yes - But... (3 Replies)
Discussion started by: pgarousi
3 Replies

3. AIX

How to upgrade AIX Firmware & TL Maintenance Level in AIX

Steps to upgrade AIX TL ( technology Level ) / Maintenance Level in AIX ( including Firmware HMC VIOS ) This article or post covers upgrades for - Hardware Management Console ( HMC ) - Firmware ( also known as microcode ) - VIO ( Virtual I/O Server = PowerVM ) - AIX Version, Technology... (2 Replies)
Discussion started by: filosophizer
2 Replies

4. AIX

Upgrade from AIX 5.3 to 6.1

Hello Folks, i am facing some weired issues. case is like this :- initially i was on AIX 5.3 i have installed filesets related to my application and those were in APPLY state.(COMMIT is set as NO) Then i have taken lslpp -l| grep -i <apps name> in that i confirmed whether the filesets are... (1 Reply)
Discussion started by: harsh_mulay
1 Replies

5. AIX

tcpdump fails at AIX 5.2

While executing tcpdump , i am getting following error. tcpdump: BIOCSETIF: en0: Do not specify an existing file. I checked with truss , and i able to see kioctl system is failed with "EEXIST" ============================================== Message from truss output... (2 Replies)
Discussion started by: sekarsamy
2 Replies

6. AIX

AIX: chpath command fails

Hi Guys, i'm having trouble changing the path-priority. Now both priorities are 1 as you can see in the lspath-output. Any ideas why the chpath command fails? # chpath -l hdisk3 -p fscsi1 -a priority=10 Method error (/etc/methods/chgdisk): 0514-080 Invalid routine argument... (4 Replies)
Discussion started by: raba
4 Replies

7. AIX

POLL function fails under AIX v5.3

I am having a strange problem with the poll() routine. I compiled a module under AIX 5.2 using the poll routine, it worked fine. When the OS was upgraded to AIX 5.3 the poll routine return an error code. Here is a summary of the code: #define MAX_EVENTS 300 long eventCount;... (0 Replies)
Discussion started by: TahirNazir
0 Replies

8. UNIX for Dummies Questions & Answers

AIX Upgrade

Does anyone know any gotcha's on upgrading AIX from 5.1 to 5.3? Any interim steps on needs to do or ??? (3 Replies)
Discussion started by: capeme
3 Replies

9. UNIX for Dummies Questions & Answers

AIX ML upgrade

Hello everyone, I have to do a ML upgrade on AIX 5.2 from 01 to 09 this is the first time iam going to do it. are there any command i have to keep in mind?? thanks! (1 Reply)
Discussion started by: karthikosu
1 Replies

10. AIX

HELP for AIX 4.3 upgrade to 5.3

Hi guys I have joined a new department and one of my tasks is to investigate the feasibility of upgrading our current AIX v 4.3 to V5.3. I do not know anything about AIX and any actual work will be done by an outside consultant until such time as I have built up my own knowledge. The system we... (3 Replies)
Discussion started by: JDM
3 Replies
Login or Register to Ask a Question