Carl Stalhood

Monday 23 December 2013

Auto-Creating Client Printers
At the start of a user session, XenApp/XenDesktop auto-creates all printers available on the client device by default. Hereby locally attached printers (i.e. USB) as well as network-based printers (i.e. via print server) can be connected. This process is also referred to as local printer mapping. The Citrix policy setting “Auto-create client printers” enables administrators to control what types of printers are provisioned to users or prevent auto-creation entirely. Please note that users can connect client printers manually (if not explicitly prohibited by policy) from within the session as needed.

Decision: Which client printers should be auto-created in a user session?
Recommendation: In environments with a large number of printers per user, Citrix recommends to auto-create only one default printer. Auto-creating a smaller number of printers creates less overhead on the server / virtual desktop resources (memory / CPU) and can reduce user logon times. However, in environments where users with limited computer skills need to print to a wide variety of local printing devices, auto-creating all client printers will improve user experience and can reduce support calls.

Auto-Creating Session Printers
In addition or as an alternative to enumerating and mapping all network-based printers connected on a client device, XenApp and XenDesktop enables administrators to specify which network printers should be created within each session. This process can be controlled by means of the “Session Printers” policy. Network printers created with the Session Printers setting can vary according to where the session was initiated by filtering on objects such as subnets. This feature enables administrators to control the assignment of network printers so that the most appropriate printer is presented to the user, based on the location of the client device (also known as Proximity Printing).
The Proximity Printing solution is enabled through the Citrix policy settings “Session Printers” and “Default Printer” in conjunction with a policy filter based on a geographic indicator (i.e. IP address, client name, etc.).

Decision: When should Session Printers be used instead of auto-creating all client network printers?
Recommendation: Session Printers are an optimal configuration for scenarios where:
 Users roam between locations using the same client device (i.e. laptop)
 Thin Clients are used, which do not have the ability to connect to network based-printers directly

Print job routing
In a XenApp/XenDesktop environment print jobs can take two paths to a printing device: through the client or through a network print server. Which path is chosen by default depends on the kind of printer used:

Locally attached printers. XenApp/XenDesktop routes jobs to locally attached printers from the server, through the client, and then to the print device. The ICA protocol compresses the print job traffic. When a printing device is attached locally to the client device, print jobs must be routed through the client.
Network-based printers. By default, all print jobs destined for network printers route from the server, across the network, and directly to the print server. However, if the XenApp server or the virtual desktop and the print server are on different domains (without trusts), the native printer driver is not available on the virtual desktop or XenApp server or direct network communication is not possible, print jobs are automatically routed through the client.
This fallback behavior, which can also be modified by means of the “Direct connections to print servers” policy, can cause significant network overhead if not configured correctly. In a scenario with a data center based print server where print traffic for a network-based printer needs to be routed through the client, a print job may traverse the WAN three times
Routing jobs through a network print server is ideal for fast local networks, but is not optimal for WANs. The spooling of print jobs using the network printing pathway method uses more bandwidth than using the client pathway; many packets are exchanged between the host server / virtual desktop and the print server. Consequently, users might experience latency while the print jobs are spooling over the WAN. Also, the print job traffic from the server / virtual desktop to the print server is not compressed and is treated as regular network traffic. When printing jobs cross a network with limited bandwidth, Citrix recommends routing jobs through the client device so that the ICA protocol compresses the jobs and enables the administrator to limit the maximum consumable bandwidth. If this is not possible, for example when a Thin Client without printing capabilities is used, Quality of Service should be configured in order to prioritize ICA/HDX traffic and ensure a good in-session user experience.
The following diagram visualizes the design decision tree related to print job routing:

Auto-Creating Network Printers

Auto-Creating Network Printers

By default, any network printing devices on the client device are created automatically at the beginning of sessions; however, if possible, XenApp always tries to route jobs directly from XenApp to the print server and not through the client connection.

To specify that specific printers are created in sessions rather than auto-create all the network printing devices available from the client device, configure the Session Printer policy rule.

The key difference between provisioning network printers with the Printing > Client Printers > Auto-creation rule and the Printing > Session printers rule is that the Auto-creation rule automatically creates all printers on the client device whereas the Session printers rule lets you specify which printers are created. Network printers created with the Session printers rule can vary according to conditions where the session was initiated, such as location (by filtering on objects such as subnets).

Before you can configure the Session printers rule, you must import the printer objects stored on your print server into your XenApp farm. After importing printers into XenApp, you can assign them to user sessions through the Session Printer policy rule. See Configuring Network Printers for Users

Note: For printers in domains that do not have a trust relationship with the XenApp farm, configure them as redirected client printers using the Auto-creation rule. When network printing devices are provisioned in this way, the print jobs are routed through the client using the client printing pathway.

