Friday, July 4, 2014

EdgeSight Installation and configuration

This Section has 6 parts:


  • Part 1: Install EdgeSight for Load Testing
  • Part 2: Install EdgeSight Server
  • Part 3: Install Workflow Studio
  • Part 4: Install Edgesight Agent on XenDesktop Desktops
  • Part 5: Configure EdgeSight Alert Rules and Actions
  • Part 6: Test the Monitoring Environment

      1. ABC-DMC1
      2. FILER1
      3. ABC-SQL1
      4. ABC-PVSRV1
      5. ABC-PVSRV2
      6. ABC-XAMaster
      7. ABC-XAPVS1
      8. ABC-WI1
      9. ABC-DDC1
      10. ABC-DDC2
      11. ABC-DDC3
Wait until each virtual machine is completely powered on and at the authentication screen before powering on the next virtual machine.
2.    Start the ABC-ES1 virtual machine and log on as a domain administrator.
    1. Select ESLT_3.5.ISO from the DVD Drive drop-down list.
    2. Open My Computer.
    3. Right-click CD Drive (D:) and click Open.
    4. Double-click AUTORUN.EXE to launch the EdgeSight for Load Testing installation. The EdgeSight for Load Testing installation screen appears.
    5. Click EdgeSight for Load Testing Installation. The Citrix EdgeSight for Load Testing Setup screen appears.
    6. Click Next. The End-User License Agreement appears.
    7. Read and respond to the license agreement and click Next. The Setup Type screen appears.
    8. Click Custom. The Feature Selection screen appears.
    9. Enable the installation of the Web Interface XML Service Connector feature.
The following features should now be enabled for installation:
      1. Load Testing Controller
      2. Load Testing Launcher
      3. Web Interface XML Service Connector
    1. Click Next.
    2. Click Install. The EdgeSight for Load Testing installation begins.
    3. Click Finish when the installation completes. The Citrix EdgeSight for Load Testing Setup screen closes.
    4. Close the EdgeSight for Load Testing wizard.
    1. Click Start > Run .
    2. Type \\FILER1\PUBLIC\CLIENTS and click OK.
    3. Double-click the XA_HOSTED_PLUG-IN_11.1.1.MSI file.
    4. Select English and click OK. The Citrix XenApp Plugin for Hosted Apps Installation screen appears.
    5. Click Next.
    6. Read and respond to the license agreement and click Next.
    7. Click Next to accept the default clients to install.
    8. Type WebInterface in the Server address field and click Next.
    9. Click Next to accept the default program folder path.
    10. Click Next to accept the default client name settings.
    11. Click Next to accept the default single sign-on settings.
    12. Click Next. The XenApp Plugin for Hosted Apps installation begins.
    13. Click Finish. The Citrix XenApp Plugin for Hosted Apps Installation screen closes.
    14. Close the Citrix XenApp authentication screen.
    15. Double-click the XENAPPSTREAMING.EXE file in the \\FILER1\PUBLIC\CLIENTS directory.
    16. Select English and click OK. The Citrix Offline plug-in Setup screen appears.
    17. Click Next.
    18. Read and respond to the license agreement and click Next.
    19. Click Install to accept the default destination program folder path. The Citrix Offline plug-in installation begins.
    20. Click Finish. The Citrix Offline plug-in Setup screen closes.
    21. Click Yes to restart the ABC-ES1 virtual machine. The ABC-ES1 virtual machine restarts.
    22. Log on as a domain administrator to the ABC-ES1 virtual machine.
    1. Log in as a domain administrator to the ABC-WI1 virtual machine.
    2. Select ESLT_3.5.ISO from the DVD Drive drop-down list.
    3. Open My Computer.
    4. Right-click CD Drive (D:) and click Open.
    5. Double-click AUTORUN.EXE to launch the EdgeSight for Load Testing installation. The EdgeSight for Load Testing installation screen appears.
    6. Click Web Interface Support Installation. The Citrix EdgeSight Web Interface Support Setup screen appears.
    7. Click Next. The End-User License Agreement appears.
    8. Read and respond to the license agreement and click Next. The User Info screen appears.
    9. Authenticate using the following credentials:
      1. Username: ABC-\Administrator
      2. Password: Password1
    10. Click Validate. A Citrix EdgeSight success screen appears.
    11. Click OK.
    12. Click Next. The Website Selection screen appears.
    13. Select /Citrix/XenApp and click Next. The Ready to Install screen appears.
    14. Click Install. The Web Interface Support installation begins.
    15. Click Finish when the installation completes. The Citrix EdgeSight Web Interface Support Setup screen closes.
    16. Close the EdgeSight for Load Testing wizard.
    1. Click Start > All Programs > Citrix > Citrix EdgeSight for Load Testing > LT Controller . The Citrix EdgeSight for Load Testing Controller appears.
    2. Read the Before You Begin screen and click OK.
    3. Type Password1 in the Load Testing Password field and click OK.
    4. Click Licenses > License Server Configuration . The License Server Configuration screen appears.
    5. Type ABC-DMC1 in the Connect To field and click OK. The License Server Configuration screen closes.
    6. Right-click Test in the left pane and click Add Script. The Script Properties screen appears.
    7. Type ESLT Word 2007 Test in the Name field and click OK. The Script Properties screen closes.
    8. Right-click ESLT Word 2007 Test > Load in the left pane and click Add Load. The Load Properties screen appears
    9. Type 5 in the Load Duration field.
    10. Configure the Load Control Type with the following properties:
      1. At Start: 1 user
      2. At End: 5 users
    11. Click Rate Control and provide the following properties:
      1. At Start: 30 seconds
      2. At End: 30 seconds
    12. Click OK. The Load Properties screen closes.
    13. Right-click Connections in the left pane and click Add Connection. The Connection Properties screen appears.
    14. Type LOCALHOST in the Connect From field.
    15. Select Web Interface and click Access. The Web Interface Access Credentials screen appears.
    16. Deselect Use the logged in user's credential and authenticate with the following credentials:
      1. Username: ESLT1
      2. Password: Password1
      3. Domain: ABC-
    17. Click OK. The Web Interface Access Credentials screen closes.
    18. Click Browse.
    19. Type 192.168.2.20 in the Server Address field. This is the IP address of the ABC-WI1 virtual machine.
    20. Type the following credentials in the corresponding Connect As fields:
      1. Username: ESLT1
      2. Password: Password1
      3. Domain: ABC-
    21. Click Search. A connection is made to the Web Interface servers to see what resources exist. This process may take several minutes to complete.
    22. Click Word and click Select.
    23. Click OK. The Connection Properties screen closes.
    24. Right-click LOCALHOST in the left pane and click Add Users. The Add Users To Connection screen appears.
    25. Type 5 in the Count field.
    26. Type the following credentials in the corresponding authentication fields:
      1. Username: ESLT
        • Select the # option next to the Username field.
        • Starting at #: 1
      2. Password: Password1
      3. Domain: ABC-
    27. Click OK. The Add Users To Connection screen closes.
    28. Click Start > All Programs > Citrix > Citrix EdgeSight for Load Testing > LT Launcher . The EdgeSight Launcher appears.
    29. Minimize the Load Testing Launcher.
    30. Within the Citrix EdgeSight for Load Testing Controller, right-click ESLT Word 2007 Test > Instructions in the left pane and click Record Instructions.
    31. Click Yes to begin recording. A recording test window appears and documents all actions performed in a Microsoft Word test session.
    32. Within the recording test window, spend 30-45 seconds performing actions that simulate a user's interaction with Microsoft Word 2007.
Examples of user interaction include:
      1. Typing content
      2. Modifying the font, font size and display elements of the content
      3. Adding tables to the content
    1. When finished recording, click the Office Button in the top left corner and click Exit Word.
Using the X button in the top right corner will improperly disconnect from the Microsoft Word test session and will result in a corrupted EdgeSight for Load Testing script.
    1. Click No. The Microsoft Word test session ends and a list of instructions populate within the ESLT Word 2007 Test > Instructions node.
    1. Within the ABC-ES1 virtual machine, open the EdgeSight for Load Testing Controller.
    2. Click File > Save .
    3. Type ESLT Word 2007 Test and save the test script to the Desktop.
    4. Click Test > Replay . The EdgeSight for Load Testing test script starts and five Citrix EdgeSight user sessions appear in the taskbar.
    5. If the five Citrix EdgeSight user session windows are not separated in the taskbar, right-click the group of sessions and click Show Windows Side by Side. The five Citrix EdgeSight user sessions can now be seen performing the actions recorded in the test script.
    6. Log on as a domain administrator to the ABC-XAPVS1 virtual machine.
    7. Expand the ABC-_XA_Farm node in the left pane and click Servers.
    8. Right-click Servers and click All Tasks > Change Display > Users .
    9. Verify that there are sessions for the different ESLT user accounts and that the users are connecting to the Word application.
