Install Cisco Crosswork Data Gateway
This procedure can be used for installing the first Cisco Crosswork Data Gateway or for adding additional Cisco Crosswork Data Gateway VMs.
Note |
If you are re-deploying Cisco Crosswork Data Gateway with Cisco Crosswork, delete the previous Cisco Crosswork entry for auto-enrollment to work. |
Cisco Crosswork Data Gateway Deployment and Set Up Workflow
To deploy and set up Crosswork Data Gateway VM for use with Cisco Crosswork, follows these steps:
-
Choose the deployment type for Cisco Crosswork Data Gateway i.e., Standard or Extended. See Cisco Crosswork Data Gateway Requirements.
-
Install Cisco Crosswork Data Gateway on your preferred platform:
VMware
Install Cisco Crosswork Data Gateway Using vCenter vSphere Client
Cisco CSP
-
Set timezone on Cisco Crosswork Data Gateway VM. See Configure Timezone.
-
Verify Cisco Crosswork Data Gateway enrollment with Cisco Crosswork. See Cisco Crosswork Data Gateway Authentication and Enrollment.
After verifying that the Cisco Crosswork Data Gateway has successfully enrolled with Cisco Crosswork, create a Cisco Crosswork Data Gateway pool and add the Cisco Crosswork Data Gateway VMs to the pool.
Note |
If you are going to have multiple Cisco Crosswork Data Gateways due to load or scale and/or you wish to leverage Cisco Data Gateway High Availability, it is recommended that you install all the Cisco Crosswork Data Gateway VMs and then add them to a Data Gateway pool. |
Cisco Crosswork Data Gateway Parameters and Deployment Scenarios
Before you begin installing the Cisco Crosswork Data Gateway, read about parameters and possible deployment scenarios mentioned in the next section. You will need to refer this section to supply parameter values when you install Cisco Crosswork Data Gateway using the above methods.
Note |
Certificate chains override any preset or generated certificates in the VM and are given as an SCP URI (user:host:/path/to/file). * Denotes the mandatory parameters. Others are optional. You might choose them based on the kind of deployment scenrio you require. Deployment scenarios are explained wherever applicable. ** Denotes parameters that can be entered during install or addressed using additional procedures. |
Parameter |
Description |
Deployment Scenario |
||||
---|---|---|---|---|---|---|
Host Information |
||||||
Hostname* |
Hostname of the server specified as a fully qualified domain name (FQDN).
|
|||||
Description* |
A detailed description of the Cisco Crosswork Data Gateway instance. |
|||||
Crosswork Data Gateway Label |
Label used by Cisco Crosswork to categorize and group multiple Cisco Crosswork Data Gateway instances. |
|||||
Active vNICs |
Number of vNICs to use for sending traffic. |
You can choose to use either 1, 2, or 3 vNICs as per the following combinations:
|
||||
Allow RFC8190 |
Automatically allow addresses in an RFC 8190 range. If the box is not checked, the initial configuration scripts will prompt for confirmation. |
|||||
Private Key URI |
SCP URI to private key file for session key signing. You can retrieve this using SCP (user@host:path/to/file). |
Cisco Crosswork uses self-signed certificates for handshake with Cisco Crosswork Data Gateway. These certificates are generated upon installation. However, if you want to use third-party or your own certificate files, then you must input these three parameters.
|
||||
Certificate File URI |
SCP URI to PEM formatted signing certificate chain for this VM. You can retrieve this using SCP (user@host:path/to/file). |
|||||
Certificate File and Key Passphrase |
SCP user passphrase to retrieve the CiscoCrosswork Data Gateway PEM formatted certificate file and private key. |
|||||
Data Disk Size |
Size in GB of a second data disk. Default size is 5GB for Standard and 500GB for Extended. |
|||||
Passphrases During installation, Crosswork Data Gateway creates two default user accounts:
To know what operations an admin and operator can perform, see Section Supported User Roles in the Cisco Crosswork Infrastructure 4.0 and Applications Administration Guide.
|
||||||
dg-admin Passphrase* |
The password you have chosen for the dg-admin user. |
|||||
dg-oper Passphrase* |
The password you have chosen for the dg-oper user. |
|||||
|
||||||
1vNIC0 IPv4 Address |
||||||
vNIC0 IPv4 Method* |
How the vNIC0 interface gets its IPv4 address. |
|||||
vNIC0 IPv4 Address |
IPv4 address of the vNIC0 interface. |
|||||
vNIC0 IPv4 Netmask |
IPv4 netmask of the vNIC0 interface in dotted quad format. |
|||||
vNIC0 IPv4 Skip Gateway |
Skip configuring a gateway? |
|||||
vNIC0 IPv4 Gateway |
IPv4 address of the vNIC0 gateway. |
|||||
1vNIC0 IPv6 Address |
||||||
vNIC0 IPv6 Method* |
How the vNIC0 interface gets its IPv6 address. |
|||||
vNIC0 IPv6 Address |
IPv6 address of the vNIC0 interface. |
|||||
vNIC0 IPv6 Netmask |
IPv6 prefix of the vNIC0 interface. |
|||||
vNIC0 IPv6 Skip Gateway |
Skip configuring a gateway? |
|||||
vNIC0 IPv6 Gateway |
IPv6 address of the vNIC0 gateway. |
|||||
1vNIC1 IPv4 Address |
||||||
vNIC1 IPv4 Method* |
How the vNIC1 interface gets its IPv4 address. |
|||||
vNIC1 IPv4 Address |
IPv4 address of the vNIC1 interface. |
|||||
vNIC1 IPv4 Netmask |
IPv4 netmask of the vNIC1 interface in dotted quad format. |
|||||
vNIC1 IPv4 Skip Gateway |
Skip configuring a gateway? |
|||||
vNIC1 IPv4 Gateway |
IPv4 address of the vNIC1 gateway. |
|||||
1vNIC1 IPv6 Address |
||||||
vNIC1 IPv6 Method* |
How the vNIC1 interface gets its IPv6 address. |
|||||
vNIC1 IPv6 Address |
IPv6 address of the vNIC1 interface. |
|||||
vNIC1 IPv6 Netmask |
IPv6 netmask of the vNIC1 interface in dotted quad format. |
|||||
vNIC1 IPv6 Skip Gateway |
Skip configuring a gateway? |
|||||
vNIC1 IPv6 Gateway |
IPv6 address of the vNIC1 gateway. |
|||||
DNS Servers |
||||||
DNS Address* |
Space-delimited list of IPv4/IPv6 addresses of the DNS server accessible from the management interface. |
|||||
DNS Search Domain* |
DNS search domain |
|||||
DNS Security Extensions |
Use DNS security extensions? |
|||||
DNS over TLS |
Use DNS over TLS? |
|||||
Multicast DNS |
Use multicast DNS? |
|||||
Link-Local Multicast Name Resolution |
Use link-local multicast name resolution? |
|||||
NTPv4 Servers |
||||||
NTPv4 Servers* |
Space-delimited list of IPv4/IPv6 addresses or hostnames of the NTPv4 servers accessible from the management interface. |
You must enter a value here, such as pool.ntp.org. NTP server is critical for time synchronization between Crosswork Data Gateway VM, Crosswork, and devices. Using a non-functional or dummy address may cause issues when Cisco Crosswork and Crosswork Data Gateway try to communicate with each other. If you are not using an NTP server, ensure that time gap between Crosswork Data Gateway and Crosswork is not more than 10 minutes. Else, Crosswork Data Gateway will fail to connect. |
||||
Use NTPv4 Authentication |
Use NTPv4 authentication? |
|||||
NTPv4 Keys |
Space delimited Key IDs to map to server list. |
|||||
NTPv4 Key File URI |
SCP URI to the chrony key file. |
|||||
NTPv4 Key File Passphrase |
Password of SCP URI to the chrony key file. |
|||||
Remote Syslog Server |
||||||
Use Remote Syslog Server? | Send syslog messages to a remote host? |
If you want to use an external syslog server, you must specify these seven settings.
|
||||
Syslog Server Address |
IPv4 or IPv6 address of a syslog server accessible from the management interface.
|
|||||
Syslog Server Port |
Port number of the syslog server. |
|||||
Syslog Server Protocol |
Use UDP, TCP, or RELP when sending syslog. |
|||||
Use Syslog over TLS? |
Use TLS to encrypt syslog traffic. |
|||||
Syslog TLS Peer Name |
Syslog server's hostname exactly as entered in the server certificate SubjectAltName or subject common name. |
|||||
Syslog Root Certificate File URI |
PEM formatted root cert of syslog server retrieved using SCP. |
|||||
Syslog Certificate File Passphrase |
Password of SCP user to retrieve Syslog certificate chain. |
|||||
Remote Auditd Server |
||||||
Use Remote Auditd Server? |
Send Auditd message to a remote host? |
If you want to use an external Auditd server, you must specify these three settings. |
||||
Auditd Server Address |
Hostname, IPv4, or IPv6 address of an optional Auditd server |
|||||
Auditd Server Port |
Port number of an optional Auditd server. |
|||||
Controller Settings |
||||||
Crosswork Controller IP* |
The Virtual IP address of Cisco Crosswork Cluster.
|
|||||
Crosswork Controller Port* |
Port of the Cisco Crosswork controller. |
|||||
Controller Signing Certificate File URI** |
PEM formatted root cert of Cisco Crosswork to validate signing certs retrived using SCP. PEM file is generated by Cisco Crosswork and is available at the following location:
|
The Controller Signing Certificate File is required for the Crosswork Data Gateway to become functional. The certificate file is automatically imported once Crosswork Data Gateway boots up for the first time if you specify these parameters during the installation. If you do not specify these parameters during installation, then you must import the certificate file manually by following the procedure Import Controller Signing Certificate File. |
||||
Controller SSL/TLS Certificate File URI |
Cisco Crosswork Controller PEM formatted SSL/TLS certificate file retrieved using SCP. |
|||||
Controller Certificate File Passphrase** |
Password of SCP user (cw-admin) to retrieve Cisco Crosswork certificate chain. |
This is required if you are providing a controller signing certificate file URI. |
||||
Proxy Server URL |
URL of management network proxy server. |
If you want to use a proxy server, you must specify these parameters. |
||||
Proxy Server Bypass List |
Space-delimited list of subnets and domains that will not be sent to the proxy server. |
|||||
Authenticated Proxy Username |
Username for authenticated proxy servers. |
|||||
Authenticated Proxy Passphrase |
Passphrase for authenticated proxy servers. |
|||||
HTTPS Proxy SSL/TLS Certificate File URI |
HTTPS proxy PEM formatted SSL/TLS certificate file retrieved using SCP. |
|||||
HTTPS Proxy SSL/TLS Certificate File Passphrase |
Password of SCP user to retrieve proxy certificate chain. |
1Either an IPv4 or IPv6 address must be specified for the interface(s) you choose to use. Selecting None for both will result in a non-functional deployment.
Note |
If you are not using the default SCP port 22, you can specify the port as a part of the SCP command. For example,
where 55 is a custom port. |
Install Cisco Crosswork Data Gateway Using vCenter vSphere Client
Note |
The example images shown are only of Cisco Crosswork Data Gateway On-Premise Standard deployment. |
Procedure
Step 1 |
Download the Cisco Crosswork Data Gateway 2.0 image file from cisco.com (*.ova).
|
||
Step 2 |
Connect to vCenter vSphere Client. Then select Actions > Deploy OVF Template |
||
Step 3 |
The VMware Deploy OVF Template wizard appears and highlights the first step, 1 Select template. |
||
Step 4 |
Click Next to go to 2 Select name and location, as shown in the following figure. |
||
Step 5 |
Click Next to go to 3 Select a resource. Choose the VM’s host. |
||
Step 6 |
Click Next. The VMware vCenter Server validates the OVA. Network speed will determine how long validation takes. When the validation is complete, the wizard moves to 4 Review details. Review the OVA’s information and then click Next. Take a moment to review the OVF template you are deploying.
|
||
Step 7 |
Click Next to go to 5 accept license agreements. Review the End User License Agreement and click Accept. |
||
Step 8 |
Click Next to go to 6 Select configuration, as shown in the following figure. Select the type of configuration you want i.e., either Crosswork On-Premise Standard or Crosswork On-Premise Extended.
|
||
Step 9 |
Click Next to go to 7 Select storage, as shown in the following figure.
|
||
Step 10 |
Click Next to go to 8 Select networks, as shown in the following figure. In the dropdown table at the top of the page, choose the appropriate destination network for each source network, vNIC2, vNIC1, and vNIC0 respectively.
|
||
Step 11 |
Click Next to go to 9 Customize template, with the Host Information Settings already expanded. Enter the information for the parameters as explained in Table Table 1. |
||
Step 12 |
Click Next to go to 10 Ready to complete. Review your settings and then click Finish if you are ready to begin deployment. |
||
Step 13 |
Wait for the deployment to finish before continuing. To check the deployment status:
Wait for the deployment status to become 100%. You can now proceed to power on the VM. |
||
Step 14 |
Once the deployment status is 100%, power on the VM to complete the deployment process. Expand the host’s entry so you can click the VM and then choose Actions > Power > Power On, as shown in the following figure: Wait for at least 5 minutes for the VM to come up and then login via vCenter or SSH as explained below.
|
What to do next
Login to Cisco Crosswork Data Gateway VM Via vCenter:
-
Locate the VM in vCenter and then right click and select Open Console.
-
Enter username (
dg-admin
ordg-oper
as per the role assigned to you) and the corresponding password (the one that you created during installation process) and press Enter.
After you login, the Crossway Data Gateway should present you with the welcome screen and options menu indicating that the installation completed successfully. Log out and proceed with the post-installation tasks explained in the next section.
Install Cisco Crosswork Data Gateway Via OVF Tool
You can modify mandatory/optional parameters in the command/script as per your requirement and run the OVF Tool. Refer Table Table 1.
Below is a sample if you plan to run the OVF tool with a script:
#!/usr/bin/env bash
# robot.ova path
ROBOT_OVA_PATH="https://engci-maven.cisco.com/artifactory/cdg-group/build/2.0.0_dg200_7_2021-03-31_18-00-00/image/cw-na-dg-2.0.0-7-TESTONLY-20210331.ova"
VM_NAME="dg-32"
DM="thin"
Deployment="onpremise-standard"
ActiveVnics="3"
Hostname="dg-32.cisco.com"
Vnic0IPv4Address="172.23.213.32"
Vnic0IPv4Gateway="172.23.213.1"
Vnic0IPv4Netmask="255.255.255.0"
Vnic0IPv4Method="Static"
Vnic1IPv4Address="32.32.32.32"
Vnic1IPv4Gateway="32.32.32.1"
Vnic1IPv4Netmask="255.255.255.0"
Vnic1IPv4Method="Static"
DNS="171.70.168.183"
NTP="ntp.esl.cisco.com"
Domain="cisco.com"
ControllerIP="172.23.213.10"
ControllerPort="30607"
ControllerSignCertChain="cw-admin@172.23.213.10:/home/cw-admin/controller.pem"
ControllerCertChainPwd="Cwork123!"
Description="Description for Cisco Crosswork Data Gateway for 32"
Label="Label for Cisco Crosswork Data Gateway dg-32"
dg_adminPassword="cisco123"
dg_operPassword="cisco123"
ProxyUsername="cisco"
ProxyPassphrase="cisco123"
SyslogAddress="127.0.0.1"
SyslogPort=514
SyslogProtocol="UDP"
SyslogTLS=False
SyslogPeerName="combo-46.cisco.com"
SyslogCertChain="root@172.23.213.46:/root/stproxy/proxycert/CA.pem"
SyslogCertChainPwd="cisco123"
# Please replace this information according to your vcenter setup
VCENTER_LOGIN="administrator%40vsphere.local:Vtsisco%40123%21@172.23.213.21"
VCENTER_PATH="DC1/host/172.23.213.8"
DS="datastore1 (5)"
ovftool --acceptAllEulas --X:injectOvfEnv --skipManifestCheck --overwrite --noSSLVerify --powerOffTarget --powerOn \
--allowExtraConfig --extraConfig:firmware=efi --extraConfig:uefi.secureBoot.enabled=true \
--datastore="$DS" --diskMode="$DM" \
--name=$VM_NAME \
--net:"vNIC0=VM Network" \
--net:"vNIC1=DPortGroupVC-2" \
--net:"vNIC2=DPortGroupVC-1" \
--deploymentOption=$Deployment \
--prop:"ControllerIP=$ControllerIP" \
--prop:"ControllerPort=$ControllerPort" \
--prop:"ControllerSignCertChain=$ControllerSignCertChain" \
--prop:"ControllerCertChainPwd=$ControllerCertChainPwd" \
--prop:"Hostname=$Hostname" \
--prop:"Description=$Description" \
--prop:"Label=$Label" \
--prop:"ActiveVnics=$ActiveVnics" \
--prop:"Vnic0IPv4Address=$Vnic0IPv4Address" \
--prop:"Vnic0IPv4Gateway=$Vnic0IPv4Gateway" \
--prop:"Vnic0IPv4Netmask=$Vnic0IPv4Netmask" \
--prop:"Vnic0IPv4Method=$Vnic0IPv4Method" \
--prop:"Vnic1IPv4Address=$Vnic1IPv4Address" \
--prop:"Vnic1IPv4Gateway=$Vnic1IPv4Gateway" \
--prop:"Vnic1IPv4Netmask=$Vnic1IPv4Netmask" \
--prop:"Vnic1IPv4Method=$Vnic1IPv4Method" \
--prop:"DNS=$DNS" \
--prop:"NTP=$NTP" \
--prop:"dg-adminPassword=$dg_adminPassword" \
--prop:"dg-operPassword=$dg_operPassword" \
--prop:"Domain=$Domain" $ROBOT_OVA_PATH "vi://$VCENTER_LOGIN/$VCENTER_PATH"
Procedure
Step 1 |
Open a command prompt. |
Step 2 |
Navigate to the location where you installed the OVF Tool. |
Step 3 |
Run the OVF Tool in one of the following ways: |
Once the VM powers up, log into the VM. See Login into Crosswork Data Gateway VM. After you login, the Crossway Data Gateway should present you with the welcome screen and options menu indicating that the installation completed successfully. Log out and proceed with the post-installation tasks explained in the next section.
Install Cisco Crosswork Data Gateway on Cisco CSP
Follow the steps to install Cisco Crosswork Data Gateway on Cisco CSP:
Procedure
Step 1 |
Download the Cisco Crosswork Data Gateway |
Step 2 |
(optional) Verify the Cisco Crosswork Data Gateway |
Step 3 |
Prepare Cisco Crosswork Data Gateway Service Image for upload to Cisco CSP: |
Step 4 |
Upload Cisco Crosswork Data Gateway Service Image to Cisco CSP: |
Step 5 |
Create Crosswork Data Gateway VM: |
Step 6 |
Deploy Cisco Crosswork Data Gateway service: |