Cloud Connector Worker Node Configuration
Part 1: Enable SSH for the Horizon Cloud Connectors
As part of the process of getting the Worker Node Configured to Communicate the Primary. We need to enable SSH on all Horizon Cloud Connectors
- From the ControlCenter Desktop
- Launch Google Chrome Site1 profile
-
In the address Bar
-
enter https://vcenterXX-01a.euc-livefire.com
- where XX is your assigned POD ID
-
enter https://vcenterXX-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!VMware1!
- In Cloud Connector Console, activate ccadmin
- Type passwd ccadmin
- using your keyboard press enter
-
New Password: VMware1!VMware1!
- using your keyboard press enter
-
Retype new password: VMware1!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 in Site 1
- 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 Site 1
- In the Worker Node Connector Console (HznCC22-01b)
- Login user: root
- Password: VMware1!VMware1!
- In Cloud Connector Console, activate ccadmin
- Type passwd ccadmin and press enter
- New Password: VMware1!VMware1! and press enter
- Retype new password: VMware1!VMware1! and press enter
- From Cloud Connector Console
- Execute the following command
- /opt/vmware/bin/configure-adapter.py --sshEnable
- Execute the following command
Step 2: Enable SSH for Primary Cloud and Worker Node Connectors on Site 2
- From the ControlCenter Desktop
- Launch Google Chrome Site2 profile
-
In the address Bar
-
Enter https://vcenterXX-02a.euc-livefire.com
- Where XX is your assigned POD ID
-
Enter https://vcenterXX-02a.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 vcenterXX-02a.euc-livefire.com > Region02A > Seattle
- Locate the primary Cloud Connector: HznCCxx-02a
- 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!VMware1!
- In Cloud Connector Console, activate ccadmin
- Type passwd ccadmin and press enter
- New Password: VMware1!VMware1! and press enter
- Retype new password: VMware1!VMware1! and press enter
- 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 in Site 2
- Locate the newly deployed WorkerNode : HznCCxx-02b
- 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-02b
- From the vSphere Client in Site 2
- In the Worker Node Connector Console (HznCC22-02b)
- Login user: root
- Password: VMware1!VMware1!
- In Cloud Connector Console, activate ccadmin
- Type passwd ccadmin and press enter
- New Password: VMware1!VMware1! and press enter
- Retype new password: VMware1!VMware1! and press enter
- From Cloud Connector Console
- Execute the following command
- /opt/vmware/bin/configure-adapter.py --sshEnable
- Execute the following command
Part 2: Configuring the Site 1 the Worker Node
Part 2: Configuring the Worker Node on Site 1
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!VMware1! and press enter
-
Type sudo -i
- Once logged in to a ssh session of primary node, switch to root account
-
When prompted Are you sure you want to continue connecting (yes/no)? Type yes
- Type ssh [email protected] and press enter
-
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!VMware1! and 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
- 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
-
Type VMware1!VMware1! and press enter
- 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!VMware1! and press enter
-
Type sudo -i
- Once logged in to a ssh session of Worker node, switch to root account
- When prompted Are you sure you want to continue connecting (yes/no)? Type yes
- Type ssh [email protected] and press enter
- 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 for Site1
-
/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
Part 3: Deploy Worker Node on Site 2
-
Login securely via SSH with CCADMIN on Primary Node
-
On Control Center 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!VMware1! and press enter
-
Type sudo -i
- Once logged in to a ssh session of primary node, switch to root account
-
When prompted Are you sure you want to continue connecting (yes/no)? Type yes
- Type ssh [email protected] and press enter
-
On Control Center Desktop
- Inside the SSH session of the Primary node
-
Type /opt/vmware/sbin/primary-cluster-config.sh -as 192.168.210.14 and 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.210.14 ) password
-
Type VMware1!VMware1! and 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 Window
- 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
-
Type VMware1!VMware1! and press enter
- When prompted for the Worker node (192.168.210.14 ) password
-
When prompted for Are you sure you want to continue connecting (yes/no)? Type yes
-
Type /opt/vmware/sbin/primary-cluster-config.sh -as 192.168.210.14 and press enter
- Login securely via SSH with CCADMIN on Worker Node
- On Control Center 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!VMware1! and press enter
-
Type sudo -i
- Once logged in to a ssh session of Worker node, switch to root account
- When prompted Are you sure you want to continue connecting (yes/no)? Type yes
- Type ssh [email protected] and press enter
- On Control Center 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.210.12 abyhf6.woazwk2jisbzovh5 b5382544c5645bf20ed21ab4250267cbd3f2e082e0b52495e14c6410e691e609
- Once done, the Worker Node configuration is complete for Site2
-
/opt/vmware/sbin/worker-cluster-config.sh -a 192.168.210.12 abyhf6.woazwk2jisbzovh5 b5382544c5645bf20ed21ab4250267cbd3f2e082e0b52495e14c6410e691e609
- 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
- Run the following Commands (192.168.210.12) on Site 2 to verify the configuration
- Type kubectl get nodes
- With your keyboard
- press enter
- With your keyboard
- Type kubectl get pods -A
- With your keyboard
- press enter
- With your keyboard
- Type kubectl get nodes
- Run the following Commands (192.168.210.12) on Site 2 to verify the configuration
This Concludes your Worker node Configuration and your Lab work for Day 1
0 Comments
Add your comment