User accounts will only appear while the test scripts are active on the ABC-ES1 virtual machine.
    1. Click Start > Run .
    2. Type SERVICES.MSC and click OK. The Service Control Manager screen appears.
    3. If the status of the Citrix System Monitoring Agent service displays Stopping, click the Citrix System Monitoring Agent service and click Restart.
    4. Close the Services screen.
    1. Select ES_52.ISO from the DVD Drive drop-down list.
    2. Open My Computer.
    3. Right-click CD Drive (D:) and click Open.
    4. Double-click AUTORUN.EXE to launch the EdgeSight 5.2 installation. The Citrix EdgeSight 5.2 installation screen appears.
    5. Click EdgeSight Server.
    6. Select English and click Continue. The Citrix EdgeSight Installer 5.2 screen appears.
    7. Click Next. The Select Features screen appears.
    8. Click EdgeSight Server Website and Database and click Next. The Prerequisite Check screen appears.
    9. Click Next. The End-User License Agreement appears.
    10. Read and respond to the license agreement and click Next. The Choose Setup Type screen appears.
    11. Click Custom and click Next. The Database Server screen appears.
    12. Click Choose an existing database server and select ABC-SQL1.
    13. Click Next. The Database Information screen appears.
    14. Type EdgeSightDB in the Install a new EdgeSight Database field and click Next. The Database User Information screen appears.
    15. Authenticate using the following credentials:
      1. User Name: ABC-\Administrator
      2. Password: Password1
    16. Click Validate. A EdgeSight Server Validation success screen appears.
    17. Click OK and click Next. The Database Properties screen appears.
    18. Click Next to accept the default database properties. The Server Location screen appears.
    19. Click Next to accept the default server location properties. The Ready to Install screen appears.
    20. Click Install. The EdgeSight installation begins.
    21. Click Finish. The EdgeSight Server website appears. EdgeSight will be configured in the following Part.
    22. Click Exit to close the installation screen.
    1. Click Next in the EdgeSight Server website.
    2. Type ABC airlinesin the Name field.
    3. Select (GMT-8:00) Pacific Time from the Time Zone drop-down list and click Next.
    4. Click No if prompted to turn AutoComplete on.
    5. Provide the following credentials:
      1. First Name: ABC-_ES
      2. Last Name: Service Account
      3. E-mail/Login: _ES@ABC-.Local
The _ES@ABC-.Local account will be used as the Superuser account.
    1. Type Password1 in the Password and Confirm fields and click Next.
    2. Provide the following e-mail configuration settings and click Next:
      1. SMTP Server: Mail.ABC-.Local
      2. E-mail Address: _ES@ABC-.Local
      3. Display name: EdgeSight Server
      4. E-mail Address: ES_Server@ABC-.Local
    3. Type ABC-DMC1 in the License Server Name field and click Test License Server. The EdgeSight server attaches to the license server and displays the remaining Citrix EdgeSight for Endpoints Agent licenses.
    4. Click Next.
    5. Click Finish. The EdgeSight Server browser portal authentication site appears.
    6. Authenticate using the following credentials:
      1. E-mail address: _ES@ABC-.Local
      2. Password: Password1
The EdgeSight Server browser portal appears.
    1. Minimize the EdgeSight Server browser portal.
    1. Confirm that ES_52.ISO is selected in the DVD Drive drop-down list.
    2. Open My Computer.
    3. Right-click CD Drive (D:) and click Open.
    4. Double-click AUTORUN.EXE to launch the EdgeSight 5.2 installation. The Citrix EdgeSight 5.2 installation screen appears.
    5. Click EdgeSight Component Installers > EdgeSight Agent Database Server . The Citrix EdgeSight Agent Database Server Setup screen appears.
    6. Click Next. The End-User License Agreement appears.
    7. Read and respond to the license agreement and click Next. The Network Settings screen appears.
    8. Type ABC-ES1 in the Database Broker field and click Next. The Agent Location screen appears.
    9. Type WinXP Pool in the Pool Name field and click Next.
    10. Click Install. The Citrix EdgeSight Agent Database Server installation begins.
    11. Click Finish when the installation completes. The Citrix EdgeSight Agent Database Server Setup screen closes.
    12. Click Exit to close the installation screen.
    1. Select WFSTUDIO_20.ISO in the DVD Drive drop-down list.
    2. Open My Computer.
    3. Double-click CD Drive (D:). The Citrix Workflow Studio 2.0 Wizard appears.
    4. Click Workflow Studio. A Windows Version warning screen appears on the Prerequisite screen.
    5. Click Install.
    6. Click Next.
    7. Read and respond to the license agreement and click Next.
    8. Select Citrix XenApp from the Product list and click Next.
    9. Type ABC-DMC1 in the Host name field and click Next.
    10. Click Next to accept the default Destination Folder settings.
    11. Click Install.
    12. Click Finish when the installation completes. The Citrix Workflow Studio Configuration - Workflow Database screen appears.
    13. Type ABC-SQL1 in the Server field and click Connect. A message appears stating that the specified database does not exist.
    14. Click Create Database. The Citrix Workflow Studio Configuration - TCP Port Sharing screen appears.
    15. Click Enable TCP Port Sharing. The Citrix Workflow Studio Configuration - Workflow Runtimes screen appears.
    16. Click Add to create a Workflow Runtime.
There is a known issue that the newly created Workflow Runtime Host Service will not start properly if no Internet access is available. To prevent this issue, the option to check for publisher and server certificate revocation must be disabled in the Internet options for Internet Explorer. For the purposes of this class, these options have already been disabled.
    1. Select This account.
    2. Type ABC-\Administrator in the Username field and Password1 in the Password field and click OK.
The credentials typed in the Username and Password fields are case sensitive and must be typed as written for the Part to work properly.
    1. Click Continue. The Citrix Workflow Studio Configuration - Security screen appears.
    2. Click Store in Active Directory. The Citrix Workflow Studio Configuration - Role Store screen appears.
    3. Click Create role store. The Citrix Workflow Studio Configuration - Security Service screen appears.
    4. Authenticate using the following credentials:
      1. Username: ABC-\Administrator
      2. Password: Password1
The credentials typed in the Username and Password fields are case sensitive and must be typed as written for the Part to work properly.
    1. Click Validate.
    2. Click Continue. The Citrix Workflow Studio Configuration - Firewall screen appears.
    3. Click Continue. The Citrix Workflow Studio Configuration - Review Changes screen appears.
    4. Click Apply.
    5. Verify that all of the components are installed successfully and click Close. The Citrix Workflow Studio Configuration screen closes.
The Citrix Workflow Studio console appears.
    1. Right-click Workflows in the top left pane and click Create Category.
    2. Name the category EdgeSight.
    3. Click Create Workflow in the right pane. The Create Workflow option is located in the Workflow Tasks menu on the right-hand side of the console.
    4. Type StartXenAppVM in the Name field and click OK. The Workflow Studio Designer screen appears.
    5. Expand the Citrix XenServer node in the Activities pane.
    6. Click and drag the Connect to Server activity to the center design surface.
    7. Type 192.168.1.10 in the Host Name or IP Address field in the right pane. This is the IP address of the XenServer_1 host server.
    8. Click in the Password field and click the ... button. The Password screen appears.
    9. Type myxenpw and click OK. The Password screen closes.
    10. Expand the Citrix XenServer > VM node in the Activities pane.
    11. Click and drag the Get VM activity to the center design surface beneath the connectToServer activity.
    12. Type ABC-XAPVS2 in the VM Name field in the right pane.
