You are here: Learn about Citrix App Layering [UnideskVersion Layering 4.0.8] > Layer > OS Layer > From XenServer
Create an OS Layer (XenServer)
In this article:
The Unidesk Operating System (OS) Layer contains the Windows Operating System that is assigned to any Unidesk Layered Images you create using that OS Layer. Once created, you can use the OS Layer to build as many Layered Images as you want.
The OS Layer includes a virtual machine in your infrastructure running the Unidesk-supported Windows Operating System that you want to use for your Layered Images.
To create an OS Layer, you create a virtual machine in XenServer to serve as the OS Machine, then export the OS to the ELM's network file share, and import the OS into Unidesk to create the OS Layer.
Before you start
Before you can create an OS Layer, you'll need to:
Prepare your OS Image
- In XenServer, create a Windows Server 2012 R2 VM, specifying a valid network adaptor.
- Log into the new VM.
- Turn off Windows Automatic Updates.
- Download the Unidesk OS Machine Tools.
- If you are not going to be publishing to PVS or Azure, you should run the Unattend.exe to build your unattend.xlm file for use in machine creation.
- Double-click the executable to copy the scripts and files to
C:\Windows\Setup\scripts
.
- Create a snapshot of the VM.
- From the
C:\Windows\Setup\scripts
folder, run the included Setup_x64.exe file on the VM to install the Unidesk tools.
- Shut down the new VM.
- Log into a system that has access to the ELM's Network File Share.
- Log into XenCenter and select the Infrastructure view.
- Shut down the VM, then right-click the VM and choose Export.
-
For the Location value, select the ELM's Network File Share.
-
For the Format, choose the OVF/OVA Package.
-
Complete the wizard, no specific values required for the remaining choices. The Export runs.
-
To see the status of the Export, click the Notifications view in the bottom left corner of the XenCenter UI.
- In the wizard that opens, select the name of the file that will be created, the directory in which you would like to store the file, and the format Folder of files (OVF). The files are downloaded to the Network File Share.
Import the OS Image into a new OS Layer
- In the Unidesk ELM, select Layers > OS Layers and click Create OS Layer in the Action bar. This opens the Create Operating System Layer Wizard.
- In the Layer Details tab, specify a Layer Name and Version, both required values. Optionally, you can enter Descriptions of the Layer and Version, and change the Max Layer Size to accommodate the OS you are going to import. For details, see more about these values below.
- In the Connector tab, select the Network File Share where you downloaded the XenServer .VHD files.
- In the OS Disk Details tab, click Browse to select the *.VHD file that you downloaded to your file share.
- In the Icon Assignment tab, select an icon image to assign to this Layer.
- In the Confirm and Complete tab, review the details of the OS Layer, enter a comment if required, and click Create Layer. If you enter comments, they appear in the Information view Audit History.
When the task completes, the new OS Layer in the Unidesk Management Console displays a "Deployable" status.