How to fix missing GRUB while upgrading platform components in VMware Identity Manager 3.3.7
search cancel

How to fix missing GRUB while upgrading platform components in VMware Identity Manager 3.3.7

book

Article ID: 406922

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

 VMware Identity Manager node deployed in version 3.3.7 missing GRUB configuration file as described in the prerequisites of patch installation articles like CSP-97577.

Environment

VMware Identity Manager 3.3.7

Resolution

  1. Take cold snapshot of the vIDM nodes.
  2. Copy attached bundle install-ph-grub2.tar.xz to the impacted vIDM appliance to either /tmp or /root
  3. Decompress the archive using command:
    tar -xvf install-ph-grub2.tar.xz
  4. Navigate to the new folder: cd install-ph-grub2
  5. Identify the location of the root partition: 
    lsblk | grep -e "/$" | cut -c 3- | awk '{print $1}'
  6. Run the script providing the root partition location ./migrate-to-photon-grub2.sh /dev/sdX
    Where X is the name of the drive (e.g., a for the first drive, b for the second drive, etc.).

    NOTE:
      If /boot is on a dedicated partition, this script will format that partition and reinstalls the boot files.
      If /boot is a subdirectory within the root (/) partition, this script will simply delete the old boot files
      and reinstalls them.

    Following command shall be run in case output of the step 5 is sda4

    ./migrate-to-photon-grub2.sh /dev/sda
  7. Repeat steps for other nodes.
  8. Reboot the system / for vIDM clustered deployed from Aria Suite Lifecyle Manager initiate 'Power Off' and then 'Power On'.

Attachments

install-ph-grub2.tar.xz get_app