To use the Availability Zone, configure it when you create the VM as follows.
- For the Region, select (Asia Pacific) Japan East.*1
- Select Availability Zone in Availability options.
- In Availability Zone, select 1, 2, or 3. The active node and the standby node should be in different zones: active (Zone 1) and standby (Zone 2).
*1 If you select a region such as Japan West where only the Availability Set is available, you cannot select “Availability Zone” in Availability options.
Since the protected application used for verification is Apache, set port 80 to probe in the ILB settings. Other configurations are the same as the one using the Availability Set.
The environment used to verify the configuration using the Availability Zone is as follows.
1. Network, load balancer
[Network]
VNet: 10.3.0.0/16
Subnet:
Subnet1: 10.3.1.0/24
Subnet2: 10.3.2.0/24
[Load Balancer]
Location: Japan East
SKU: Standard
Availability Zone: Zone redundant
FrontendIP:
Type: Private
Subnet: 10.3.1.0/24
IP Address: 10.3.1.200(Static)
BackendPool :
lk4lnode03
lk4lnode04
Health Probe:
Protocol: TCP
Port: 22
Load Balancing Rule:
Port: 80
Backend Port: 80
Inbound NAT rules:
0 rules
Session persistence: None
Floating IP(Direct Server Return): Enable
2. Virtual server
[Active Node]
Name: lk4lnode03
Operating system: Linux (RHEL 7.5)
Size: Standard A1 v2 (1 vcpus, 2 GiB memory)
Network Interface:
Private IP: 10.3.1.7
Public IP: 52.156.45.126
Installed Software:
httpd: httpd-2.4.6-80.el7_5.1.x86_64
iptables: iptables-1.4.21-24.1.el7_5.x86_64
LifeKeeeper: SPS for Linux v9.5.0 Build 108
IP tables:
… -A PREROUTING -p tcp -m tcp – –dport 80 -j DNAT – –to-destination 10.3.1.200:80 -A POSTROUTING -s 10.3.1.200/32 -p icmp -j SNAT – –to-source 10.3.1.8 … :OUTPUT ACCEPT [4188:806503] -A INPUT -s 10.3.0.0/16 -p tcp -j ACCEPT … |
httpd.conf:
… Listen 10.3.1.200:80••• … ServerName 10.3.1.200:80 … |
[Standby Node]
Name: lk4lnode04
Network Interface:
Private IP: 10.3.1.8
Public IP: None
IP tables:
… -A PREROUTING -p tcp -m tcp – –dport 80 -j DNAT – –to-destination 10.3.1.200:80 -A POSTROUTING -s 10.3.1.200/32 -p icmp -j SNAT – –to-source 10.3.1.7 … :OUTPUT ACCEPT [4188:806503] -A INPUT -s 10.3.0.0/16 -p tcp -j ACCEPT … |
Same as the active node for others.
[Client Node]
Name: lkclient
Operating System: Windows (Windows Server 2012 Datacenter)
Size: Basic A1 (1 vcpus, 1.75 GiB memory)
Network Interface:
Private IP: 10.3.1.4
Public IP: 104.41.171.59
Installed Software:
Google Chrome: Version 80.0.3987.149 (Official Build) (64-bit)
Xming :6.9.0.31
Tera Team: 4.102
WinSCP: 5.17.2
このトピックへフィードバック