Local Host Cache(LHC) – Backbone of Citrix environment

Local Host Cache(LHC) stores subset of data store for XENAPP servers. The local host cache also provides redundancy of the data store information, if for example, a server in the farm loses connectivity to the data store. When a change is made to the farm’s data store, a notification to update the local host cache is sent to all the servers in the farm. However, it is possible that some servers will miss an update because of network problems. Member servers periodically query the data store to determine if changes were made since…Read more …

Script to stop Citrix Xenapp 4.5 services on your server.

We are facing a problem whenever the weekly reboot of servers occur the server then go into hung state. Its because some of Citrix services are not stopped properly. Here is a small VB script which will stop all Citrix services on your server. You can schedule this 15 minutes prior to your reboot. The script attempts to stop each services with interval of 15 sec. So it will take few minutes to stop the services. ' VBScript Restart Service.vbs ' -------------------------------------------------------' Option Explicit Dim objWMIService, objItem, objService Dim colListOfServices, strComputer, strService, intSleep…Read more …

Citrix MFCOM script to get list of servers and their IP addresses on a farm

By using the following script you can get the list of servers along with their IP addresses published on a farm. The result would be generated in MS Excel. So you must have MS Excel installed on your system in order to execute it. Code: <package><job id=" FarmApplications"> <runtime> <description> List Servers and their IP address for all apps in the farm. </description> </runtime> <reference object="MetaFrameCOM.MetaFrameFarm"/> <script language="VBScript"> Dim wkbNew Set objExcel = CreateObject("Excel.Application") Set wkbNew = objExcel.Workbooks.Add set wksNew = wkbNew.Worksheets(1) wksNew.Activate wksNew.Application.Visible = True Dim theFarm,AppName ,anApp,aServer, Array() Set oShell =…Read more …

My first Citrix MFCOM script

This is my first MFCOM script. MFCOM scripts are scripts for Citrix servers. MFCOM first appeared in 2001 as a hotfix for MetaFrame XP 1.0, which was released about 6 months prior to the hotfix release. This is my first MFCOM scripts. The following is a simple Windows Scripting Host script. It prints out the name of the farm and some properties. To make reading the script easier, comments and explanations are inserted in between the code. <package> <job id="Farm"> <comment> File: Farm.wsf Description: A simple script displaying farm properties. </comment> <runtime> <description>…Read more …

Birth of Citrix servers

Concept of resource sharing has been there from long time. The practice of this computing model dates back to mainframes with green-screen terminals. Computing has changed dramatically since those days but the basic premise of “centralized” computing hasn’t changed a great deal. The system used was centralized or server-based computing in which many users were able to share same computer resources. The approach was used because computers then cost hundreds of thousands, if not millions, of dollars to acquire and typically cost even more to maintain and operate and computers were at best the size of large…Read more …