Advertisements

Monthly Archives: April 2011

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
Advertisements

NetScaler Clientless Access Filtering


So I have done some posts before on Content Filtering with the NetScaler this is just bringing it to the next level, and giving your VPN a little extra security and control.

First Start off by creating or using an existing Access Gateway Virtual Server. Now unlike most Virtual Servers we aren’t going to configure anything within the VS. Everything we do is going to be focused on Groups or Users.

Click Add under the Groups section

Type in a Group Name in this example I am using “TEST_LOCKDOWN” (note: this group should match an Active Directory Group)

We aren’t going to select any users.

Click the Authorization Tab

Click Insert Policy

Click New Policy…

Name it and select Deny, now click the Add… Button

Completed Policy… To Deny access to Site1.ntcrash.biz

Now to allow access to all other sites at ntcrash.biz

Click Insert Policy…

We followed the exaxt same steps as we did for the DENY rule but this time we just add the domain ntcrash.biz and select ALLOW

Also Notice Very Important Step We want the ALLOW Rule to be checked after the DENY Rule notice the Priority of the above Rules.

Click, now to add the Clientless access part. Select the Policy Tab, Click the Session Module

Click Insert Policy, We already had one, double click on Profile

So Notice in this example we are going to DENY access to the Web Interface Server… But allow the home page to come through.

You could be using Bookmarks or any other type of Clientless access methods but this will always DENY access to site1.ntcrash.biz

Thanks for reading, please comment or contact me if you have any questions.

Wyse Xenith and Citrix XenDesktop client drive mapping Issue


If you are receiving the following error: Network path not found. Have access with the UNC path. FTA generating error.  Then this should resolve the issue

1. Run Regedit.

2. Navigate to:
HKEY_LOCAL_MACHINESOFTWARECitrixICA ClientEngineConfigurationAdvancedModulesClientDrive
3. Create the Reg Value: NativeDriveMapping
Reg Type: REG_SZ
Add the Value: True

 
 

Check out the following CTX for more details.

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

 
 

Thanks for reading

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.

File and Folder Permissions via PowerShell


So I wrote a little script to help me out, and after wasting a day searching the web for a nice pre-canned one I decided just to write one myself

This is written to Change the Owner of a folder to the folder name… This is extremely useful when fixing a root level folder permissions issue.

 

{filelink=5}

 


Summit and Synergy!!!


I will be at both with a fully loaded schedule and here it is! If anyone out there would like to sync up and chat please hit me up.

Schedule for Monday, May 23

8:00 am- 8:00 pm

Registration Open (Moscone West)

9:00 am-12:00 pm

SUM401D – Optimizing virtual desktop delivery with XenDesktop 5
Hilton Golden Gate 2

11:45 am- 1:30 pm

Lunch (Moscone West)

12:45 pm- 1:30 pm

SUM207 – Printing optimizations for the branch office
Moscone 2008,2010,2012

7:00 pm-10:00 pm

Partner Appreciation Party

 

Schedule for Tuesday, May 24

7:00 am- 9:00 pm

Registration Open (Moscone West)

8:00 am- 8:45 am

SUM208 – Get under the hood of XenClient
Moscone 2024

9:00 am-12:00 pm

SUM414D – Virtualizing the datacenter with XenServer 5.6 Feature Pack 1 distributed virtual switching
Hilton Golden Gate 6

11:45 am- 1:30 pm

Lunch (Moscone West)

1:30 pm- 2:15 pm

SUM215 – XenClient and the Synchronizer for XenClient: A technical look at how to bring desktop virtualization to road warriors
Moscone 2024

2:00 pm- 5:00 pm

SUM406D – Branch Repeater 6.0 is new and improved
Hilton Golden Gate 7

7:00 pm-10:00 pm

Synergy Welcome Reception (Moscone West)

 

Schedule for Wednesday, May 25

7:00 am- 5:30 pm

Registration Open (Moscone West)

8:00 am- 8:45 am