Understanding XenApp Printing
Managing printers in a XenApp environment is a multistage process. The cycle for managing printers on a farm requires that you:
  1. Design your printing configuration. This includes analyzing your business needs, your existing printing infrastructure, how your users and applications interact with printing today, and what a realistic printing management model would look like for your organization (that is, assessing that the administrative overhead of printing pathway you choose is realistic in your environment).
  2. Configure your printing environment, including creating the policies necessary to deploy your printing design.
  3. Test a pilot printing deployment before rolling it out to users.
  4. Maintain your Citrix printing environment, including updating policies when new employees or servers are added and maintaining drivers on your farm servers.
  5. Troubleshoot issues that may arise in your printing environment.
Before you begin planning your deployment, make sure that you understand these major concepts for printing in XenApp:
  • The concept of printer provisioning in a session and the two major types of provisioning (auto-created and self-provisioned). To understand these concepts, you need to understand, among other things, the difference between a printer, a printing device, and a printer driver.
  • How print jobs can be routed in XenApp.
  • The policies that you can create to manage drivers.
XenApp printing concepts build on Windows printing concepts. To configure and successfully manage printing in a Citrix environment, you must understand how Windows network and client printing works and how this translates into printing behavior in a Citrix environment.


Friday 2 August 2013

Publish Applications xenapp6.5

http://www.youtube.com/watch?v=CnCtn8LApHs&list=PLtGnc4I6s8dt9UFZnGATNSorEyOdNm3B_

Publish applications on citrix.

Publish applications on citrix.

My computer
-----------------

c:\Windows\explorer.exe /n,/e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
for My computer



My documents
------------------
c:\Windows\explorer.exe /n P:\ for my documents,

My doc
------------------
C:\WINDOWS\explorer2.exe /e,::{450D8FBA-AD25-11D0-98A8-0800361B1103}
My computer
-----------------------
C:\WINDOWS\explorer2.exe /n ,::{20d04fe0-3aea-1069-a2d8-08002b30309d}

Publish an application with a command line of:
------------------------------------------

\IEXPLORE.EXE [–e |] (specify %windir% for the working directory).

Example: Content Publishing
-----------------------------------------

“c:\Program Files\Internet Explorer\IEXPLORE.EXE" -e c:\

- Or -

“c:\Program Files\Internet Explorer\IEXPLORE.EXE" http://www.citrix.com

Wednesday 10 July 2013

Citrix Interview Questions

1) Explain Citrix Logon Process.

2) Purpose of Zone

Zone is subset of Farm. It is a grouping of Citrix Servers that shares the common Data Collector

3) When would you suggest creating new zones?

Users need to access the closest application in a geographically dispersed environment
Presentation Server is part of a disaster plan that fails over to an alternate location
The same published applications are hosted in multiple zones
User-specific backend data is located in other locations than the main data center
4) How big a zone can get?

It’s just a matter of looking at the traffic patterns. For instance, do you want one single data collector updating 1000 servers whenever you make a change to the environment (one zone), or do you want two data collectors to each update only 500 servers (one zone).

5) When would you suggest creating new farm?

When you want the member servers talk to different datastore – like a test environment;

6) What is a Data Store?
This is the place where all the static information are stored. Farm configuration information, Published Application configurations, Server configurations, Static policy configuration, XenApp administrator accounts, and Printer configurations) that all servers can refer.

7) How to migrate datastore database from SQL2000 to SQL2005 OR How to recover datastore database?
Restore the DB to new server
Change mf20.dsn on all servers starting with data collectors
Restart IMA service on all servers

8) How to find out the datastore database server name?

Examine the DSN file which contains the connection details to the database.
C:\Program Files\Citrix\Independent Management Architecture\MF20.dsn
The following is an example of an MF20.dsn file from a server connecting to a remote SQL Server instance:
[ODBC]
DRIVER=SQL Server
UID=useraccount
Address=SqlServer,1433
Network=
DATABASE=farmdb
WSID=
APP=Citrix IMA
SERVER=SqlServer

9) How to verify Datastore DB connectivity?

To determine if a server is communicating regularly with the data store, check the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\CITRIX\IMA\DataStoreFailureTime

If the value is all zeros, the MetaFrame server is communicating with the data store.

10) How often does the member servers check datastore database?

By default, every 30 minutes.

11) what happens if datastore connectivity is lost?

If the server loses its connection to the central data store, there’s no limit to how long it will continue to function. (In MetaFrame XP, this is limited to 48 or 96 hours, but that was because the data store also store license information.) But today, the server can run forever from the LHC and won’t even skip a beat if the central connection is lost. In fact now you can even reboot the server when the central data store is down, and the IMA service will start from the LHC with out any problem. (Older versions of MetaFrame required a registry modification to start the IMA service from the LHC.)

