How to check account expiration on VxRail manager


VxRail Manager is a powerful tool designed to simplify the management of Dell EMC’s hyper-converged infrastructure solutions. It provides a unified interface for deploying, managing, and monitoring VxRail clusters, ensuring optimal performance and efficiency. One critical aspect of managing VxRail Manager is keeping user accounts up-to-date and secure. In this article, we will discuss how to manage VxRail Manager accounts and check for expired accounts to maintain the integrity of your infrastructure.

Script to the rescue:

Once operation accounts’ passwords expire, users may encounter a roadblock when attempting to access and manage data within the vSphere client. The resulting inconvenience and potential disruptions can be a headache for IT administrators. To ensure the seamless operation of your VxRail cluster, it’s crucial to keep a close eye on password expirations. Fortunately, there’s a handy solution to help you stay on top of this issue. You can utilize a simple script that checks all the accounts and their password statuses, saving you from the unexpected hassles of locked-out users and ensuring uninterrupted access to your VxRail resources.

The Script:

The script can be found in my GitHub repository.

Script Overview

  1. User Menu: The script starts by presenting a menu with several options, including checking management accounts, updating vCenter management accounts, updating ESXi management accounts, checking PSNTs and serial numbers, and quitting the script.
  2. Check Management Accounts: This option allows you to check the vCenter management account and ESXi management accounts for each node. It performs API calls to retrieve credentials from a Unix socket.
  3. Update Management Account for vCenter: This option prompts the user to provide a new username and password for the vCenter management account. If the user confirms the update, it sends an API request to modify the account.
  4. Update Management Account for the Nodes: Similar to the vCenter option, this choice prompts the user for a new ESXi management account username and password. It then sends API requests to update the credentials for all ESXi nodes.
  5. Check PSNTs and Serial Numbers: This option queries and displays chassis IDs and serial numbers of nodes from a PostgreSQL database.
  6. Quit: The script can be exited at any time by selecting this option.

How to use the script:

  1. Open a Terminal: Open a terminal on your Linux or macOS system. You can usually find the Terminal application in your system’s applications or utilities folder.
  2. Navigate to the Script’s Directory: Use the cd command to navigate to the directory where the Bash script is located. For example, if the script is in your home directory, you can navigate to it with:
cd ~

Replace ~ with the actual path to the directory where your script is located.

  1. Make the Script Executable: Before you can run the script, you need to make it executable. Use the chmod command to do this:
chmod +x
  1. Run the Script: To run the script, simply type its name and press Enter:
  1. Follow the On-Screen Instructions: The script will display a menu with different options. Use the arrow keys to navigate the menu, press Enter to select an option, and follow any on-screen instructions provided by the script.
  2. Exit the Script: To exit the script, select the “Quit” option from the menu.

🔥Subscribe to the channel:🔥

🚨Read my blog:

👊My Podcast:

🔥vExpert info:


Please leave the comment