SYN323 – Tablets in the enterprise without security headaches
Moscone 2016-2018

9:00 am- 9:45 am

SYN315 – It’s all about me! Desktop personalization and user profiles
Moscone 2016-2018

12:30 pm- 2:30 pm

Lunch (Moscone West)

2:00 pm- 5:00 pm

SYN413D – Single sign-on to web and enterprise applications using OpenCloud Access
Hilton Golden Gate 6

 

Schedule for Thursday, May 26

8:00 am- 7:00 pm

Registration Open (Moscone West)

11:30 am-12:15 pm

SYN335 – Desktop virtualization and intelligent storage
Moscone 2001

12:15 pm- 2:00 pm

Lunch (Moscone West and Hilton)

2:00 pm- 2:45 pm

SYN332 – Architectures for interactive voice and video in VDI environments
Moscone 2001

3:00 pm- 3:45 pm

SYN310 – XenClient deep dive: architectural overview
Moscone 2007,2009,2020,2022

4:00 pm- 4:45 pm

SYN205 – Best practices for hosting XenApp and XenDesktop on XenServer
Moscone 2016-2018

5:00 pm- 5:45 pm

SYN309 – Best practices for deploying XenClient
Moscone 2008,2010,2012

7:00 pm-11:00 pm

Synergy Party

 

Schedule for Friday, May 27

8:30 am- 3:30 pm

Registration Open (Moscone West)

9:00 am- 9:45 am

SYN204 – Automate server and client image management with Citrix provisioning services
Moscone 2007,2009,2020,2022

10:00 am-10:45 am

SYN346 – Make XenApp deployment lightning fast and reduce storage with provisioning services
Moscone 2008,2010,2012

11:00 am-11:45 am

SYN325 – Trust but verify: how to check every device automatically before allowing it in your network
Moscone 2003-2005

11:45 am- 1:00 pm

Lunch (Moscone West and Hilton)

1:00 pm- 1:45 pm

SYN312 – From A to XenApp: the comprehensive technical guide to optimal XenApp farm design
Moscone 2007,2009,2020,2022

2:00 pm- 2:45 pm

SYN201 – What’s new in XenServer
Moscone 2003-2005   

Thanks

Lawrence Lutton

XenDesktop 5 and Windows 7 Default Profile


First, Create the base image, and base application installs.

Second, configure the applications, Desktop, Start menu and any other settings you want every new user to get.

Third, Create a new Local Administrator user account. Note that step two HAS to be done with a LOCAL user. Once everything is set the way you want, login with the new user account. Browse to C:Users Rename “Default” to “Default-OLD” or whatever makes sense to you. Then make a copy of the first Administrator’s account folder. Once it has successfully copied Rename it to “Default”.

Fourth, Run Sysprep… Yeah I know it is a pain, but so far this is the only way to really make this work every time. To run sysprep logout of the Second Administrator’s account and back in to the First. Disable the Second Admin account, and Delete the Users Profile. Now browse to c:windowssystem32sysprep Run sysprep leaving all defaults.

Fifth, Run back through the Windows 7 Setup wizard and you are all set, don’t forget to join it to the domain.

Now all you have to do is run the update wizard within XenDesktop 5.

Thanks for reading

Lawrence

Current Citrix Hotfixes 03-17-2011


There are two important hotfixes this week related to PVS and XS 5.6 FP1.  These are in BOLD below.

 
 

Edgesight (This hotfix introduces event log upload throttling to the agent)

Public Hotfixes: Hotfix ES530VDAAgentWX86002 (Version 5.3.4135) – For Citrix EdgeSight 5.3 Virtual Desktop Agent x86

Public Hotfixes: Hotfix ES530VDAAgentWX64002 (Version 5.3.4135) – For Citrix EdgeSight 5.3 Virtual Desktop Agent x64

 
 

Provisioning Services

Public Hotfixes: Hotfix ES530VDAAgentWX64002 (Version 5.3.4135) – For Citrix EdgeSight 5.3 Virtual Desktop Agent x64

