Starting the KVM Console

This chapter includes the following sections:

KVM Console

The KVM console is an interface accessible from the Cisco UCS Manager GUI or the KVM Launch Manager that emulates a direct KVM connection. Unlike the KVM dongle, which requires you to be physically connected to the server, the KVM console allows you to connect to the server from a remote location across the network.

You must ensure that either the server or the service profile associated with the server is configured with a CIMC IP address if you want to use the KVM console to access the server. The KVM console uses the CIMC IP address assigned to a server or a service profile to identify and connect with the correct server in a Cisco UCS domain.

Instead of using CD/DVD or floppy drives directly connected to the server, the KVM console uses virtual media, which are actual disk drives or disk image files that are mapped to virtual CD/DVD or floppy drives. You can map any of the following to virtual drives:

  • CD/DVD or floppy drives on your computer

  • Disk image files on your computer

  • CD/DVD or floppy drives on the network

  • Disk image files on the network


Note


When you launch the KVM console from the physical server, the system checks if the server is associated to a service profile. If the server is associated to a service profile with an associated management IP address, launches the KVM console using that management IP address. If no management IP address is associated in the service profile, then the system launches the KVM console using the physical server.


Recommendations for Using the KVM Console to Install a Server OS

To install an OS from a virtual CD/DVD or floppy drive, you must ensure that the virtual CD/DVD or floppy drive is set as the first boot device in the service profile.

Installing an OS using the KVM console may be slower than using the KVM dongle because the installation files must be downloaded across the network to the server. If you map a disk drive or disk image file from a network share to a virtual drive, the installation may be even slower because the installation files must be downloaded from the network to the KVM console (your computer) and then from the KVM console to the server. When using this installation method, we recommend that you have the installation media as close as possible to the system with the KVM console.

Virtual KVM Console

The KVM console is an interface accessible from CIMC that emulates a direct keyboard, video, and mouse (KVM) connection to the server. It allows you to connect to and control the server from a remote location and to map physical locations to virtual drives that can by accessed by the server during this KVM session.

Important:

The KVM console requires Java Runtime Environment (JRE) version 1.5.0 or higher.

KVM Console Tab

This tab provides command line access to the server. The menu options available in this tab are described below.

File Menu

Menu Item Description

Capture to File button

Opens the Save dialog box that allows you to save the current screen as a JPG image.

Paste Text From Clipboard button

Allows you to copy text from a clipboard to the server using the KVM console.

Paste Text From File button

Allows you to copy text from a remote file to the server using the KVM console.

Exit button

Closes the KVM console.

View Menu

Menu Item Description

Refresh button

Updates the console display with the server's current video output.

Fit button

Resizes the console window to the minimum size needed to display the video image from the server.

This option is only available if the console is in Windowed mode.

Video Scaling button

Sizes the video image so that the complete image fits within the console window.

Full Screen button

Expands the KVM console so that it fills the entire screen.

Mini Mode button

Displays a thumbnail view of the host server display and provides no input for the keyboard or mouse.

Macros Menu

Choose the keyboard shortcut you want to execute on the remote system.

Menu Item Description

Server Macros menu

Displays the server side macros downloaded from the Cisco IMC, if any. If no server side macros have been downloaded, then the menu item is disabled.

Static Macros menu

Displays a predefined set of macros.

User Defined Macros menu

Displays the user-defined macros that have been created.

Manage button

Opens the Configure User Defined Macros dialog box, which allows you to create and manage macros.

System-defined macros cannot be deleted.

Tools Menu

Menu Item Description

Session Options button, General tab

General tab in the Session Options dialog box allows you to specify whether all keystrokes are passed to the target system when the console is in Windowed mode. The default is no.

Session Options button, Mouse tab

The Mouse tab in the Session Options dialog box allows you to specify the following:

  • Termination Key—The key to use that will terminate single cursor mode. The default is F12.

  • Mouse Acceleration—Allows you to change the positioning of a USB mouse. The default is Absolute Positioning.
Note   

If you are experiencing mouse tracking issues between your system and the remote system, try changing the mouse acceleration mode.

If none of the modes solve the problem, you can use the Single Cursor tool to ignore the remote mouse in favor of the local mouse.

If that does not work, set this option to No Acceleration and then go into the operating system on the remote server and set mouse acceleration to None in the system settings.

Session Options button, Security tab

The Security tab in the Session Options dialog box allows you to specify the type of unsecured connections which will be accepted without user concurrence, and allows you to clear previously accepted connections.

Session Options button, Scaling tab

The Scaling tab in the Session Options dialog box allows you to specify whether the aspect ratio maintenance will be in effect when the console is in windowed mode or in full screen mode. The default is Windowed Mode.

Session Options button, Mini-Mode tab

The Mini-Mode tab in the Session Options dialog box allows you to specify the size of the KVM/vMedia client when in Mini-Mode.

Session Options button, Certificate tab

