VIRTUALIZATION Technical Bulletin DSView 3® Plug-in
Avocent, the Avocent logo, The Power of Being There, MergePoint Unity, DSView and Dambrackas Video Compression are trademarks or registered trademarks of Avocent Corporation or its affiliates in the U.S. and other countries. All other marks are the property of their respective owners. © 2011 Avocent Corporation. All rights reserved. Emerson, Emerson Network Power and the Emerson Network Power logo are trademarks or registered trademarks of Emerson Electric Co.
TA B LE OF C ON TE N TS DSView 3 Software Plug-in for Virtualization System Requirements 1 1 System Configuration 1 Adding a Hypervisor Manager or Server 2 Virtual Machines Management 4 Automatic Virtual Machine Manageability 5 Units View 5 Deleting virtual environment units 6 Access rights 6 Unit Tools 6 Virtual machine sessions 6 VI Client sessions (VMware only) 8 SSH sessions to hypervisor servers 8 Rebooting 9 Synchronizing the Virtual Environment and DSView 3 Software 9
DSView® 3 Plug-inVirtualization Installing the data logging client 24 DSView 3 Software Events 27 Troubleshooting and Tips 29 VMware viewer ports 29 Mozilla Firefox 29 Events 30 DSView 3 zones - virtualization restrictions 30
1 DSView 3 Software Plug-in for Virtualization The DSView® 3 management software plug-in for Virtualization allows you to access and control virtual machines from the DSView 3 software. Supported unit types include VMware® VirtualCenters, ESX Servers and virtual machines, as well as Citrix® XenServersTM and virtual machines. You can launch a Virtual Network Computing (VNC), Remote Desktop (RDP), Secure Shell 2 (SSH) or VMware viewer session to supported virtual machines from a single point of access.
2 Technical Bulletin NOTE: (VMware only) If you do not need to access the VI Client on an attached ESX Server, you only need to connect the VirtualCenter to the network and then you can access any attached ESX Servers as well. Figure 1.1: DSView 3 Software System Configuration with a Connected Virtual Environment Table 1.
DSView® 3 Plug-in Virtualization Technical Bulletin -orClick a unit type in the side navigation bar, then click Add. The unit type is designated for you based on the navigation link you select. Click Next. If you click Add from any Units View window not described, the Add Unit Wizard will not include options for adding a hypervisor manager or server. 3. The Network Configuration window opens. a. Enter the IP address of the unit type selected in the Address field. b.
4 Technical Bulletin If you do not want to designate any virtual machines as managed, click Next without adding any virtual machines to the managed list. Unmanaged virtual machines are only available from the Hosted VMs window, where the status of managed or unmanaged can be applied. See Virtual Machines Management on page 4for more information. 7. (Not supported in some virtual environments) The Authorization Roles window opens.
DSView® 3 Plug-in Virtualization Technical Bulletin 5 To designate virtual machines as unmanaged, select the virtual machines from the Hosted Virtual Machines list and click Unmanaged. A status of No is displayed in the Managed column, and the virtual machines are not available from the Target Devices and Virtualization windows. 6. Click Close.
6 Technical Bulletin • Click Target Devices in the side navigation bar to view all target devices, including virtual machines. • To enable Topology view, click Topology. Click the arrow next to the virtual environment unit to expand the list and display all connected units. NOTE: For more information about navigation and actions that can be performed from Units View windows, see the DSView 3 help for more information.
DSView® 3 Plug-in Virtualization Technical Bulletin 7 The VNC viewer service is automatically added when a virtual machine is added to the DSView 3 software. The VMware viewer service is only added for VMware virtual machines. The RDP viewer service is added only for virtual machines reporting a Windows® operating system. The SSH session viewer service is only added for virtual machines reporting a Portable Operating System Interface (POSIX) operating such as Linux® or Solaris®.
8 Technical Bulletin Session status (VMware only) You can view the virtual machine session status in a Units View window. If a virtual machine has at least one active session through the VMware viewer, a status of In Use is listed and a yellow circle is displayed on the icon for the virtual machine. The In Use status and yellow circle are also displayed for the ESX Server and/or VirtualCenter that hosts that virtual machine.
DSView® 3 Plug-in Virtualization Technical Bulletin 9 To establish an SSH session to a hypervisor server: 1. In the DSView 3 software, click the Units tab, then click Virtualization in the side navigation bar. 2. Click the name of the hypervisor server you want to access. The Unit Overview window opens. 3. Under Tools, click the SSH Session link. The SSH session opens in a new window. Rebooting You can reboot a hypervisor server from the DSView 3 software if you have access rights.
10 Technical Bulletin software. You can use the Resync Wizard or the update topology task to resynchronize the systems and update the DSView 3 software database. An attached hypervisor server is automatically resynchronized when the hypervisor manager is resynchronized; you cannot resynchronize an attached hypervisor server separately. Using the Resync Units Wizard From the Units Overview window, you can click the Resync button to launch the Resync Units Wizard for the hypervisor manager or server.
DSView® 3 Plug-in Virtualization Technical Bulletin 2. Click Operations, then select Virtual Machine Power Off from the menu to turn off the virtual machine. 3. The Operation Submitted window opens. Click the link to view the results of the submission. 11 To turn on virtual machines: 1. In a Units View window containing virtual machines, click the checkbox next to one or more virtual machines. 2. Click Operations, then select Virtual Machine Power On from the menu to turn on the virtual machine.
12 Technical Bulletin Controlling the Virtual Environment from the DSView 3 Software Common unit properties and settings Using the DSView 3 software, you can manage properties, connections, session files and a variety of other functions for any unit, including units in the virtual environment. For detailed information about common unit properties and settings, see the DSView 3 help for more information.
DSView® 3 Plug-in Virtualization Technical Bulletin b. 13 Click Credentials to view the username or modify credentials. You can enter a new username and password in the corresponding fields. (Not supported in some virtual environments) If you want DSView 3 software user credentials to be used for the hypervisor manager or independent hypervisor server operations, select the Use DSView User Credentials for Operations checkbox.
14 Technical Bulletin 6. To map hypervisor manager or server roles to DSView 3 built-in user groups, complete the following steps: a. Select a hypervisor manager or server role from the list. NOTE: If a hypervisor manager or server role has the same name as an existing DSView 3 group in the DSView 3 software, an error message is shown and the virtual environment authorization role is not available for mapping. b. Select a DSView 3 built-in user group from the list and click Add. c.
DSView® 3 Plug-in Virtualization Technical Bulletin 15 VirtualCenter server settings (VMware only) The DSView 3 software can access and display the following VMware VirtualCenter server settings; these settings are stored in the VirtualCenter and do not correspond to any DSView 3 software settings. To view VirtualCenter data centers: NOTE: A VirtualCenter data center is an entity used to group VMware virtual machines and host entities. 1.
16 Technical Bulletin 3. Click Server Settings, then click the Hosted ESXs tab. The Hosted ESX Servers window displays a list of hosted ESX Servers and corresponding specifications including IP address, manufacturer, model, connection state and more. 4. Click Close. To view VirtualCenter resource pools: NOTE: A VirtualCenter resource pool is a division of resources used to manage allocations among virtual machines. 1.
DSView® 3 Plug-in Virtualization Technical Bulletin 17 3. Click Server Settings, then click the Events tab. The Events window displays a list of events and the corresponding type, time of occurrence, tasks, target device address and the user associated with the event. 4. Click Close. To view VirtualCenter tasks: NOTE: These tasks are stored in the VirtualCenter and do not correspond to DSView 3 software tasks. 1.
18 Technical Bulletin 2. Click on the name of the hypervisor server you want to access. The Unit Overview window opens. 3. Click Server Settings, then click the General tab to view available information about the hypervisor server, including IP address, version, manufacturer and model information. To view hypervisor server hardware settings: 1. In the DSView 3 software, click the Units tab, then click Virtualization in the side navigation bar. 2.
DSView® 3 Plug-in Virtualization Technical Bulletin 4. 19 c. Click VM Startup/Shutdown to view startup and shutdown information for connected virtual machines. d. Click Security Profile to view firewall information. e. Click System Resource Allocation to view system resource pool information. Click Close. To view hosted virtual machines: 1. In the DSView 3 software, click the Units tab, then click Virtualization in the side navigation bar. 2.
20 Technical Bulletin 1. In the DSView 3 software, click the Units tab, then click Virtualization in the side navigation bar. 2. Click on the name of the hypervisor server for which you want to view pool members. The Unit Overview window opens. 3. Click Server Settings, then click the Pool Members tab. The Pool Members window displays a list of pool members and corresponding type (slave or master), IP address, state (connected or disconnected) and version. 4. Click Close.
DSView® 3 Plug-in Virtualization Technical Bulletin 21 3. Click on the name of the virtual machine you want to access. The Unit Overview window opens. 4. Click VM Properties (Virtual), then click the Resources tab. 5. a. Click Datastore to view a list of datastore devices, corresponding capacity and free space. b. Click Disks to view the location, capacity and free space for guest disks. Click Close.
22 Technical Bulletin Configuring data logging in the DSView 3 software You may enable data logging on multiple virtual machines on one hypervisor server, or you may enable data logging one virtual machine at a time. To view and configure data logging on multiple virtual machines on a hypervisor server: 1. In the DSView 3 software, click the Units tab, then click Virtualization in the side navigation bar. 2. Click on the name of the hypervisor server you want to access. The Unit Overview window opens.
DSView® 3 Plug-in Virtualization Technical Bulletin 5. 23 Click Close. Configuring data logging on a virtual machine You must configure data logging on each virtual machine for which you want to log data. Virtual machine system requirements • A POSIX operating system (Linux or Solaris) with the Syslog enabled • Sun Java™ VM J2SE 1.
24 Technical Bulletin Configuring the Syslog The data logging client receives Syslog messages from a named pipe and forwards them to the DSView 3 Syslog server. To configure the Syslog: 1. From the virtual environment command line, log in as administrator or root. 2. Run the mkfifo command to create a fifo device: mkfifo -m 666 For example: mkfifo -m 666 /var/evt_pipe 3. Edit the /etc/syslog.
DSView® 3 Plug-in Virtualization Technical Bulletin 3. • DataLoggingClient.properties properties file • DataLoggingClient.sh shell script 25 Copy the exported data logging key file to the appropriate location on the virtual machine. a. Set the data logging key file mod to 700 using the following command: chmod 700 filename. The data logging key file is only readable by the owner. b.
26 Technical Bulletin Property Description dls.bufferSize Sets the size of the buffer (in bytes) used to receive and send data. Sets the max number of messages included in a packet. By default, the data logging dls.packetSize client attempts to get a number of messages before sending data to the DSView 3 software. Setting this number to 1 would decrease the performance and increase the network traffic. Max wait time-out in milliseconds. The data logging client waits this amount of time dls.
DSView® 3 Plug-in Virtualization Technical Bulletin 27 Example properties file dls.localIp = dls.queueSize = 100 dls.bufferSize = 1000 dls.waitTimeout = 10000 dls.packetSize = 4 dls.pipes = pipe1,pipe2 dls.pipe1 = pipe dls.pipe1.type = input dls.pipe1.filepath = dls.pipe2 = tcp dls.pipe2.type = output dls.pipe2.ip = localhost dls.pipe2.port = dls.pipe2.encoder = ssh dls.pipe2.encoder.ip = localhost dls.pipe2.encoder.
28 Technical Bulletin Table 1.
DSView® 3 Plug-in Virtualization Technical Bulletin Events 29 Events * If you use the virtual environment to add or remove a virtual machine, the corresponding events are logged and the virtual environment and DSView 3 software are automatically synchronized.. ** This event is initiated from the DSView 3 software and does not have an equivalent in the virtual environment. This event will be recorded if: Use DSView User Credentials for Operations was not selected in the Add Unit Wizard.
30 Technical Bulletin Events In some cases, the virtual environment may be unresponsive and unable to receive tasks from the DSView 3 server. The DSView 3 Events list will indicate that the task was submitted successfully by the DSView 3 server even if the virtual environment did not receive it. To troubleshoot an unresponsive virtual environment, see the documentation included with the virtual environment. DSView 3 zones - virtualization restrictions DSView 3 software version 3.5.
DSView® 3 Plug-in Virtualization Technical Bulletin 31 NOTE: Since cross-zone information is not shown, details regarding which zone and which units conflicted is not sent or show to sub-level zones or users. Reconciling virtual environment units A unit cannot reconcile (for example, perform a resync or auto-topology operation) if the unit or any part of the unit (such as a virtual machine hosted on a hypervisor server) has already been added to a zone in the DSView 3 software.
32 xxxTechnical Bulletin
For Technical Support: www.avocent.