Ensure that the * is removed before you begin typing.
    1. Click and drag the Start VM activity to the center design surface beneath the getVM activity.
    2. Type XenServer_1 in the Host name field in the right pane.
    3. Click in the VM to Start field and select ListOutput from the drop-down list.
    4. Click and drag the Disconnect From Server activity to the center design surface beneath the startVM activity.
    5. Click Save. If the workflow is configured properly, the message "The build was successful" will appear at the bottom of the Workflow Studio Designer screen.
    6. Within the XenCenter console, verify that the ABC-XAPVS2 virtual machine is shut down.
    7. Within the ABC-ES1 virtual machine, click the Start button at the top of the Workflow Studio Designer screen. Each of the workflow activities is tested. After all four activities are tested, the ABC-XAPVS2 virtual machine starts.
    8. Close the StartXenAppVM workflow.
    9. Shutdown the ABC-XAPVS2 virtual machine.
    10. Within the ABC-ES1 virtual machine, click the Security button in the left pane of the Workflow Studio console. A warning screen appears.
    11. Click Yes to register a server. The Add Server screen appears.
    12. Type ABC-ES1 and click OK. The Add Server screen closes.
    13. Click Add Role Assignment in the right pane. The Add role assignments to servers screen appears.
    14. Click Add. The Select Users or Groups screen appears.
    15. Type ABC-\Administrator in the Object Name field and click Check Names. The Multiple Names Found screen appears.
    16. Select the Built-in Administrator account and click OK. The Multiple Names Found screen closes.
    17. Click OK. The Select Users or Groups screen closes.
    18. Click Next.
    19. Select the following roles:
      1. Perform all jobs and security operations
      2. Start deployed jobs
      3. Schedule deployed jobs through Task Scheduler
    20. Click Next. The security updates are applied.
    21. Click Finish. The Add role assignments to servers screen closes.
    22. Within the Workflow Studio console, click the Workflows button in the left pane.
    23. Click the StartXenAppVM workflow and click Create Job in the right pane. The Create New Workflow Job screen appears.
    24. Type ABC-ES1 in the Server field and click Next if not automatically forwarded to the Specify      scheduling for this job screen.
    25. Select Custom Schedule and click Edit Schedule. The New Task Schedule screen appears.
    26. Select Once from the Schedule Task drop-down list.
    27. Schedule a task date one week from today's date and click OK. The New Task Schedule screen closes.
    28. Click Finish. The Create New Workflow Job screen closes and a new task is created.
    29. Minimize the Workflow Studio console.
If all four provisioned desktops appear in the XenCenter console as Started, but appear as 'Not Registered' in the Access Management Console, verify that the ABC-inXP1-4 virtual machines were able to start properly. If the ABC-inXP1-4 virtual machines did not start properly, verify that the ABC-PVSRV1 and ABC-PVSRV2 virtual machines are running on separate XenServer hosts. If necessary, XenMotion ABC-PVSRV2 to the other XenServer host and restart the ABC-inXP1-4 virtual machines.
    1. Select all four virtual desktops and click Enable maintenance mode in the Tasks pane. Users are now unable to connect to any of the four desktops.
    2. Click Shutdown/suspend in the Task pane. The Shutdown/suspend screen appears.
    3. Select Shut down and click OK. The virtual desktops shut down.
    1. Log on as a domain administrator to the ABC-PVSRV1 virtual machine.
    2. Open the Provisioning Services Console.
    3. Expand the ABC-_PVS_Farm > Stores nodes and click Filer1.
    4. Right-click WinXPMaster and click Properties. The vDisk Properties screen appears.
    5. Click Edit File Properties. The vDisk File Properties screen appears.
    6. Click the Mode tab and select Private Image from the Access Mode drop-down list.
    7. Click OK. The vDisk File Properties screen closes.
    8. Click OK. The vDisk Properties screen closes.
    1. Within the Access Management Console, select the ABC-inXP1 virtual desktop and click Disable maintenance mode in the Tasks pane.
    2. Click Start in the Tasks pane. The ABC-inXP1 virtual desktop starts.
    3. Log on to the ABC-inXP1 virtual machine as a domain administrator.
    4. Close the Citrix XenApp authentication screen.
    5. Within the XenCenter console, select ES_52.ISO in the DVD Drive drop-down list.
    6. Open My Computer.
    7. Right-click CD Drive (D:) and click Open.
    8. Double-click AUTORUN.EXE to launch the EdgeSight 5.2 installation. The Citrix EdgeSight 5.2 installation screen appears.
    9. Click EdgeSight Agent Installers.
    10. Click EdgeSight for Endpoints Agent. The Citrix EdgeSight for Endpoints Agent Setup screen appears.
    11. Click Next. The End-User License Agreement appears.
    12. Read and respond to the license agreement and click Next. The Product Information screen appears.
    13. Type ABC airlinesin the Company field.
    14. Type Operations in the Department field and click Next. The Agent Location screen appears.
    15. Click Next to accept the default installation locations. The Network Settings screen appears.
    16. Type ABC-ES1 in the Server Name field and click Next. The Advanced Settings screen appears.
    17. Click Configure the agent for virtual desktops.
    18. Type \\FILER1\EDGESIGHT in the Remote UNC Path.
    19. Type WinXP Pool in the Pool Name field.
    20. Type ABC-ES1 in the Database Broker field and click Next.
    21. Click Install. The Citrix EdgeSight for Endpoints Agent installation begins.
    22. Click Finish when the installation completes. The Citrix EdgeSight for Endpoints Agent Setup screen closes.
    23. Click Yes to restart the ABC-inXP1 virtual machine. ABC-WinXP1 restarts.
    24. Log on as a domain administrator to the ABC-inXP1 virtual machine.
    25. Close the Citrix XenApp authentication screen.
    26. Click Start > Run .
    27. Type SERVICES.MSC and click OK. The Service Control Manager screen appears.
    28. Right-click the Citrix System Monitoring Agent service and click Properties. The Citrix System Monitoring Agent Properties screen appears.
    29. Select Automatic from the Startup Type drop-down list and click OK. The Citrix System Monitoring Agent Properties screen closes.
    30. Close the Service Control Manager.
    31. Within the ABC-DDC1 virtual machine, select the ABC-inXP1 virtual desktop within the Access Management Console.
    32. Click Enable maintenance mode in the Tasks pane.
    33. Click Yes in the warning screen.
    34. Within the ABC-inXP1 virtual machine, click Start > Shut Down . The ABC-inXP1 virtual desktop shuts down and the changes are saved to the vDisk.
    1. Open the Provisioning Services Console.
    2. Expand the ABC-_PVS_Farm > Stores nodes and click Filer1.
    3. Right-click the WinXPMaster vDisk and click Properties. The vDisk Properties screen appears.
    4. Click Edit File Properties. The vDisk File Properties screen appears.
    5. Click the Mode tab and select Standard Image from the Access Mode drop-down list.
    6. Click OK. The vDisk File Properties screen closes.
    7. Click OK. The vDisk Properties screen closes.
    8. Within the ABC-DDC1 virtual machine, select all four virtual desktops from the Access Management Console.
    9. Click Disable maintenance mode. Users are now able to connect to any of the four desktops.
      1. ABC-DMC1
      2. FILER1
      3. ABC-SQL1
      4. ABC-PVSRV1
      5. ABC-PVSRV2
      6. ABC-XAMaster
      7. ABC-XAPVS1
      8. ABC-WI1
      9. ABC-DDC1
      10. ABC-DDC2
      11. ABC-DDC3
      12. ABC-ES1
