Skip to main content

VMware: Adding storage volumes to a Storage Node

Contributors netapp-lhalbert

If a Storage Node includes fewer than 16 storage volumes, you can increase its capacity by using VMware vSphere to add volumes.

What you'll need
  • You must have access to the instructions for installing StorageGRID for VMware deployments.

  • You must have the Passwords.txt file.

  • You must have specific access permissions.

Important Do not attempt to add storage volumes to a Storage Node while a software upgrade, recovery procedure, or another expansion procedure is active.
About this task

The Storage Node is unavailable for a brief time when you add storage volumes. You should perform this procedure on one Storage Node at a time to avoid impacting client-facing grid services.

Steps
  1. If necessary, install new storage hardware and create new VMware datastores.

  2. Add one or more hard disks to the virtual machine for use as storage (object stores).

    1. Open VMware vSphere Client.

    2. Edit the virtual machine settings to add one or more additional hard disks.

    The hard disks are typically configured as Virtual Machine Disks (VMDKs). VMDKs are more commonly used and are easier to manage, while RDMs may provide better performance for workloads that use larger object sizes (for example, greater than 100 MB). For more information about adding hard disks to virtual machines, see the VMware vSphere documentation.

  3. Restart the virtual machine by using the Restart Guest OS option in the VMware vSphere Client, or by entering the following command in an ssh session to the virtual machine:sudo reboot

    Note Do not use Power Off or Reset to restart the virtual machine.
  4. Configure the new storage for use by the Storage Node:

    1. Log in to the grid node:

      1. Enter the following command: ssh admin@grid_node_IP

      2. Enter the password listed in the Passwords.txt file.

      3. Enter the following command to switch to root: su -

      4. Enter the password listed in the Passwords.txt file. When you are logged in as root, the prompt changes from $ to #.

    2. Configure the new storage volumes:

      sudo add_rangedbs.rb

      This script finds any new storage volumes and prompts you to format them.

    3. Enter y to accept the formatting.

    4. If any of the volumes have previously been formatted, decide if you want to reformat them.

      • Enter y to reformat.

      • Enter n to skip reformatting. The storage volumes are formatted.

    5. When asked, enter y to stop storage services.

      The storage services are stopped, and the setup_rangedbs.sh script runs automatically. After the volumes are ready for use as rangedbs, the services start again.

  5. Check that the services start correctly:

    1. View a listing of the status of all services on the server:

      sudo storagegrid-status

      The status is updated automatically.

    2. Wait until all services are Running or Verified.

    3. Exit the status screen:

      Ctrl+C

  6. Verify that the Storage Node is online:

    1. Sign in to the Grid Manager using a supported browser.

    2. Select Support > Tools > Grid Topology.

    3. Select site > Storage Node > LDR > Storage.

    4. Select the Configuration tab and then the Main tab.

    5. If the Storage State - Desired drop-down list is set to Read-only or Offline, select Online.

    6. Click Apply Changes.

  7. To see the new object stores:

    1. Select Nodes > site > Storage Node > Storage.

    2. View the details in the Object Stores table.

Result

You can now use the expanded capacity of the Storage Nodes to save object data.

Related information

Install VMware