Applicable to:
- SolusVM 2
Question
How to setup two networks LAN and Public for manager and CRs, and management of the cluster to go through LAN - backup and migration?
Answer
This example is for physical LAN network that is managable by the client and VPC only.
Create backup for managment node:
# /usr/local/solus/bin/installer -backup
For setup VPC use: How to use VPC(private) network with public IPs in SolusVM 2 – SolusVM
NIC eht0 and eh1 on Manager and CRs.
eth0 - public
eth1 - private
Add CRs to the cluster via Public interface eth0. They will be visible in SolusVM2 UI with their Public IPs.
Access the database How to access SolusVM 2 database? – SolusVM on manager and change in computresources table host IP address for each CR:
# UPDATE compute_resources SET host = 'Private IP' WHERE host = 'Public IP' AND ID = <CR ID FROM UI>;
or
# UPDATE compute_resources SET host = 'Private IP' WHERE ID = <CR ID FROM UI>;
Access CR node via ssh and update /etc/solus/agent.jeson in section "host": "Private IP", and restart:
# systemctl restart solus-agent
For CR VPC IP set one from physical LAN network. Set VPC IP range from physical LAN network.
All cluster communication will go through LAN network including migration.
VPS will be created on br-int or br-routed with Public IPs.
No restart of nodes no network NICs add to ovs bridges.
Comments
Please sign in to leave a comment.