Wait until each virtual machine is completely powered on and at the authentication screen before powering on the next virtual machine.
2.    Log on as a domain administrator to the ABC-ES1 virtual machine.
    1. Open a browser and browse to http://ABC-ES1/EdgeSight.
    2. Authenticate with the following credentials:
      1. E-mail address: _ES@ABC-.Local
      2. Password: Password1
    1. Click the Configure tab and click Company Configuration > Alerts > Rules in the left pane.
    2. Click New Alert Rule.
    3. Select XenApp Performance Alerts and click Next.
    4. Select the Active Session Count High alert type and click Next.
    5. Type XenApp Session Count in the Rule Name field.
    6. Type 2 into the Number of active sessions field.
    7. Click the Advanced parameters link.
    8. Select 90 from the Poll interval drop-down list and click Next.
    9. Click Next.
    10. Click the All node to assign the alert to all of the departments and click Next.
    11. Select All to map the alert to all of the department and click Next. There are no checkboxes for the departments listed in this screen, but the departments can still be selected and assigned to the Alert Action.
    12. Select Create new Alert Action and click Next.
    13. Minimize the EdgeSight Server browser portal. The configuration of the EdgeSight Alert Rules and Actions will continue later in the Part.
    1. Click Start > All Programs > Accessories > System Tools > Task Scheduler . The Task Scheduler screen appears.
    2. Click the Task Scheduler Library node in the left pane.
    3. Right-click the Citrix-WFS task in the middle pane and click Properties. The Citrix-WFS Properties screen appears.
    4. Click Change User or Group. The Select User or Group screen appears.
    5. Type ABC-\Administrator in the Object Name field and click Check Names. The Multiple Names Found screen appears.
    6. Select the Administrator account located in the ABC-.Local/Users folder and click OK. The Multiple Names Found screen closes.
    7. Click OK. The Select Users or Groups screen closes.
    8. Select Windows Vista or Windows Server 2008 from the Configure for drop-down list.
    9. Click OK.
    10. Type Password1 in the Password field and click OK. The changes are saved and the Citrix-WFS Properties screen closes.
    11. Right-click the Citrix-WFS task in the middle pane of the Task Scheduler and click Properties. The Citrix-WFS Properties screen appears.
    12. Click the Actions tab and click Edit. The Edit Action screen appears.
    13. Leave these screens open and maximize the EdgeSight Server browser portal.
    14. Select Launch an external executable process and click Next.
    15. Type StartXenAppVM Workflow in the Name field.
    16. Maximize the Citrix-WFS Properties screen and copy the text from the Program/script field and paste it in the Full Path to Executable on EdgeSight Server field. This path calls the RUNSCHEDULEDJOB.EXE file, which is used by EdgeSight to run a scheduled job from Workflow Studio.
    17. Type C:\Program Files\Citrix\Workflow Studio\ in the Working Directory field.
    18. Provide the following credentials:
      1. Windows Run As User: Administrator
      2. Password: Password1
      3. Domain: ABC-.Local
The user name supplied in this field must match the user name identified to create the Workflow Runtime service.
    1. Type 20 in the Timeout (seconds) field.
A value must be set in the Timeout (seconds) field for an Action to work correctly.
    1. Maximize the Citrix-WFS Properties screen and copy the text from the Add arguments field and paste it in the Command Line Arguments field.
The text copied from the Citrix-WFS Properties screen contains the Workflow Runtime service name as well as the unique job ID value for the scheduled job.
    1. Click Next.
    2. Click Finish. The StartXenAppVM Workflow Alert Action is saved.
    3. Login as a domain administrator to the ABC-PVSRV1 virtual machine.
    4. Click Start > All Programs > Citrix > Provisioning Services > Provisioning Services Console . The Provisioning Services Console appears.
    5. Click ABC-_PVS_Farm > Sites > Site1 > Device Collections > XenApp Servers .
    6. Right-click ABC-XAPVS1 and click Active Directory > Delete Machine Account . The Delete Machine Accounts from Active Directory screen appears.
The machine account passwords for the provisioned XenApp servers need to be re-configured with the domain controller.
    1. Click Delete Account. The ABC-XAPVS1 Active Directory machine account is deleted.
    2. Click Close. The Delete Machine Accounts from Active Directory screen closes.
    3. Right-click ABC-XAPVS1 and click Active Directory > Create Machine Account . The Create Machine Accounts from Active Directory screen appears.
    4. Type XenApp,Servers in the Organization unit field and click Create Account. The ABC-XAPVS1 Active Directory machine account is created.
Do not include a space after the comma.
    1. Click Close. The Create Machine Accounts from Active Directory screen closes.
    2. Restart the ABC-XAPVS1 virtual machine and logon as a domain administrator.
    3. Within the ABC-ES1 virtual machine, open a browser and browse to http://ABC-WI1
    4. Authenticate using the following credentials:
      1. User name: ESLT1
      2. Password: Password1
    5. Click Word to launch to Microsoft Word application.
It is necessary to launch a published application to verify that the virtual machines were turned on in the correct order and that the XenApp farm is functioning properly.
    1. Close Word.
    2. Maximize the EdgeSight Server browser portal.
    3. Click Company Configuration > Agents > Run Worker .
    4. If prompted, click Install.
    5. Type ABC-XAPVS1 in the Device field and press Enter.
    6. Select Configuration Check from the Worker drop-down list and click Run Worker. Disregard any errors shown in the Last Result field.
    7. Within the ABC-XAPVS1 virtual machine, click Start > Run .
    8. Type %ALLUSERSPROFILE% and click OK.
    9. Browse to Citrix > System Monitoring > Data and double-click the SYS_EVENT_TXT.TXT file.
    10. Scroll to the end of the file and verify that an entry stating "Worker 105 running with trigger 0 had status of 0x00000000" exists. This confirms that the Run Worker action performed successfully.
    11. Within the XenCenter console, verify that the ABC-XAPVS2 virtual machine is shut down.
    12. Within the ABC-ES1 virtual machine, click Company Configuration > Alerts > Actions .
    13. Click the Edit icon next to the StartXenAppVM Workflow Alert Action.
    14. Type Password1 in the Password field and click Test Action. The ABC-XAPVS2 virtual machine starts within the XenCenter console.
    15. Within the XenCenter console, right-click the ABC-XAPVS2 virtual machine and click Force Shutdown.
    16. Click OK. The ABC-XAPVS2 virtual machine shuts down.
For the purposes of this course, the test script created in Part 1: Install the Monitoring Tools has been modified.
    1. Maximize the EdgeSight Server browser portal.
    2. Click the Monitor tab.
    3. If prompted, click Install.
    4. Click Alert List and verify that an Alert triggered by the Active Session Count High Alert Rule is present.
The Alert will appear after the appropriate number of test users launch a session. If necessary, refresh the EdgeSight Server browser portal.
If the test script replay does not trigger an Alert in the EdgeSight Server browser portal, stop the test script, open the ESLT Word 2007 Replacement test script from the desktop of the ABC-ES1 virtual machine and continue.
    1. Verify that the ABC-XAPVS2 virtual machine launches in the XenCenter console.
This process may take several minutes to complete.
    1. Shut down the ABC-XAPVS2 virtual machine. This step must be performed after the EdgeSight for Load Testing test script is finished running. If necessary, open the EdgeSight for Load Testing Controller and manually stop the test.



 This Section has 6 parts:


  • Part 1: Install EdgeSight for Load Testing
  • Part 2: Install EdgeSight Server
  • Part 3: Install Workflow Studio
  • Part 4: Install Edgesight Agent on XenDesktop Desktops
  • Part 5: Configure EdgeSight Alert Rules and Actions
  • Part 6: Test the Monitoring Environment

Part 1: Install EdgeSight for Load Testing
Use the following procedure to install EdgeSight for Load Testing on the ABC-ES1 virtual machine.

    1. Start the virtual machines in the following order:
      1. ABC-DMC1
      2. FILER1
      3. ABC-SQL1
      4. ABC-PVSRV1
      5. ABC-PVSRV2
      6. ABC-XAMaster
      7. ABC-XAPVS1
      8. ABC-WI1
      9. ABC-DDC1
      10. ABC-DDC2
      11. ABC-DDC3
Wait until each virtual machine is completely powered on and at the authentication screen before powering on the next virtual machine.
2.    Start the ABC-ES1 virtual machine and log on as a domain administrator.
    1. Select ESLT_3.5.ISO from the DVD Drive drop-down list.
    2. Open My Computer.
    3. Right-click CD Drive (D:) and click Open.
    4. Double-click AUTORUN.EXE to launch the EdgeSight for Load Testing installation. The EdgeSight for Load Testing installation screen appears.
    5. Click EdgeSight for Load Testing Installation. The Citrix EdgeSight for Load Testing Setup screen appears.
    6. Click Next. The End-User License Agreement appears.
    7. Read and respond to the license agreement and click Next. The Setup Type screen appears.
    8. Click Custom. The Feature Selection screen appears.
    9. Enable the installation of the Web Interface XML Service Connector feature.
The following features should now be enabled for installation:
      1. Load Testing Controller
      2. Load Testing Launcher
      3. Web Interface XML Service Connector
    1. Click Next.
    2. Click Install. The EdgeSight for Load Testing installation begins.
    3. Click Finish when the installation completes. The Citrix EdgeSight for Load Testing Setup screen closes.
    4. Close the EdgeSight for Load Testing wizard.
