Tuesday, September 30, 2014

XenApp Server that ‘thinks’ it is a farm member?


If you have an orphaned Xenapp 6.5 server, or three you can from the server registry tell it to leave home, move on, get a life and try and participate in society.

First try the nice way.

  • Use XenApp Server Configuration Tool accessed through the Server Role Manager.
  • In XenApp 6.5 the server manager is accessed through Administrative Tools > Citrix.
  • Select Edit Configuration.
  • Select Remove this server from the current farm.

If this didn't work, force it along.

Set this registry DWORD value to 0

Then force the console to leave:
C:\Program Files (x86)\Citrix\XenApp\ServerConfig\XenAppConfigConsole.exe /ExecutionMode:Leave

Now it can re-join the farm or you can create a new one again.


Tuesday, September 23, 2014

Primer for HDX and 3D in XenApp and XenDesktop

HDX technologies built into Citrix XenApp and Citrix XenDesktop can and do deliver an excellent user experience on a many devices and over smaller network connections. HDX technologies are built on top of the ICA remoting protocol.

HDX has three technical principles:

  1. Intelligent redirection; examining screen activity, application commands, and endpoint device, network and server capabilities to determine how and where to render on the server or redirect them on to the client.
  2. Adaptive compression; defines codecs for specific network conditions, as manages CPU and/or GPU resources on hosts.
  3. De-duplication of network traffic; using multicasting of multimedia streams, delivering of a single transmission  to many users at once. And the de-duplicates of bitmap graphics, files, print jobs and streamed media.

HDX is built on the core of ICA which also has these features to manage network traffic:

  1. Adaptive TCP flow control accelerates the flow of all TCP-based traffic, by sensing and responding to high network latency and packet loss. The result is significantly higher network throughput and performance than with standard TCP implementations.
  2. Adaptive compression to compress ICA traffic based on its characteristics, infrastructure capabilities and network conditions.
  3. Adaptive protocol acceleration performs intelligent acceleration of ICA traffic while sensing and responding to network and traffic conditions.

Under the covers HDX is based on these seven components:

  1. HDX Broadcast - Broadcast for providing desktops and applications over any network. It provides the underlying transport for many of the other HDX technologies. HDX Broadcast includes many of the older technologies such as instant mouse click feedback, keystroke latency reduction, multi level compression, session reliability, and queuing and tossing.
  2. HDX Plug and Play - Plug and Play provide connectivity for local devices and applications in a virtualised environment, including USB, multi-monitor, printers, and peripherals. HDX Plug and Play includes technologies such as multi monitor support, smart card support, special folder redirection, universal printing, file type association, and USB support.
  3. HDX 3D - 3D delivering high end graphics remotely such as image acceleration and progressive display for graphically intensive images.
  4. HDX MediaStream - MediaStream for multimedia extends HDX Broadcast capabilities. With technologies for streaming media files to the client device for playing via local codecs with seamless embedding into the remote session.
  5. HDX RealTime - RealTime for realtime communications such as voice and web cameras. RealTime extends HDX Broadcast capabilities. HDX RealTime support is in development today with third parties to support realtime communication via both voice and video on the remote client.
  6. HDX IntelliCache - IntelliCache is to locally cache bandwidth intensive data and graphics and locally stage streamed applications. IntelliCache caches common application display data for multiple users locally to the branch office, eliminating redundant transfer of commonly used application objects.
  7. HDX Adaptive Orchestration - Adaptive Orchestration enable seamless interaction between the HDX Technology categories. A central concept is that all these components work adaptively to tune the unified HDX offering for the best possible user experience.

Tuesday, September 16, 2014

Citrix Netscaler VPX Express


Free for small environments or for testing ‘Citrix Netscaler VPX Express’. The VPX Express supports:

  1. Load Balancing Citrix PVS TFTP, Active Directory or LDAP request, DNS
  2. Load Balancing Web Site or services
  3. Unlimited ICA Proxy connections to XenDesktop/XenApp (throughput limited)
  4. Citrix Access Gateway support for up to 5 concurrent users
  5. VPN gateway for up to 5 concurrent users
  6. Reverse proxy to externally access Exchange OWA or other web sites and file shares.

The license you download for free from MyCitrix.com and you need to replace it each year.

Download it here…


Monday, September 08, 2014

Running NetScaler Gateway VPX on Azure ???


Right now I am not sure this works, I was going to try it, but work changed and the plan got put off. So buyer beware for this may or may not work. This is based on the Azure blog here.

Download the NetScaler VPX Hyper-V appliance image

Load it on a Hyper-V server and boot it, login as the secret account and password

Configure the OS to use DHCP, So enable networking

Configure the primary interface for DHCP (later you will fix it via the NetScaler console)

Edit /etc/rc.conf (google it)
service netif restart

Enable SSH

Enable SSH via the /etc/rc.conf file and create the new host keys

echo 'sshd_enable="YES"' >> /etc/rc.conf

ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
service sshd restart

Install Python 2.7 and required modules

pkg install python27 py27-asn1


You may need a symbolic link the new python 2.7 binary?

ln -s /usr/local/bin/python2.7 /usr/bin/python

Install the Azure Linux Agent

On Github – https://github.com/Azure/WALinuxAgent/releases.  The latest agent that supports FreeBSD:

pkg install wget

wget https://raw.githubusercontent.com/Azure/WALinuxAgent/2.0/waagent

mv ./waagent /usr/sbin/

chmod 755 /usr/sbin/waagent

/usr/sbin/waagent –install

Well if this worked, now logon to the NetScaler console and start the real work, let me know how it went?

Blog Archive