Skip to main content

NetApp JetStream Software Portal

How to Fix Password Expiration of IOF REST Credentials

This article applies to JSDR software version(s) 4.3.x onward running on vSphere 8.x or above.

This article explains how to refresh the IOF REST user password when it is nearing expiration or has expired, and how to update its corresponding details in the MSA.

Problem

The IOF REST user password can expire based on the vCenter password policy. When the IOF REST password is due to expire or has expired, a warning message will be presented:

IOF REST warning.

The SSO user password expires by default after 90 days, or according to the password expiration policy configured in vCenter.

Solution

Follow the procedure below that matches your deployment type. Each procedure refreshes the IOF REST user password in vCenter and updates the MSA with the new password expiry information.

AVS Deployments:

  1. In Azure portal, open the AVS private cloud.
  2. Go to Operations → Run commands → JSDR configuration and select the latest command set.
  3. Run the following command: Enable-JetStreamRESTUser
  4. When prompted for the username, leave the field blank or enter: jetstream
  5. Confirm that the run command successfully completes. The command will refresh the password in vCenter and update the MSA with the new expiry date.

On-Premises Deployments:

Method 1: Refresh from MSA SSH(from JetDR 5.0.4 and above)

  1. Log in to the MSA appliance over SSH as the admin user.
  2. Execute the command: sudo pwsh /opt/fio/vme2/python/manage_iofrest_user.ps1
  3. When prompted, enter the required information:
    • vCenter FQDN
    • vCenter username and password
    • MSA IP address
    • MSA password
  4. Confirm that the script successfully completes and updated expiry information is reflected in the MSA.

Method 2: Refresh using JSTools

  1. Download and deploy the latest JSTools automation toolkit.
  2. SSH into the JSTools VM.
  3. Go to the IOF REST user script directory: cd /opt/jetstream/jetdr/script/iofrestUser
  4. Start PowerShell with the command: pwsh
  5. Run the script: ./manage_iofrest_user.ps1
  6. When prompted, enter the required information:
    • vCenter FQDN
    • vCenter username and password
    • MSA IP address
    • MSA password
  7. Confirm that the script successfully completes and updated expiry information is reflected in the MSA.

    Validation

    • Confirm that the IOF REST password expiration warning no longer appears in JetStream DR.
    • Verify that the MSA displays the updated expiry date for the IOF REST user.
    • If the warning persists, rerun the applicable procedure above and confirm that the vCenter credentials, MSA IP address, and MSA password were entered correctly.

    Was this article helpful?

    Related Articles