Step 1 |
Download the Cisco Application Services Engine image.
-
Browse to the Software Download page.
-
Click Application Services Engine Software.
-
From the left sidebar, choose the Application Services Engine version you want to download.
-
Download the Cisco Application Services Engine image for VMware ESX (case-dk9.<version>.ova ).
|
Step 2 |
Log in to your VMware vCenter.
You cannot deploy the OVA directly in the ESX host, you must deploy it using the vCenter.
|
Step 3 |
Start the new VM deployment.
-
Right-click the ESX host where you want to deploy.
-
Then select Deploy OVF Template...
The Deploy OVF Template wizard appears.
|
Step 4 |
Select the OVA image.
-
Select Local file.
-
Click Choose Files and select the OVA file you downloaded.
-
Click Next to continue.
|
Step 5 |
Provide a name and location for the VM.
-
Provide the name for your virtual machine.
-
Select the location for the virtual machine.
-
Click Next to continue
|
Step 6 |
Select a compute resource.
-
Select the vCenter datacenter and the ESX host for the virtual machine.
-
Click Next to continue
|
Step 7 |
Review the information and click Next to continue.
|
Step 8 |
Select storage.
-
From the Select virtual disk format dropdown, select Thick Provision Lazy Zeroed.
-
Select the datastore for the virtual machine.
We recommend a unique datastore for each node.
-
Click Next to continue
|
Step 9 |
In the Select networks screen, accept default values and click Next to continue.
There are two networks, fabric0 is used for the data network and mgmt0 is used for the management network.
|
Step 10 |
Provide the node and network information.
-
In the Node Name field, provide the hostname for node.
-
In the Password fields, provide the password.
We recommend configuring the same password for all nodes, however you can choose to provide different passwords for the second
and third node. If you provide different passwords, the first node's password will be used as the initial password of the
admin user in the GUI.
-
Check the Master Node checkbox.
All nodes in the 3-node cluster must be master nodes.
-
Provide the Management Address and Subnet for the node.
For example, 192.168.10.11/24 .
-
Provide the Management Gateway IP.
For example, 192.168.10.1 .
-
Provide the Data Network Address and subnet.
For example, 172.10.10.11/24 .
-
Provide the Data Network Gateway.
For example, 172.10.10.1 .
-
(Optional) If the data traffic is on a VLAN, provide the Data Network Vlan.
For most deployments, you can leave this field blank. If you do want to provide a VLAN ID for your data network, you can enter
it in this field, for example 100 .
|
Step 11 |
Provide Application Services Engine cluster information for this node.
-
Provide the name for the Application Services Engine cluster.
This name must be the same for all nodes.
For example, case-cluster .
-
In the Master List field, provide the IP addresses of the other 2 nodes you will configure for your cluster.
Each IP address in the list must be separated by a space.
-
Provide a value for the dbgtoken field.
Since this is the first node you are deploying, provide any 11-character value for this field (for example, abcdef12345 ). When you deploy the other two nodes, you will use this field to provide a token from the first node to simplify configuration.
-
Leave the Download Config From Peers checkbox unchecked.
You will use this option when configuring the other two nodes.
|
Step 12 |
Provide the common Application Services Engine cluster information.
You must provide this information when configuring the first node.
-
Provide the App Subnet.
The application overlay network defines the address space used by the application's services running in the Application Services
Engine. This must be a /16 subnet.
For example, 1.1.0.0/16 .
Note
|
Communications between containers deployed in different Application Services Engine nodes is VXLAN-encapsulated and uses the
data interfaces IP addresses as source and destination. This means that the Application Overlay and Service Overlay addresses
are never exposed outside the data network and any traffic on these subnets is routed internally and does not leave the cluster
nodes. As such, when configuring these networks, ensure that they are unique and do not overlap with any existing networks
or services you may need to access from the Application Services Engine cluster nodes
|
-
Provide the Services Subnet.
The services network is an internal network used by the Application Services Engine and its processes. This must be a /16 subnet.
For example, 2.2.0.0/16 .
-
Provide the NTP Servers information.
For example, 10.197.145.2 10.197.146.2 .
-
Provide the Name servers information.
For example, 10.197.145.3 .
-
(Optional) Provide the Search Domains information.
For example, company.com .
|
Step 13 |
Verify that all information is valid and click Next to continue.
After you complete the Customize template screen, a verification banner is shown at the top.
|
Step 14 |
In the Ready to complete screen, verify that all information is accurate and click Finish to begin deploying the first node.
|
Step 15 |
Wait for the VM deployment to complete, then start the VM.
|
Step 16 |
Log in to the first node's console as the rescue-user .
Use the password you specified in the OVF template when deploying the VM.
|
Step 17 |
Retrieve the dbgtoken .
Run the following command:
$ acidiag dbgtoken
09GZ1PMB8CML
Make a note of this token, you will use it to deploy the other two nodes.
Keep in mind, the token expires and is refreshed every 30 minutes, so ensure to retrieve it when ready to deploy the second
and third nodes.
|
Step 18 |
Deploy the second node.
The steps to deploy the second and third nodes are similar, with the exception that you can now use the dbgtoken from the first node to skip some of the configuration.
-
Right-click the ESX host where you want to deploy and select Deploy OVF Template....
We recommend using a different ESX host for each node.
-
Select Local file, click Choose Files, and select the OVA file you downloaded. Then click Next to continue.
-
Provide the name for your virtual machine and select the location for the virtual machine. Then click Next to continue.
-
Select the vCenter datacenter and the ESX host for the virtual machine. Then click Next to continue.
-
Review the information and click Next to continue.
-
From the Select virtual disk format dropdown, select Thick Provision Lazy Zeroed. Then select the datastore for the virtual machine and click Next to continue.
-
In the Select networks screen, accept default values and click Next to continue.
-
In the Node Name field, provide the hostname for node.
-
In the Password fields, provide the password.
We recommend configuring the same password for all nodes, however you can choose to provide different passwords for the second
and third node. If you provide different passwords, the first node's password will be used as the initial password of the
admin user in the GUI.
-
Provide the Management Network Address and subnet.
-
Provide the Management Gateway IP.
-
Provide the Data Network Address and subnet.
-
Provide the Data Network Gateway.
-
(Optional) If the data traffic is on a VLAN, provide the Data Network Vlan.
-
Provide the name for the Application Services Engine cluster.
This name must be the same for all Application Services Engine nodes.
-
In the Master List field, provide the IP addresses of the other 2 nodes in your cluster.
Each IP address in the list must be separated by a space.
-
Provide the dbgtoken you obtained from the first node.
The token expires and is refreshed every 30 minutes, ensure to obtain the latest valid token from the first node before continuing.
For example, 09GZ1PMB8CML .
-
Check the Download Config From Peers checkbox.
Note
|
The second and third nodes will download common configuration parameters from the first node using the dbgtoken .
|
-
Skip Cluster Configuration Optional fields and click Next to continue.
-
In the Ready to complete screen, verify that all information is accurate and click Finish to begin deploying the second node.
|
Step 19 |
Repeat the previous step to deploy the third node.
|
Step 20 |
Wait for the second and third node VMs deployment to complete, then start the VMs.
|
Step 21 |
Verify that the cluster is healthy.
It may take up to 30 minutes for the cluster to form and all the services to start.
After all three nodes are ready, you can log in to any one node via SSH and run the following command to verify cluster health:
-
Verify that the cluster is up and running.
You can check the current status of cluster deployment by logging in to any of the nodes and running the acidiag health command.
While the cluster is converging, you may see the following outputs: $ acidiag health
k8s install is in-progress
$ acidiag health
k8s services not in desired state - [...]
$ acidiag health
k8s: Etcd cluster is not ready When the cluster is up and running, the following output will be displayed:$ acidiag health
All components are healthy
-
Log in to the Application Services Engine GUI.
After the cluster becomes available, you can access it by browsing to any one of your nodes' management IP addresses. The
default password for the admin user is the same as the rescue-user password you chose for the first node of the Application Services Engine cluster.
When you first log in, you will be prompted to change the password.
|