This workflow provisions ESXi Host booting from SAN and Integrates with vCenter Server and Nexus 1000v DVSwitch on Vblock 7XX Converged Stack.
Compatible UCS Director Versions:
UCS Director 5.0.x
Virtualization, Compute, Network and Storage
Cisco UCS Director
Cisco UCS Director Baremetal Agent
VCE Vblock 7XX
The Vblock 7XX Infrastructure components (VMware vCenter, Cisco UCSM, Cisco Nexus 5Ks, MDS Switches (If any), Cisco Nexus 1000v & EMC VMAX Storage Array) are added into UCS Director
UCS Director BMA is integrated into UCS Director
VMware ESXi Image (with N1Kv) from VCE is configured in BMA. For more information please refer 'Configure ESXi PXE Image'
Modify 'ks.cfg' file under /opt/cnsaroot/templates/<ESXi_Image_Name> folder to enable ESXi Install on SAN Boot LUN
Comment the below line with '#" # install --firstdisk --overwritevmfs
Uncomment the below line by removing '#"
install --firstdisk=remote --overwritevmfs
UCS Service Profile Template is created with 2 vNICs & 2 vHBAs, Boot Order is configured with FC Boot First and LAN Second, FC Target Ports are added into SAN Boot Policy and Boot LUN ID is set to '0'. vHBA-0 desired order set to '0' and vHBA-1 desired order set to '1'. Service Profile's Power State set to 'Off'.
UCS Service Profile Template vNICs (eth0 & eth1) are configured with BMA PXE VLAN and set it as Native VLAN.
Create 'Port Group to DV Port Group Mapping Policy' in UCS Director to Migrate ESXi default vSwitch0 to N1Kv DVSwitch during workflow execution.
Policies --> Virtual/Hypervisor Policies --> Network --> Port Group to DV Port Group Mapping Policy
Click on 'Add' --> Enter 'Policy Name' as 'Mgmt_DV_PortGroup_Mapping_Policy'
Add comments to 'Description' field (optional)
Select ‘Cloud Name’ from dropdown (vCenter Account)
Click on 'Next'
Click on “+” button to add the Mapping.
Enter ‘Port Group Name’ as ‘Management Network’
Select appropriate ‘DV Port Group Name’ from the drop down. (This port group should be for ESXi Management Network on DVSwitch)
Click on 'Submit' and Click on 'Submit'
(Optional) ESXi Cluster's Masking View is pre-created with Initiator Group, Port Group and Storage Group on VMAX for Shared VMFS Datastore access.
Workflow Tasks Included:
Create UCS Service Profile from Template
Select UCS Server
Setup PXE Boot with BMA Selection
Generic Configure SAN Zoning
Create VMAX Initiator Group
Create VMAX Port Group
Create VMAX Thin Devices
Bind Thin Devices to VMAX Thin Pool
Create VMAX Storage Group
Add Thin Devices to VMAX Thin Group
Create VMAX Masking View
Associate UCS Service Profile
Reset UCS Server
Monitor PXE Boot
Create VMAX Cascaded Initiator Group (Custom Task)
Reset UCS Server
Wait for Specified Duration
Register Host with vCenter
Create VMware Port Group
Add Hosts to DVSwitch
Migrate vSwitch VMkernel Port to DVSwitch (Custom Task)
Migrate Default vSwitch to DVSwitch by Mapping Policy
Add Virtual Adapter (vMotion Interface)
The below user inputs should be provided by user after executing the workflow.
User Input Description
Enter ESXi Hostname
Select ESXi Cluster to which it need to be added
Enter ESXi Management Network IP Address
Enter an IP Address or IP Pool range for VMotion interface
Enter IP Address or IP Address Pool Range for N1Kv L3 Control Access Interface.
Select UCS Server Blade to install VMware ESXi Hypervisor
The Admin Input values are pre-defined in the workflow by the admin user. Edit the Workflow properties, go to user inputs section and modify the below inputs appropriately.
User Input Description
Enter ESXi root user password
Enter VMware ESXi Management Network's Subnet Mask
Enter VMware ESXi Management Network's Gateway IP
Enter ESXi Management VLAN ID
Enter ESXi VMotion Subnet Mask
Enter DNS Server IP Address
Enter ESXi Host License Key
Select N1Kv DV Port Group for vMotion Interface
Select VMware vCenter Account
Enter VMware vCenter Datacenter Name (The Datacenter in which the ESXi Host is going to be added to ESXi Cluster)
Select N1Kv DV Switch Name
Select N1Kv L3 Control Access Port Group
Select N1Kv Management Uplink Port Group
Enter VLAN ID for N1Kv L3 Control Access Interface
Enter Subnet Mask for N1Kv L3 Control Access Network
Select N1Kv Management Portgroup Mapping Policy
Select UCS Organization
Select UCS Service Profile Template
Select SAN Fabric Switch A
Select SAN Fabric Switch B
Select VMAX FC Target Port for SAN Zoning on Fabric A
Select VMAX FC Target Port for SAN Zoning on Fabric B
Select SAN Boot Storage Controller
Select the Thin Pool for binding SAN Boot LUN
Select SAN Boot LUN Size (GB)
Enter SAN Boot LUN Host ID (Should match UCS Service Profile Template Boot Policy)
Select VMAX SAN FC Target Ports for SAN Boot
Select VMAX ESXi Cluster Parent Initiator Group (Note: This is an optional input , if ESXi Cluster Parent Initiator Group does'nt exist, uncheck the admin input)
Workflow Additional Configuration:
After configuring the admin inputs, open the workflow using workflow designer and modify the below "TASKS" with appropriate user inputs. (Note: In upcoming versions, the below inputs should be able to configured as admin input values)
Select UCS Server (Select UCS Server for ESXi Host): Open the Task ---> Click 'Next' ---> Click 'Next' ---> Click on 'Revalidate' button --> Select appropriate 'UCSM' account, Click 'Next' ---> Click 'Submit'
Setup PXE Boot with BMA Selection (Configure PXE Server for ESXi Install): Open the Task ---> Click 'Next' ---> Click 'Next' ---> Select BMA Account ---> Select configured ESXi OS Image in BMA and Set appropriate 'Timezone', Click 'Next' ---> Click 'Submit'
Generic Configure SAN Zoning (Configure SAN Zones on Fabric-A and Fabric-B): Click 'Next' ---> Click 'Next' ---> Click on 'Revalidate' button --> Under 'Fabric A', Storage Account Type should be set to 'EMC VMAX Solutions Enabler' and appropriate VMAX account is selected for Storage Account Name (Primary). Under 'Fabric B', Storage Account Type should be set to 'EMC VMAX Solutions Enabler' and appropriate VMAX account is selected for Storage Account Name (Primary), Click 'Next' ---> Click 'Submit'
Register Host with vCenter (Add ESXi Host to Cluster on vCenter): Open the Task ---> Click 'Next' ---> Click 'Next' ---> Select VMware vCenter Account Name, Click 'Next' ---> Click 'Submit'
Instructions for Use:
Download the attached .ZIP file below to your computer. *Remember the location of the saved file on your computer.
Unzip the file on your computer. Should end up with a .WFDX file.
Log in to UCS Director as a user that has "system-admin" privileges.
Navigate to "Policies-->Orchestration" and click on "Import".
Click "Browse" and navigate to the location on your computer where the .WFDX file resides. Choose the .WFDX file and click "Open".
Click "Upload" and then "OK" once the file upload is completed, Select 'Deploy_ESXi_Host_On_Vblock_7XX' and Then click "Next".
A new folder called 'Vblock-7XX-Validated' should appear in "Policies-->Orchestration" that contains the imported workflow. You will now need to update the included tasks with information specific to the environment. (See Above)
Hi everyone, I created a Workflow to upload a file using "File Upload" input. It works, and I have my uploaded file on my ucsdirector server, on the path: /opt/infra/uploads/myuser/tempfolder/file.ext Now, using ssh and scp, I ...
Dear Experts, I have a XML string which is result of one of the previous task. XML string looks like below.$o = "<?xml version='1.0'?><Objects><Object Type='System.Boolean'>True</Object></Objects>"and I am using Sel...
Dears,We need to install new RAMs with P.N: UCS-MR-1X162RUA for UCS P.N: B200-M4. Unfortunately the server and related RMAs are end of sale. Do we have a chance to install third party RMS like HP, DELL, Kingston, etc? Thanks in advance.
Dear Experts, I am using "provision blank VM" task to create a new VM and there is no option where i can select the boot mode. I have also checked the different available APIs but still could not figure out. has anyone experience with this or an...
Hi, I am planning on upgrading NXOS and epld for our N9508s that have dual supervisors. having never done one before so wondering if one of you could could help me with the steps. I have read many documents by now and online threads they all seems to...