Cisco Crosswork Planning 7.2.x Installation Guide

PDF

Cisco Crosswork Planning 7.2.x Installation Guide

Install Cisco Crosswork Planning using the OVF tool

Want to summarize with AI?

Log in

Explains how to deploy Cisco Crosswork Planning using the OVF tool.


This topic explains how to deploy Cisco Crosswork Planning on a single VM using the OVF tool. You must modify the mandatory and optional parameters in the deployment script to match your requirements, and then run the OVF tool.

Note

The file names mentioned in this topic are sample names and may differ from the actual file names on the Software Download page.

Before you begin

  • Ensure you are using the OVF tool version 4.4 or higher.

  • In your vCenter data center, perform these steps:

    1. Go to Host > Configure > Networking > Virtual Switches.

    2. In the selected virtual switch, select Edit > Security.

    3. Set Promiscuous mode as Reject

    4. Set MAC address changes as Reject

    5. Confirm the settings. Repeat the process for each virtual switch used by Cisco Crosswork Planning.

Procedure

  1. On the machine where you have the OVF tool installed, use this command to confirm that you have OVF tool version 4.4.

    ovftool --version
  2. Create a script file for your target environment. For the purpose of these instructions, we use the file name as cp_install.sh. For a sample script file, refer to Sample script. Enter relevant information, such as IP addresses, gateway, netmask, password, VCENTER_PATH, and so on.

    Sample script is a sample script for deploying an XLarge VM profile. To deploy a Large VM profile, replace the XLarge values with corresponding values for the Large profile.

    • XLarge profile:

      --numberOfCpus:"*"=24 --viCpuResource=:32000: \
      --memorySize:"*"=262144 --viMemoryResource=:262144: \
    • Large profile:
      --numberOfCpus:"*"=16 --viCpuResource=:24000: \
      --memorySize:"*"=128000 --viMemoryResource=:128000: \
  3. Download the OVA from the Software Download page.

  4. Copy the OVA file to your installation directory. For the purpose of these instructions, we use the file name as crosswork-planning-single-node-deployment-7.2.0-45 (for 7.2.0) or crosswork-planning-single-node-deployment-7.2.1 (for 7.2.1-SP).

    Ensure that your current installation directory contains the OVA file and the script file you created.

    • For 7.2.0:

      cp# ls -al
      -rw-r--r--   1 root root 15416145920 Mar 28 11:12 crosswork-planning-single-node-deployment-7.2.0-45.ova
      -rwxr-xr-x   1 root root        2324 Apr  2 14:06 cp_install.sh
                          
    • For 7.2.1-SP:

      cp# ls -al
      -rw-r--r--   1 root root 15416145920 Mar 28 11:12 crosswork-planning-single-node-deployment-7.2.1.ova
      -rwxr-xr-x   1 root root        2324 Apr  2 14:06 cp_install.sh
                          
  5. Use this command to make the scripts executable.

    chmod +x {filename}

    For example:

    chmod +x cp_install.sh
  6. Execute the script with the OVA file name as parameter.

    • For 7.2.0:

      cp# ./cp_install.sh crosswork-planning-single-node-deployment-7.2.0-45.ova
      VMware ovftool 4.4.0 (build-16360108)
      Opening OVA source: crosswork-planning-single-node-deployment-7.2.0-45.ova
      <Removed some output >
      Completed successfully
    • For 7.2.1-SP:

      cp# ./cp_install.sh crosswork-planning-single-node-deployment-7.2.1.ova
      VMware ovftool 4.4.0 (build-16360108)
      Opening OVA source: crosswork-planning-single-node-deployment-7.2.1.ova
      <Removed some output >
      Completed successfully

    VM creation time may vary depending on the size of your deployment profile and your hardware performance characteristics.

The Cisco Crosswork Planning is deployed.


Sample script

This section provides a sample script for deploying Cisco Crosswork Planning (XLarge VM profile).

cat cp_install.sh
#!/usr/bin/env bash
Host="X.X.X.X"
DM="thick"
DS="DS36"
Deployment="cw_ipv4"
DNSv4="10.10.0.99"
NTP="<NTP-Server>"
Timezone="US/Pacific"
EnforcePodReservations="True"
EnableSkipAutoInstallFeature="True"
Domain="cisco.com"
Disclaimer="ACCESS IS MONITORED"
VM_NAME="cp"
DataNetwork="DataNet"
ManagementNetwork="MgmtNet"
DataIPv4Address="x.x.x.x"
DataIPv4Gateway="x.x.x.x"
DataIPv4Netmask="x.x.x.x"
ManagementIPv4Address="x.x.x.x"
ManagementIPv4Gateway="x.x.x.x"
ManagementIPv4Netmask="x.x.x.x"
K8sServiceNetworkV4="10.75.0.0"
K8sPodNetworkV4="10.225.0.0"
Password="CLI Password"
Username="cw-admin"
ManagementVIP="x.x.x.x"
DataVIP="x.x.x.x"
VMType="Hybrid"
IsSeed="True"
InitNodeCount="1"
InitMasterCount="1"
 
CP_OVA_PATH=$1
 
VCENTER_LOGIN="Administrator%40vsphere%2Elocal:Password%40123%21@x.x.x.x"
VCENTER_PATH="DC1/host"
 
ovftool --version
ovftool --acceptAllEulas --skipManifestCheck --X:injectOvfEnv -ds=$DS \
--numberOfCpus:"*"=24 --viCpuResource=:32000: \
--memorySize:"*"=262144 --viMemoryResource=:262144: \
--diskMode=$DM --overwrite --powerOffTarget --powerOn --noSSLVerify \
--allowExtraConfig \
--deploymentOption=$Deployment \
--prop:"DNSv4=${DNSv4}" \
--prop:"NTP=${NTP}" \
--prop:"Timezone=${Timezone}" \
--prop:"EnforcePodReservations=${EnforcePodReservations}" \
--prop:"EnableSkipAutoInstallFeature=${EnableSkipAutoInstallFeature}" \
--prop:"Domain=${Domain}" \
--prop:"Disclaimer=${Disclaimer}" \
--name=$VM_NAME \
--net:"Data Network=${DataNetwork}" \
--net:"Management Network=${ManagementNetwork}" \
--prop:"DataIPv4Address=${DataIPv4Address}" \
--prop:"DataIPv4Gateway=${DataIPv4Gateway}" \
--prop:"DataIPv4Netmask=${DataIPv4Netmask}" \
--prop:"ManagementIPv4Address=${ManagementIPv4Address}" \
--prop:"ManagementIPv4Gateway=${ManagementIPv4Gateway}" \
--prop:"ManagementIPv4Netmask=${ManagementIPv4Netmask}" \
--prop:"K8sServiceNetworkV4=${K8sServiceNetworkV4}" \
--prop:"K8sPodNetworkV4=${K8sPodNetworkV4}" \
--prop:"CWPassword=${Password}" \
--prop:"CWUsername=${Username}" \
--prop:"ManagementVIP=${ManagementVIP}" \
--prop:"DataVIP=${DataVIP}" \
--prop:"VMType=${VMType}" \
--prop:"IsSeed=${IsSeed}" \
--prop:"InitNodeCount=${InitNodeCount}" \
--prop:"InitMasterCount=${InitMasterCount}" \
$CP_OVA_PATH \
vi://$VCENTER_LOGIN/$VCENTER_PATH/$Host