Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 Configuration Guide


A.4 Building an environment for shared VDI

This section describes the procedure you must follow to manage shared VDI-based virtual computers with JP1/IT Desktop Management 2.

Creating an installation set and installing agents

Follow the procedure described below to install agents on shared VDI-based virtual computers. In this procedure, an administrator creates an installation set as well as a master image of the master PC on which an agent has been installed.

This section focuses on the procedure you must follow to manage virtual computers provided by VMware Horizon View and Citrix Virtual Desktops. For details on other necessary settings, see 1.6 Manually installing agents on computers.

  1. Log in to the operation window of JP1/IT Desktop Management 2.

  2. Add an agent configuration.

    In the menu area of the Settings module, select Windows Agent Configurations and Create Agent Installers, and then in the Windows Agent Configurations and Create Agent Installers view that appears, click the Add Agent Configuration button. In the Add Agent Configuration dialog box that appears, add an agent configuration for shared VDI-based virtual computers.

    Select User Notification Settings, and then Display Settings on User Computers. For When a user input window is displayed, set Hidden.

    For details about agent configurations, see the Lists of Parameters in the JP1/IT Desktop Management 2 Overview and System Design Guide.

  3. Specify the setting items for the installation set.

    From the Windows Agent Configurations and Create Agent Installers view, select the created agent configuration, and then click the Create Agent Installer button. In the Create Agent Installer dialog box, specify the setting items for the installation set.

    Select Installation Folder Settings, Settings when generating the host ID, and then the Generate the host ID based on information about the virtual computer check box. Furthermore, select the device information to be used, which should be appropriate to the technology used to create the virtual computers to be managed.

    When VMware Horizon View is used, or when the Machine Creation Services (MCS) technology provided by Citrix Virtual Desktops is used:

    Computer Name or IP Address

    When the Provisioning Services (PVS) technology provided by Citrix Virtual Desktops is used:

    Account Name

    For details about the setting items for the installation set, see the lists of parameters in the JP1/IT Desktop Management 2 Overview and System Design Guide.

  4. Create an installation set.

  5. Log in to the master PC on which to install an agent with administrator privileges.

  6. Install an agent on the master PC by using the installation set.

    You have to install an agent on the master PC with administrator privileges.

Registering a logoff script

To manage the operation logs of virtual computers, register a command in the logoff script on the master PC.

  1. Select Local Group Policy, Windows Settings, Scripts (Logon/Logoff), and then Logoff.

    The Logoff Properties dialog box appears.

  2. Add a script.

    Register the upldoplog command as the script.

    Script name

    agent-installation-folder\bin\upldoplog.exe

    Script parameter

    /upload

    For details about the upldoplog command, see upldoplog (uploading operation logs) in the JP1/IT Desktop Management 2 Administration Guide.

Important

Logging off from a shared VDI-based virtual computer causes the virtual computer to be initialized. You must therefore upload the agent's operation logs to the management server by using the upldoplog command prior to logging off from the virtual computer. Keep the following in mind when uploading an operation log:

  • If any operation is performed while operation logs are being uploaded, the log of that operation will not be uploaded, and the remaining operation log is deleted once the user logs off from the computer.

  • If occurrence of a failure while operation logs are being uploaded causes the upload process to end in failure, the operation logs are deleted.

Setting the master PC

  1. Create a security policy to be assigned to virtual computers and assign it to the master PC.

    For details about how to use security policies, see Using security policies in the JP1/IT Desktop Management 2 Administration Guide.

    Note

    When there are multiple master PCs, we recommend that you create a filter by using a host name or the like for ease of checking. For details about filters, see Using filters in the JP1/IT Desktop Management 2 Overview and System Design Guide.

  2. If the software, updates, and other programs to be used by virtual computers are to be installed on the master PC, distribute them to the master PC.

    For details about the distribution of software, see Software and File Distribution in the JP1/IT Desktop Management 2 Administration Guide.

  3. In the Inventory module, confirm that a host ID has been generated from device information.

    If Host ID is not displayed in the Inventory module, right-click an item name in the list and select Select Columns. In the displayed dialog box, select the Host ID check box and click the OK button. The Host ID column shows up.

Generalizing an agent and creating a master image

To create a master image, delete program-specific information from an agent to generalize it. Execute the following commands:

upldoplog /upload
prepagt.bat /prep

For details about the commands, see the JP1/IT Desktop Management 2 Administration Guide.

Note

The prepagt.bat command deletes the operation logs that have not been uploaded yet. Therefore, if you want to manage the operation logs on the master PC, you have to execute the upldoplog command to upload them to the management server prior to executing the prepagt.bat command.

After generalizing the agent, create a master image from the master PC. For details about how to create a master image, see the manual of the applicable virtualization product.

Creating virtual computers

Create virtual computers from the master image. For details about how to create virtual computers, see the manual of the applicable virtualization product.

Important

When creating virtual computers with instant clone, restart the create virtual computers.

Checking the usage status of virtual computers

You can check the usage status of virtual computers by using the Inventory module. In the Inventory module, select Host ID (Partial Match) as the filtering condition, and then specify the following starting strings.

Note

The filtered device list contains the master PC as well. To exclude the master PC from the filtered device list, set a filtering condition that can exclude the host name of the master PC.

You can check the operation logs of virtual computer users by selecting Operations Logs, and then Operations Log List in the Security module.