block-quote On this pagechevron-down
copy Copy chevron-down
Deployment chevron-right Installation Adding vPlus Nodes This chapter provides instructions for adding and registering additional vPlus nodes to your existing vPlus server installation. By adding nodes, you can expand the capabilities of your vPlus deployment to handle larger workloads and improve performance.
Before adding new vPlus nodes, ensure the following requirements are met:
The vPlus server is already installed and configured.
The target systems for new nodes meet the same requirements as the vPlus server:
Red Hat Enterprise Linux (RHEL) 8 or CentOS Stream 8
Minimum 4 CPU cores, 8 GB RAM, and 100 GB storage
The vPlus server can access new node machines via SSH using root credentials.
You have root access to both the vPlus server and new node machines.
Step-by-Step Installation
Follow these steps to add new vPlus nodes:
Generate SSH Key on vPlus Server
On the vPlus server, generate an SSH key if not already present:
Copy ssh-keygen -f ~/.ssh/id_rsa -P "" Copy SSH Key to New Node
Copy the public key to each new node you want to add:
Copy ssh-copy-id -i ~/.ssh/id_rsa.pub root@ < NewNodeI P > Replace <NewNodeIP> with the IP address of the new node.
Modify Installation Script
Locate the vPlus installation script on the vPlus server. Open it with a text editor and find the following section:
Copy cat << EOF > hosts
[all:vars]
ansible_user=root
ansible_connection=local
vprotect_repo= $repo
[server]
localhost
[nodes]
localhost node_name=node1
EOF Modify the [all:vars] section to include the server's FQDN or IP:
Copy [ all:vars ]
ansible_user = root
server_fqdn =< ServerIP >
ansible_connection = local
vprotect_repo = $repo Add new nodes to the [nodes] section:
Copy [ nodes ]
localhost node_name=node1
< NewNodeIP > node_name =< NodeName > ansible_connection = ssh ansible_user = root Replace <NewNodeIP> with the IP address and <NodeName> with a unique name for each new node.
Run Installation Script
Execute the modified installation script on the vPlus server:
Copy sudo ./vplus-install.sh This will install and configure the new nodes.
Alternative: Manual Node Installation
If you prefer to install nodes manually, follow these steps on each new node machine:
Create vProtect Repository File
Create a new file /etc/yum.repos.d/vProtect.repo with the following content:
Install vProtect Node Package
Install the vProtect node package using DNF:
By following these steps, you can successfully add and register new vPlus nodes to expand your deployment.