PowerFlex Manager - Selecting To Upgrade Using IMM Results In PMM
Summary: Selecting to run the upgrade using Instant Maintenance Mode (IMM) results in the upgrade using Protected Maintenance Mode (PMM).
Symptoms
Scenario
To start an upgrade, when using the upgrade wizard, the user can choose whether to run the upgrade using different Maintenance Mode types.
The user selected to run the upgrade using IMM but the upgrade on the PowerFlex storage used PMM.
PowerFlex Gateway (GW) configuration file shows that all upgrades initiated or triggered by the GW will always use PMM:
# cat /opt/emc/scaleio/gateway/webapps/ROOT/WEB-INF/classes/gatewayUser.properties | grep maintenance.mode use.sds.protected.maintenance.mode=true
Impact
Prolonged maintenance activity
Cause
PFxM gathers the user's selections in the upgrade wizard and sends an API call to the GW. The GW communicates with the Primary MDM to begin the upgrade using the user's preferences.
The only option for a user's selection to be overwritten, without showing any warnings or errors, is if the GW has any changes in its configuration file.
A change in the GW's configuration file can be done by a human error or by the intention to override an internal flow.
Resolution
1. Abort the upgrade using the GW UI.
2. Edit the gatewayUser.properties file:
vi /opt/emc/scaleio/gateway/webapps/ROOT/WEB-INF/classes/gatewayUser.properties
3. Change the use.sds.protected.maintenance.mode variable to the default value, false:
use.sds.protected.maintenance.mode=false4. Save the file.
5. Restart the GW service:
systemctl restart scaleio-gateway6. Restart the upgrade using the GW UI.
7. Once the upgrade is finished, on the PFxM run the Update Resource operation to have the storage state and versions mirrored.
Impacted Version
All - not a PowerFlex issue.