If you have a busy XenApp farm with lots of published apps, users and administrators who have (I hope!) got delegated access – you may often want to check on who made a change, or removed a published app or affected some other settings. XenApp 7.5 Desktop Director has logging enabled by default.
It often gets over looked during setup, but the History node in the XenApp AppCentre console is all you need. If you click on it, and it’s blank – then it’s not enabled and you will need to configure it. Here’s how!
Create a service account for the DB owner- AD or a local SQL account on the database server, documenting the account and password.
Setup a new SQL database on your preferred server. By the way – If you want put the logs on the same server as your Farm DataStore server, you could look in the MF20.dsn and look for the “server=” line. Start/Run – \citrixserver1\C$\Program Files (x86)\Citrix\Independent Management Architecture\ – should take you to mf20.dsn.
You can use Oracle, but all customers I come across are on SQL server.
Then create the database with a suitable name – eg xenapplog and assign the service account as the DB Owner.
Now – login to a DataCollector in your Citrix Farm. Right click on the farm name, and go to Farm Properties and click on Configuration Logging.
Then click on Configure Database.
Enter the name of the database server, the authentication mode and the service account details.
Then select the database you created from the list.
Unless your database uses encryption, select No for Use Encryption. Click Next.
Then click on Test Database Connection – OK, then Finish.
The only other option is to secure the delete options – by ticking the box for “Require Admin to enter database credentials before clearing log”. You did record that account password didn’t you?
Click on Get Log – and recent changes should start to appear. You can also amend the columns and set Filters for tasks and data range if looking to narrow down the search for changes.
So, a very useful addition to the console, and easy to setup. Happy Logging!