Monday, April 18, 2011

Citrix Autocreate default client printers procedure.


Citrix Autocreate default client printers procedure.

1. Launch Terminal services configuration.
2. Double-click ->ICA-TCP, choose client settings tab, and under Disable the following,
make sure that windows printer mapping and clipboard mapping is unchecked
3. Double-click ->RDP-TCP, choose client settings tab, and under Disable the following,
make sure that windows printer mapping and clipboard mapping is unchecked

Configuring Farm and Server Settings



Launch the presentation server console. We need to login to the presentation server
console as an administrator, enter the password.


Citrix farm (E.g., testfarm, name of the farm), is where we configure all of the farm
settings. When we right click of the citrix farm (i.e., testfarm) we get the farm properties.
If we need to check the properties of the server we right click on the server and choose
properties of the server. In some cases we want to set the farm settings and we can
configure each individual server to default to the farm settings. Below are the various
settings in a farm.


1. Connection access control, allows you to define how users can connect to your
farm. Now if you have a web interface server configured, you will force users to
come into the web interface. In our case we can choose any connection.


2. Connection limits, has the ability to limit the number of times a user can
connect to a metaframe server. With this setting, we can limit the maximum


number of different published applications or published desktops, or users
connected to at the same time. We can also force the setting to administrators.
This is if we are conscious of the amount of licenses. If we don’t have the amount
of licenses, we may want to limit the connections that the user can have.


Note: If a user connects multiple times to a same metaframe server, they will
consume only one license. If they connect to multiple servers, they can use multiple
licenses.


3. ICA keep alive, when a user is connecting to a server, ICA keep alive are a little
ping that occurs from server to client, which keeps the connection alive or the
network tunnel alive.


4. ICA Settings: Under, ICA display we see, discard redundant graphic operations
and alternate caching method. This involves in tuning the ICA protocol. If you
have the same graphics coming again and again inside the ICA stream, it’s going
to discard the redundant ones. Alternate cache, is an improved caching method
than the previous versions of metaframe.


5. Auto client reconnect: At times our client would have problems connecting to
our servers, because of some transient network connections, when that happens
we decide if we require user authentication or user can login as automatic
reconnect since our clients are disconnecting a lot.


6. Connection information: Gives some basic information about our server,
current session count, servers in the farm, published resources we have and
zone information,


7. Isolation settings: Isolation environment is out of scope for this particular
environment, it is the concept of taking applications that will be installed on our
citrix server, and putting them in an isolation bubble, that can’t conflict with other
applications on that server.


8. License server information: We specify the license server, and the default port
no. 27000.


9. Memory/CPU utilization management: In situations when your user load
or resources are higher than the resources that you have in hand, you may
want to enable memory optimization or CPU utilization management. Memory
optimization is rebasing of DLLs in the system.


10. CPU utilization management: If you have a lot of people in the system, and one
particular user causes a processor spike, CPU utilization management says, that
every user has an equal size of processor time, if any particular user uses more
than their available slice that will not affect our system, probably a good idea to
avoid CPU spikes.


11. Metaframe settings: Shows how data collectors and RAS servers respond to
client broadcast messages. It also tells about how the clients handle the time
zone information. The latest citrix clients have the ability to display the local time
zone, rather than the server time. This feature says to use the time zone of the


local client, enables remote connection to the console, allows remote connect to
the console.
12. Session reliability: Enable users to view their session during broken
connections. If you do enable session reliability, it’s going to change your TCP/IP
port no. for metaframe. The default port no. for metaframe in 1494. If you enable
session reliability, it encapsulates that port to TCP/IP 2598.


13. SNMP: You can enable SNMP agent on all the servers, all at once.


14. Speed Screen Browser Acceleration: It is enabled for high latency
connections, where there is a lot of time when the traffic has to move from
the server to the client and back. It compresses the JPEG images to improve
bandwidth and is also used for flash acceleration for flash animations and
multimedia. It buffers up a number of seconds of multimedia on the client.


15. The next three setting addresses the Virtual IP address and Virtual Loopback
addresses. There are some applications that have restrictions such that the
client has to be in a particular IP address for the application to function, some
older applications, and some proprietary applications. This is a new feature
that says ok if this application requires a particular IP address or a range of IP
addresses we can add in those virtual IP addresses here.