The Certificate tab in the Session Options dialog box displays the details of the certificate being used in the current session and allows you to set the name and path of the exported certificate file.

Single Cursor button

Turns on the single cursor feature, which offsets mouse alignment issues encountered on some remote operating systems. When you turn this feature on, the mouse pointer is trapped within the viewer window.

To turn the feature off, press the termination key specified in the Session Options dialog box. The default is F12.

Stats button

Opens the Stats dialog box, which displays the following:

  • The statistics of the KVM session

  • Frame rate measured in the number of frames per second

  • Bandwidth measured in the number of KBs per second

  • Compression measured in the percentage of compression being used

  • Packet rate measured in number of packets per second

When vMedia is activated, the Stats dialog box displays the following:

  • Transfer rate of vMedia measured in data transported per second.

  • The type of local device or image file to which the host server device is mapped.

  • The elapsed time of the device to map.

  • The number of bytes sent or received by the server.

  • The USB Reset button to reset all the USB devices connected to the server.

Session User List button

Opens the Session User List dialog box that shows all the user IDs that have an active KVM session.

Chat button

Communicates with other Virtual Console users through a chatting interface available within the Virtual Console viewer. Chat is not supported for all Cisco UCS servers.

Note   

The chat window cannot be minimized and the chat history is not stored once the window is closed. You can chat even if the server is powered off.

Virtual Media Menu

Name Description

Create Image

Opens the Create Image from Folder dialog box that allows you to create an image of the folder you want to map on the server to the local folder that you want to map on the server.

After the system has created the image, it saves the IMG file on your system.

Activate Virtual Devices

Activates a vMedia session that allows you to attach a drive or image file from your local computer or network.

Note   

If you have not allowed unsecured connections, you will be prompted to accept the session. If you reject the session, the virtual media session is terminated.

Map CD/DVD

Choose the CD/DVD that you want to access, and click the Map Device button to map it to the host server device.

Note   

If the Read Only checkbox is checked, the server cannot write to the vMedia device even if the device has write capability.

Map Removable Disk

Choose the removable disk that you want to access, and click the Map Device button to map it to the host server device.

Note   

If the Read Only checkbox is checked, the server cannot write to the vMedia device even if the device has write capability.

Map Floppy

Choose the floppy that you want to access, and click the Map Device button to map it to the host server device.

Note   

If the Read Only checkbox is checked, the server cannot write to the vMedia device even if the device has write capability.

KVM Direct Access

KVM direct access allows the administrators that manage the blade and rack servers in your Cisco UCS Manager domain access the KVM for their servers directly using a web browser. This feature allows you to restrict access to the IP addresses of the fabric interconnects, while still allowing your administrators to access the KVM console for the servers they manage.


Note


Only out-of-band IPv4 management interface addresses are supported for KVM direct access.


KVM direct access also supports custom applications from which users can navigate to a server management IP address without using the Cisco UCS Manager GUI interface or the KVM Launch Manager.

KVM direct access is supported by providing a management IP address assigned directly to the server or associated to the server with a service profile, to the server's administrator. The server administrator enters the IP address in a browser, and navigates to the Cisco UCS KVM Direct log in page. In the log in page, the user enters their user name and password, and chooses an authentication domain. When they launch Cisco UCS KVM Direct, the console for the server is displayed, the same way it would if they had accessed the server from the Cisco UCS Manager GUI.

KVM direct access employs self-signed certificates for authentication. When users access a server management IP address or service profile IP address for the first time, a dialog box will be displayed to alert them that they need to add a certificate exception to their browser's cache.

The default communications service that supports Cisco UCS KVM direct access is HTTPS. This cannot be disabled. When a user enters a management IP in a browser using HTTP as part of the address, they will be automatically redirected to the HTTPS service.

To accommodate KVM direct access, be sure that the CIMC Web Service communication service in Cisco UCS Manager is enabled.


Note


The CIMC Web Service is enabled by default in Cisco UCS Manager.


Starting the KVM Console from a Server

You can start multiple KVM Console sessions using the addresses assigned to the server.