12) How will you remove Citrix server from the farm?
If the server is unresponsive, remove it by right click on server in the console.
For functional server, remove it from add/remove programs
use CHFARM command

13) How will you remove citrix server from the datastore DB?
When citrix is uninstalled from the server, it cleans the entry from data store database. Additionally you can run this command to remove the entry from Datastore DB.
DSCHECK /servername

14) How to clean up datastore database?
DSCHEK without parameters will check for consistency and clean up the database. /clean parameter can be used to clean up specific server/application from the datastore but use with caution.

15) How do you troubleshoot printing issues?
Check print spooler service
Check printer mapping errors in event log
Check printer driver availability n compatibility
Check printer policies for over rides

16) How do you configure session printers?
Through Citrix policies. Add the printer drivers first, map the printer and then assign to user/group

17) What does secure gateway d0?

18) What are monitors in Netscaler?
Netscaler uses monitors to track the status of back end servers. These monitors can be http, tcp, ping etc

19) What would you do if you see a service down in Netscaler?
Try pinging the actual server from netscaler CLI and verify its responding

20) How do you configure NetScaler? What are the pre-requisites?

16) Can you monitor Citrix services through EdgeSight?

17) How do you configure alerts in EdgeSight?

18) How many users can you host on XenApp 6.5 vs XenApp 5.0?

19) How do you manage capacity planning with EdgeSight?

20) What are the challenges that you have faced in current environment?

21) What happens if you stop the XML service on a server?

Existing users wont be impacted, but no new users will be able to access the applications published from the server.

22) XML service down on serverA which has 10 applications; can you access the applications?

Existing users wont be impacted, but no new users will be able to access the applications published from the server.

23) What is Citrix XML service?

The Citrix XML server is a component of Citrix XenApp and XenDesktop that’s used to enumerates available resources and provide secure tickets for users that to use the WebInterface or CloudGateway.

XML service has two functions:

Communicating with the XenApp farm / XenDesktop zones; the XML broker
Generating and validating secure ticket to authorize users, the Secure Ticket Authority (STA)
24) How to change the port used by XML service?

By default XML service uses port 80. But citrix recommends using port 8080 inorder to avoid conflicts with IIS.

To change the port used by XML service:

In XenApp 6 and above – this can be changed via Citrix policies.

In Earlier versions – Use the ctxxmlss command-line utility. This can be done by unloading the Citrix XML Service with /u, changing the port with /r and restarting the XML service.

ctxxmlss /u

ctxxmlss /r8080

An alternative method is by changing the port in the registry (and restart the Citrix XML service after changing).

Key :HKLM\System\CurrentControlSet\Services\CtxHTTP

Value: TCP Port

The value is listed in hex, you need to change the view to decimal.

25) Explain Citrix Load Levels?

The following are explanations of the load levels:
9999 : No load balancing installed
0 to 9998 : “normal” load level
10000! : Application is disabled for this server
10000 : Load is at 100%
10001 : Out of licenses
10002 : Indicates that no ICA connections, listener is disabled, are available on that server.
20000 : Citrix server is unable to reach license server

26)How to recover Citrix License Server?
The Citrix servers can function without contacting the license server and it is 30-days fault tolerant, and in Enterprise version an alert can be set with Resource Manager to send an email in case of License Server Connection Failure. If the license server reconnects at any time in the thirty days the problem resolves itself. If the server is not going to come back up, then the license file, digitally signed with the case-sensitive hostname of the old license server, is the critical component. The license file, a *.lic file, can be backed up to a thumb drive separately, and restored to a new server with the same name of the old license server, and the Citrix License server software installed.
27)How to recover from IMA failing?
There are many reasons that the IMA Service doesn’t start
1. IMA Service load time
2. IMA Service subsystem
3. Missing Temp directory
4. Print spooler service
5. ODBC configuration
6. Roaming Profile
Check the Windows Registry setting: HKEY_LOCAL_MACHINESOFTWARECitrixIMARuntimeCurrentlyLoadingPlugin
If there is no value specified in the CurrentlyLoadingPlugin portion of the above Windows Registry entry then the IMA Service could not connect to the data store or the local host cache is missing or corrupt.
If a CurrentlyLoadingPlugin value is specified the IMA Service made a connection to the data store and the value displayed is the name of the IMA Service subsystem that failed to load.
If administrators see an “IMA Service Failed” error message with an error code of 2147483649 when starting the Presentation Server the local system account might be missing a Temp directory which is required for the IMA Service to run.
Change the IMA Service startup account to the local administrator and restart the server. If the IMA Service is successful in starting under the local administrator account then it is likely that a missing Temp directory for the local system account is causing the problem.
If the Temp directory is not present then manually create one as >Temp. For example: C:\Windows\Temp
Also verify that the TMP and TEMP system environment variables point to the temporary directory. Restart the server to restart the IMA Service

