Unmirror root disk while installing solaris patches - Veritas Volume Manager

This is a discussion on Unmirror root disk while installing solaris patches - Veritas Volume Manager ; I do a lot of kernel patch installs on solaris boxes and the root disks are all mirrored. In case the patch does not go well I have backout the patch and reboot which takes time. So I was wondering ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Unmirror root disk while installing solaris patches

  1. Unmirror root disk while installing solaris patches


    I do a lot of kernel patch installs on solaris boxes and the root disks are
    all mirrored. In case the patch does not go well I have backout the patch
    and reboot which takes time. So I was wondering if the following could be
    done

    1. Before installing kernel patch disassociate all root plexes
    2. Install kernel patch
    3. reboot
    4. If problem with patch boot of the root mirror that was disassociated

    The question is on point 4. After I disassociate the root plexes I cannot
    boot of the mirrored disk. According to veritas the only way to do boot of
    the disassociated disk is to boot the system from CD, then follow procedure
    to unencapsulate root disk , so on and so forth...

    Was wondering if there was any other easy method ??

    Any inputs will be appreciated

    thx


  2. Re: Unmirror root disk while installing solaris patches

    HI Chandra,

    I think the procedure you are following is not supported. Please ask your
    sales rep or send an email to support@veritas.com for more info.

    Thanks,
    Prasad
    Chandra S wrote in message
    news:3b673124$1@hronntp01....
    >
    > I do a lot of kernel patch installs on solaris boxes and the root disks

    are
    > all mirrored. In case the patch does not go well I have backout the patch
    > and reboot which takes time. So I was wondering if the following could be
    > done
    >
    > 1. Before installing kernel patch disassociate all root plexes
    > 2. Install kernel patch
    > 3. reboot
    > 4. If problem with patch boot of the root mirror that was disassociated
    >
    > The question is on point 4. After I disassociate the root plexes I cannot
    > boot of the mirrored disk. According to veritas the only way to do boot of
    > the disassociated disk is to boot the system from CD, then follow

    procedure
    > to unencapsulate root disk , so on and so forth...
    >
    > Was wondering if there was any other easy method ??
    >
    > Any inputs will be appreciated
    >
    > thx
    >




  3. Re: Unmirror root disk while installing solaris patches

    We suggest the dd to be used once in a week for the duping the root
    disk.

    Thanks
    vikash



    prasad_2001 wrote:
    >
    > HI Chandra,
    >
    > I think the procedure you are following is not supported. Please ask your
    > sales rep or send an email to support@veritas.com for more info.
    >
    > Thanks,
    > Prasad
    > Chandra S wrote in message
    > news:3b673124$1@hronntp01....
    > >
    > > I do a lot of kernel patch installs on solaris boxes and the root disks

    > are
    > > all mirrored. In case the patch does not go well I have backout the patch
    > > and reboot which takes time. So I was wondering if the following could be
    > > done
    > >
    > > 1. Before installing kernel patch disassociate all root plexes
    > > 2. Install kernel patch
    > > 3. reboot
    > > 4. If problem with patch boot of the root mirror that was disassociated
    > >
    > > The question is on point 4. After I disassociate the root plexes I cannot
    > > boot of the mirrored disk. According to veritas the only way to do boot of
    > > the disassociated disk is to boot the system from CD, then follow

    > procedure
    > > to unencapsulate root disk , so on and so forth...
    > >
    > > Was wondering if there was any other easy method ??
    > >
    > > Any inputs will be appreciated
    > >
    > > thx
    > >


  4. Re: Unmirror root disk while installing solaris patches


    The reason why Veritas Support recommend this is because it's the safest way.
    There are other dangerous ways, but these are wholeheartedly unsupported
    by Veritas.

    The reason you are taking the mirror plexes offline is that you are worried
    about losing data, why then would you wish to corrupt your entire system
    to save 20 minutes. If your environment is so mission critical, then you
    should be running a clustered solution.

    I've done thousands of unencapsulations and installs, The method you briefly
    describe would be safest.

    This is what I'd do..
    1. Look at the mirror rootdisk and ensure as many of the slices exist for
    the essential volumes eg. root var usr swap opt
    If they don't then use vxmksdpart (read the man page)
    2. dissociate and remove the -02 plexes. 'vxplex -o rm dis rootvol-02
    opt-02 ...'
    3. Remove the disk from rootdg 'vxdg rmdisk rootmirror'
    4. Mount the root slice to /mnt/root or something (needs fsck)
    5. Unencapsulate this disk...vfstab/system/install-db
    6. FSCK and mount the mirror disks as expected by the unencapsulated vfstab..this
    is a test for the recovery. Unmount them once they are all confirmed ok.
    7. Patch the Operating System...reboot
    8. Test the Operating system..if ok reinitialise the mirror and re-add the
    mirror disk to rootdg as rootmirror and remirror
    /etc/vx/bin/vxdisksetup -i
    /etc/vx/bin/vxmirror rootdisk rootmirror
    9. If it doesn't work then init 0, boot from the mirror disk (eg vx-rootmirror)
    10. Run vxinstall again to encapsulate the mirror disk (use the name rootdisk)
    11. After the vxinstall reboots remirror to the original rootdisk using the
    command above.

    EASY...

    Chris

    Vikash Gupta wrote:
    >We suggest the dd to be used once in a week for the duping the root
    >disk.
    >
    >Thanks
    >vikash
    >
    >
    >
    >prasad_2001 wrote:
    >>
    >> HI Chandra,
    >>
    >> I think the procedure you are following is not supported. Please ask your
    >> sales rep or send an email to support@veritas.com for more info.
    >>
    >> Thanks,
    >> Prasad
    >> Chandra S wrote in message
    >> news:3b673124$1@hronntp01....
    >> >
    >> > I do a lot of kernel patch installs on solaris boxes and the root disks

    >> are
    >> > all mirrored. In case the patch does not go well I have backout the

    patch
    >> > and reboot which takes time. So I was wondering if the following could

    be
    >> > done
    >> >
    >> > 1. Before installing kernel patch disassociate all root plexes
    >> > 2. Install kernel patch
    >> > 3. reboot
    >> > 4. If problem with patch boot of the root mirror that was disassociated
    >> >
    >> > The question is on point 4. After I disassociate the root plexes I cannot
    >> > boot of the mirrored disk. According to veritas the only way to do boot

    of
    >> > the disassociated disk is to boot the system from CD, then follow

    >> procedure
    >> > to unencapsulate root disk , so on and so forth...
    >> >
    >> > Was wondering if there was any other easy method ??
    >> >
    >> > Any inputs will be appreciated
    >> >
    >> > thx
    >> >



+ Reply to Thread