Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Upgrade Dell PowerFlex to v3.6.x

PDF

Run a script on one or more hosts—procedures

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

  1. 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.
    1. Verify that all components in the PowerFlex system are upgraded to the latest version.
    2. On the PowerFlex Gateway node, go to /opt/emc/scaleio/gateway/webapps/ROOT/WEB-INF/classes/gatewayUser.properties file.
    3. 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>

      Example of PowerFlex Gateway on Linux:

      os.patching.is.upload.needed=true
      os.patching.patch.script.source.path=/opt/patch_script
      os.patching.verification.script.source.path=/opt/verification_script

      Example of PowerFlex Gateway on Windows:

      os.patching.is.upload.needed=true
      os.patching.patch.script.source.path=C:\\temp\\patch_script
      os.patching.verification.script.source.path=C:\\temp\\verification_patch
      
    4. Restart the PowerFlex Gateway service.

      For example, in ESXi:

      systemctl stop scaleio-gateway.service and systemctl start scaleio-gateway.service

    5. Copy the patch_script and verification_script files to the relevant folder on the PowerFlex Gateway node.
    6. In the Security settings of the files, allow read, write and execute permissions.
  2. In your browser, navigate to the IP address of the PowerFlex Gateway, and log in.
  3. Click the Maintain tab.
  4. Enter the IP address and login credentials for the primary MDM, and for LIA.
  5. At the bottom right of the screen, click Retrieve system topology.
    The system topology is displayed.
  6. Click System Logs & Analysis, and select the Run Script on Hosts option.
    The Run script on hosts dialog box is displayed.
  7. Enter the MDM password again.
  8. For Running script on options, select one from the following:
    OptionDescription
    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.
  9. 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.
  10. 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.
  11. In the Verification script box, select one of the following:
    OptionAction
    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
  12. In the Post script action box, select one of the following:
    OptionAction
    Reboot the node after execution of the script Select Reboot
    Do not reboot the node after execution of the script Select Do not reboot
  13. Click Run Script on Hosts.
  14. Click the Monitor tab, - validate state starts.
    During this phase, the system verifies certificates and builds an execution phase for the nodes list.
  15. Click Start execute phase - the execute phase starts.
  16. 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.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  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: <>()\