Advertisements

Category Archives: XenApp

Citrix Receiver Desktop Lock Demo


Advertisements

XenApp 6.5


Just a few notes about XenApp 6.5:

First if you where a custom to using Load Evaluators for managing Servers Maintenance Windows or taking servers offline you better start getting use to Worker Groups.  The Reason is they have moved Load Evaluators to Machine Policies so you can’t change them on the fly, with this being said I highly recommend using Worker Groups based on Farm Servers instead of OU.  This is so you can easily add and remove servers this taking them out of the published application.

 

Second, Licensing is a Must, but again this is done through Machine Policies.  You have to select the right Version (Adv, Ent, or Plat) Also a new feature is you have to select your licensing model (XD or XA, Concurrent or Named).  Note: if you run the following command qfarm /load and get a load of 20,000 you don’t have licensing set correctly.

 

That is mostly it for now, just wanted let you all know of the few changes.  More to come…

 

Thanks for reading

XenApp 6 Install Guide


You will be presented with a list of Prerequisites. This will take a while to install all Prerequisites, however this will fail if your server is pending a reboot. You can check this by opening up Server Manger, and look down at the bottom left. If it states that it can’t refresh until the server is rebooted this section WILL FAIL.

If you are installing the first XenApp 6 Server you will click on Create a new server farm. You will then be prompted with a Screen asking you for a SQL Server. It is almost the same as the screen shots below, and the rest of the install is the same.

Click on Existing Microsoft SQL Server Database

Enter the Server Name and Existing Database Name, Most of the time this will be Integrated Windows authentication

Enter in your SQL Credentials then click Test Connection.

These are the Defaults I always put into place.

This step really isn’t to important as we will have to add Version and Server to the base Citrix Policy.

I have always chosen port 8080 this however can be any port number just remember what it is.

You will need to apply the below hotfix for things to work correctly.

You should be good to go…

And as always before installing anything on a Citrix Server first run the command below.

Once the installation is complete run the below command.

Thanks for reading

Lawrence

Cloning a Citrix 4.5 box in VMWare


  1. Login to the Citrix server you want to Clone
  2. Verify no one is logged in
  3. Shutdown the server…
  4. Once it is shutdown,
    1. open Virtual Center
    2. select the Citrix Server
    3. select Clone to New Virtual Machine
      1. Enter the Name of the New Virtual Machine
      2. Select the Folder
      3. Select the Host/Cluster
      4. Select the correct Resource Pool
      5. Select the Correct Datestore
      6. Select Customize using the Customization Wizard
        1. You will need to enter a valid server name
        1. Enter the Windows License Key and the correct TS CAL’s
        1. Enter the correct Local Administrator Password
        1. Select the correct Time Zone
        1. Citrix and myself Recommend either Static IP or Reserved DHCP
          1. Click Customize…
            1. You will need a valid IP Address to use DO NOT USE THE ONE IN THIS EXAMPLE
        1. Make sure you DO NOT Select “power on the new virtual machine after creation”
      7. Once the Clone has complete successfully
      8. Power on the OLD Server
      9. Click Edit Settings on the New Virtual Machine
          1. Select Network Adapter
          2. Uncheck the Connect at power on
          3. Click OK
        1. Power on the New Virtual Machine
        2. Open the Console
        3. Time to make Citrix Work!
          1. Login once it has finished its sysprep
            1. You will get an alert that a service couldn’t be started
          2. First go through the Registry and replace the old servername with the new servername
            1. There will be roughly 20-30 places to make this change once you start the search you can press F3 to find the next.
          3. First go through the Registry and replace the old IP Address with the new IP Address
          4. Browse to c:\program files\citrix\Independent Management Architecture\MF20.DSN and change the old servername to the new servername Note: you will have to open the file with Notepad
            1. WSID=new servername
          5. Browse to c:\program files\citrix\System32\CtxSta.config
            1. Change UID=STAxxxxxxxxxxxx
              to some random number that hasn’t been used on another server.
          6. Shutdown the Server…
      10. Click Edit Settings on the New Virtual Machine
          1. Select Network Adapter
          2. Check the Connect at power on
          3. Click OK
        1. Power on the New Virtual Machine
        2. Open the Console
        3. Login and add the server to the domain
        4. Change the Page file to 4092
        5. And make the following changes
        6. Reboot and you have yourself a New Citrix Server in about an 1hr – 2hrs
          1. Just make the Following “house cleaning changes” and you are all set.
      11. Open the Presentation Server Console not the Access Console.
          1. Move the Cloned Server to the Correct ZONE
      12. Within the Access Console
          1. Select the New Server and Click Add, Click OK
        1. Close all windows
        2. Reboot