28) What is new in XenApp 6.5?
Session Lingering
Session Pre-Launch
App Center
Load Evaluators assigned to Worker Groups or OUs instead of individual servers
Datastore and Zone information configured via GPO
Sesssion Only and Controller roles
Desktop Director web console can manage XenApp sessions
MultiStream ICA – ica traffic can be split into four separate TCP streams if required
Log On control feauture to drain users.

29) What would happen if you stop the IMA service on a server?

Existing users on the server will not face any issues, but no new user connections to the server would be allowed.

Wednesday 22 May 2013

datstore & data collector

http://blog.srinfotec.com/?p=653
What is Data Store?
It stores the static information, when you make any changes into farm like:
1• Farm configuration information
2• Published application configurations
3• Server configurations
4• Citrix administrator accounts
5• Printer configurations
What is Data Collector?
A data collector is a server that hosts an in-memory. Database that maintains dynamic information about the servers in the zone.
1 Such as server loads
2 Session status,
3 Published applications, users
4 Connected and license usage.
5 Data collectors receive incremental data Updates and queries from servers within the zone. Data collectors relay information to all other data collectors in the farm. By default, the first server in the farm functions as the data collector.

How big can a zone get?

There's real no technical limit that would limit the number of Presentation Servers that can be in one zone. In fact the product will support up to 512 servers in a single zone right out of the box, and a quick registry key change can let you go higher than that. In the real world, you'll probably have other reasons (multiple sites, etc.) to split such a large group of servers into multiple zones long before that.
Then again, if you have 1000 or 1500 servers in the same data center, there's no real reason you can't have them all in one or two zones. It's just a matter of looking at the traffic patterns. For instance, do you want one single data collector updating 1000 servers whenever you make a change to the environment (one zone), or do you want two data collectors to each update only 500 servers (one zone).

Zone Strategy

Now that we've discussed what zones are, how they work, and the mechanics of what happens when you create multiple zones, let's talk about strategy. You'll have to decide:
  • How and where you break up your farm into zones
  • Whether you create dedicated data collectors

How many zones?

The main decision you'll need to make is how many zones you'll have. (Or, put another way, where your zone boundaries are going to be.) Like everything else in your environment, there are several things to take into consideration when making this decision:
  • Where your users are
  • How your users connect
  • How your farm database is setup
Remember, the primary purpose of creating a new zone is to create an additional data collector. Additional data collectors mean that you can put a data collector closer to your users, essentially "pre-caching" the session information near the users that they need to start their sessions.
That said, keep in mind that data collectors also help to distribute configuration changes throughout your farm, as each data collector sends changes to all of the servers in its zone. Imagine you have a single farm across two sites. Each site has about 50 servers.
Figure xx [one farm, two sites, 50 servers on each site]
If you create a single zone, whenever a configuration change is made to your farm, the zone data collector will push that change (via the IMA protocol port 2512) to all of the servers in the farm, meaning that change will go across the WAN 50 times (once to each server.)
Figure xx [show the same environment as the previous figure, with ZDC on one side pushing the change out to all the servers individually]
On the other hand, if you split this environment into two zones, any configuration change would only traverse the WAN once, since the data collector in the zone that made the change would only have to push it out to the data collector in the other zone. Then it's up to that data collector to push the change out to the servers in its zone.
Figure xx [ show this ]
In the previous example, it's pretty easy to see that you'd want to split this farm into two zones. In fact, even if you had only five servers at each site, you'd still probably want to divide this farm into two zones. (Although with only five servers in each site, you probably wouldn't have dedicated data collectors.
Advantages of each site being its own zone
  • User connections could be faster
  • Updates only go across the WAN once (to the data collector), instead of many times (once to each server).
With several advantages to splitting your farm into multiple zones, why not just split everything? Unfortunately, there's a point at which this doesn't become feasible. Remember how this "zones" section began, with a quick historical look at the Program Neighborhood service from the MetaFrame 1.x days? That was not scalable because every server updated every other server--an architecture which quickly led to too many connections between servers. The same thing can happen today between zones. Every session event must be transmitted by one data collector to the data collectors in every other zone. So if you have a Presentation Server farm that spans 40 physical site, you can't possibly make 40 separate zones, because every time a user logged on, logged off, connected, or disconnected, the data collector from their zone would have to update all 39 data collectors in the other zones!
Disadvantages of making a lot of zones
  • Data collectors need to send all session events to all other data collectors. More zones means more data collectors More data collectors means more traffic for every session event.
