Power Global

 View Only
  • 1.  Need suggestion on AIX 5.3 rootvg cloning.

    Posted Tue June 14, 2022 09:17 AM
    Hi Team,
    I've an AIX server of version 5.3. I want cloning the rootvg, so I want to know whether alt_disk_copy command is working on AIX 5.3 or not??

    ------------------------------
    Virendra Singh
    ------------------------------


  • 2.  RE: Need suggestion on AIX 5.3 rootvg cloning.

    Posted Tue June 14, 2022 11:19 AM
    I can’t speak to alt_disk_copy.. but we used alt_disk_install without issue.
    I believe they call the same basic functions on the backend, so you should be safe..

    of course, always test your process… take an outage and boot from your alternate… then boot back if you want.
    but always test.. even tools that work can be passed a bad parameter by a typo or ignorance and now you don’t have what you want.

    Tom




  • 3.  RE: Need suggestion on AIX 5.3 rootvg cloning.

    Posted Tue June 14, 2022 11:20 AM
    use alt_disk_copy. here is a link, aix53 works fine for me.

      Cloning rootvg using alt_disk_copy
    Unixmantra remove preview
    Cloning rootvg using alt_disk_copy
    Using alt_disk_copy (see the Resources section) to clone your rootvg disks for ease of back-out when doing AIX® upgrades or applications upgrades that resided on the rootvg disks. In that article, I did not cover hardware migrations as this was out of scope. In this article, I discuss how this can be achieved.
    View this on Unixmantra >


    ------------------------------
    David Adams
    ------------------------------



  • 4.  RE: Need suggestion on AIX 5.3 rootvg cloning.

    Posted Wed June 15, 2022 02:24 PM
    Hello David,
    in the AIX 5.3 long ago, in my opionion exsist the command alt_disk_copy not.. AIX 7.1 split some commands in new commands...this does not exist with aix 5.3.

    But you can use the "old" Command available in aix 5.3

    <Sample for Cloning rootvg>
    You have hdisk0 and hdisk1 (the hdisk1 is free).

    -->
    alt_disk_install -C hdisk1      #  Clone your rootvg (on hdisk0 or any other) to hdisk1
    alt_disk_install -C -O hdisk1 #  Clone your rootvg and reset your device Configuration (odm) on target disk  all devices are clean and new install with cfgmgr automaticaly in the reboot.

    after this:
    bootlist -m normal hdisk1 # set hdisk1 on boot
    shutdown -rF now   # reboot
    ​​​​
    The System boot from hdisk1 now, youn can check your environment. Your old Disk you see:
    lspv
    --- >hdisk0 have "altinst_rootvg".
    If you set bootlist on hdisk0 and reboot you have the Original.
    -->

    bootinfo -b # you can see the last boot device ...


    IBM use this command to alternate this disk if you use the NIM operation to migrate and update this version to 6.1 ...

    If the command "alt_disk_install" not exsist, you must install the follow Packages:

    bos.alt_disk_install.rte
    #bos.alt_disk_install.boot.
    rte 5.3.0.0
    #bos.alt_disk_install.boot_images 5.3.0.0

    The Boot .rte Files not important for the cloning function.. This filestes may not be installed by default in the installtion. (maybe)... I don't know exactly anymore...


    I hope this helps you.

    Tomas Michal

    ------------------------------
    Tomas Michal
    ------------------------------