- 2 Minutes to read
- Print
- PDF
Nutanix AHV Specific Management
- 2 Minutes to read
- Print
- PDF
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:
portal-manage.sh stop
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 -l
NoteWith 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 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
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:
portal-manage.sh start
The portal starts.