16. Zones: Currently we have a single citrix server, which is connected to a
database. We have a single citrix server, single data store, single data collector.
We only have a single location where this dynamic information is kept. That’s the
data collector. Data collector keeps and stores of data for a particular zone. Let’s
go to the configuration screen. You will see here that I have a zone with a server
involved with it. I can create a new zone, but I don’t have to name it after the
subnet, but I can call It Zone2. And in the Zone2, I can add additional servers.
This is difficult to show with a single citrix server. Let’s add another citrix server.
Pretend that this citrix server, CTXserver2 is in Zone 1, and my CTXserver1 is
also in Zone1.We have 2 citrix servers, and the Zone2 still has nothing in it. For
me to move these citrix server into the new zone, I have to click on this server
tab, we will get an error warning, you need to reboot each server that you move
between zones, that’s because the data collector in each zone needs to get
additional information, and reboots is going to be required to do that, be aware of
that, if you plan on to move servers. I am going to move the new CTXserver2 to
the target zone (Zone2). I select the CTXserver2 and then select the target zone
and hit OK. Now you have the original zone and then the new zone. You will
notice a check mark; this check mark has to do with elections. All the servers or
all the workstations that are sitting on a particular subnet have election and each
server tallies up its votes and the server with the most no. of votes needs to be
the most preferred server. If I want a server to be the most preferred, I choose
the most preferred button. I can also choose preferred, default or not preferred
option. The reason why I need a particular server to be a data collector is that the
data collector process consumes a lot of resources on the server. The one with
the dedicated data collector is the most preferred. There has to be at least one
system in a zone as the data collector.


Below you have the options, to check - only zone data collectors enumerate
program neighborhood and share load information across zones. Older versions
of zone data collectors used to share load information between zones. If the zones
are connected through a WAN link it could saturate the zones. If you have high
speed connection between your zones, you can enable to share load information. Its
defaulted to not sharing the load information.


Configuring Server Settings


The properties of the farm are similar to the properties of the server. The check box
which says, use farm settings for ICA keep alive, whatever my farm says, that’s what
the configuration I need for my server. You see that for ICA keep alive; ICA settings,
for isolation settings and many of the settings have this capability. ICA printer
bandwidth is setting in server which allows configuring how much of bandwidth you
need for the client, whether unlimited or limited.

Sunday, November 1, 2009

User sending an Excel sheet attachment through mail


Error message: The operation failed due to network or other communication problem.

Excel Documents - File-Send To- Email reciepient not working

Issue solved on AURHOT0004 with the following command

Solution:

regsvr32 C:\WINDOWS\SYSTEM32\OLE32.DLL

root cause why this dll got unregistered is unknown (side effect of an install or an uninstallation
of another product ??)

Friday, October 30, 2009

IMA Service issue.

Error message: The requested resource is not available,

After finding what App the user is accessing.

Found the server, on which the application is Published Greece.

Logged into the server, performed

C:\pskill imasrv.exe

Restarted service.

C:\netstart imaservice

If the citrix DB (LHC) size is large - perform compact and repair database.

In our case the LHC size was 46mb, performed compact and repair in MS Access, and reduced size to 15 MB.

Try to kill and restart the IMA service.

Still if there are issues, in restarting the IMA service.

Recreate the LHC. First stop the IMA service and then recreate the LHC.

C:\dsmaint recreate lhc

This will recreate the LHC, then start the IMA service.

Monday, May 4, 2009

What is Session printing? and how is it configured

You can create Session printing policy to apply for the specific Cleint IP address ranges, thus ensuring that a user is always attached to a nearby network printer.

Wednesday, April 22, 2009

All about Local Host Cache.

What is the refresh time for Local host cache. And what is the reset time for LHC.

LHC is refreshed every 30 minutes
you can refresh/recreate manually when IMA is stopped:
"dsmaint recreatelhc" or "dsmaint refreshlhc" -> restart IMA

And, when the citrix license server is down, how long will the existing citrix session work, with the information >from the LHC.

Licensing information is not in LHC - Grace Period fpr License Server is 30 days
It is stores in c:\program files\citrix\MPS-WSXICA_MPS-WSXICA.ini

Is it possible to view the LHC information. Where do i find it?.

File is located in c:\program files\citrix\independent management architecture\imalhc.mdb

Every citrix server has a copy of the LHC, and works as a backup, if the datastore goes down.

LHC is a subset of the IMA Datastore, yes

If the datastore goes down. Is it possible to launch the CMC, from the information in the LHC.

You can launch PSC und AMC but changes are not possible

Wednesday, March 18, 2009

Citrix Presentation Server 4.0 Basics

Citrix Presentation Server is the flagship product of Citrix Systems Inc. Citrix Presentation Server 4.0 is a part of the Citrix Access Suite 4.0. The other products of the Citrix Access Suite are Citrix Conference Manager, Citrix Password Manager, Citrix Access Gateway. Citrix Conference Manager is bundled free with the Citrix Presentation Server and is the only product that is dependent on the presence of Citrix Presentation Server. The other products can be installed, configured and managed independently. Briefly, the component of the Citrix Access Suite has the following functions:

