Remote High Availability System (EulerOS + GaussDB + OMMHA + VM)
This section describes how to plan installation parameters for the remote HA system (EulerOS + GaussDB + OMMHA).
Operating System Host Name Planning
Table 8-92 describes the planning of the operating system host names.
Server |
Item |
Example |
Description |
---|---|---|---|
Active eSight server |
Host name of an operating system |
Primaster |
To ensure that eSight can run properly, host name planning must comply with the following rules and restrictions:
|
Standby eSight server |
Host name of an operating system |
Secmaster |
Network and IP Address Planning
eSight supports the scenario where southbound services are isolated from northbound services and the scenario where southbound services are not isolated from northbound services. The network port and IP address planning is different for the two scenarios. It is recommended that the scenario where southbound services are isolated from northbound services be used.
- The static IP address must be used.
- The IP address must be unique on the live network.
- The server can communicate with clients.
- You can plan and configure only one IP address for one network port.
- In different deployment scenarios, the IP addresses belong to different networks. You need to plan the network plane to which the IP addresses belong based on the network planning table and ensure that the network planes exist.
- The IP address type can be IPv4 or IPv6, but not dual-stack.In the scenario where southbound services are isolated from northbound services, an NIC and IP address planning example is as follows.
- The system IP address, heartbeat and replication IP address, and southbound IP address must belong to different network planes.
- The active and standby servers can communicate with each other but do not need to be deployed in the same network segment.
Item |
Function |
Server |
NIC |
Network Plane |
Example (IPv4) |
---|---|---|---|---|---|
System IP address |
IP address of the operating system. You can use it to log in to the server to manage and maintain the operating system. |
Active server |
eth0 |
The system IP addresses of the active and standby servers can communicate with each other. |
|
Standby server |
eth0 |
|
|||
Heartbeat and replication IP address |
Used to detect status of the network connection and replicate data between the active and standby eSight servers. NOTE:
In the full image installation scenario where eSight is installed using the FusionSphere OpenStack OM, the heartbeat and replication IP address is automatically allocated and does not need to be planned by users. |
Active server |
eth1 |
The network to which the heartbeat and replication IP address belongs is independent of the network plane of the service network and O&M network. In addition, the heartbeat and replication network cannot communicate with the network where devices are located. The heartbeat and replication IP addresses of the active and standby servers can communicate with each other. |
|
Standby server |
eth1 |
|
|||
Southbound IP address |
Used for communications between the eSight server and devices. |
Active server |
eth2 |
|
|
Standby server |
eth2 |
|
- The system IP address and heartbeat and replication IP address must belong to different network planes.
- The active and standby servers can communicate with each other but do not need to be deployed in the same network segment.
Item |
Function |
Server |
NIC |
Network Plane |
Example (IPv4) |
---|---|---|---|---|---|
System IP address |
IP address of the operating system. You can use it to log in to the server to manage and maintain the operating system. Used for communications between the eSight server and devices. |
Active server |
eth0 |
The system IP addresses of the active and standby servers can communicate with each other. |
|
Standby server |
eth0 |
|
|||
Heartbeat and replication IP address |
Used to detect status of the network connection and replicate data between the active and standby eSight servers. NOTE:
In the full image installation scenario where eSight is installed using the FusionSphere OpenStack OM, the heartbeat and replication IP address is automatically allocated and does not need to be planned by users. |
Active server |
eth1 |
The network to which the heartbeat and replication IP address belongs is independent of the network plane of the service network and O&M network. In addition, the heartbeat and replication network cannot communicate with the network where devices are located. The heartbeat and replication IP addresses of the active and standby servers can communicate with each other. |
|
Standby server |
eth1 |
|
Installation Path Planning
Item |
Example |
Description |
---|---|---|
eSight |
/opt/eSight |
|
User Name and Password Planning
To ensure user password security, use user passwords that meet password complexity requirements and change passwords periodically. This can prevent the user password from being stolen and prevent the HA system from being accessed without authorization. The passwords planned in this document are only examples.
User |
Default Password |
Description |
---|---|---|
EulerOS user root |
Changeme_123 |
Each user must have a unique password. The password setting must comply with the following rules:
|
EulerOS user ossuser |
Changeme_123 |
|
GaussDB database administrator user sys |
Changeme123 |
|
eSight database user commonuser of the GaussDB |
Changeme_123 |
|
eSight login user admin NOTE:
The user login address is https://IP address:31943. |
Changeme123 NOTE:
You need to change the password upon first login. |
|
Maintenance tool user sys NOTE:
The login address of the management plane is https://IP address:31945. |
Changeme123 NOTE:
You need to change the password upon first login. |
Time Zone and Time Planning
Item |
Example |
Description |
---|---|---|
Time zone |
UTC+08:00 |
The times and time zones of the active and standby servers must be the same. |
Time |
14:00 |
Port Planning
- For details about eSight server port planning, see eSight Communication Matrix.
- If unrelated software is installed on the eSight server, port conflicts may occur and eSight may be unavailable.
- Strictly follow instructions in eSight Communication Matrix to ensure that the operating system is secure and stable and eSight can be used properly.
- After eSight is upgraded or a patch is installed, perform operations on ports by referring to eSight Communication Matrix.
- In the EulerOS, eSight automatically creates mappings for ports listed in Table 8-98 during installation, which improves system compatibility.
Disk Partition Planning
In manual installation scenarios, the default startup mode is UEFI.
Partition |
Capacity |
File System |
Description |
---|---|---|---|
/ |
50 GB |
Ext4 |
Root directory for installing the operating system. |
swap |
16 GB |
Swap |
Swap partition. |
/boot/efi |
1 GB |
FAT |
Boot partition. |
/tmp |
10 GB |
Ext4 |
Directory for storing temporary files. |
/var/tmp |
5 GB |
Ext4 |
Directory for storing temporary files. |
/home |
1 GB |
Ext4 |
Home directory of the operating system user. |
/var |
20 GB |
Ext4 |
Directory for storing dynamic data about the daemon process and other system service processes. |
/var/log |
10 GB |
Ext4 |
Directory for storing system log data. |
/var/log/audit |
10 GB |
Ext4 |
Directory for storing audit log data. |
/opt |
Total remaining space |
Ext4 |
Directory for installing eSight. |
In mirror installation scenarios, the default startup mode is BIOS.
Partition |
Capacity |
File System |
Description |
---|---|---|---|
biosboot |
2 MB |
biosboot |
Boot directory. |
/ |
50 GB |
Ext4 |
Root directory for installing the operating system. |
swap |
16 GB |
Swap |
Swap directory. |
/tmp |
10 GB |
Ext4 |
Directory for storing temporary files. |
/var/tmp |
5 GB |
Ext4 |
Directory for storing temporary files. |
/home |
1 GB |
Ext4 |
Home directory of the operating system user. |
/var |
20 GB |
Ext4 |
Directory for storing dynamic data about the daemon process and other system service processes. |
/var/log |
10 GB |
Ext4 |
Directory for storing system log data. |
/var/log/audit |
10 GB |
Ext4 |
Directory for storing audit log data. |
/opt |
Total remaining space NOTE:
The hard disk space of the VM created by eSight using the image is fixed to 500 GB. The space of the "/opt" directory is about 378 GB. |
Ext4 |
Directory for installing eSight. |