Before you start
To get started in Azure, you need:
Note: If you have not already set up a connection to an Azure Virtual Network, see Get started with Azure for more information.
Installation package
The installation package, citrix_app_layering_azure_4.x.x, includes:
File | Description |
---|---|
Azure_x.x.x.zip |
VHD file for the appliance VM |
AzureELMDeploymentV2.ps1 |
Installation Script |
citrix_app_layering_agent_installer.exe |
App Layering Agent installer |
Citrix_App_Layering_Azure_Credential_Setup.exe |
Azure Credentials Tool |
citrix_app_layering_win_gold_image_tools.exe |
OS Machine Tools |
DeployAzureRmVm.template.json |
App Layering Template |
Installation script
The installation script included in the installation package does the following. It:
When you run the script:
The first time you log onto the appliance you are required to change the App Layering administrator passwords, For details, see Change administrative passwords.
Be sure to install the App Layering Agent, if your environment requires it. See the next section for details.
The App Layering Agent enables the App Layering appliance or a Unidesk Packaging Machine VM to run PowerShell commands locally. If you supply the proper credentials, the agent can run PowerShell commands as a specific user.
The App Layering Agent is required in cases where one of your Connector Configurations launches a PowerShell script. This includes Connector Configurations you use to:
The App Layering Agent installer prompts you to register the agent with a App Layering appliance. If you do not register the agent during installation, you can manually register it later. However, keep in mind that the PowerShell scripts will not run until the agent is registered with the ELM.
Prerequisites
Before you install the App Layering Agent, you must have the following requirements on the system where you are installing the App Layering Agent:
Example (7.6):
From a command prompt, go to: c:\program files\citrix\provisioning services console
Run this command: "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe" McliPSSnapIn.dll
Example (7.7):
From a command prompt, go to: c:\program files\citrix\provisioning services console
Run this command: "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe" Citrix.PVS.snapin.dll
On Windows 2008 R2, you must also enable PowerShell remote commands. For background information, see this Microsoft article: https://technet.microsoft.com/en-us/library/hh849694.aspx
If your 2008 R2 OS does not have PowerShell remoting enabled, run the following PowerShell command on the PVS server: Enable-PSRemoting
Log in as an administrator on the system where you are installing the agent.
Download the App Layering Agent from the installation page.
Copy the citrix_applayering_agent_installer.exe file from the App Layering Agent folder to a convenient location on the PVS server.
Run the citrix_applayering_agent_installer.exe as Administrator, and when prompted, enter the path to the directory where you want to install the App Layering Agent. The default location is C:\\Program Files (x86)\Citrix\Agent.
The App Layering Agent installer checks to see if all Prerequisites are present. If any prerequisites are missing, the installer reports this and exits without installing.
The installer prompts you for an Agent Port number. You can accept the default port number (8016) or specify a different one if the default port is already in use.
The installer prompts you for the credentials (address, username, and password) for your App Layering appliance. Register the App Layering Agent with the appliance by entering the IP address and login credentials for a Management Console user on the appliance with Administrator privileges, (for example, the credentials you use to log into the Management Console).
Note: If the App Layering appliance is not available yet or you choose not to register with it now, you can manually register at a later time using the procedure described in Register with the App Layering appliance manually below.
Click Finish to exit the wizard.
The App Layering Agent registration appears in the Audit log for the Management Service in the Management Console.
If the App Layering Agent was not registered with a App Layering appliance during installation, you can register it later by using the following procedure.
To manually register the App Layering Agent with the appliance:
As an administrator, log in to the server where you installed the App Layering Agent.
Open a command window (cmd.exe) as administrator and navigate to the directory where the App Layering Agent is installed. (The default location is C:\\Program Files (x86)\Citrix\Agent.)
Run the following command, using the IP address of the appliance where indicated:
Citrix.AppLayering.Agent.Service.exe register /i /e:IP_address_of_appliance /u:Administrator
When prompted, enter the password for a user who has Administrator privileges in the Management Console on the appliance.
When the registration process completes, a message appears informing you of the successful outcome. The App Layering Agent registration appears in the Management Console Audit log for the Management Service.
If the process does not succeed, examine the \Citrix\Agent\Logs\applayering.agent.log file in the App Layering Agent installation directory. You can also view Help for the App Layering Agent command line options by running the following command: Citrix.AppLayering.Agent.Service.exe /?.