Procedure
    Step 1   In the Navigation pane, click Equipment.
    Step 2   Expand Equipment > Chassis > Chassis Number > Servers.
    Step 3   Choose the server that you want to access through the KVM Console.
    Step 4   In the Work pane, click the General tab.
    Step 5   In the Actions area, click the >> button to the right of KVM Console.

    The KVM Console opens in a separate window and displays a list of available out-of-band and inband addresses associated with the server.

    Note   

    If you click KVM Console and not the >> button, your session will be started using server addresses in the preferential order of inband IPv6 first, inband IPv4 second, and out-of-band IPv4 third.

    Step 6   Choose an address from the Select IP Address list. Addresses displayed as (Inband) access the server via the uplink ports and those displayed as (Outband) access the server via the management interface port.
    Step 7   Click OK.

    The KVM Console is launched using the address you selected.

    Tip   

    If the Caps Lock key on your keyboard is on when you open a KVM session, and you subsequently turn off your Caps Lock key, the KVM Console may continue to act as if Caps Lock is turned on. To synchronize the KVM Console and your keyboard, press Caps Lock once without the KVM Console in focus and then press Caps Lock again with the KVM Console in focus.

    Step 8   To start another KVM session for the same server, repeat steps 5 through 7.

    Another KVM session is started. You can start up to six sessions for a server, depending on the number of addresses that have been configured for it.


    Starting the KVM Console from a Service Profile

    Procedure
      Step 1   In the Navigation pane, click Servers.
      Step 2   Expand Servers > Service Profiles.
      Step 3   Expand the node for the organization which contains the service profile for which you want to launch the KVM console.

      If the system does not include multitenancy, expand the root node.

      Step 4   Choose the service profile for which you need KVM access to the associated server.
      Step 5   In the Work pane, click the General tab.
      Step 6   In the Actions area, click the >> button to the right of KVM Console.

      The KVM Console opens in a separate window and displays a list of available out-of-band and inband addresses associated with the server.

      Note   

      If you click KVM Console and not the>> button, your session will be started using server addresses in the preferential order of inband IPv6 first, inband IPv4 second, and out-of-band IPv4 third.

      Step 7   Choose an address from the Select IP Address list. Addresses displayed as (Inband) access the server via the uplink ports and those displayed as (Outband) access the server via the management interface port.
      Step 8   Click OK.

      The KVM Console is launched using the address you selected.

      Tip   

      If the Caps Lock key on your keyboard is on when you open a KVM session, and you subsequently turn off your Caps Lock key, the KVM Console may continue to act as if Caps Lock is turned on. To synchronize the KVM Console and your keyboard, press Caps Lock once without the KVM Console in focus and then press Caps Lock again with the KVM Console in focus.

      Step 9   To start another session for the same server, repeat steps 6 through 8.

      Another KVM session is started. You can start up to six sessions for a server, depending on the number of addresses that have been configured for it.


      Starting the KVM Console from the KVM Launch Manager

      The KVM Launch Manager enables you to access a server through the KVM console without logging in to Cisco UCS Manager.

      Before You Begin

      To access the KVM console for a server through the KVM Launch Manager, you need the following:

      • Cisco UCS username and password.

      • Name of the service profile associated with the server for which you want KVM access.

      Procedure
        Step 1   In your web browser, type or select the web link for Cisco UCS Manager GUI.

        Example:

        The default web link for HTTP access is http://UCSManager_IP for an IPv4 address, or http://UCSManager_IP6 for an IPv6 address. The default web link for HTTPS access is https://UCSManager_IP for an IPv4 address, or https://UCSManager_IP6 for an IPv6 address. In a standalone configuration, UCSManager_IP or UCSManager_IP6 are the IPv4 or IPv6 addresses, respectively, for the management port on the fabric interconnect. In a cluster configuration, UCSManager_IP or UCSManager_IP6 are the IPv4 or IPv6 addresses, respectively, assigned to Cisco UCS Manager.

        Step 2   On the Cisco UCS Manager launch page, click Launch KVM Manager.
        Step 3   If a Security Alert dialog box appears, click Yes to accept the security certificate and continue.
        Step 4   On the UCS - KVM Launch Manager Login page, do the following:
        1. Enter your Cisco UCS username and password.
        2. Optional: If your Cisco UCS implementation includes multiple domains, select the appropriate domain from the Domain drop-down list.
        3. Click OK.
        Step 5   In the Service Profiles table of the KVM Launch Manager, do the following:
        1. Locate the row containing the service profile and associated server for which you need KVM access.
        2. In the Launch KVM column for that server, click Launch.

          The KVM console opens in a separate window.

          Tip   

          If the Caps Lock key on your keyboard is on when you open a KVM session, and you subsequently turn off your Caps Lock key, the KVM Console may continue to act as if Caps Lock is turned on. To synchronize the KVM Console and your keyboard, press Caps Lock once without the KVM Console in focus and then press Caps Lock again with the KVM Console in focus.


        Starting the KVM Console from the Cisco UCS KVM Direct Web Page

        The Cisco UCS KVM Direct login page enables you to access a server directly from a web browser without logging in to Cisco UCS Manager.

        Before You Begin

        To access the KVM console for a server using the Cisco UCS KVM Direct login page, you need the following:

        • A Cisco UCS username and password.

        • The server CIMC or service profile IPv4 management address for the server you want to access.

        Procedure
          Step 1   In your web browser, type or select the web link for the management IP address of the server you want to access.
          Step 2   If a Security Alert dialog box appears, click Yes to create a security exception. The security exception is permanently stored in your browser's cache.
          Step 3   In the Cisco UCSKVM Direct dialog box, specify the name, password, and domain.
          Step 4   Click Lauch KVM. The KVM console is launched.