Run a script on one or multiple nodes where
PowerFlex is deployed, using the
PowerFlex Installer.
Prerequisites
Prepare the script file to be run on one or more nodes hosting SDSs or MDMs, and optionally, a verification script to be run automatically after execution of the script. Specific file names are required for use of this feature.
PowerFlex Installer can only upload scripts up to 500 MB in size. Name the files as follows:
Script:
patch_script
Verification script:
verification_script
This feature is only supported on Linux-based (bare-metal or virtual) nodes.
Ensure that you have the IP address and login credentials for the
PowerFlex Gateway and the primary MDM.
Ensure that you have the login credentials for the LIA.
Ensure that you have enough disk space to run the script.
About this task
This procedure is a long operation that cannot be rolled back automatically.
Certificate approval messages may be displayed during the procedure. Approve all the certificates, and click
Retry failed to complete the operation.
Steps
Configure the
PowerFlex Installer to upload files from the
PowerFlex Gateway node to all selected nodes.
NOTE:Alternatively you can copy the script file to each node in the system under the file path
/opt/emc/scaleio/lia/bin/<folder>. Follow the steps to make sure the script file runs on each of the nodes.
Verify that all components in the
PowerFlex system are upgraded to the latest version.
On the
PowerFlex Gateway node, go to
/opt/emc/scaleio/gateway/webapps/ROOT/WEB-INF/classes/gatewayUser.properties file.
Uncomment the following lines (verification script is optional):
os.patching.is.upload.needed=true (Default is false)
os.patching.patch.script.source.path=<enter the full path to the file>
os.patching.verification.script.source.path=<enter the full path to the file>
systemctl stop scaleio-gateway.service and
systemctl start scaleio-gateway.service
Copy the
patch_script and
verification_script files to the relevant folder on the
PowerFlex Gateway node.
In the Security settings of the files, allow read, write and execute permissions.
In your browser, navigate to the IP address of the
PowerFlex Gateway, and log in.
Click the
Maintain tab.
Enter the IP address and login credentials for the primary MDM, and for LIA.
At the bottom right of the screen, click
Retrieve system topology.
The system topology is displayed.
Click
System Logs & Analysis, and select the
Run Script on Hosts option.
The
Run script on hosts dialog box is displayed.
Enter the MDM password again.
For
Running script on options, select one from the following:
Option
Description
Entire System
Run the script on all MDM and SDS nodes in the system.
If you choose this option, you can also choose whether to run the script at the same time on SDSs that belong to different Protection Domains. To do so, select the check box for
In parallel on different Protection Domains.
Protection Domain
Run the script on MDM and SDS nodes in a single Protection Domain. Select the required Protection Domain from the drop-down list.
Fault Set
Run the script on MDM and SDS nodes in a single Fault Set. Select the required Fault Set from the drop-down list.
SDS
Run the script on a single SDS. Select the required SDS from the drop-down list.
For
Running configuration, select the
Stop process on script failure option, if desired.
If problems occur, see the troubleshooting notes at the end of this procedure.
In the
Script time-out box, enter the number of minutes that should elapse before the
PowerFlex Installer stops waiting for a response about the running script, and prints a timeout message.
In the
Verification script box, select one of the following:
Option
Action
Run a verification script after the script.
If a reboot is performed, the verification script is executed after the reboot.
Select
Run
Do not run a verification script after the script
Select
Do not run
In the
Post script action box, select one of the following:
Option
Action
Reboot the node after execution of the script
Select
Reboot
Do not reboot the node after execution of the script
Select
Do not reboot
Click
Run Script on Hosts.
Click the
Monitor tab, - validate state starts.
During this phase, the system verifies certificates and builds an execution phase for the nodes list.
Click
Start execute phase - the execute phase starts.
When the execute phase is complete, click
Mark operation completed.
Troubleshooting notes:
If a failure in executing the patch_script occurs, it may be due to one of the following reasons. Rectify the problem and then try again.
Script timeout
Script file permissions
Syntax error in the script
Degraded capacity, or MDM cluster in degraded state
An SDS is already in Maintenance Mode
Results
Upgrade of the CentOS operating system on all SVMs except for the
PowerFlex Gateway is now complete. Upgrade the
PowerFlex Gateway using the steps described in "Deploy and replace the
PowerFlex Gateway SVM operating system using the
PowerFlex plug-in" in the
Upgrade Dell PowerFlex.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\