Generating commands for era_installer
Connecting an additional server to the system
The method returns strings for initializing a new server via era_installer.
Commands are generated only for servers that are not connected to the system (not available at that moment) when the request is executed.
The server list is obtained from the system configuration.
Response
Example response
HTTP/1.1 200 OK
Install string for server: slave_srv2
bash install_ssh.sh -y -h 192.168.10.12 --postfix=_1 --master=n --micaddress=mic1@127.0.0.1,mic2@192.168.10.12,ic1@127.0.0.1,ic2@192.168.10.12 --srvname=slave_srv2 --dopginstall=n --pskcookie=123qwe
Install string for server: slave_srv3
bash install_ssh.sh -y -h 192.168.10.13 --postfix=_1 --master=n --micaddress=mic1@127.0.0.1,mic2@192.168.10.12,ic1@127.0.0.1,ic2@192.168.10.12 --srvname=slave_srv3 --dopginstall=n --pskcookie=123qwe
Install string for server: slave_srv4
bash install_ssh.sh -y -h 192.168.10.14 --postfix=_1 --master=n --micaddress=mic1@127.0.0.1,mic2@192.168.10.12,ic1@127.0.0.1,ic2@192.168.10.12 --srvname=slave_srv4 --dopginstall=n --pskcookie=123qwe