Nutanix AHV Specific Management
  • 3 Minutes to read
  • Dark
  • PDF

Nutanix AHV Specific Management

  • Dark
  • PDF

Article Summary

Increasing the Data or Archive Pool Size


CTERA recommends changing the storage with the help of CTERA support CTERA Support.

Create a new storage block. This storage must be attached to the portal instance.

To extend the storage:

  1. For each CTERA Portal instance you have installed, stop CTERA Portal services, by doing the following:

    1. Open an SSH session to the CTERA Portal instance.
    2. Log in as root user.
    3. Run the command to stop the CTERA Portal services: stop
  2. Log in to the OpenStack console and access Project > Compute > Instances.

  3. Extend the CTERA storage, by entering the following:

    1. Perform discovery on the storage: iscsiadm -m discovery -t sendtargets -p block_storage_ip
      where blockstorageip the target address IP for the new storage.

    2. Set the host to automatically log into the iSCSI array storage: iscsiadm -m node -L automatic
      A successful message is returned.

    3. Verify that the host has logged in to the iSCSI array:

      iscsiadm -m session
      multipath -l

      Ignore any warning if the multipath -l command returns a warning that there is no host device.

    4. Verify that the device is connected: fdisk -l | grep /dev/mapper
      The disk is mounted and accessible to the host and a line similar to the following is returned: Disk /dev/mapper//3600a09803830304e2f5d46447452774d: 43.0 GB, 42953867264 bytes, 83894272 sectors


      By default the device will attach to ‘/dev/mapper/mpath_deviceID‘, where deviceID is the generated ID of the connected device.

    5. Create a partition on the disk: fdisk /dev/mapper/disk_name
      where disk_name is the value returned by the fdisk -l | grep /dev/mapper command, 3600a09803830304e2f5d46447452774d in the above example. Continue to create the partition, mostly using the defaults:

      Command valueMeaning
      nCreate a new partition.
      p or EnterMake the partition primary. p is the default.
      1 or EnterThe partition number. 1 is the default.
      EnterThe first sector or cylinder.
      EnterThe last sector or cylinder.
      tSets up the type of partition using the partition number specified.
      8eThe Changes the type of partition from Linux to Linux LVM.
      wWrites the new partition information to the disk.
  4. Reboot the virtual server for the disk changes to be recognized by the CTERA Portal.

  5. List the storage to identify the name of the storage to create in the CTERA portal: ll /dev/mapper
    A result similar to the following is returned:

    lrwxrwxrwx 1 root root 7 Aug 23 08:42 36030304e2f5d464774a -> ../dm-0
    lrwxrwxrwx 1 root root 7 Aug 23 08:42 36030304e2f5d464774a1 -> ../dm-2
    lrwxrwxrwx 1 root root 7 Aug 23 08:42 36030304e2f5d464774d -> ../dm-1
    lrwxrwxrwx 1 root root 7 Aug 23 08:42 36030304e2f5d464774d1 -> ../dm-4
    crw------- 1 root root 10, 236 Aug 23 08:41 control
    lrwxrwxrwx 1 root root 7 Aug 23 08:42 DataPool-DataPool -> ../dm-3

    where dm-4 is the added storage.

  6. Stop the portal server: stop

  7. Expose the added disk to the file system: attach_endurance_disk device_ip [user pass iqn]
    Where the following are taken from the Block Storage Details screen:
    device_ip is the Target Address IP.
    user is the Username.
    pass is the Password. The password is not encrypted.
    iqn is the Host IQN.
    The name and address of the attached storage device is output with output similar to the following: /dev/mapper/3600a098038303051793f464462534b56

  8. Run the following command to extend the data pool: extend_storage dm-n
    where dm-n is the name of the data pool.
    Run the following command to extend the archive pool: extend_db_archive_pool dm-a
    where dm-a is the name of the archive pool.

  9. For each CTERA Portal instance, starting from the CTERA Portal main database and proceeding to the application servers, start CTERA Portal services by doing the following:

    1. Log in as root user to each CTERA Portal server over SSH.
    2. Run the following command to start the portal services: start

Was this article helpful?