Script Installation Instructions for ClusterControl
Welcome to ClusterControl! Before you get started, make sure you have the proper environment, such as a supported OS and a ssh keys setup. The full list of requirements can be found here.
Run the following Scripts
$ wget -O
install
-cc https://severalnines.com/scripts/install-cc?nUvXvJChkeL0UyG8JOHO31FdihA%2BOLQ%3D,
$
chmod
+x
install
-cc
Please change S9S_CMON_PASSWORD or S9S_ROOT_PASSWORD values or remove the environment variables to interactively set to your own passwords.
On certain operating systems PHP 8 will be downgraded to PHP 7.
$ S9S_CMON_PASSWORD=A6kRzK3u S9S_ROOT_PASSWORD=6JoAQSGu ./install-cc
# as root or sudo user
If you have multiple network interface cards, assign one IP address for HOST variable as per example below:
$ S9S_CMON_PASSWORD=A6kRzK3u S9S_ROOT_PASSWORD=6JoAQSGu HOST=192.168.1.10 ./install-cc
# as root or sudo user
ClusterControl relies on a MySQL server as a data repository for the clusters it manages and an Apache server for the User Interface. The installation script will always install an Apache server on the host. An existing MySQL server can be used or a new MySQL server install is configured for minimum system requirements. If you have a larger server please make the necessary changes to the my.cnf file and restart the MySQL server after the installation.
If you want to explicit set the Apache webserver's 'severname' then set S9S_WEB_SERVER_HOST=<hostname>.
S9S_WEB_SERVER_HOST=cc.mylocaldomain.local ./install-cc
Open your web browser to https://[ClusterControl IP/hostname] and create the default Admin user by entering a valid email address and password.
Setup passwordless SSH to all target nodes (ClusterControl and all database nodes). Run following commands on ClusterControl:
$
ssh
-keygen -t rsa
# press enter on all prompts
$
ssh
-copy-
id
-i ~/.
ssh
/id_rsa [ClusterControl IP address]
$
ssh
-copy-
id
-i ~/.
ssh
/id_rsa [Database nodes IP address]
# repeat this to all target database nodes
Tidak ada komentar:
Posting Komentar