Configuring blueprints for Microsoft Hyper-V environments using a Cisco N1KV switch
BMC Network Automation supports the integration of Cisco Nexus 1000V switch and Microsoft Service Center Virtual Machine Manager (SCVMM).
Before you begin
Ensure that you have the following products installed with BMC CloudLifecycle Management:
- BMC Server Automation 8.6.01
- BMC Network Automation 8.6.00.001
To configure blueprints and templates using a Cisco N1K switch
Create the pod in BMC Network Automation by using the following content:
Edit the BNA template in BMC Network Automation by using the following content:
The template creates the following components. In the following examples, container-name = myContainer-HyperV and container.vlan[AccessA] = 551:
Component Substitution parameter Example logical-network ${container.name}-Vlan${container.vlans[AccessA]} myContainer-HyperV-Vlan551 network-segment-pool ${container.name}-Vlan${container.vlans[AccessA]}-NetSegmentPool myContainer-HyperV-Vlan551-NetSegmentPool ip-pool-template ${container.name}-Vlan${container.vlans[AccessA]}-IpPool myContainer-HyperV-Vlan551-IpPool network-segment ${container.name}-Vlan${container.vlans[AccessA]}-NetSegment myContainer-Vlan551-NetSegment port-profile ${container.name}-Vlan${container.vlans[AccessA]}-PortProfile myContainer-HyperV-Vlan551-PortProfile Create the container in BMC Clod Lifecycle Management by using the following content:
To view the logical network created during container provisioning on SCVMM
Refresh the virtual switch extension manager for the N1KV switch to see the logical network on SCVMM by performing the following steps:
- RDC to the SCVMM server.
- Connect the SCVMM Console to localhost:8100.
- Click Fabric or Ctrl-Fon the lower left navigation pane.
- On the upper left navigation pane, go to Networking > Switch Extension Managers, click the host name specified for the Nexus1000V switch, and then click Refresh on the ribbon or right-click and select Refresh on the context menu.
- Go to Networking > Logical Networks and verify that myContainer-HyperV-Vlan551, the logical network created during container provisioning is displayed.
To create a VM network from SCVMM
- Click VMs and Services or Ctrl-M on the lower left navigation pane.
- Click Create VM Network on the ribbon.
- On the Jobs wizard that pops up, perform the following actions:
- Specify a name for the VM network, for example, myContainer-HyperV.
- Select the logical-network that was created during container creation, for example, myContainer-HyperV-Vlan551
- Click Next.
- Set Isolation to Specify an externally supplied VM Network.
By default, External VM network is set to myContainer-HyperV-Vlan551-NetSegment and is the only option. - Click Next, and then click Finish.
Close the popup window and verify that the VM network is displayed on the list.
Sample Powershell script to create VM network$logicalNetwork = Get-SCLogicalNetwork -Name "myContainer-HyperV-Vlan551" -ID "5e099863-09b8-489c-b9d4-d5d2ecfcec2c" New-SCVMNetwork -Name "myContainer-HyperV" -ExternalName "myContainer-HyperV-Vlan551-NetSegment" -LogicalNetwork $logicalNetwork
- Set Isolation to Specify an externally supplied VM Network.
Related topics
Creating network pod blueprints
Creating network container blueprints
Onboarding Microsoft Hyper-V resources
Comments
Log in or register to comment.