Note

Any changes in data formatting in the newer version of Linux can cause issues in the HFE upgrade, so run the procedure in a lab prior to attempting the upgrade in Production.

Ensure to upgrade the HFE.sh script prior to attempting to upgrade the HFE OS version.

To upgrade the HFE.sh script on HFE node (required):

  1. Login to the AWS EC2 Console, and click on INSTANCES > Instances on the left panel.

  2. Find the HFE instance in the instance list.

  3. Determine the S3 bucket name associated with your HFE. If the HFE S3 bucket name used by HFE is already known, skip to next step.

    1. With the EC2 HFE instance selected, click on the TAGS tab to reveal the instance TAG details.
    2. Locate the Cloudformation.stack-name and record the value.
    3. Open the Cloudformation Management Console.
    4. Locate the stack in the list based on the Cloudformation.stack-name value found in prior step.
    5. Click the Parameters tab, then locate the HFEScriptS3Location parameter to find the S3 bucket name.
  4. Upload the latest HFE.sh to the S3 bucket associated with the HFE node.

  5. From the AWS EC2 Console, select the HFE instance.
  6. Select Instance State > Reboot from the actions drop-down to reboot the HFE node.
     

To upgrade the OS on the HFE node (optional): 

  1. Login to the HFE management IP as ec2-user using the SSH key used during initial cloudformation deployment of the SBC with HFE.
    You will receive a notice if package updates are available or required.

      [akhan@greenhornetinddev4 ~]$ ssh -i swe.pem ec2-user@18.210.147.64
                    Last login: Wed Jul 18 08:04:34 2018 from 121.242.142.135
    
    
                     __|  __|_  )
                     _|  (     /   Amazon Linux 2 AMI
                    ___|\___|___|
    
    
                   https://aws.amazon.com/amazon-linux-2/
                   15 package(s) needed for security, out of 81 available
                   Run "sudo yum update" to apply all updates.
  2.  Run "sudo su" command. 

  3. Run "yum clean all" command. 
  4. Run "yum update" command.