Visitors

HOW TO: Upgrade EMC PowerPath Virtual Appliance

This article covers EMC® PowerPath® Virtual Appliance upgrade from 2.0.0 to 2.0.1. Please refer to “HOW TO: Upgrade EMC PowerPath Virtual Appliance” article for the upgrade from EMC® PowerPath® Virtual Appliance 1.2.x.

  1. Download EMC® PowerPath® Virtual Appliance upgrade package from EMC Online Support portal:
  2. Shutdown PowerPath Virtual Appliance and:
    1. Take a snapshot;
    2. Add a new 10 GB disk from storage to PowerPath Virtual Appliance (VM). It is recommended that you increase the size of root file system in case of upgrade from PowerPath Virtual Appliance 2.0.0
  3. Power on PowerPath Virtual Appliance;
  4. SSH to EMC PowerPath Virtual Appliance, login as root and follow this procedure to extend the root file system:
    1. epp001:~ # df
      Filesystem                  1K-blocks    Used Available Use% Mounted on
      rootfs                        3853936 1652176   2000852  46% /
      udev                          2028592     108   2028484   1% /dev
      tmpfs                         2028592       0   2028592   0% /dev/shm
      /dev/mapper/systemVG-LVRoot   3853936 1652176   2000852  46% /
      /dev/mapper/systemVG-LVswap   6094400  143484   5636344   3% /swap
      /dev/sda1                      165602   24037    133015  16% /boot
    2. epp001:~ # cat /proc/partitions
      major minor  #blocks  name
      8        0   10485760 sda
      8        1     171012 sda1
      8        2   10311680 sda2
      8       16   10485760 sdb
      253        0    6291456 dm-0
      253        1    4018176 dm-1
    3. epp001:~ # ls -l /sys/class/scsi_host
      total 0
      lrwxrwxrwx 1 root root 0 Oct 29 12:18 host0 -> ../../devices/pci0000:00/0000:00:10.0/host0/scsi_host/host0
      lrwxrwxrwx 1 root root 0 Oct 29 12:18 host1 -> ../../devices/pci0000:00/0000:00:07.1/ata2/host1/scsi_host/host1
      lrwxrwxrwx 1 root root 0 Oct 29 12:18 host2 -> ../../devices/pci0000:00/0000:00:07.1/ata3/host2/scsi_host/host2
    4. epp001:~ # echo "- - -" > /sys/class/scsi_host/host0/scan

      This command is used to rescan scsi host. Echoing a wildcard value of “channel target and lun”, and the operating system will rescan the device path.

    5. epp001:~ # cat /proc/partitions
      major minor  #blocks  name
      8        0   10485760 sda
      8        1     171012 sda1
      8        2   10311680 sda2
      8       16   10485760 sdb
      253        0    6291456 dm-0
      253        1    4018176 dm-1
    6. epp001:~ # fdisk -l /dev/sdb
      
      Disk /dev/sdb: 10.7 GB, 10737418240 bytes
      255 heads, 63 sectors/track, 1305 cylinders, total 20971520 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disk identifier: 0x00000000
      
      Disk /dev/sdb doesn't contain a valid partition table
    7. epp001:~ # vgdisplay
        --- Volume group ---
        VG Name               systemVG
        System ID
        Format                lvm2
        Metadata Areas        1
        Metadata Sequence No  4
        VG Access             read/write
        VG Status             resizable
        MAX LV                0
        Cur LV                2
        Open LV               2
        Max PV                0
        Cur PV                1
        Act PV                1
        VG Size               9.83 GiB
        PE Size               4.00 MiB
        Total PE              2517
        Alloc PE / Size       2517 / 9.83 GiB
        Free  PE / Size       0 / 0
        VG UUID               RHiVZ9-cqSo-srmH-NGZs-zm4W-rAAm-fLeC15
    8. epp001:~ # vgextend systemVG /dev/sdb
      No physical volume label read from /dev/sdb
      Physical volume "/dev/sdb" successfully created
      Volume group "systemVG" successfully extended
    9. epp001:~ # vgdisplay
      --- Volume group ---
      VG Name               systemVG
      System ID
      Format                lvm2
      Metadata Areas        2
      Metadata Sequence No  5
      VG Access             read/write
      VG Status             resizable
      MAX LV                0
      Cur LV                2
      Open LV               2
      Max PV                0
      Cur PV                2
      Act PV                2
      VG Size               19.83 GiB
      PE Size               4.00 MiB
      Total PE              5076
      Alloc PE / Size       2517 / 9.83 GiB
      Free  PE / Size       2559 / 10.00 GiB
      VG UUID               RHiVZ9-cqSo-srmH-NGZs-zm4W-rAAm-fLeC15
    10. epp001:~ # lvextend -L +5GB /dev/systemVG/LVRoot
      Extending logical volume LVRoot to 8.83 GiB
      Logical volume LVRoot successfully resized
    11. epp001:~ # resize2fs /dev/systemVG/LVRoot
      resize2fs 1.41.9 (22-Aug-2009)
      Filesystem at /dev/systemVG/LVRoot is mounted on /; on-line resizing required
      old desc_blocks = 1, new_desc_blocks = 1
      Performing an on-line resize of /dev/systemVG/LVRoot to 2315264 (4k) blocks.
      The filesystem on /dev/systemVG/LVRoot is now 2315264 blocks long.
    12. epp001:~ # df
      Filesystem                  1K-blocks    Used Available Use% Mounted on
      rootfs                        8884968 1653164   6771068  20% /
      udev                          2028592     108   2028484   1% /dev
      tmpfs                         2028592       0   2028592   0% /dev/shm
      /dev/mapper/systemVG-LVRoot   8884968 1653164   6771068  20% /
      /dev/mapper/systemVG-LVswap   6094400  143484   5636344   3% /swap
      /dev/sda1                      165602   24037    133015  16% /boot
  5. Upgrade EMC PowerPath Virtual Appliance:
    1. Upload ‘applianceUpdate.zip‘ to a directory on Virtual Appliance VM, /tmp for example;
    2. SSH into the PowerPath Virtual Appliance VM, login as root;
    3. Unzip the upgrade package:
      epp001:~ # cd /tmp
      pdc1epp001:/tmp # unzip applianceUpdate.zip
      Archive: applianceUpdate.zip
        creating: applianceUpdate/
       inflating: applianceUpdate/preUpdate.sh
       inflating: applianceUpdate/postUpdate.sh
      {skipped}
    4. Run
      epp001:/tmp # cd applianceUpdate
      epp001:/tmp/applianceUpdate #
    5. Run
      epp001:/tmp/applianceUpdate # /bin/bash applianceUpdate
      14:19:23 [INFO]: * Starting the appliance update process *
      14:19:23 [INFO]: Updating PowerPath: 2.0.0.0.86 -> 2.0.1.0.206
      14:19:23 [INFO]: Logs can be found here:
      14:19:23 [INFO]: /opt/ADG/update/logs/update-2.0.0.0.86-2.0.1.0.206-2015_10_29-14_19_23.log
      14:19:23 [INFO]: * Validating update *
      14:19:24 [INFO]: Checking installed product version ...
      14:19:24 [INFO]: Product version check is successful.
      14:19:24 [INFO]: Adding update repo ...
      14:19:24 [INFO]: Update repo added successfully.
      14:19:24 [INFO]: Checking OS version ...
      14:19:24 [INFO]: OS version check is successful.
      14:19:24 [INFO]: Update validation successful.
      14:19:24 [INFO]: * Starting Update *
      14:19:24 [INFO]: * Running pre-update script *
      14:19:56 [INFO]: Updating the existing packages. This may take some time. Please wait ...
      14:21:15 [INFO]: Update of existing packages completed.
      14:21:15 [INFO]: Installing new packages. This may take some time. Please wait ...
      14:21:17 [INFO]: Installation of new packages completed.
      14:21:17 [INFO]: Updating the product version to 2.0.1.0.206 ...
      14:21:17 [INFO]: * Running post-update script *
      14:21:19 [INFO]: * COMPLETE: Appliance update completed successfully *
    6. Reboot the PowerPath Virtual Appliance:
      epp001:/tmp/applianceUpdate # reboot
      Broadcast message from root (pts/0) (Thu Oct 29 14:22:27 2015):
      The system is going down for reboot NOW!
  6. Log in to EMC PowerPath Virtual Appliance, navigate to System / Health and check all services are running.

Hope this will help.

2 comments to HOW TO: Upgrade EMC PowerPath Virtual Appliance

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  

  

  

This site uses Akismet to reduce spam. Learn how your comment data is processed.