From a strategic standpoint, you have to balance the number of zones that you create. Citrix has never gone on the record with a hard recommendation of how many zones you can have. In all honesty it depends on your environment. (It "depends" based on the same reasons discussed previously when discussing whether you should build a dedicated data collector--number of user connections, number of applications, etc.)
That said, it's probably safe to say that you can build three or four zones no problem. And it's probably also safe to say that once you get above ten zones, you need to really do some testing to make sure your environment can handle it. Anything in-between is probably doable, but again you'd want to test to make sure.
Remember, one of the main testing points needs to be whether your servers and the architecture of the Citrix products can handle what you want to do. None of this stuff puts huge amounts of bits on the WAN. It's more about whether you can build an environment that's responsive and scalable enough for your needs.

Friday 10 May 2013

Provisioning server

PVS Components:

Provisioning

Target Device

vDisk

Licensing

Database

PVS Services :

Important services

Stream Services :
Responcible to stream virtual disk to the target device.

SOAP Services : Simple object access protocol. Simple and basic Xml baced communication protocol between applications to send messages.

Licensing services

Optinal services-

DHCP/BootP : Below options must be selected

Option60 : PXEClient

Option66: FQDN or IP address of the TFTP Services.

Option67: ARDBP32.bin

PXE : (Pre-xcution environment)

TFTP :

Boot Process -

1. The target device is assigned an IP sddrfess by DHCP or a boot device manager.

2. The target device obtains a bootstrap file fromthe network or from a boot device manager.

3. The target device connects to the stream services running on provisioning server.

4. The Provisioning server begin streaming the vDisk image to the target device.

5. The taeget device requests new vDisk image sectors as necessary to access data.

 

 

 

Enternal error 2869 while installing hotfix


 
Cause :
This issue occurred because User Account Control was enabled on the server and the user was logged in using a domain account that was in the local Administrators group on the server.
This means the account being used only had protected administrative rights and not elevated (or full) administrative rights.
Citrix hotfix packages contain custom actions and the installer package complies with Microsoft User Account Control (UAC) guidelines, so elevated administrative rights are needed to install hotfix packages on XenApp 6.0 servers.
When manually installing the hotfix, the needed privileges are not in place for a domain account with administrative rights.
 
Resolution:
There are three resolutions to this issue:
1.     Use an unattended method of installing the hotfix such as:
Msiexec.exe /update .msp /passive /norestart
2.     Run a command prompt with elevated administrative rights:
a. Click on Start>Accessories
b. Right click on the Command Prompt link
c. Select Run as administrator
d. In the new command prompt window, enter the path and hotfix package name then press Enter 
(for example: C:\Temp\XAE600W2K8R2X64002.msp)
3.     Log in using the local administrator account to install the hotfix manually.

Tuesday 30 April 2013

Should you build a dedicated Zone Data Collector?

 

If you have 500 servers like the example mentioned above, you'll absolutely want to have a Presentation Server that's deicated to acting as the data collector and not serving any applications. But what about smaller enviornments? At what point do you need to build a “dedicated” CPS server that acts only as a data collector without hosting any user sessions.
There are no hard numbers to dictate the point at which you should build a dedicated data collector.
If you have a regular Presentation Server acting as your data collector and you're considering building a dedicated data collector, it's fairly simple to check its load to ensure that it can handle the situation. You can even use Task Manager. (Just look for the "ImaSrv.exe" process.) Look at the resources consumed by the IMA service the server acting as the data collector, and compare that to the IMA service on another Presentation Server in the same zone. (Run "query farm /zone" from the command line to determine which server is acting as the data collector in the zone.)
Note that there is no "official" way to just install the data collector role onto a Presentation Server. If you want to make a "dediciated" data collector, you actually just install Windows, enable the Terminal Services application server, install Presentation Server, configure that server to be "most preferred" in the data collector election preferences box, and then don't install or publish any applications on it. If you do this, remember to install any Citrix hotfixes or service packs to this server first. Otherwise you run the risk that your dedicated data collector could lose an election to a more up-to-date server somewhere else.
The reality in today's world of multicore servers and cheap memory, you can probably grow a zone very large before you need to move to a dedicated data collector. It's hard to pin down an exact number though since how busy a data collector is really depends on how the characteristics of your environment. If you publish individual applications versus an entire desktop, your data collector will be busier. If your users connect and disconnect continuously thoughout the day, your data collector will be busier than if users maintain a single session throughout the day.
It turns out that once farms grow to perhaps twenty servers or so, people generally build a dedicated server to handle all the miscellaneous "overhead" roles, like license servers and admin console publishing. In these cases, the overhead server is usually used for the data collector role as well. This is a fine design. But it's a product of wanting to separate out the random roles to another piece of hardware, not because the scalability of the IMA service required a standalone data collector.
In fact, once most farms grow beyond a few servers, administrators have the desire to keep all production application servers 100% identical to each other. (Or, more specifically, all application servers within the same silo. More on that later in the book.) If one of the "member" Presentation Servers is acting as a data collector, that means not all servers are identical, and this makes people uncomfortable.
So whatever the reason--the fact that you have an extra server you can use or the fact that you want to keep all your servers identical--people end up building a dedicated data collector long before scalability reasons suggest that they should, and that's perfectly fine.

