- 2 Minutes to read
Nutanix AHV Specific Management
- 2 Minutes to read
Extending the CTERA Main Database Storage Pool
CTERA recommends changing the storage with the help of CTERA recommends changing the storage with the help of CTERA Support.
Create a new storage block. This storage must be attached to the portal instance.
To extend the CTERA main database storage pool:
For each CTERA Portal instance you have installed, stop CTERA services, by doing the following:
- Connect to the virtual server, over SSH, with the public IP, username and password.
- Run the following command to stop the CTERA Portal services:
Extend the CTERA Storage Pool, 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 -lNote
With some Linux operating systems, the multipath -l command might return a warning that there is no host device. This warning can be ignored.
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 sectorsNote
By 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:
where disk_name is the value returned by the
fdisk -l | grep /dev/mappercommand,
3600a09803830304e2f5d46447452774din the above example. Continue to create the partition, mostly using the defaults:
Command value Meaning
Create a new partition.
Make the partition primary. p is the default.
The partition number.
1is the default.
The first sector or cylinder.
The last sector or cylinder.
Sets up the type of partition using the partition number specified.
The Changes the type of partition from Linux to Linux LVM.
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:
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
dm-4is the added storage.
Stop the portal server:
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:
Extend the storage in the portal:
portal-storage-util.sh extend_storage /dev/dm-n
where dm-n is the name of the storage.
The main database storage pool is extended.
start the portal server:
The portal starts.