PowerFlex: Upgrade the OS packages on the MVM
Summary: This article provides the step-by-step procedures to upgrade the embedded operating system Virtual Machine (VM) running the PowerFlex management platform.
Instructions
- Download PowerFlex Intelligent Catalog (IC) and other files for upgrade
Use this procedure to download the PowerFlex appliance files from the Dell Technologies support site.
- Copy the
/shares/IC/ScaleIOfolder to/shares/ScaleIOCurrentto save the current PowerFlex packages. These current packages are used by the Installation Manager during the installation of PowerFlex. - On the
/sharesdrive, delete the/share/ICfolder to delete the old IC files and accommodate the new files. Ensure 100 GB of disk space on the/sharesdrive. - Create a folder named
/share/IC. - Log in to the Dell Technologies support site: PowerFlex appliance Intelligent Catalog Software.
- Click Drivers & Downloads, and filter for the IC files. Select the IC to download.
- Download the indicated files for a PowerFlex upgrade and any other additional files for your specific IC requirements as specified in the readme file listed. For example, Readme for PowerFlex IC 4x.
- Copy the IC to the jump server shared drive location.
See Dell PowerFlex Appliance with PowerFlex 4.x Upgrade Guide
- Upgrading the OS packages on the management virtual machine
Use the procedures in this section to manually upgrade the embedded operating system VMs running the PowerFlex management platform. Perform each procedure for every management virtual machine in a sequence, repeat until all PowerFlex nodes are updated successfully.
NOTE: Do not perform the updates on more than one node at a time. Doing so may cause damage to the installation of PowerFlex Manager. You cannot access PowerFlex Manager during the management virtual machine upgrade.
Consider the following prior to the manual upgrade:
- For PowerFlex management controller 2.0, perform the OS package upgrades on the management virtual machine prior to RCM 3.7.3.x. From RCM 3.7.3.x or later, the management virtual machine upgrade is part of the resource group upgrade for PowerFlex management controller 2.0 managed by PowerFlex Manager.
- For PowerFlex management controller 1.0, perform the OS package upgrades on the management virtual machine.
- Prepare the management virtual machines for updates
Use this procedure to configure the management virtual machine (MVM) to access and download the OS updates.
Prerequisites
Ensure the following:
- Add and synchronize the latest RCM.
- Record the credentials and hostnames to access the SSH or web console of the management virtual machines.
Steps
- Browse to
https://[ingress-hostname]/httpshare/download/and authenticate (if prompted). - Identify the most recent hash-path based on the timestamp. The timestamp must correlate to when the latest RCM was added.
- Browse
[hash-path]/os/VxFlex4.xSLES15.xRepoX/sles-extras/.
The path contains the PowerFlex release number as well as a repository. The repository is followed by a number. The number depends on how many RCMs are present that contain SLES repositories of the same version. Only one SLES15.3RepoX entry must exist in this path.
For example,
https://vlan10-ip105.pflexlabs.net/httpshare/download/ 8aaa80b0843444100184346492391acd/os/VxFlex4.xSLES15.xRepoX/sles_extras/
- Copy the URL path from the address bar.
- Log in to the management virtual machine.
- Type
sudo zypper addrepo [Use the URL from step 4] <alias>
For example,
sudo zypper addrepo https://[ingress-hostname] /httpshare/download/ 8aaa807c839f3ce20183a439955f108e/os/VxFlex4.xSLES15.xRepoX/sles_extras/ 3.7.1.0-pfmp
- Type the following command to download all applicable packages. This command does not install the packages.
sudo zypper update -d
The repomd.xml file is unsigned within the custom generated repository. However, the RCM package is signed prior to the release and can be trusted. If prompted to confirm using an unsigned repomd.xml file, enter yes. If prompted to continue, enter y.
- Repeat steps 5 through 8 for the remaining management virtual machines. Do not install the packages.
- Verify Packages are available on each MVM
ls /etc/zypp/repos.d/
- Update the management virtual machines
Use this procedure to update the management virtual machines.
About this task
Use this procedure to perform the following:
- Cordon/drain the management virtual machine node (move running pods to other nodes in the cluster where applicable).
- Install the OS updates and reboot.
- Return the management virtual machine to active status within the cluster with the uncordon command.
Prerequisites
Ensure that you have recorded the credentials and hostnames to access the SSH or web console of the management virtual machines.
Steps
- Log in to the management virtual machine.
- Type the following to list all the nodes with the current status:
sudo -i kubectl get nodes
- Identify the node scheduled for maintenance from the list of nodes and type the following to drain the node. The node is cordoned and is marked as Ready SchedulingDisabled. The scheduler cannot place the new pods on that node.
sudo -i kubectl drain <node> --ignore-daemonsets --delete-emptydir-data
- Type the following to check for pod redistribution. If any pods are listed in a crash state, wait for five minutes before attempting the command again. Once the command returns an empty result, proceed with the remaining steps. If any pod persists in a Crashloopbackoff state, stop the update and contact Dell Technologies Support for further assistance.
sudo -i kubectl get pods -n powerflex | grep -i crashloop
- Type the following command to update to apply available updates to the operating system.
sudo zypper -n update
- If a reboot is required, you are prompted to reboot the node. Type sudo reboot to safely reboot the node while it is cardoned.
It is recommended to reboot the node since most updates impact the running services. A reboot of the VM ensures that all services are restarted.
- After rebooting, log in to the management virtual machine that is being updated.
- Type the following command to verify that the node has started all the necessary services. If a connection fails, wait up to five minutes and try again. If the issue persists, contact Dell Technologies Support for further assistance.
sudo -i kubectl get nodes - Type the following command to return the node to service.
sudo -i kubectl uncordon <node>
NOTE: This makes the node available for pods to run. But, does not move the services automatically.
- Type the following command to verify that the uncordon node is in a ready state.
sudo -i kubectl get nodes
For example:
|
NAME |
STATUS |
ROLES |
AGE |
VERSION |
|
hostname.com |
Ready |
control-plane,etcd,master |
22d |
v1.24.7+rke2r1 |
Wait for PowerFlex Manager to become available before proceeding to the next management virtual machine in sequence.
- Type the following command to remove the configuration repository.
For example,sudo -i zypper removerepo <alias>zypper removerepo 3.7.1.0-pfmp. - Repeat steps 1 through 10 for the remaining management virtual machines.
Additional Information
See Full Steps in the Upgrade guide
- Dell PowerFlex Rack with PowerFlex 4.x Upgrade Guide
- Dell PowerFlex Appliance with PowerFlex 4.x Upgrade Guide