Configuring UCS Components for VM-FEX
This chapter includes the following sections:
- Creating a Dynamic vNIC Connection Policy for VM-FEX for Hyper-V
- Creating a Service Profile for VM-FEX for Hyper-V
- Creating a Port Profile for VM-FEX for Hyper-V
- Creating a Cluster
- Creating a Profile Client for VM-FEX for Hyper-V
Creating a Dynamic vNIC Connection Policy for VM-FEX for Hyper-V
The vNICs created by this procedure become VFs when they are associated with an SR-IOV PF in a service profile. The maximum number of VFs that you can create depends on the number of adapters and the number of configured PFs and vHBAs, according to the following formula:
Number of dynamic vNICs = (116 * number of adapters) - number of PFs - number of vHBAs
For more information on dynamic vNIC connection policies, see Configuring Policies.
Creating a Service Profile for VM-FEX for Hyper-V
The service profile created by this procedure creates the SR-IOV PF and VF interfaces and configures the BIOS settings required for Hyper-V.
For more information on configuring service profiles, see the Cisco UCS Manager GUI Configuration Guide.
Step 1 | In the Navigation pane, click the Servers tab. | ||
Step 2 | On the Servers tab, expand . | ||
Step 3 |
Expand the node for the organization where you want to create the service profile. If the system does not include multitenancy, expand the root node. |
||
Step 4 | Right-click the organization and select Create Service Profile (expert). | ||
Step 5 | Complete the Identify Service Profile page and click Next. | ||
Step 6 | In the Networking page, make sure that the Dynamic vNIC Connection Policy drop-down list has no dynamic vNIC connection policy selected. | ||
Step 7 | Select Expert as the method for configuring LAN connectivity. | ||
Step 8 | Click Add on the icon bar of the first vNIC table to open the Create vNICs dialog box. | ||
Step 9 |
In the Create vNICs dialog box, create a vNIC for Fabric A. This vNIC will become an SR-IOV physical function (PF). |
||
Step 10 |
In the Adapter Performance Profile area, select SRIOV from the Adapter Policy list. The SRIOV adapter policy is predefined.
|
||
Step 11 | From the Dynamic vNIC Connection Profile list, select the dynamic vNIC connection policy that you created using the predefined Windows adapter policy. | ||
Step 12 |
Click OK. This vNIC will become a PF. |
||
Step 13 |
(Optional)Create another vNIC with no dynamic vNIC connection policy as a static vNIC for host management. For this vNIC, choose the Windows adapter policy or a custom adapter policy. |
||
Step 14 | Click Next and complete the remaining wizard pages up to the Operational Policies page. | ||
Step 15 |
In the Operational Policies page, expand the BIOS Configuration bar and select SRIOV from the BIOS Policy drop-down list. The predefined SRIOV BIOS policy configures the required BIOS settings for Hyper-V. |
||
Step 16 | Click Finish. |
Creating a Port Profile for VM-FEX for Hyper-V
For general information about port profiles and profile clients, see Configuring Port Profiles.
Step 1 | In the Navigation pane, click the VM tab. |
Step 2 | On the VM tab, expand the All node. |
Step 3 | Right-click the Port Profiles node and choose Create Port Profile. |
Step 4 |
In the Create Port Profile dialog box, configure a Name for the port profile. This name can be between 1 and 31 alphanumeric characters. You cannot use spaces or any special characters other than - (hyphen) and _ (underscore), and you cannot change this name after the object has been saved. |
Step 5 |
(Optional)Enter a Description for the port profile. Enter up to 256 characters. You can use any characters or spaces except ` (accent mark), \ (backslash), ^ (carat), " (double quote), = (equal sign), > (greater than), < (less than), or ' (single quote). |
Step 6 | In the VLANs area, configure a Native VLAN for the port profile. |
Step 7 |
Configure any other desired settings. Detailed information about port profile configuration can be found in Configuring Port Profiles. In many cases, the default settings are sufficient. |
Step 8 | Click OK. |
What to Do Next
Create a cluster and a profile client.
Creating a Cluster
We recommend that you create one or more dedicated clusters for Hyper-V instead of using the default cluster automatically created by Cisco UCS Manager.
Step 1 | In the Navigation pane, click the VM tab. | ||||||||
Step 2 | In the VM tab, expand the All node. | ||||||||
Step 3 |
Right-click the Clusters node and select Create Cluster. The Create Cluster dialog box opens. |
||||||||
Step 4 |
In the Create Cluster dialog box, complete the following fields:
|
||||||||
Step 5 | Click OK. |
Creating a Profile Client for VM-FEX for Hyper-V
In a Hyper-V system, the profile client determines the cluster to which the port profile is applied.
For more information about profile clients, see Port Profile Clients.
Step 1 | In the Navigation pane, click the VM tab. | ||
Step 2 | On the VM tab, expand . | ||
Step 3 | Right-click the port profile for which you want to create a profile client and choose Create Profile Client. | ||
Step 4 |
In the Create Profile Client dialog box, configure a Name for the profile client. This name can be between 1 and 16 alphanumeric characters. You cannot use spaces or any special characters other than - (hyphen) and _ (underscore), and you cannot change this name after the object has been saved. |
||
Step 5 |
(Optional)Enter a Description for the profile client. Enter up to 256 characters. You can use any characters or spaces except ` (accent mark), \ (backslash), ^ (carat), " (double quote), = (equal sign), > (greater than), < (less than), or ' (single quote). |
||
Step 6 |
In the Distributed Virtual Switch drop-down list, select the cluster you created for Hyper-V.
|
||
Step 7 |
Configure any other desired settings. Detailed information about profile client configuration can be found in Creating a Profile Client. In many cases, the default settings are sufficient. |
||
Step 8 |
Click OK. The port profile will appear under the cluster in the Navigation pane. |