Connecting Cisco UCS Manager to VMware vCenter
This chapter includes the following sections:
- Connecting Using the Extension Key
- (Optional) Modifying the vCenter Extension Key
- Exporting a vCenter Extension File from Cisco UCS Manager
- Registering a vCenter Extension File in VMware vCenter
- (Optional) Configuring a Certificate for VM-FEX
Connecting Using the Extension Key
(Optional) Modifying the vCenter Extension Key
You can modify the vCenter extension key to be more meaningful than the default ID string. This provides better system identification.
What to Do Next
Export the vCenter extension file or files from Cisco UCS Manager.
Exporting a vCenter Extension File from Cisco UCS Manager
Depending on the version of VMware vCenter you are using, you can either generate one extension file or a set of nine extension files.
What to Do Next
Register the vCenter extension file or files in VMware vCenter.
Registering a vCenter Extension File in VMware vCenter
In VMware vCenter, the vCenter extension files are called plug-ins.
Export the vCenter extension file(s) from Cisco UCS Manager. Ensure that the exported vCenter extension files are saved to a location that can be reached by VMware vCenter.
Step 1 | In VMware vCenter, choose . |
Step 2 | Right-click any empty space below the Available Plug-ins section of the Plug-in Manager dialog box and click New Plug-in. |
Step 3 | Click Browse and navigate to the location where the vCenter extension file(s) are saved. |
Step 4 | Choose a vCenter extension file and click Open. |
Step 5 | Click Register Plug-in. |
Step 6 | If the Security Warning dialog box appears, click Ignore. |
Step 7 | Click OK.
The vCenter extension file registers as an available VMware vCenter plug-in. You do not need to install the plug-in; instead, leave it in the available state. If you are registering multiple vCenter extension files, repeat this procedure until all files are registered. |
(Optional) Configuring a Certificate for VM-FEX
(Optional) Creating a Certificate for VM-FEX for VMware
Command or Action | Purpose | |
---|---|---|
Step 1 | UCS-A# scope system |
Enters system mode. |
Step 2 | UCS-A /system # scope vm-mgmt |
Enters system VM management mode. |
Step 3 | UCS-A /system/vm-mgmt # scope vmware |
Enters system VM management VMware mode. |
Step 4 | UCS-A /system/vm-mgmt /vmware # scope cert-store |
Enters system VM management VMware certificate store mode. |
Step 5 | UCS-A /system/vm-mgmt /vmware/cert-store # create certificate certificate-name |
Creates the specified certificate for VM-FEX for VMware and enters system VM management VMware certificate store certificate mode. |
Step 6 | UCS-A /system/vm-mgmt /vmware/cert-store/certificate # set location {volatile | workspace} path path certfile file-name |
Specifies the location and filename of an existing certificate to use as the certificate for VM-FEX for VMware. |
Step 7 | UCS-A /system/vm-mgmt /vmware/cert-store/certificate # commit-buffer |
Commits the transaction to the system configuration. |
The following example shows how to create a certificate for VM-FEX for VMware and commit the transaction:
UCS-A# scope system UCS-A /system # scope vm-mgmt UCS-A /system/vm-mgmt # scope vmware UCS-A /system/vm-mgmt/vmware # scope cert-store UCS-A /system/vm-mgmt/vmware/cert-store # create certificate VnLinkCertificate UCS-A /system/vm-mgmt/vmware/cert-store/certificate* # set location workspace path /temp certfile certificate.txt UCS-A /system/vm-mgmt/vmware/cert-store/certificate* # commit-buffer UCS-A /system/vm-mgmt/vmware/cert-store/certificate #
(Optional) Copying a Certificate to the Fabric Interconnect
Command or Action | Purpose | |
---|---|---|
Step 1 | UCS-A# connect local-mgmt |
Enters local management mode. |
Step 2 | UCS-A(local-mgmt)# copy from-filesystem: from-path filename to-filesystem: to-path filename |
Copies the certificate from its source location to its destination location. For the from-filesystem: argument, use one of the following syntax:
For the to-filesystem: argument, use one of the following syntax: |
The following shows how to use FTP to copy a certificate (certificate.txt) to the temp folder in the workspace:
UCS-A # connect local-mgmt Cisco UCS 6100 Series Fabric Interconnect TAC support: http://www.cisco.com/tac Copyright (c) 2009, Cisco Systems, Inc. All rights reserved. The copyrights to certain works contained herein are owned by other third parties and are used and distributed under license. Some parts of this software may be covered under the GNU Public License or the GNU Lesser General Public License. A copy of each such license is available at http://www.gnu.org/licenses/gpl.html and http://www.gnu.org/licenses/lgpl.html UCS-A(local-mgmt)# copy ftp://192.168.10.10/certs/certificate.txt workspace:/temp/certificate.txt UCS-A(local-mgmt)#
Create a certificate for VM-FEX.
(Optional) Deleting a Certificate for VM-FEX for VMware
Command or Action | Purpose | |
---|---|---|
Step 1 | UCS-A# scope system |
Enters system mode. |
Step 2 | UCS-A /system # scope vm-mgmt |
Enters system VM management mode. |
Step 3 | UCS-A /system/vm-mgmt # scope vmware |
Enters system VM management VMware mode. |
Step 4 | UCS-A /system/vm-mgmt /vmware # scope cert-store |
Enters system VM management VMware certificate store mode. |
Step 5 | UCS-A /system/vm-mgmt /vmware/cert-store # delete certificate certificate-name |
Deletes the specified certificate for VM-FEX for VMware. |
Step 6 | UCS-A /system/vm-mgmt /vmware/cert-store # commit-buffer |
Commits the transaction to the system configuration. |
The following example shows how to delete a certificate for VM-FEX for VMware and commit the transaction:
UCS-A# scope system UCS-A /system # scope vm-mgmt UCS-A /system/vm-mgmt # scope vmware UCS-A /system/vm-mgmt/vmware # scope cert-store UCS-A /system/vm-mgmt/vmware/cert-store # delete certificate VnLinkCertificate UCS-A /system/vm-mgmt/vmware/cert-store* # commit-buffer UCS-A /system/vm-mgmt/vmware/cert-store #