The upgrade process requires 5.3 GB of free space for the upgrade files. Only perform this procedure if you have less than 5.3 GB of free space on the Disk 1 root partition.

About this task

Perform this procedure on each replica appliance node sequentially, and then on the master node.

Procedure

  1. Power on the host machine and use SSH to log in to the vRealize Automation appliance.
  2. Stop each of the following services.
    1. service vcac-server stop
    2. service vco-server stop
    3. service vpostgres stop
  3. Unmount the swap partition:

    swapoff -a

  4. Delete the existing Disk 1 partitions and create a 44-GB root partition and a 6-GB swap partition:

    (echo d; echo 2; echo d; echo 1; echo n; echo p; echo ; echo ; echo '+44G'; echo n; echo p; echo ; echo ; echo ; echo w; echo p; echo q) | fdisk /dev/sda

  5. Change the swap partition type.

    (echo t; echo 2; echo 82; echo w; echo p; echo q) | fdisk /dev/sda

  6. Set the Disk 1 bootable flag:

    (echo a; echo 1; echo w; echo p; echo q) | fdisk /dev/sda

  7. Register the partition changes with the Linux kernel.

    partprobe

    If you see a message telling you to reboot before you make further changes, ignore the message. Rebooting the system before step 10 corrupts the upgrade process.

  8. Format the new swap partition.

    mkswap /dev/sda2

  9. Mount the swap partition.

    swapon -a

  10. Reboot the vRealize Automation appliance.
  11. After the appliance reboots, resize the Disk 1 partition table.

    resize2fs /dev/sda1

  12. Verify that the disk expansion is successful by running df -h and checking that the available disk space on /dev/sda1 is greater than 3 GB.
  13. Repeat steps 1–11 on all other vRealize Automation appliances.
  14. Shut down all replica vRealize Automation appliance nodes.