Skip to main content

VMware: Add storage volumes to Storage Node

Contributors

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

Before you begin
Caution Don't 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 might 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 Don't 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 setup_rangedbs.sh script runs automatically.

  5. Check that the services start correctly:

    1. View a list 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 web 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. Select 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 use the expanded capacity of the Storage Nodes to save object data.