- Prerequisites for a Virtual Services Container
- Information about Virtual Services Container
- How to Configure a Virtual Services Container
- Configuration Examples for Virtual Services Container Installation
- Upgrading a Virtual Services Container
- Additional References for the Virtual Services Container
Virtual Services Container
- Prerequisites for a Virtual Services Container
- Information about Virtual Services Container
- How to Configure a Virtual Services Container
- Configuration Examples for Virtual Services Container Installation
- Upgrading a Virtual Services Container
- Additional References for the Virtual Services Container
Prerequisites for a Virtual Services Container
-
A Cisco device installed with an operating system release that supports virtual services and has the needed system infrastructure required for specific applications like Cisco Plug-In for OpenFlow.
Note
Refer to the corresponding release notes for information about which operating system release supports the features and necessary infrastructure. -
Release notes for Cisco Catalyst 4500-X Series Switches
-
Release notes for Cisco Catalyst 4500-E Series Switches
-
-
An open virtual application (OVA) package that is compatible with the device operating system has been downloaded from an FTP server connected to the device. The OVA package is available for download in the same location as your system image (.bin) file.
-
Enough memory is available for the installation and deployment of the application. The container and its applications require 256 MB.
Information about Virtual Services Container
Virtual Services Containers and Applications
A virtual services container is a virtualized environment on a device. It is also referred to as a virtual machine (VM), virtual service, or container.
You can install an application within a virtual services container. The application runs in the virtual services container of the operating system of a device. The application is delivered as an open virtual application (OVA), which is a tar file with a .ova extension. The OVA package is installed and enabled on a device through the device CLI.
Cisco Plug-In for OpenFlow is an example of an application that can be deployed within a virtual services container.
Some of the files that can be found in an OVA file are the following:
-
Virtual machine definition file, in libvirt XML format, with Cisco extensions.
-
Manifest file, listing the contents of a distribution. It contains the hash information for each file in the OVA package.
-
Certificate file containing the signature of a manifest file. This file is used in validating the integrity of an OVA package.
-
Version file, used to check compatibility with the virtualization infrastructure.
How to Configure a Virtual Services Container
Installing and Activating an Application in a Virtual Services Container
This task copies an open virtual application (OVA) package from an FTP file location, installs the application in a virtual services container, provisions the application, and activates it.
1.
enable
2.
copy
from://source-directory-url
destination-directory-url
3.
virtual-service install name
virtual-services-name
package
file
5.
virtual-service
virtual-services-name
6.
activate
7.
end
8.
copy running-config startup-config
DETAILED STEPS
You can now begin using your application.
Verifying Installation of Virtual Services Container Applications
1.
show virtual-service [global]
2.
show virtual-service
detail
[name
virtual-services-name]
3.
show virtual-service
list
4.
show virtual-service
storage pool
list
5.
show virtual-service
storage volume list
6.
show virtual-service
version
name
virtual-services-name
installed
7.
show virtual-service tech-support
8.
show virtual-service redundancy state
9.
show virtual-service utilization name
virtual-services-name
10.
show virtual-service utilization statistics CPU
DETAILED STEPS
Deactivating and Uninstalling an Application from a Virtual Services Container
(Optional) Perform this task to uninstall and deactivate an application from within a virtual services container.
1.
enable
3.
virtual-service
virtual-services-name
4.
no activate
5.
no
virtual-service
virtual-services-name
6.
end
7.
virtual-service uninstall name
virtual-services-name
8.
copy running-config startup-config
DETAILED STEPS
Configuration Examples for Virtual Services Container Installation
Example: Cisco Plug-In for OpenFlow Virtual Services Container Installation
Switch# enable Switch# copy scp://myserver.com/downloads/ofa-2.0.0-r1-cat4500-SPA-k9.ova bootflash:/ofa-2.0.0-r1-cat4500-SPA-k9.ova Switch# virtual-service install name openflow_agent package bootflash:ofa-2.0.0-r1-cat4500-SPA-k9.ova Switch# configure terminal Switch(config)# virtual-service openflow_agent Switch(config-virt-serv)# activate Switch(config-virt-serv)# end Switch# copy running-config startup-config
Example: Verifying Cisco Plug-In for OpenFlow Virtual Services Container Installation
Switch# show virtual-service list
Virtual Service List:
Name Status Package Name
-----------------------------------------------------------------------
openflow_agent Installed ofa-2.0.0-r1-cat4500-SPA-k9.ova
Upgrading a Virtual Services Container
The virtual-service upgrade command is not supported. Follow the instructions in the previous sections to deactivate, uninstall, then install and activate the new OVA.
Additional References for the Virtual Services Container
Related Documents
Related Topic |
Document Title |
---|---|
Cisco commands |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support and Documentation website provides online resources to download documentation and tools. Use these resources to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. |