You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now you have successfully moved domain configuration to NFS share. The next steps are created a backup machine from the snapshot of current adminVM.
1224
+
1225
+
#### Create and configure backup machine
1226
+
1227
+
Take a snapshot from adminVM OS disk. Note that do not use this snapshot to create managed machine for managed servers.
1228
+
1229
+
- Open Azure portal, stop adminVM.
1230
+
- Take a snapshot from OS disk.
1231
+
1232
+
Create backup machine based on the snapshot:
1233
+
1234
+
- Create a disk from the snapshot.
1235
+
- Create a VM with your expected name(e.g. adminVMBak) on the disk. Make sure you are selecting the Availability Zone 3.
1236
+
- SSH to the machine, use root user and change the hostname.
1237
+
- Set hostname with `hostnamectl set-hostname hostname`. For example, command to set hostname `adminvmbak`: `hostnamectl set-hostname adminvmbak`
1238
+
- Stop the machine from Azure portal. The machine has mounted with NFS share and is ready to start Admin Server.
1239
+
1240
+
#### Test failover
1241
+
1242
+
Now you have adminVM as the primary host and adminVMBak as backup host. Domain configuration are stored in NFS share, and share between both machines. Changes from Admin Server that runs on either machine are persisted to NFS share.
1243
+
1244
+
Before testing, let's start Admin Server by starting adminVM from Azure Portal. Make sure you are able to access Console portal or EM from browser.
1245
+
1246
+
Follow the steps to test failover manually:
1247
+
1248
+
1. Stop adminVM.
1249
+
1. Remove secondary IP from adminVM: go to Azure Portal -> open **adminVM** ->select**Settings** ->select**Networking** -> open the network interface ->select**Settings** ->select**IP Configurations** -> remove `ipconfig2` which was configured with virtual IP of Admin Server.
1250
+
1. Assign secondary IP to adminVMBak: go to Azure Portal -> open **adminVMBak** ->select**Settings** ->select**Networking** -> open the network interface ->select**Settings** ->select**IP Configurations** -> Add `ipconfig2` with static IP address, here is `10.0.0.16`.
1251
+
1. Start adminVMBak. Wait for Admin Server ready.
1252
+
1253
+
You should be able to access Admin Server and have the same domain configuration as that runs on adminVM.
0 commit comments