systemctl status firewalld
Scenario: Master server had a problem and was gone. Promote slave 1 as a master server.
When backup database, don’t use option –databases. It will create use database command.
- set ssh-keys and git won’t ask password in future.
- Add docker yum repository
Master node: db01
Slave node: db02
- On master node:
- change origin data folder as mount point
- Install epel-release and setup zfs repository.
Goto https://downloads.mariadb.org/mariadb/repositories/#mirror=evowise-ny and select version to generate repository file. For version 10.1, the file content as blow: