Install the App Layering agent 编辑

The App Layering agent enables the appliance or a packaging machine to run PowerShell commands locally. If you supply the proper credentials, the agent can run PowerShell commands as a specific user.

When the agent is required

The App Layering agent is required if you plan to:

  • Launch scripts using your connector configurations.
  • Run the App Layering appliance in Microsoft Hyper-V.
  • Publish layered images to Citrix Provisioning.

You install the agent in the following locations:

  • On all Hyper-V servers you plan to use for layer creation or image publishing.
  • On any Citrix Provisioning servers where you plan to publish layered images.
  • In locations where your connector configurations run PowerShell scripts.

Registering the agent with the appliance

The App Layering agent installer prompts you to register the agent with an App Layering appliance. If you do not register the agent during installation, you can manually register it later. However, the PowerShell scripts do not run until the agent is registered with the appliance.

Prerequisites

Before you install the App Layering agent, make sure you that the system where you are installing the agent meets the following requirements:

  • An account with administrator privileges
  • .NET 4.5
  • PowerShell 3.0 or later
  • PowerShell Snap-in. Before using the App Layering agent on a Citrix Provisioning Services server, you must ensure that the PowerShell Snap-in is installed. See the steps to manually register the agent with the appliance.

If you previously installed the App Layering agent, you can download updated versions from the Citrix downloads page. The agent installation package is included in the App Layering ZIP download.

To download the App Layering agent

  1. Go to the Citrix home page and then click Sign in.
  2. Click Downloads and select Citrix App Layering from the list.
  3. On the Citrix App Layering page, under Citrix App Layering > Product Software, click Citrix App Layering.
  4. At the bottom of the page, click Tools.
  5. Click the Citrix App Layering agent Download File. The file citrix_app_layering_agent_installer.exe downloads to your computer.

Install the App Layering agent

The App Layering agent installer prompts you to register the agent with an App Layering appliance. If you do not register the agent during installation, you can manually register it later. However, keep in mind that the agent must be registered with the appliance before the PowerShell scripts can run.

  1. Using an account with administrator privileges, log into the system where you are installing the agent.

  2. Copy the Citrix_app_layering_agent_installer.exe file to a convenient location on the server.

  3. Run the Citrix_app_layering_agent_installer.exe as an 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 agent installer checks to see that all prerequisites are present. If any prerequisites are missing, the installer reports this and exits without installing.

  4. 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.

  5. The installer prompts you for the credentials (address, user name, and password) for your App Layering appliance. Register the App Layering agent with the appliance by entering the IP address and logon credentials for a management console user on the appliance with administrator privileges, (for example, the credentials you use to log on to the management console).

    Note:

    If the App Layering appliance is not available or you choose not to register with it now, you can manually register later using the procedure described in Register with the App Layering appliance manually.

  6. Click Finish to exit the wizard.

Manually register the App Layering agent with the appliance

Register the App Layering agent with the appliance.

If the App Layering Agent is not registered with an App Layering appliance during installation, you can register it later by using the following procedure.

  1. As an administrator, log in to the server where you installed the App Layering agent.

  2. 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.

  3. Run the following PowerShell command:

    Enable-PSRemoting

  4. Verify that port 8016 is open by running this command:

    netstat -a

  5. 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

  6. 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
    <!--NeedCopy-->
    

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:87 次

字数:6635

最后编辑:7 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文