Citrix Presentation Server – Presentation Server is used to make applications available to users and can be managed and configured centrally. The other features include load
balancing, resource manager, network manager, installation manager.

Citrix Conference Manager – Citrix Conference Manager is used to facilitate application conferencing wherein the application file can be shared and used by multiple users simultaneously.

Citrix Password Manager
– Single Sign On s
olution from Citrix

Citrix Access Gateway
– SSL-VPN solution from Citrix which can be completely integrated with Citrix Presentation Server.
The training session will focused on only one product of the Access Suite – Citrix Presentation Server. The Presentation Server comes in three editions. They are: 1. Standard – Application Management 2. Advanced – Ap
plication\3 Management & Load Balancing 3. Enterprise - Application Management, Load Balancing, Installation Manager, Resource Manager, Network Manager Briefly, the various functions of the editions can be described as follows:

1. Application Management
– Application Management is the core functionality of the Presentation Server and is available across all its editions. It allows for deploying, configuring and managing applications and making them available to multiple users. The feature has been enhanced to also make single-user applications multi-user friendly.


2. Load Balancing
– In Presentation Server, load balancing is the feature by which the user is directed towards the least loaded server. The server load is calculated on a set of criteria that are completely configurable by the administrators.


3. Installation Manager
– It is the a feature which is used to package and deploy applications to all servers in a server farm


4. Resource Manager
– It is the enhanced version of the Windows Server Performance Monitor. Apart from monitoring the CPU, Memory and Page File usage, the Presentation Server Resource Manager also tracks things like disk space, network cards, and connection to the data store etc. All the monitoring data can be collected for trend analysis in a database.


5. Network Manager – It is just a plug-in to other network manager tools like HP Openview.

To provide any or all the above functionality of the Presentation Server, the following components may or may not be required (the requirement of the component depends upon the functio
nality that is to be provided):
1. Presentation Server

2. Presentation Server Clients (Program Neighborhood, Program Neighborhood Agent, Web Client)

3. Web Interface Server
4. Data Store Server (may be on the same server as the Presentation Server but not preferred)

5. License Server (may be on the same server as the Presentation Server but not preferred)
The above components of the Presentation Server can be managed by the following tools:


1. Citrix Management Console
– Used to publish applications, delegate administrators, define load-balancing parameters, deploy packed applications, configure policies, track the resource usage of the servers in a server farm. The entire configuration made through the Citrix Management console is stored in a data store. This console can be installed on any workstation and used by the administrator.

2. Access Suite Console
– It is a java-based console. This console is primarily used to view alerts generated by applications and server, configure web interface server, configure program neighborhood Agent and Conference Manager. This is an integrated console for monitoring all the products of the Citrix Access Suite from a single console. This console can be installed on any workstation and used by the administrator.

3. ICA Toolbar : It is a collection of tools which allow the administrator to configure farm wide settings. Client update database, connection configuration tool, Shadow Taskbar etc are made available to the administrator through this toolbar.
4. License Management Console
- Used to manage licenses being used by the various products of the Citrix Access Suite Console.
Before we proceed further with the detailed discussion on the features of Presentation Server it is mandatory to explain certain terms and concepts of Citrix Technology.

Following is a brief description of the same:

IMA – Independent Management Architecture
– it runs as a service. It is a collection of subsystems (*.dll) that communicate with each other to provide the services/ functions of the Presentation Server. It uses two ports – 2512 and 2513. 2512 is used as a port for communication between servers and 2513 is used as a port to communicate with the CMC.

Data Store – Data Store is a static collection of data. All server farm configurations are maintained in the data store which is only readable through the CMC. Data Store can be created on Oracle, IBM DB2, SQL, MSDE, and Access. Access is default (mf20.mdb). Access database or the MSDE database the method of accessing the database is indirect. For all other databases it is direct. The static information includes – Server Farm Name, List of published application, policies, servers in the farm, administrators of the farm and their rights, installable packages, load balancing rules.

Local Host Cache - Local copy of a subset of info stored in the data store. It is responsible for providing the services to the users when the connectivity to the data store has been lost.

Data Collector – Holds dynamic data – No. of active sessions, disconnected sessions, licenses used, load balancing information. Most Preferred, Preferred, Default Preference, Not Preferred.

Server Farm – Collection of servers sharing the same data store

Zone –
Logical division of the Farm. Each zone has its own Data Collector. May or may not follow the subnet boundaries.

ICA
– Connectivity protocol used by clients to connect to the server. Uses port 1494. It has 32 virtual channels which can enabled/disabled. There is a virtual channel for printing, audio, video. They can be turned off to make the channel thinner & facilitate optimum performance over slow WAN Links