Monday 29 April 2013

Licenses for CPSAAA and CPSCCC are still Advance Edition.All Xenapp servers in this Citrix farm should be Enterprise.


1.       Login to CPSAAA
2.       Go to start àRun àregedit
3.       Go to  registry entry :-Computers\HKEY_LOCAL_MACHINE\software\policies\Citrix\IMA\Server Edition
4.       Check the product feature value it’s showing 2
5.       Right click on “Server Edition” à Export save the file for backup
6.       Open  product feature value and set it as 1 
7.    Close the registry window.
8.   Restart the IMA service.
9.   Do the same steps for sgcetuszdc1.
Testing
Open PowerShell and run Get-xaserver it will show the product version for all servers

User is unable to launch application, app automatically minimize permanently.


I have analyzed the issue and found a possible cause of frequent disconnection. Event Id 1000(100) for winlogon.exe is generated every time user launches the application.
On further analysis, I found that there is a limited buffer size for username i.e for the username here it is 20, if that is exceeded then winlogon crashes and application fails to launch.
Possible Workaround:
To not to use usernames longer that 19 letters.
Another solution:
Hotfix Suggested below:
Also refer to the Articles below:

Monday 25 March 2013

How to Backup or Move an Access Data Sore to a new Host Server

Use this procedure to install a backup of the data store or move an original data store to a new host server in the event of a hardware failure or upgrade:

1. Stop the IMA Service on Both the old host server and the new server host server.

2. Copy the backup database or the original database (mf20.mdb) to the new host server.

If you copy the back file there is the need to rename it after the copy, save yourself 5 seconds and copy the original.

3. Start the IMA Service on both servers

4. On the new host server, create a new DSN file (MF20.dsn) that points to the new localdatabase (mf20.mdb) from Step 2.

q On all servers in the farm (except the new host server), execute dsmaint failover new-host-server.

The IMA service must be running on these servers for the command to execute properly.

