into/out of farms/domains, & changing the password

I previously posted how to launch some pre-built XenApp AMIs in the Amazon cloud. If you launch these, you will eventually want to change the password, and/or move the servers out of and into a different domain. You may even want to join the XenApp server to a different XenApp farm. As you can imagine there is a correct way to do these tasks. Here they are:

Changing the administrator password

If you change the administrator password on the XenApp server, it will break the connection to the SQL Datastore. It can easily be fixed to work again by doing the following:

  • Stop the Citrix IMA service (if it is running)
  • From a command prompt run the following:
    dsmaint config /user:<computer or domain>\administrator /pwd:<password> /dsn:<path to mf20.dsn file>
  • Start the Citrix IMA service

Removing the server from a domain/joining a domain

If you remove the server from the domain, or join a domain, you should recreate the local host cache

  • Stop the Citrix IMA service (if it is running)
  • From a command prompt run the following:
    dsmaint recreate lhc
  • Start the Citrix IMA service

Joining a different farm

  • Run the XenApp Role manager: Start -> All Programs -> Citrix -> XenApp Server Role Manager -> XenApp Server Role Manager.
  • Edit configuration.
  • Leave the current farm.
  • Repeat and Join the farm you want to move to.

More information on this topic can be found here.

XenApp Administration & the DSMAINT command can be found here.

It’s powerful!