You can restore a failed Client node from a full backup data. The Client node backup should be within the Client node group.
Prerequisites
Verify that the backup was created from a healthy Client node. See Back-Up Client Node on AWS.
Verify that you have captured the IP addresses of all the Client node VMs and have access to them. You can find the information in the VMware Blockchain Orchestrator descriptor file.
Verify that you have the volume snapshot ID from which the backup must be restored.
Procedure
- SSH into the VMware Blockchain Orchestrator appliance.
- Enter the login credentials for the blockchain user account.
- Navigate to the /home/blockchain directory.
- Stop all the applications that invoke connection requests from the Daml Ledger.
- Stop the Client node components.
curl -X POST 127.0.0.1:8546/api/node/management?action=stop
- In the EC2 interface, navigate to Snapshot and filter based on the snapshot ID.
- Select Create Volume.
- Click Volume ID in the title menu.
- Select to validate the current path.
- Select to attach the EBS volume to a blockchain node.
The EC2 instance shows the EBS volumes attached to the blockchain node.
- Type the node IP address in the Instance Info section.
- SSH into the blockchain node and validate that the EC2 instance has three volumes.
- Replace the data volume.
sudo umount -d /dev/xvdb
sudo mount -o nouuid /dev/xvdf /mnt/data/
- Start all the Client node components.
curl -X POST 127.0.0.1:8546/api/node/management?action=start
- Start all the applications that invoke connection requests to the Daml Ledger.
What to do next
After the restore, you can manage your backup configuration. See Manage Client Node Backup on AWS.