q On the new host server, execute dsmaint config /user:citrix /pwd:citrix /dsn:"M:\Progra Files\Citrix\Independent Management Architecture\MF20.dsn" (this points the IMA service to the newly created DSN file from Step 4.

Give the full path as show above or the procedure will fail

If security was set on the Access database, use the new user account and password information (default information is user=citrix & password=citrix).

q Change the original host server to its new role as an indirect server (it will now access the data store indirectly through the new host server) by running the Registry Editor (Regedt32.exe) and changing the value of the following registry key from Imaaccess.dll to Imaodbc.dll. HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\IMA\DatabaseDriver

5. Stop and restart the IMA service on all farm servers.

6. When the IMA service on the new host server is running, stop and restart the IMA service on all of the other servers in the farm

powershell Citrix 6.5 -2


Verbose...
Cmdlet          Get-WebGlobalModule                                 Get-WebGlobalModule [[-Name] ] [-Image <...
Cmdlet          Get-WebHandler                                      Get-WebHandler [[-Name] ] [[-PSPath]
Cmdlet          Get-WebItemState                                    Get-WebItemState [[-PSPath] ] [-Protoc...
Cmdlet          Get-WebManagedModule                                Get-WebManagedModule [[-Name] ] [[-PSPat...
Cmdlet          Get-WebRequest                                      Get-WebRequest [-InputObject ] [-AppPo...
Cmdlet          Get-Website                                         Get-Website [[-Name] ] [-Verbose] [-Debu...
Cmdlet          Get-WebsiteState                                    Get-WebsiteState [[-Name] ] [-Verbose] [...
Cmdlet          Get-WebURL                                          Get-WebURL [[-PSPath] ] [-Accept
Cmdlet          Get-WebVirtualDirectory                             Get-WebVirtualDirectory [[-Name] ] [-Sit...
Cmdlet          Get-WindowsFeature                                  Get-WindowsFeature [[-Name] ] [-LogPat...
Cmdlet          Get-WinEvent                                        Get-WinEvent [[-LogName] ] [-MaxEvents...
Cmdlet          Get-WmiObject                                       Get-WmiObject [-Class] [[-Property]
Cmdlet          Get-WSManCredSSP                                    Get-WSManCredSSP [-Verbose] [-Debug] [-ErrorActi...
Cmdlet          Get-WSManInstance                                   Get-WSManInstance [-ResourceURI] [-Applica...
Cmdlet          Get-XAAccount                                       Get-XAAccount [[-SearchPath] ] -AccountA...
Cmdlet          Get-XAAccountAuthority                              Get-XAAccountAuthority [[-Name] ] [-Co...
Cmdlet          Get-XAAdministrator                                 Get-XAAdministrator [[-AdministratorName]
Cmdlet          Get-XAAdministratorFolder                           Get-XAAdministratorFolder [-AdministratorName] <...
Cmdlet          Get-XAAdministratorPrivilege                        Get-XAAdministratorPrivilege [-AdministratorName...
Cmdlet          Get-XAApplication                                   Get-XAApplication [[-BrowserName] ] [-...
Cmdlet          Get-XAApplicationIcon                               Get-XAApplicationIcon [-BrowserName] ...
Cmdlet          Get-XAApplicationParameter                          Get-XAApplicationParameter [-ApplicationType]
Cmdlet          Get-XAApplicationReport                             Get-XAApplicationReport [-BrowserName]
Cmdlet          Get-XAAppliedLoadBalancingPolicy                    Get-XAAppliedLoadBalancingPolicy [-AllowConnecti...
Cmdlet          Get-XAAutoReplicatedPrinterDriver                   Get-XAAutoReplicatedPrinterDriver [[-DriverName]...
Cmdlet          Get-XAClientModule                                  Get-XAClientModule [-ServerName] [-Sess...
Cmdlet          Get-XAConfigurationLog                              Get-XAConfigurationLog [-ComputerName ] ...
Cmdlet          Get-XADefaultComputerName                           Get-XADefaultComputerName [[-Scope] ...
Cmdlet          Get-XAFarm                                          Get-XAFarm [-LocalhostOnly] [-ComputerName
Cmdlet          Get-XAFileType                                      Get-XAFileType [-Farm] [-AssociatedOnly] [-Compu...
Cmdlet          Get-XAFolder                                        Get-XAFolder [[-FolderPath] ] [-Recurs...
Cmdlet          Get-XALoadBalancingPolicy                           Get-XALoadBalancingPolicy [[-PolicyName]
Cmdlet          Get-XALoadBalancingPolicyConfiguration              Get-XALoadBalancingPolicyConfiguration [[-Policy...
Cmdlet          Get-XALoadBalancingPolicyFilter                     Get-XALoadBalancingPolicyFilter [[-PolicyName] <...
Cmdlet          Get-XALoadEvaluator                                 Get-XALoadEvaluator [[-LoadEvaluatorName]
Cmdlet          Get-XAMemoryOptimization                            Get-XAMemoryOptimization [-ServerName]
Cmdlet          Get-XAPrinterDriver                                 Get-XAPrinterDriver [[-DriverName] ] [...
Cmdlet          Get-XAResultantLoadBalancingPolicy                  Get-XAResultantLoadBalancingPolicy [-PolicyName]...
Cmdlet          Get-XAServer                                        Get-XAServer [[-ServerName] ] [-Full] ...
Cmdlet          Get-XAServerHotfix                                  Get-XAServerHotfix [-ServerName] [-Co...
Cmdlet          Get-XAServerLoad                                    Get-XAServerLoad [[-ServerName] ] [-Co...
Cmdlet          Get-XASession                                       Get-XASession [[-SessionId] ] [-ServerN...
Cmdlet          Get-XASessionPrinter                                Get-XASessionPrinter [-ServerName] [-Se...
Cmdlet          Get-XASessionProcess                                Get-XASessionProcess [-ServerName] [-Se...
Cmdlet          Get-XASessionProfile                                Get-XASessionProfile [-ServerName] [-Se...
Cmdlet          Get-XAStreamingSession                              Get-XAStreamingSession [[-ServerName] ...
Cmdlet          Get-XAWorkerGroup                                   Get-XAWorkerGroup [[-WorkerGroupName] ...
Cmdlet          Get-XAWorkerGroupServer                             Get-XAWorkerGroupServer [-WorkerGroupName]
Cmdlet          Get-XAZone                                          Get-XAZone [-ComputerName ] [-Verbose] [...
Alias           ghy                                                 Get-History
Alias           gi                                                  Get-Item
Alias           gjb                                                 Get-Job
Alias           gl                                                  Get-Location
Alias           gm                                                  Get-Member
Alias           gmo                                                 Get-Module
Alias           gp                                                  Get-ItemProperty
Alias           gps                                                 Get-Process
Alias           group                                               Group-Object
Cmdlet          Group-Object                                        Group-Object [[-Property] ] [-NoElemen...
Alias           gsn                                                 Get-PSSession
Alias           gsnp                                                Get-PSSnapIn
Alias           gsv                                                 Get-Service
Alias           gu                                                  Get-Unique
Alias           gv                                                  Get-Variable
Alias           gwmi                                                Get-WmiObject
Alias           h                                                   Get-History
Function        H:                                                  Set-Location H:
Function        help                                                ...
Alias           history                                             Get-History
Function        I:                                                  Set-Location I:
Alias           icm                                                 Invoke-Command
Alias           iex                                                 Invoke-Expression
Alias           ihy                                                 Invoke-History
Alias           ii                                                  Invoke-Item
Function        IIS:                                                set-location IIS:
Cmdlet          Import-Alias                                        Import-Alias [-Path] [-Scope ] ...
Cmdlet          Import-Clixml                                       Import-Clixml [-Path] [-Verbose] [-De...
Cmdlet          Import-Counter                                      Import-Counter [-Path] [-StartTime
Cmdlet          Import-Csv                                          Import-Csv [-Path] [[-Delimiter]
Cmdlet          Import-CtxGPTemplate                                Import-CtxGPTemplate [-Path] [-Force]...
Function        Import-CtxGroupPolicy                               ...
Cmdlet          Import-GPO                                          Import-GPO -BackupId -Path [-Tar...
Cmdlet          Import-LocalizedData                                Import-LocalizedData [-BindingVariable] ...
Cmdlet          Import-Module                                       Import-Module [-Name] [-Global] [-Pre...
Cmdlet          Import-PSSession                                    Import-PSSession [-Session] [[-Comma...
Function        ImportSystemModules                                 ...
Cmdlet          Import-XALegacyApplication                          Import-XALegacyApplication [-FilePath] ...
Cmdlet          Install-ADRMS                                       Install-ADRMS [-Path] [-Force] [-Verbos...
Cmdlet          Invoke-BpaModel                                     Invoke-BpaModel [-BestPracticesModelId] ...
Cmdlet          Invoke-Command                                      Invoke-Command [-ScriptBlock] [-In...
Cmdlet          Invoke-Expression                                   Invoke-Expression [-Command] [-Verbose]...
Cmdlet          Invoke-History                                      Invoke-History [[-Id] ] [-Verbose] [-Deb...
Cmdlet          Invoke-Item                                         Invoke-Item [-Path] [-Filter ...
Cmdlet          Invoke-TroubleshootingPack                          Invoke-TroubleshootingPack [-Pack] [-...
Cmdlet          Invoke-WmiMethod                                    Invoke-WmiMethod [-Class] [-Name]
Cmdlet          Invoke-WSManAction                                  Invoke-WSManAction [-ResourceURI] [-Action...
Alias           ipal                                                Import-Alias
Alias           ipcsv                                               Import-Csv
Alias           ipmo                                                Import-Module
Alias           ipsn                                                Import-PSSession
Alias           ise                                                 powershell_ise.exe
Alias           iwmi                                                Invoke-WMIMethod
Function        J:                                                  Set-Location J:
Cmdlet          Join-Path                                           Join-Path [-Path] [-ChildPath]
Function        K:                                                  Set-Location K:
Alias           kill                                                Stop-Process
Function        L:                                                  Set-Location L:
Cmdlet          Limit-EventLog                                      Limit-EventLog [-LogName] [-ComputerN...
Alias           lp                                                  Out-Printer
Alias           ls                                                  Get-ChildItem
Function        M:                                                  Set-Location M:
Alias           man                                                 help
Alias           md                                                  mkdir
Alias           measure                                             Measure-Object
Cmdlet          Measure-Command                                     Measure-Command [-Expression] 
Cmdlet          Measure-Object                                      Measure-Object [[-Property] ] [-
Alias           mi                                                  Move-Item
Function        mkdir                                               ...
Function        more                                                param([string[]]$paths)...
Alias           mount                                               New-PSDrive
Alias           move                                                Move-Item
Cmdlet          Move-Item                                           Move-Item [-Path] [[-Destination] 
Cmdlet          Move-ItemProperty                                   Move-ItemProperty [-Path] [-Destinati...
Cmdlet          Move-XAApplication                                  Move-XAApplication [-BrowserName] <
Cmdlet          Move-XAFolder                                       Move-XAFolder [-FolderPath] [-ToFolde...
Cmdlet          Move-XAServer                                       Move-XAServer [-ServerName]  
Cmdlet          Move-XAWorkerGroup                                  Move-XAWorkerGroup [-WorkerGroupName] ...
Alias           mp                                                  Move-ItemProperty
Alias           mv                                                  Move-Item
Function        N:                                                  Set-Location N:
Alias           nal                                                 New-Alias
Alias           ndr                                                 New-PSDrive
Cmdlet          New-Alias                                           New-Alias [-Name] [-Value]  
Cmdlet          New-AppLockerPolicy                                 New-AppLockerPolicy [-FileInformation] 
Function        New-CtxGroupPolicy                                  ...
Cmdlet          New-CtxInformationPackage                           New-CtxInformationPackage [-
Cmdlet          New-Event                                           New-Event [-SourceIdentifier] [[-