17
loading...
This website collects cookies to deliver better user experience
Currently there are multiple Hyper-Converged, Converged and Software Defined vendor platforms, rather than provide detailed instructions for each I have used the configuration of InterSystems IRIS or Caché on Red Hat Enterprise Linux (RHEL) 7.4 running on VMware ESXi and vSAN as the example in this post. However, the basic process is similar for other solutions, especially at the InterSystems IRIS or Caché and operating system level. If you are unsure how to translate these instructions to other platforms, please contact the respective vendor’s support for their best practice. InterSystems technology experts can also advise directly with customers and vendors or through the community.
Note: In this post when I say “disk” I mean NVMe, Optane, SATA or SAS SSD, or any other flash storage devices.
/dev/sdi
etc. Why create multiple 255 GB VMDKs? in vSAN storage components are created in chunks of 256GB, keeping the VMDK size just under 256 GB we are trying force the components to be on separate disk groups. Enforcing another level of striping (This has been the case in my testing, but I cannot guarantee that vSAN will actually do this).
/dev/sdi
as follows;[root@db1 ~]# cat /sys/block/sdi/queue/scheduler
[noop] deadline cfq
vgcreate
command.vgcreate -s 4M <vg name> <list of all disks just created>
vgcreate -s 4M vgmydb /dev/sd[h-k]
lvcreate
command. A minimum of four disks is recommended. Start with a 4MB stripe, however with very large logical volumes you may be prompted for a larger size such as 16M.lvcreate -n <lv name> -L <size of LV> -i <number of disks in volume group> -I 4MB <vg name>
lvcreate -n lvmydb01 -L 900G -i 4 -I 4M vgmydb
mkfs
command.mkfs.xfs -K <logical volume device>
mkfs.xfs -K /dev/vgmydb/lvmydb01
mkdir /mydb/db
/etc/fstab
with following mount entries and mount the file system. For example:/dev/mapper/vgmydb-lvmydb01 /mydb/db xfs defaults 0 0
mount /mydb/db
NOTE: Because direct IO bypasses filesystem cache, OS file copy operations including Caché Online Backup will be VERY slow when direct IO is configured.
rtkaio
library for RHEL systems using Caché. Note: IRIS does not need this library.
NOTE: For Caché, Ensemble, and HealthShare distributions beginning with version 2017.1.0. on Linux (only if a backup or async mirror member is configured to use the rtkaio library) you must apply RJF264, available via Ad Hoc distribution from InterSystems Worldwide Response Center (WRC).
<install_directory>/cache.cpf
file[config]
stanza, leaving other lines unchanged, as shown in the example below;[config]
wduseasyncio=1
asyncwij=8
[config]
section:LibPath=/lib64/rtkaio/
[config]
stanza.