Install the Citrix Plug-ins and Agents
Use the following procedure to install the appropriate Citrix plug-ins and agents on the ABC-ES1 virtual machine.

    1. Click Start > Run .
    2. Type \\FILER1\PUBLIC\CLIENTS and click OK.
    3. Double-click the XA_HOSTED_PLUG-IN_11.1.1.MSI file.
    4. Select English and click OK. The Citrix XenApp Plugin for Hosted Apps Installation screen appears.
    5. Click Next.
    6. Read and respond to the license agreement and click Next.
    7. Click Next to accept the default clients to install.
    8. Type WebInterface in the Server address field and click Next.
    9. Click Next to accept the default program folder path.
    10. Click Next to accept the default client name settings.
    11. Click Next to accept the default single sign-on settings.
    12. Click Next. The XenApp Plugin for Hosted Apps installation begins.
    13. Click Finish. The Citrix XenApp Plugin for Hosted Apps Installation screen closes.
    14. Close the Citrix XenApp authentication screen.
    15. Double-click the XENAPPSTREAMING.EXE file in the \\FILER1\PUBLIC\CLIENTS directory.
    16. Select English and click OK. The Citrix Offline plug-in Setup screen appears.
    17. Click Next.
    18. Read and respond to the license agreement and click Next.
    19. Click Install to accept the default destination program folder path. The Citrix Offline plug-in installation begins.
    20. Click Finish. The Citrix Offline plug-in Setup screen closes.
    21. Click Yes to restart the ABC-ES1 virtual machine. The ABC-ES1 virtual machine restarts.
    22. Log on as a domain administrator to the ABC-ES1 virtual machine.
Install EdgeSight Web Interface Support
Use the following procedure to install EdgeSight Web Interface Support on the ABC-WI1 virtual machine.

    1. Log in as a domain administrator to the ABC-WI1 virtual machine.
    2. Select ESLT_3.5.ISO from the DVD Drive drop-down list.
    3. Open My Computer.
    4. Right-click CD Drive (D:) and click Open.
    5. Double-click AUTORUN.EXE to launch the EdgeSight for Load Testing installation. The EdgeSight for Load Testing installation screen appears.
    6. Click Web Interface Support Installation. The Citrix EdgeSight Web Interface Support Setup screen appears.
    7. Click Next. The End-User License Agreement appears.
    8. Read and respond to the license agreement and click Next. The User Info screen appears.
    9. Authenticate using the following credentials:
      1. Username: ABC-\Administrator
      2. Password: Password1
    10. Click Validate. A Citrix EdgeSight success screen appears.
    11. Click OK.
    12. Click Next. The Website Selection screen appears.
    13. Select /Citrix/XenApp and click Next. The Ready to Install screen appears.
    14. Click Install. The Web Interface Support installation begins.
    15. Click Finish when the installation completes. The Citrix EdgeSight Web Interface Support Setup screen closes.
    16. Close the EdgeSight for Load Testing wizard.
Configure the ESLT User Accounts
Use the following procedure to configure the ESLT user accounts as members of the EdgeSightWISecurity group on the ABC-WI1 virtual machine.

    1. Open the Server Manager console and expand the Configuration > Local Users and Groups node in the left pane.
    2. Click Groups in the left pane and double-click the EdgeSightWISecurity group. The EdgeSightWISecurity Properties screen appears.
    3. Click Add. The Select Users, Computers, or Groups screen appears.
    4. Type ESLT Test Group in the Object name field and click Check Names.
    5. Click OK. The Select Users, Computers, or Groups screen closes.
    6. Click OK. The EdgeSightWISecurity Properties screen closes.
Configure the EdgeSight for Load Testing Test Script
Use the following procedure to configure the EdgeSight for Load Testing test script on the ABC-ES1 virtual machine.

    1. Click Start > All Programs > Citrix > Citrix EdgeSight for Load Testing > LT Controller . The Citrix EdgeSight for Load Testing Controller appears.
    2. Read the Before You Begin screen and click OK.
    3. Type Password1 in the Load Testing Password field and click OK.
    4. Click Licenses > License Server Configuration . The License Server Configuration screen appears.
    5. Type ABC-DMC1 in the Connect To field and click OK. The License Server Configuration screen closes.
    6. Right-click Test in the left pane and click Add Script. The Script Properties screen appears.
    7. Type ESLT Word 2007 Test in the Name field and click OK. The Script Properties screen closes.
    8. Right-click ESLT Word 2007 Test > Load in the left pane and click Add Load. The Load Properties screen appears
    9. Type 5 in the Load Duration field.
    10. Configure the Load Control Type with the following properties:
      1. At Start: 1 user
      2. At End: 5 users
    11. Click Rate Control and provide the following properties:
      1. At Start: 30 seconds
      2. At End: 30 seconds
    12. Click OK. The Load Properties screen closes.
    13. Right-click Connections in the left pane and click Add Connection. The Connection Properties screen appears.
    14. Type LOCALHOST in the Connect From field.
    15. Select Web Interface and click Access. The Web Interface Access Credentials screen appears.
    16. Deselect Use the logged in user's credential and authenticate with the following credentials:
      1. Username: ESLT1
      2. Password: Password1
      3. Domain: ABC-
    17. Click OK. The Web Interface Access Credentials screen closes.
    18. Click Browse.
    19. Type 192.168.2.20 in the Server Address field. This is the IP address of the ABC-WI1 virtual machine.
    20. Type the following credentials in the corresponding Connect As fields:
      1. Username: ESLT1
      2. Password: Password1
      3. Domain: ABC-
    21. Click Search. A connection is made to the Web Interface servers to see what resources exist. This process may take several minutes to complete.
    22. Click Word and click Select.
    23. Click OK. The Connection Properties screen closes.
    24. Right-click LOCALHOST in the left pane and click Add Users. The Add Users To Connection screen appears.
    25. Type 5 in the Count field.
    26. Type the following credentials in the corresponding authentication fields:
      1. Username: ESLT
        • Select the # option next to the Username field.
        • Starting at #: 1
      2. Password: Password1
      3. Domain: ABC-
    27. Click OK. The Add Users To Connection screen closes.
    28. Click Start > All Programs > Citrix > Citrix EdgeSight for Load Testing > LT Launcher . The EdgeSight Launcher appears.
    29. Minimize the Load Testing Launcher.
    30. Within the Citrix EdgeSight for Load Testing Controller, right-click ESLT Word 2007 Test > Instructions in the left pane and click Record Instructions.
    31. Click Yes to begin recording. A recording test window appears and documents all actions performed in a Microsoft Word test session.
    32. Within the recording test window, spend 30-45 seconds performing actions that simulate a user's interaction with Microsoft Word 2007.
Examples of user interaction include:
      1. Typing content
      2. Modifying the font, font size and display elements of the content
      3. Adding tables to the content
    1. When finished recording, click the Office Button in the top left corner and click Exit Word.
Using the X button in the top right corner will improperly disconnect from the Microsoft Word test session and will result in a corrupted EdgeSight for Load Testing script.
    1. Click No. The Microsoft Word test session ends and a list of instructions populate within the ESLT Word 2007 Test > Instructions node.
Test the EdgeSight for Load Testing Installation
Use the following procedure to test the EdgeSight for Load Testing test script on the ABC-ES1 and ABC-XAPVS1 virtual machines.

    1. Within the ABC-ES1 virtual machine, open the EdgeSight for Load Testing Controller.
    2. Click File > Save .
    3. Type ESLT Word 2007 Test and save the test script to the Desktop.
    4. Click Test > Replay . The EdgeSight for Load Testing test script starts and five Citrix EdgeSight user sessions appear in the taskbar.
    5. If the five Citrix EdgeSight user session windows are not separated in the taskbar, right-click the group of sessions and click Show Windows Side by Side. The five Citrix EdgeSight user sessions can now be seen performing the actions recorded in the test script.
    6. Log on as a domain administrator to the ABC-XAPVS1 virtual machine.
    7. Expand the ABC-_XA_Farm node in the left pane and click Servers.
    8. Right-click Servers and click All Tasks > Change Display > Users .
    9. Verify that there are sessions for the different ESLT user accounts and that the users are connecting to the Word application.
User accounts will only appear while the test scripts are active on the ABC-ES1 virtual machine.
    1. Click Start > Run .
    2. Type SERVICES.MSC and click OK. The Service Control Manager screen appears.
    3. If the status of the Citrix System Monitoring Agent service displays Stopping, click the Citrix System Monitoring Agent service and click Restart.
    4. Close the Services screen.
