When adding new disks make sure that each disk group has disks of the same size and that the number of disks per node is the same.
To add new disks in a running cluster
- Create and attach new disks to the database node VMs. Attach the disks using LUN numbers 1 through 49 - these LUNs will be shared automatically by FlashGrid Storage Fabric.
Note: Read-only caching must be enabled for all new disks. Read-Write and None modes are not supported and may create reliability problems.
Note: It is recommended to enable Performance Plus for all new disks. Performance Plus is mandatory if existing disks in the disk group already have it enabled.
Note: to create Premium SSD v2 disks, use this article.
-
Confirm FlashGrid names of the new drives, e.g. rac2.lun3
$ flashgrid-cluster drives
If the new drives are not listed then check that the corresponding devices (e.g. /dev/lun3) are visible in the OS. If they are visible in the OS then run as root
flashgrid-node reload-config
and check output offlashgrid-cluster drives
again. If they are not visible in the OS then double-check that you have attached them with correct LUN numbers. -
Add the new disks to an existing disk group (or create a new disk group).
Example A (adding 2 disks rac1.lun3 and rac2.lun3):
$ flashgrid-dg add-disks -G MYDG -d /dev/flashgrid/rac1.lun3 /dev/flashgrid/rac2.lun3
Example B (using wildcards for adding 6 disks lun3/lun4/lun5 on rac1/rac2 nodes):
$ flashgrid-dg add-disks -G MYDG -d /dev/flashgrid/rac[12].lun[3-5]