Pairing the Primary and the Worker Node
- From the ControlCenter Desktop
- Launch Google Chrome Site1 profile
-
In the address Bar
- enter https://vcenter-01a.euc-livefire.com
- Under Getting started page of vCenter
-
Click Launch VSPHERE CLIENT (HTML 5)
- Username: [email protected]
- Password: VMware1!
- Click LOGIN
- In the vSphere Client
- Expand vcenter-01a.euc-livefire.com > Region01A > Bangalore
- Locate the primary Cloud Connector: HznCCxx-01a
- Where xx is the attendee Identifier. In our example it is 22
- From the Summary Tab
- LAUNCH WEB CONSOLE
- The Console Session Opens in a new tab.
- In Cloud Connector Console
- Login user: root
- Password: VMware1!
- In Cloud Connector Console, activate ccadmin
- Type passwd ccadmin
- using your keyboard press enter
-
New Password: VMware1!
- using your keyboard press enter
-
Retype new password: VMware1!
- using your keyboard press enter
- Type passwd ccadmin
- In Cloud Connector Console
- Execute the following command
- /opt/vmware/bin/configure-adapter.py --sshEnable
- Execute the following command
- Enable SSH for Newly Deployed Worker Node
- From the vSphere Client
- Locate the newly deployed WorkerNode : HznCCxx-01b
- Where xx is the attendee Identifier. In our example it is 22
- From the Summary Tab
-
LAUNCH WEB CONSOLE
- The Console Session Opens in a new tab
-
LAUNCH WEB CONSOLE
- Locate the newly deployed WorkerNode : HznCCxx-01b
- From the vSphere Client
- In the Worker Node Connector Console (HznCC22-01b)
- Login user: root
- Password: VMware1!
- In Cloud Connector Console, activate ccadmin
- Type passwd ccadmin
- with your keyboard
- press enter
- New Password: VMware1!
- with your keyboard,
- press enter
- with your keyboard
- Retype new password: VMware1!
-
with your keyboard,
- press enter
-
with your keyboard,
- Type passwd ccadmin
- From Cloud Connector Console
- Execute the following command
- /opt/vmware/bin/configure-adapter.py --sshEnable
- Execute the following command
To Configure Worker node, we need to SSH to both the Primary and Worker Nodes and run commands to pair them together
-
Login securely via SSH with CCADMIN on Primary Node
-
On ControlCenter Desktop
- Right Click on Start Menu open Command Prompt (Admin)
- Inside the Command Prompt
- Type ssh [email protected]
- and press enter
-
When prompted Are you sure you want to continue connecting (yes/no)? Type yes
- Once logged in to a ssh session of primary node, switch to root account
-
Type sudo -i
- In the password prompt,
-
Type VMware1
- press enter
-
Type VMware1
- In the password prompt,
-
Type sudo -i
- Once logged in to a ssh session of primary node, switch to root account
- Type ssh [email protected]
-
On ControlCenter Desktop
- Inside the SSH session of the Primary node
-
Type /opt/vmware/sbin/primary-cluster-config.sh -as 192.168.110.14
- with your keyboard press enter
- When prompted for Are you sure you want to continue connecting (yes/no)? Type yes
- When prompted for the Worker node (192.168.110.14 ) password
-
Type VMware1!
- press enter
- After the command is executed, at the end of the ssh session, it will display a new command which needs to be executed on Worker node
- Copy the Command and Save it on a notepad or notepad++ on the Control Center Desktop
-
Type VMware1!
- When prompted for the Worker node (192.168.110.14 ) password
-
Type /opt/vmware/sbin/primary-cluster-config.sh -as 192.168.110.14
- Login securely via SSH with CCADMIN on Worker Node
- On ControlCenter Desktop
- Right Click on Start Menu open Command Prompt (Admin)
- Inside the Command Prompt
- Type ssh [email protected]
- and press Enter
- When prompted Are you sure you want to continue connecting (yes/no)?
- Type yes
- Once logged in to a ssh session of Worker node, switch to root account
-
Type sudo -i
- In the password prompt,
- Type VMware1!
- press Enter
- Type VMware1!
- In the password prompt,
-
Type sudo -i
- Type ssh [email protected]
- On ControlCenter Desktop
- Inside the SSH session of the Worker node
- Copy and paste the command from the Step 2 which was saved on Notepad or Notepad ++
-
For example
-
/opt/vmware/sbin/worker-cluster-config.sh -a 192.168.110.12 jwdtsm.3xqqgeinm5kgc2kd b23a9a1059f507cac41cfecf1f3f3b536f41d93e68c9632f3363871fa255f38c
- Once done, the Worker Node configuration is complete
-
/opt/vmware/sbin/worker-cluster-config.sh -a 192.168.110.12 jwdtsm.3xqqgeinm5kgc2kd b23a9a1059f507cac41cfecf1f3f3b536f41d93e68c9632f3363871fa255f38c
- Inside the SSH session of the Worker node
- type sudo -i
-
with your keyboard
- select Enter
-
with your keyboard
- type kubectl get pods -A
- with your keyboard
- select Enter
- with your keyboard
-
type kubectl get nodes
- with your keyboard
- select Enter
- with your keyboard
- type sudo -i
- Switch to your Primary Node (192.168.110.12) to verify the configuration
- Run the following Commands
- Type kubectl get nodes
- with your keyboard
- select Enter
- with your keyboard
- Type kubectl get pods -A
- with your keyboard
- select Enter
- with your keyboard
- Type kubectl get nodes
- Run the following Commands
0 Comments
Add your comment