Part 2: Install EdgeSight Server
Install EdgeSight Server
Use the following procedure to install EdgeSight Server on the ABC-ES1 virtual machine.

    1. Select ES_52.ISO from the DVD Drive drop-down list.
    2. Open My Computer.
    3. Right-click CD Drive (D:) and click Open.
    4. Double-click AUTORUN.EXE to launch the EdgeSight 5.2 installation. The Citrix EdgeSight 5.2 installation screen appears.
    5. Click EdgeSight Server.
    6. Select English and click Continue. The Citrix EdgeSight Installer 5.2 screen appears.
    7. Click Next. The Select Features screen appears.
    8. Click EdgeSight Server Website and Database and click Next. The Prerequisite Check screen appears.
    9. Click Next. The End-User License Agreement appears.
    10. Read and respond to the license agreement and click Next. The Choose Setup Type screen appears.
    11. Click Custom and click Next. The Database Server screen appears.
    12. Click Choose an existing database server and select ABC-SQL1.
    13. Click Next. The Database Information screen appears.
    14. Type EdgeSightDB in the Install a new EdgeSight Database field and click Next. The Database User Information screen appears.
    15. Authenticate using the following credentials:
      1. User Name: ABC-\Administrator
      2. Password: Password1
    16. Click Validate. A EdgeSight Server Validation success screen appears.
    17. Click OK and click Next. The Database Properties screen appears.
    18. Click Next to accept the default database properties. The Server Location screen appears.
    19. Click Next to accept the default server location properties. The Ready to Install screen appears.
    20. Click Install. The EdgeSight installation begins.
    21. Click Finish. The EdgeSight Server website appears. EdgeSight will be configured in the following Part.
    22. Click Exit to close the installation screen.
Configure EdgeSight Server
Use the following procedure to configure EdgeSight Server on the ABC-ES1 virtual machine.

    1. Click Next in the EdgeSight Server website.
    2. Type ABC airlines in the Name field.
    3. Select (GMT-8:00) Pacific Time from the Time Zone drop-down list and click Next.
    4. Click No if prompted to turn AutoComplete on.
    5. Provide the following credentials:
      1. First Name: ABC-_ES
      2. Last Name: Service Account
      3. E-mail/Login: _ES@ABC-.Local
The _ES@ABC-.Local account will be used as the Superuser account.
    1. Type Password1 in the Password and Confirm fields and click Next.
    2. Provide the following e-mail configuration settings and click Next:
      1. SMTP Server: Mail.ABC-.Local
      2. E-mail Address: _ES@ABC-.Local
      3. Display name: EdgeSight Server
      4. E-mail Address: ES_Server@ABC-.Local
    3. Type ABC-DMC1 in the License Server Name field and click Test License Server. The EdgeSight server attaches to the license server and displays the remaining Citrix EdgeSight for Endpoints Agent licenses.
    4. Click Next.
    5. Click Finish. The EdgeSight Server browser portal authentication site appears.
    6. Authenticate using the following credentials:
      1. E-mail address: _ES@ABC-.Local
      2. Password: Password1
The EdgeSight Server browser portal appears.
    1. Minimize the EdgeSight Server browser portal.
Install EdgeSight Agent Database Server
Use the following procedure to install the EdgeSight Agent database server on the ABC-ES1 virtual machine.

    1. Confirm that ES_52.ISO is selected in the DVD Drive drop-down list.
    2. Open My Computer.
    3. Right-click CD Drive (D:) and click Open.
    4. Double-click AUTORUN.EXE to launch the EdgeSight 5.2 installation. The Citrix EdgeSight 5.2 installation screen appears.
    5. Click EdgeSight Component Installers > EdgeSight Agent Database Server . The Citrix EdgeSight Agent Database Server Setup screen appears.
    6. Click Next. The End-User License Agreement appears.
    7. Read and respond to the license agreement and click Next. The Network Settings screen appears.
    8. Type ABC-ES1 in the Database Broker field and click Next. The Agent Location screen appears.
    9. Type WinXP Pool in the Pool Name field and click Next.
    10. Click Install. The Citrix EdgeSight Agent Database Server installation begins.
    11. Click Finish when the installation completes. The Citrix EdgeSight Agent Database Server Setup screen closes.
    12. Click Exit to close the installation screen.
Part 3: Install Workflow Studio
Install Workflow Studio
Use the following procedure to install Workflow Studio on the ABC-ES1 virtual machine.

    1. Select WFSTUDIO_20.ISO in the DVD Drive drop-down list.
    2. Open My Computer.
    3. Double-click CD Drive (D:). The Citrix Workflow Studio 2.0 Wizard appears.
    4. Click Workflow Studio. A Windows Version warning screen appears on the Prerequisite screen.
    5. Click Install.
    6. Click Next.
    7. Read and respond to the license agreement and click Next.
    8. Select Citrix XenApp from the Product list and click Next.
    9. Type ABC-DMC1 in the Host name field and click Next.
    10. Click Next to accept the default Destination Folder settings.
    11. Click Install.
    12. Click Finish when the installation completes. The Citrix Workflow Studio Configuration - Workflow Database screen appears.
    13. Type ABC-SQL1 in the Server field and click Connect. A message appears stating that the specified database does not exist.
    14. Click Create Database. The Citrix Workflow Studio Configuration - TCP Port Sharing screen appears.
    15. Click Enable TCP Port Sharing. The Citrix Workflow Studio Configuration - Workflow Runtimes screen appears.
    16. Click Add to create a Workflow Runtime.
There is a known issue that the newly created Workflow Runtime Host Service will not start properly if no Internet access is available. To prevent this issue, the option to check for publisher and server certificate revocation must be disabled in the Internet options for Internet Explorer. For the purposes of this class, these options have already been disabled.
    1. Select This account.
    2. Type ABC-\Administrator in the Username field and Password1 in the Password field and click OK.
The credentials typed in the Username and Password fields are case sensitive and must be typed as written for the Part to work properly.
    1. Click Continue. The Citrix Workflow Studio Configuration - Security screen appears.
    2. Click Store in Active Directory. The Citrix Workflow Studio Configuration - Role Store screen appears.
    3. Click Create role store. The Citrix Workflow Studio Configuration - Security Service screen appears.
    4. Authenticate using the following credentials:
      1. Username: ABC-\Administrator
      2. Password: Password1
The credentials typed in the Username and Password fields are case sensitive and must be typed as written for the Part to work properly.
    1. Click Validate.
    2. Click Continue. The Citrix Workflow Studio Configuration - Firewall screen appears.
    3. Click Continue. The Citrix Workflow Studio Configuration - Review Changes screen appears.
    4. Click Apply.
    5. Verify that all of the components are installed successfully and click Close. The Citrix Workflow Studio Configuration screen closes.
Install the Workflow Studio Activity Libraries
Use the following procedure to install the Workflow Studio Activity Libraries on the ABC-ES1 virtual machine.

    1. Within the Citrix Workflow Studio 2.0 Wizard, click Activity Libraries. A Group Policy Management Console warning screen appears on the Prerequisite screen.
    2. Click Install. The Citrix Workflow Studio Activity Libraries InstallShield Wizard appears.
    3. Click Next.
    4. Click Next to install the default program features.
    5. Click Install. The Citrix Workflow Studio Activity Libraries installation begins.
    6. Click Finish. The Citrix Workflow Studio Activity Libraries InstallShield Wizard closes.
    7. Close the Citrix Workflow Studio 2.0 Wizard.
Create a Workflow
Use the following procedure to create a workflow on the ABC-ES1 virtual machine.

    1. Open the Workflow Studio console.
    2. Confirm the following values appear and click Logon:
      1. Server: ABC-SQL1
      2. Database: WFDB
The Citrix Workflow Studio console appears.
    1. Right-click Workflows in the top left pane and click Create Category.
    2. Name the category EdgeSight.
    3. Click Create Workflow in the right pane. The Create Workflow option is located in the Workflow Tasks menu on the right-hand side of the console.
    4. Type StartXenAppVM in the Name field and click OK. The Workflow Studio Designer screen appears.
    5. Expand the Citrix XenServer node in the Activities pane.
    6. Click and drag the Connect to Server activity to the center design surface.
    7. Type 192.168.1.10 in the Host Name or IP Address field in the right pane. This is the IP address of the XenServer_1 host server.
    8. Click in the Password field and click the ... button. The Password screen appears.
    9. Type myxenpw and click OK. The Password screen closes.
    10. Expand the Citrix XenServer > VM node in the Activities pane.
    11. Click and drag the Get VM activity to the center design surface beneath the connectToServer activity.
    12. Type ABC-XAPVS2 in the VM Name field in the right pane.
Ensure that the * is removed before you begin typing.
    1. Click and drag the Start VM activity to the center design surface beneath the getVM activity.
    2. Type XenServer_1 in the Host name field in the right pane.
    3. Click in the VM to Start field and select ListOutput from the drop-down list.
    4. Click and drag the Disconnect From Server activity to the center design surface beneath the startVM activity.
    5. Click Save. If the workflow is configured properly, the message "The build was successful" will appear at the bottom of the Workflow Studio Designer screen.
    6. Within the XenCenter console, verify that the ABC-XAPVS2 virtual machine is shut down.
    7. Within the ABC-ES1 virtual machine, click the Start button at the top of the Workflow Studio Designer screen. Each of the workflow activities is tested. After all four activities are tested, the ABC-XAPVS2 virtual machine starts.
    8. Close the StartXenAppVM workflow.
    9. Shutdown the ABC-XAPVS2 virtual machine.
    10. Within the ABC-ES1 virtual machine, click the Security button in the left pane of the Workflow Studio console. A warning screen appears.
    11. Click Yes to register a server. The Add Server screen appears.
    12. Type ABC-ES1 and click OK. The Add Server screen closes.
    13. Click Add Role Assignment in the right pane. The Add role assignments to servers screen appears.
    14. Click Add. The Select Users or Groups screen appears.
    15. Type ABC-\Administrator in the Object Name field and click Check Names. The Multiple Names Found screen appears.
    16. Select the Built-in Administrator account and click OK. The Multiple Names Found screen closes.
    17. Click OK. The Select Users or Groups screen closes.
    18. Click Next.
    19. Select the following roles:
      1. Perform all jobs and security operations
      2. Start deployed jobs
      3. Schedule deployed jobs through Task Scheduler
    20. Click Next. The security updates are applied.
    21. Click Finish. The Add role assignments to servers screen closes.
    22. Within the Workflow Studio console, click the Workflows button in the left pane.
    23. Click the StartXenAppVM workflow and click Create Job in the right pane. The Create New Workflow Job screen appears.
    24. Type ABC-ES1 in the Server field and click Next if not automatically forwarded to the Specify      scheduling for this job screen.
    25. Select Custom Schedule and click Edit Schedule. The New Task Schedule screen appears.
    26. Select Once from the Schedule Task drop-down list.
    27. Schedule a task date one week from today's date and click OK. The New Task Schedule screen closes.
    28. Click Finish. The Create New Workflow Job screen closes and a new task is created.
    29. Minimize the Workflow Studio console.
Part 4: Install EdgeSight Agent on XenDesktop Desktops
Shutting Down the Virtual Desktops
Use the following procedure to shut down the virtual desktops using the Access Management Console on the ABC-DDC1 virtual machine.

    1. Log on as a domain administrator to the ABC-DDC1 virtual machine.
    2. Open the Access Management Console and expand the Desktop Delivery Controller > ABC-_XD_Farm > Desktop Groups nodes in the left pane.
    3. Click WinXP Pool. A list of the four provisioned desktops appears.
If all four provisioned desktops appear in the XenCenter console as Started, but appear as 'Not Registered' in the Access Management Console, verify that the ABC-inXP1-4 virtual machines were able to start properly. If the ABC-inXP1-4 virtual machines did not start properly, verify that the ABC-PVSRV1 and ABC-PVSRV2 virtual machines are running on separate XenServer hosts. If necessary, XenMotion ABC-PVSRV2 to the other XenServer host and restart the ABC-inXP1-4 virtual machines.
    1. Select all four virtual desktops and click Enable maintenance mode in the Tasks pane. Users are now unable to connect to any of the four desktops.
    2. Click Shutdown/suspend in the Task pane. The Shutdown/suspend screen appears.
    3. Select Shut down and click OK. The virtual desktops shut down.
Changing the vDisk to Private Image Mode
Use the following procedure to change the vDisk to Private Image mode on the ABC-PVSRV1 virtual machine.

    1. Log on as a domain administrator to the ABC-PVSRV1 virtual machine.
    2. Open the Provisioning Services Console.
    3. Expand the ABC-_PVS_Farm > Stores nodes and click Filer1.
    4. Right-click WinXPMaster and click Properties. The vDisk Properties screen appears.
    5. Click Edit File Properties. The vDisk File Properties screen appears.
    6. Click the Mode tab and select Private Image from the Access Mode drop-down list.
    7. Click OK. The vDisk File Properties screen closes.
    8. Click OK. The vDisk Properties screen closes.
Install the EdgeSight for Endpoints Agent
Use the following procedure to install the EdgeSight for Endpoints Agent on the ABC-DDC1 virtual machine.

    1. Within the Access Management Console, select the ABC-inXP1 virtual desktop and click Disable maintenance mode in the Tasks pane.
    2. Click Start in the Tasks pane. The ABC-inXP1 virtual desktop starts.
    3. Log on to the ABC-inXP1 virtual machine as a domain administrator.
    4. Close the Citrix XenApp authentication screen.
    5. Within the XenCenter console, select ES_52.ISO in the DVD Drive drop-down list.
    6. Open My Computer.
    7. Right-click CD Drive (D:) and click Open.
    8. Double-click AUTORUN.EXE to launch the EdgeSight 5.2 installation. The Citrix EdgeSight 5.2 installation screen appears.
    9. Click EdgeSight Agent Installers.
    10. Click EdgeSight for Endpoints Agent. The Citrix EdgeSight for Endpoints Agent Setup screen appears.
    11. Click Next. The End-User License Agreement appears.
    12. Read and respond to the license agreement and click Next. The Product Information screen appears.
    13. Type ABC airlinesin the Company field.
    14. Type Operations in the Department field and click Next. The Agent Location screen appears.
    15. Click Next to accept the default installation locations. The Network Settings screen appears.
    16. Type ABC-ES1 in the Server Name field and click Next. The Advanced Settings screen appears.
    17. Click Configure the agent for virtual desktops.
    18. Type \\FILER1\EDGESIGHT in the Remote UNC Path.
    19. Type WinXP Pool in the Pool Name field.
    20. Type ABC-ES1 in the Database Broker field and click Next.
    21. Click Install. The Citrix EdgeSight for Endpoints Agent installation begins.
    22. Click Finish when the installation completes. The Citrix EdgeSight for Endpoints Agent Setup screen closes.
    23. Click Yes to restart the ABC-inXP1 virtual machine. ABC-WinXP1 restarts.
    24. Log on as a domain administrator to the ABC-inXP1 virtual machine.
    25. Close the Citrix XenApp authentication screen.
    26. Click Start > Run .
    27. Type SERVICES.MSC and click OK. The Service Control Manager screen appears.
    28. Right-click the Citrix System Monitoring Agent service and click Properties. The Citrix System Monitoring Agent Properties screen appears.
    29. Select Automatic from the Startup Type drop-down list and click OK. The Citrix System Monitoring Agent Properties screen closes.
    30. Close the Service Control Manager.
    31. Within the ABC-DDC1 virtual machine, select the ABC-inXP1 virtual desktop within the Access Management Console.
    32. Click Enable maintenance mode in the Tasks pane.
    33. Click Yes in the warning screen.
    34. Within the ABC-inXP1 virtual machine, click Start > Shut Down . The ABC-inXP1 virtual desktop shuts down and the changes are saved to the vDisk.
Changing the vDisk to Standard Image Mode
Use the following procedure to change the vDisk to Standard Image mode on the ABC-PVSRV1 and ABC-DDC1 virtual machines.

    1. Open the Provisioning Services Console.
    2. Expand the ABC-_PVS_Farm > Stores nodes and click Filer1.
    3. Right-click the WinXPMaster vDisk and click Properties. The vDisk Properties screen appears.
    4. Click Edit File Properties. The vDisk File Properties screen appears.
    5. Click the Mode tab and select Standard Image from the Access Mode drop-down list.
    6. Click OK. The vDisk File Properties screen closes.
    7. Click OK. The vDisk Properties screen closes.
    8. Within the ABC-DDC1 virtual machine, select all four virtual desktops from the Access Management Console.
    9. Click Disable maintenance mode. Users are now able to connect to any of the four desktops.
Part 5: Configure EdgeSight Alert Rules and Actions
Configure an EdgeSight Server Alert Rule
Use the following procedure to configure an EdgeSight Server Alert Rule on the ABC-ES1 virtual machine.

    1. Start the virtual machines in the following order:
      1. ABC-DMC1
      2. FILER1
      3. ABC-SQL1
      4. ABC-PVSRV1
      5. ABC-PVSRV2
      6. ABC-XAMaster
      7. ABC-XAPVS1
      8. ABC-WI1
      9. ABC-DDC1
      10. ABC-DDC2
      11. ABC-DDC3
      12. ABC-ES1
Wait until each virtual machine is completely powered on and at the authentication screen before powering on the next virtual machine.
2.    Log on as a domain administrator to the ABC-ES1 virtual machine.
    1. Open a browser and browse to http://ABC-ES1/EdgeSight.
    2. Authenticate with the following credentials:
      1. E-mail address: _ES@ABC-.Local
      2. Password: Password1
    1. Click the Configure tab and click Company Configuration > Alerts > Rules in the left pane.
    2. Click New Alert Rule.
    3. Select XenApp Performance Alerts and click Next.
    4. Select the Active Session Count High alert type and click Next.
    5. Type XenApp Session Count in the Rule Name field.
    6. Type 2 into the Number of active sessions field.
    7. Click the Advanced parameters link.
    8. Select 90 from the Poll interval drop-down list and click Next.
    9. Click Next.
    10. Click the All node to assign the alert to all of the departments and click Next.
    11. Select All to map the alert to all of the department and click Next. There are no checkboxes for the departments listed in this screen, but the departments can still be selected and assigned to the Alert Action.
    12. Select Create new Alert Action and click Next.
    13. Minimize the EdgeSight Server browser portal. The configuration of the EdgeSight Alert Rules and Actions will continue later in the Part.
Configure an EdgeSight Server Alert Action
Use the following procedure to configure an EdgeSight Server Alert Action on the ABC-ES1 virtual machine.

    1. Click Start > All Programs > Accessories > System Tools > Task Scheduler . The Task Scheduler screen appears.
    2. Click the Task Scheduler Library node in the left pane.
    3. Right-click the Citrix-WFS task in the middle pane and click Properties. The Citrix-WFS Properties screen appears.
    4. Click Change User or Group. The Select User or Group screen appears.
    5. Type ABC-\Administrator in the Object Name field and click Check Names. The Multiple Names Found screen appears.
    6. Select the Administrator account located in the ABC-.Local/Users folder and click OK. The Multiple Names Found screen closes.
    7. Click OK. The Select Users or Groups screen closes.
    8. Select Windows Vista or Windows Server 2008 from the Configure for drop-down list.
    9. Click OK.
    10. Type Password1 in the Password field and click OK. The changes are saved and the Citrix-WFS Properties screen closes.
    11. Right-click the Citrix-WFS task in the middle pane of the Task Scheduler and click Properties. The Citrix-WFS Properties screen appears.
    12. Click the Actions tab and click Edit. The Edit Action screen appears.
    13. Leave these screens open and maximize the EdgeSight Server browser portal.
    14. Select Launch an external executable process and click Next.
    15. Type StartXenAppVM Workflow in the Name field.
    16. Maximize the Citrix-WFS Properties screen and copy the text from the Program/script field and paste it in the Full Path to Executable on EdgeSight Server field. This path calls the RUNSCHEDULEDJOB.EXE file, which is used by EdgeSight to run a scheduled job from Workflow Studio.
    17. Type C:\Program Files\Citrix\Workflow Studio\ in the Working Directory field.
    18. Provide the following credentials:
      1. Windows Run As User: Administrator
      2. Password: Password1
      3. Domain: ABC-.Local
The user name supplied in this field must match the user name identified to create the Workflow Runtime service.
    1. Type 20 in the Timeout (seconds) field.
A value must be set in the Timeout (seconds) field for an Action to work correctly.
    1. Maximize the Citrix-WFS Properties screen and copy the text from the Add arguments field and paste it in the Command Line Arguments field.
The text copied from the Citrix-WFS Properties screen contains the Workflow Runtime service name as well as the unique job ID value for the scheduled job.
    1. Click Next.
    2. Click Finish. The StartXenAppVM Workflow Alert Action is saved.
    3. Login as a domain administrator to the ABC-PVSRV1 virtual machine.
    4. Click Start > All Programs > Citrix > Provisioning Services > Provisioning Services Console . The Provisioning Services Console appears.
    5. Click ABC-_PVS_Farm > Sites > Site1 > Device Collections > XenApp Servers .
    6. Right-click ABC-XAPVS1 and click Active Directory > Delete Machine Account . The Delete Machine Accounts from Active Directory screen appears.
The machine account passwords for the provisioned XenApp servers need to be re-configured with the domain controller.
    1. Click Delete Account. The ABC-XAPVS1 Active Directory machine account is deleted.
    2. Click Close. The Delete Machine Accounts from Active Directory screen closes.
    3. Right-click ABC-XAPVS1 and click Active Directory > Create Machine Account . The Create Machine Accounts from Active Directory screen appears.
    4. Type XenApp,Servers in the Organization unit field and click Create Account. The ABC-XAPVS1 Active Directory machine account is created.
Do not include a space after the comma.
    1. Click Close. The Create Machine Accounts from Active Directory screen closes.
    2. Restart the ABC-XAPVS1 virtual machine and logon as a domain administrator.
    3. Within the ABC-ES1 virtual machine, open a browser and browse to http://ABC-WI1
    4. Authenticate using the following credentials:
      1. User name: ESLT1
      2. Password: Password1
    5. Click Word to launch to Microsoft Word application.
It is necessary to launch a published application to verify that the virtual machines were turned on in the correct order and that the XenApp farm is functioning properly.
    1. Close Word.
    2. Maximize the EdgeSight Server browser portal.
    3. Click Company Configuration > Agents > Run Worker .
    4. If prompted, click Install.
    5. Type ABC-XAPVS1 in the Device field and press Enter.
    6. Select Configuration Check from the Worker drop-down list and click Run Worker. Disregard any errors shown in the Last Result field.
    7. Within the ABC-XAPVS1 virtual machine, click Start > Run .
    8. Type %ALLUSERSPROFILE% and click OK.
    9. Browse to Citrix > System Monitoring > Data and double-click the SYS_EVENT_TXT.TXT file.
    10. Scroll to the end of the file and verify that an entry stating "Worker 105 running with trigger 0 had status of 0x00000000" exists. This confirms that the Run Worker action performed successfully.
    11. Within the XenCenter console, verify that the ABC-XAPVS2 virtual machine is shut down.
    12. Within the ABC-ES1 virtual machine, click Company Configuration > Alerts > Actions .
    13. Click the Edit icon next to the StartXenAppVM Workflow Alert Action.
    14. Type Password1 in the Password field and click Test Action. The ABC-XAPVS2 virtual machine starts within the XenCenter console.
    15. Within the XenCenter console, right-click the ABC-XAPVS2 virtual machine and click Force Shutdown.
    16. Click OK. The ABC-XAPVS2 virtual machine shuts down.
Part 6: Test the Monitoring Environment
Test the Monitoring Environment
Use the following procedure to test the monitoring environment on the ABC-ES1 virtual machine.

    1. Click Start > All Programs > Citrix > Citrix EdgeSight for Load Testing > LT Controller . The Citrix EdgeSight for Load Testing Controller appears.
    2. Read the Before You Begin screen and click OK.
    3. Type Password1 in the Load Testing Password field and click OK.
    4. Click File > Open and open the ESLT Word 2007 Test test script from the desktop.
    5. Click Start > All Programs > Citrix > Citrix EdgeSight for Load Testing > LT Launcher . The EdgeSight Launcher appears.
    6. Minimize the Load Testing Launcher.
    7. Click Test > Replay . The EdgeSight for Load Testing test script starts.
For the purposes of this course, the test script created in Part 1: Install the Monitoring Tools has been modified.
    1. Maximize the EdgeSight Server browser portal.
    2. Click the Monitor tab.
    3. If prompted, click Install.
    4. Click Alert List and verify that an Alert triggered by the Active Session Count High Alert Rule is present.
The Alert will appear after the appropriate number of test users launch a session. If necessary, refresh the EdgeSight Server browser portal.
If the test script replay does not trigger an Alert in the EdgeSight Server browser portal, stop the test script, open the ESLT Word 2007 Replacement test script from the desktop of the ABC-ES1 virtual machine and continue.
    1. Verify that the ABC-XAPVS2 virtual machine launches in the XenCenter console.
This process may take several minutes to complete.

    1. Shut down the ABC-XAPVS2 virtual machine. This step must be performed after the EdgeSight for Load Testing test script is finished running. If necessary, open the EdgeSight for Load Testing Controller and manually stop the test.

No comments:

Post a Comment

Featured Post

Amazon Route 53

Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service.Route 53  perform three main functions in any...