Citrix MedEvac


Nothing special just a quick link to MedEvac

http://support.citrix.com/article/CTX107935

 
 

Hopefully I will have sometime to update my XenDesktop 4 Powershell Scripts to work with XenDesktop 5 stay tuned.

Fixing IMA Error -2147483626


http://support.citrix.com/article/ctx101877

  • Run CHFARM
  • Click Yes to the error about IMA Stopping
  • Click Yes to the next error
  • Click Join a Farm
  • Enter in “SQL Server Name”
  • Enter in current SA Username and Password or Windows Username and Password
  • Enter in SA Username and Password or Windows Username and Password in the second ODBC connection window
  • Click finish

Citrix XenApp 5 Win2k8 Install Guide/How-to


  • Pre-reqs
    • DotNet 3.5
    • XenAppHosted (ICA Client)
    • Jre-6U5-windows-i586-p
      • This is required to install the old CMC
    • Delete Microsoft XPS Document Writer (Printer)

 
 

Launch Autorun


Select the correct Edition you are licensed for… This can be changed later


Click Application Virtualization


After “reading” the EULA, Select I accept the license agreement


Click Next


Un-select the above


If you receive the above message Under the Passtrough Client options reselect then unselect the options and it should go away.


Click Next


Click Next


Click Finish


Click Next


Keep Defaults, click Next


Click Join an existing farm, Click Next


Un-check “Use default zone name, type in “XENAPP5″, Click next


Type in the name of the SQL server, and click next


Select SQL Server Auth, type in the Username and Password, Click Next

Depending on the environment this may have to be set to Windows Auth


Change the default database to XenApp, Click Next


Click Finish


Click Test Data Source…


Click Ok, If this fails go back to the beginning of the data source setup and re-enter and verify all fields


Select Use the global farm settings, click next


Check Force a shadow acceptance popup, and Log all shadow connections, click Next


Change this to 8080, click next


Select Skip this step, and add users later, un-check Add Anonymous users also, Click Next


Click Finish


Uncheck View the Readme file, click Close


Click Next


Click Next


Click Next


Click Finish


Click Finish


Click Yes

XenApp Tweaks…


So here are a couple files for tweaking your XenApp environment…


{filelink=4}

Streaming Apps


Ok so I forgot to but this info in earlier posts so here is another quick note:

For Applications with Service’s you will need to create a White List for them if they are not digitally signed.  Here is how to do that…

hklmSoftwareCitrixRade add AppHubWhiteList  REG_SZ  Value = servername Some Examples would include serverx;servery Notice that there are NO spaces between them, if you are using HTTP or HTTPS you will need to include them example http://serverX;https://serverY

Now if your Application keeps trying to invoke MSI’s you will need to add the following: 0 = Disabled and 1 = enabled (Default)

hklmsoftwarewow64CitrixStreamingHookAppInit_DllsCtxSbxHook  Add Dword  Hookmsi set to 0

hklmsoftwarewow64CitrixStreamingHook64AppInit_DllsCtxSbxHook  Add Dword  Hookmsi set to 0

Ok that is it for today I will post again when I get Visio2010 working on a consistent bases.

Thanks for reading.

%d bloggers like this: