Upgrade AIX 5.3 to AIX6.1


 
Thread Tools Search this Thread
Operating Systems AIX Upgrade AIX 5.3 to AIX6.1
# 1  
Old 09-30-2013
Upgrade AIX 5.3 to AIX6.1

Dear Guys ..

I'm going to Upgrade one of the servers AIX 6.1

I want to stop rootvg mirror to save the mirror then upgrade to AIX 6.1 this is to help me in rollback if something goes wrong but ..

can anyone help me how to make sure that system is relay mirrored and how to know that second mirror has relay synchronized data


Please advice ..
# 2  
Old 09-30-2013
If you are jumping from AIX5.3 to AIX6.1, then it is called migration.

Since you are saying the rootvg is mirrored, you can use one disk for migration keeping the other on current OS version.

I recommend using NIMADM (only reboot require downtime, rest can be done when the system is up).

Steps:
Break the rootvg's mirror
Code:
unmirrorvg rootvg <hdiskname>

If you still see some LV mirrored you can run
Code:
rmlvcopy <lvname> <no of copies (1)> <pvname>

Now that the rootvg is unmirrored, run
Code:
reducevg rootvg <hdiskname>

recreate the boot image (safe side)
Code:
bosboot -a -d /dev/<hdiskname>, here hdisk is the disk on which you have your rootvg

then
Code:
bootlist -m normal -o <hdiskname>

Coming to actual migration, you need
1. NIM Server (alteast at AIX6.1 TLXSPX (the OS, TL & SP Version of NIM should be higher than its client or same level post migration)
2. Make sure it can talk to client (check the nimsh service etc..,)
3. Make sure you have an empty disk (this is the one you just freed)
4. Make sure on NIM you have AIX6.1 as LPP Source and SPOT

After confirming all the above and their dependencies, proceed with the below. From NIM Server run
Code:
smitty nimadm --> Perform NIM Alternate Disk Migration

Code:
* Target NIM Client                                  [Client name]                                       +
* NIM LPP_SOURCE resource                            [61_lppsource]                                               +
* NIM SPOT resource                                  [61_spot]                                               +
* Target Disk(s) to install                          [select the empty disk]
  DISK CACHE volume group name                       []                                               +

  NIM IMAGE_DATA resource                            []                                               +
  NIM BOSINST_DATA resource                          []                                               +
  NIM EXCLUDE_FILES resource                         []                                               +
  NIM INSTALLP_BUNDLE resource                       []                                               +
  NIM PRE-MIGRATION SCRIPT resource                  []                                               +
  NIM POST-MIGRATION SCRIPT resource                 []                                               +

  Phase to execute                                   [all]                                            +
  NFS mounting options                               []
  Set Client bootlist to alternate disk?              yes                                             +
  Reboot NIM Client when complete?                    no                                              +
  Verbose output?                                     no                                              +
  Debug output?                                       no                                              +

  ACCEPT new license agreements?                      yes                                              +

, make sure you change the Accept new license agreement to yes.

It will 1st do an Alternate Disk Install and then it will do the migration.

Make sure you change the bootlist to new disk and reboot (after coordinating with other teams)

Hope this helps.

Last edited by ibmtech; 09-30-2013 at 07:23 PM..
# 3  
Old 10-01-2013
This might seem like a great way to do it, but it depends what you are starting with. Do you have a NIM server for a starter?

Smilie I think that the unmirrorvg will not split you off a copy that you can boot from later, it simply removes the mirror and leave the disk free to be re-used. Smilie
Smilie Smilie I do not beleive that you can just boot from this disk. It will be empty. Smilie Smilie

What current resources do you have? If you have 4 local disks that you can boot from (and all your data elsewhere) it might be better to make an alternate boot pair. Assuming the local disks are hdisk0-3 and hdisk0 & 1 are on one controller and hdisk2 & 3 are on another, you would be best to first spread your risk. Make the rootvg from hdisk0 & 2 for instance so you are protected from a controller failure. If you need to move disk contents from one to another, use migratepv, but be aware that this can take a long time. Additionally, you will need to recreate the boot image and correct the boot-list as stated by ibmtech

If you can do this process and it leave you two disks free, then you can use the smit panels:-
  • smit
    • Software Installation and Maintenance
      • Alternate Disk Installation
This should build an alternate boot pair that you can revert to should your upgrade/migration have undesirable effects.

After this, you should test that you can boot from the alternate pair. You will need to get into SMS during the power-on process for this.


Another simpler approach would be to create and test a mksysb backup and restore to a separate machine. You would then be able to recover to your existing server if you need to. Of course you would need hardware to test this on, although good DR service suppliers will allow you testing time for this anyway. I'm presuming that you have DR provision already? Now is a good time to test it! Smilie


I'm hoping that I haven't scared you, and I'm open to being corrected if I'm wrong. I just don't want anyone to assume that an unmirrorvg will give you a split off boot disk.


I hope that this gives you something to consider and that it helps in your planning.



Robin
Liverpool/Blackburn
UK
# 4  
Old 10-04-2013
Rather than alt disk install look at MultiBos.

Very easy to use! For starters, the command syntax/help.

Code:
michael@x054:[/home/michael]multibos -?
Usage multibos: Setup standby BOS.
      multibos -s [-l <Device> {-a | -f <File> | -b <File>}] [-e <File>]
      [-i <File>] [-L <File>] [-pntNX]

Usage multibos: Setup standby BOS using mksysb.
      multibos -M <File> [-pntNX]

Usage multibos: Customization standby BOS.
      multibos -c -l <Device> {-a | -f <File> | -b <File>} [-pnNX]

Usage multibos: Mount standby BOS.
      multibos -m [-pnX]

Usage multibos: Unmount standby BOS.
      multibos -u [-pnX]

Usage multibos: Rebuild standby BOS boot image.
      multibos -B [-ntX]

Usage multibos: Launch standby BOS shell. 
      multibos -S [-nX]

Usage multibos: Remove standby BOS.
      multibos -R [-ptX]

Flags:

  -a = Update_all                      -N = Block bosboot
  -B = Bosboot operation               -n = Block cleanup
  -b = Install bundle file             -p = Preview only
  -c = Customization operation         -R = Remove operation
  -e = Exclude file                    -S = Shell operation
  -f = Fix List file                   -s = Setup operation       
  -i = image.data file                 -t = Block bootlist change
  -L = Additional LVs file             -u = Unmount operation              
  -l = Install device or directory     -X = Expand file systems as needed
  -m = Mount operation                 -M = Mksysb setup operation

p.s. I would not do a "migration" from AIX 5.3 to AIX 6.1 or AIX 7.1, but would try, as much as possible, to do a fresh install. Having an mksysb image and/or a copy of /etc (for user administration, many applications configuration files) on a separate server is handy.

p.p.s. alt_disk_install is still very strong, but I think of it as "old school". In other words, I may be an old dog but MultiBos is my new trick/bone!

Hope this (in in time to) helps!
This User Gave Thanks to MichaelFelt For This Post:
# 5  
Old 10-07-2013
Smilie Ah, well, some of us are at AIX 4.3.3 & 5.1 Smilie This is introduced at AIX 5.3, which is a shame for me.

Mind you I do have two AIX 6.1 installations that I will use this on straight away. I'm always happy to learn! Smilie




Robin

Last edited by rbatte1; 10-07-2013 at 02:04 PM..
# 6  
Old 10-09-2013
For years the portal I manage was on AIX 4.3.3, recently moved portal to a mix of AIX 6.1 and ubuntu.

And I have an AIX 5.1 system that cannot go higher because it is rspc architecture and cannot go even to AIX 5.2

Enjoy multibos. It is very simple to use! Easier than alt_disk_install - imho.
# 7  
Old 10-09-2013
I've had a good read, but there is nothing I've spotted on how to choose which to boot from. I presume that one would get to SMS and select it there. Has anyone actually done this? I wouldn't want to just leap in without knowing what to do and I guess neither would any other reputable system manager.

Does this affect a mksysb by the way, or does that only make an image of what is the running OS?



Thanks again,.
Robin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX 7.1 Upgrade problem

Hi all, I'm getting errors while booting AIX 7.1 after upgrade I have used FLRT tool for the process with the following input values shown in the attached photo. titled FLRT After reboot for the upgrade process system hangs and no response as shown in screenshot named AIX7.1-NormalBoot I... (13 Replies)
Discussion started by: h@foorsa.biz
13 Replies

2. Emergency UNIX and Linux Support

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... (6 Replies)
Discussion started by: gowthamakanthan
6 Replies

3. 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

4. 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

5. 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

6. AIX

UDB 9.5 upgrade from 8.2 on AIX 5.3

We are going from UDB DPF 8.2 to 9.5 and changing HW from P4+ to P6 and moving from 5.2 to 5.3. Anyone out there gone through this upgrade? Any words of wisdom, warnings, or other gotchas you could pass on. TIA. ART (0 Replies)
Discussion started by: ArtF
0 Replies

7. AIX

AIX Upgrade 5.2 to 5.3

I have an IBM P520 that I need to upgrade from 5.2 to 5.3. My background in Unix is from 15 years ago so I don't remember much. IBM documentation is hard to find. Any help would be appreciated. (1 Reply)
Discussion started by: bashtonmcse
1 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