User unable to select own domain in PVS console when creating a machine account”

Public Hotfixes: Hotfix CPVS56SP1E018 – For Citrix Provisioning Services 5.6 Service Pack 1

BG-28082: Citrix PVS Soap Server crashes due to heap memory overrun.

Public Hotfixes: Hotfix CPVS56SP1E015 – For Citrix Provisioning Services 5.6 Service Pack 1

BUG 27688 Upgrading a Citrix Provisioning Services 5.1.2 (w/hotfix CTX127164 or CTX126804) to Citrix Provisioning Services 5.6 Service Pack 1 will make all of the other Citrix Provisioning Services 5.1 SP2 Servers in the farm appear offline once the database is upgraded to 5.6 Service Pack 1.
BUG 27692 Upgrading a Citrix Provisioning Services 5.6 server to Citrix Provisioning Services 5.6 Service Pack 1 causes all the target devices to failover to the new 5.6 SP1 server.

 
 

XenApp 5

Limited Release Hotfixes: LIMITED RELEASE – Hotfix PSE450R06W2K3051 – For Citrix Presentation Server 4.5 and XenApp 5.0 for Windows Server 2003 x86

Limited Release Hotfixes: LIMITED RELEASE – Hotfix PSE450R06W2K3051 – For Citrix Presentation Server 4.5 and XenApp 5.0 for Windows Server 2003 x86

 
 

XenApp 6

Limited Release Hotfixes: LIMITED RELEASE – Hotfix XA600W2K8R2X64040 – For Citrix XenApp 6.0 for Windows Server 2008 R2 – English

Public Hotfixes: Hotfix XA600W2K8R2X64012 – For Citrix XenApp 6.0 for Windows Server 2008 R2 – English

This fix addresses a security vulnerability. For more information, see Knowledge Center article CTX123359

Limited Release Hotfixes: LIMITED RELEASE – Hotfix XA600W2K8R2X64043 – For Citrix XenApp 6.0 for Windows Server 2008 R2 – English

 
 

XenServer 5.6

Public Hotfixes: QLogic qla2xxx Version 8.03.01.11.5.6 Driver Disk – For XenServer 5.6 with Hotfix XS56E002

Public Hotfixes: ATA Generic for TEAC DV-28E-V Driver Disk – For XenServer 5.6 with Hotfix XS56E002

Public Hotfixes: QLogic 8100 series Converged Network Adapters Driver Disk – For XenServer 5.6 with Hotfix XS56E002

Public Hotfixes: Driver Development Kit – For XenServer 5.6 with Hotfix XS56E002

Public Hotfixes: Emulex be2net and lpfc Versions 2.102.485 and 8.2.8.47.7p Driver Disk – For XenServer 5.6 with Hotfix XS56E002

Public Hotfixes: Neterion/Exar X3100 Driver Disk – For XenServer 5.6 with Hotfix XS56E002

Public Hotfixes: QLogic qlge Version 1.0.0.26 and qla2xxx Version 8.03.00.14.5.6 with QLA2100, QLA2200, QLA2300, QLA2322 Firmware Driver Disk – For XenServer 5.6 with Hotfix XS56E002

 
 

XenServer 5.6 FP1

Public Hotfixes: Hotfix XS56EFP1005 – For XenServer 5.6 Feature Pack 1

05:48 3/10/2011, XS 5.6 FP1

Attached CDROM devices will disappear after a Windows Virtual Machine (VM) migration, which may result in severe performance degradation in the affected Windows VMs due to excess CPU utilization. Citrix recommends that customers apply this hotfix to resolve this issue.

Citrix NetScaler and Universial Licenses


SSH to the NetScaler run the following.

Show hostname

Cd /nsconfig

Vi rc.config

Both should be the same, but the rc.config is going to be the one that is used by the licensing service.

 
 

Thanks

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
%d bloggers like this: