Accelario Server High Availability
Accelario server HA on AWS - using EBS
On EC2 instance of Accelario server add EBS drive (ext4) for accelario server binaries and mount it under
/accelario/loki
In the /accelario/loki folder, put the server binaries.
Add block devices for ZFS pool
Use VIP for attaching static IP to the server
Prepare a second standby server for Accelario server with all required packages
When Accelario server goes down you will need:
Make sure the EC2 is down
Start the second Accelario server
Detach EBS devices from the failed server
Attach the EBS devices to the new accelario server
a. attach all zfs pool devices
b. attach the EBS volume which contains Accelario server binaries
b1. This device will have to be mounted under same directory as it was on the previous machine. Best practice is to add /etc/fstab with UUID for this device.
Attach VIP to the new accelario server
Run
zpool import -acommand on the new accelario server, it will import all zfs devices metadata.Start the accelario server on the new EC2 machine
Accelario server HA with multi AZ disaster recovery on AWS - using EBS
On EC2 instance of Accelario server add EBS drive (ext4) for accelario server binaries and mount it under
/accelario/loki
In the /accelario/loki folder, put the server binaries.
Setup automatic snapshot for this EBS drive
Add block devices for ZFS pool
Use VIP for attaching static IP to the server
When Accelario server goes down you will need:
Make sure the EC2 is down
Start the second Accelario server from the EBS snapshot
Attach all zfs pool devices
Attach VIP to the new accelario server
Run
zpool import -acommand on the new accelario server, it will import all zfs devices metadata.Start the accelario server on the new EC2 machine
Accelario server HA with multi AZ disaster recovery on AWS - using EBS and FSX
On EC2 instance of Accelario server add EBS drive (ext4) for accelario server binaries and mount it under
/accelario/loki
In the /accelario/loki folder, put the server binaries.
Setup automatic snapshot for this EBS drive
Add FSX volumes as a storage pool
When Accelario server goes down you will need:
Make sure the EC2 is down
Start the second Accelario server from the EBS snapshot
Start the accelario server on the new EC2 machine
Attach the same FSX volumes as a storage pool
In case of human errors - use the same solution:
For the binaries - restore from a snapshot of the correct time (before the human error)
For the data - use the snapshots that are built in the application
Accelario server HA on ESXI
On VM instance of accelario server add VMDK drive (ext4) for accelario server binaries and mount it under
/accelario/loki
In the /accelario/loki folder, put the server binaries.
Add block devices for ZFS pool from ESXI storage
Use VIP for attaching static IP to the server
Prepare a second standby server for Accelario server with all required packages
When Accelario server goes down you will need:
Make sure the VM instance is down
Start the second Accelario server
Detach VMDK devices from the failed server
Attach the VMDK devices to the new accelario server
a. attach all zfs pool devices
b. attach the vmdk volume which contains Accelario server binaries
b1. This device will have to be mounted under same directory as it was on the previous machine. Best practice is to add /etc/fstab with UUID for this device.
Attach VIP to the new accelario server
Run
zpool import -acommand on the new accelario server, it will import all zfs devices metadata.Start the accelario server on the new VM machine