- 10 Apr 2023
- 3 Minutes to read
- Print
- DarkLight
- PDF
Nutanix AHV Specific Management
- Updated on 10 Apr 2023
- 3 Minutes to read
- Print
- DarkLight
- PDF
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:
For each CTERA Portal instance you have installed, stop CTERA Portal services, by doing the following:
- Open an SSH session to the CTERA Portal instance.
- Log in as
root
user. - Run the command to stop the CTERA Portal services:
portal-manage.sh stop
Log in to the OpenStack console and access Project > Compute > Instances.
Extend the CTERA storage, by entering the following:
Perform discovery on the storage:
iscsiadm -m discovery -t sendtargets -p block_storage_ip
where blockstorageip the target address IP for the new storage.Set the host to automatically log into the iSCSI array storage:
iscsiadm -m node -L automatic
A successful message is returned.Verify that the host has logged in to the iSCSI array:
iscsiadm -m session multipath -l
NoteIgnore any warning if the multipath -l command returns a warning that there is no host device.
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
NoteBy default the device will attach to ‘/dev/mapper/mpath_deviceID‘, where deviceID is the generated ID of the connected device.
Create a partition on the disk:
fdisk /dev/mapper/disk_name
where disk_name is the value returned by thefdisk -l | grep /dev/mapper
command,3600a09803830304e2f5d46447452774d
in the above example. Continue to create the partition, mostly using the defaults:Command value Meaning n
Create a new partition. p
orEnter
Make the partition primary. p is the default. 1
orEnter
The partition number. 1
is the default.Enter
The first sector or cylinder. Enter
The last sector or cylinder. t
Sets up the type of partition using the partition number specified. 8e
The Changes the type of partition from Linux to Linux LVM. w
Writes the new partition information to the disk.
Reboot the virtual server for the disk changes to be recognized by the CTERA Portal.
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.Stop the portal server:
portal-manage.sh stop
Expose the added disk to the file system:
portal-storage-util.sh 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
Run the following command to extend the data pool:
portal-storage-util.sh extend_storage dm-n
where dm-n is the name of the data pool.
Run the following command to extend the archive pool:portal-storage-util.sh extend_db_archive_pool dm-a
where dm-a is the name of the archive pool.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:
- Log in as
root
user to each CTERA Portal server over SSH. - Run the following command to start the portal services:
portal-manage.sh start
- Log in as