LicensingMost problems are related to Citrix and Microsoft licensing issues. First, verify that the server is running in Application Server mode not Remote Administration. Second, check that the Terminal services licensing server is running and that licenses are activated. Third, check the Citrix licensing server that the correct amount of licenses are installed. Fourth, establish a Remote Desktop Connection using both an administrator account and a regular domain users account.IMA ServiceVerify the IMA service is started and running in Services. Check that the service is live by doing a telnet on port 1494. For example: telnet 127.0.0.1 1494If the service is answering, you will see ICA♥ repeat continuously.FirewallTCP port 1494 needs to be open for external users to connect using the standard Citrix client. Though not necessary, having TCP port 3389 open for Terminal services may help to isolate problems in the trouble shooting process. Additionally, to support session reliability with Presentation Server 4.0 or later, TCP port 2598 should be open.Create Web Interface not an optionIf when running Access Suite Console for Presentation Server 4.0 and the option to Create a web interface is not present, the most likely cause is that Microsoft .NET Framework 2.0 is installed. The resolution is either to un-install .NET Framework or to add the following file in C:\Windows\System32\mmc.exe.config
Remove this file if upgrading to Citrix 4.5 Access Management ConsoleChanging XML service portHow to change the XML service port used by Citrix Presentation Server:1. Go to a command prompt2. Type ctxxmlss /u and press ENTER (this will unregister the XML service)3. Type ctxxmlss /rnnn and press ENTER (for example to change the port to 8080 type ctxxmlss /r8080)4. Start the Citrix XML Service in the Services in Windows Services5. Type telnet localhost 8080 and press ENTER twice (instead of 8080 use the port # specified in step 3) HTTP/1.1 400 Bad request Server: Citrix Web PN Server Date: Tue, 16 Oct 2005 14:02:41 GMT Connection: Close Connection to host lost.Web Interface unable to loginThe supplied credentials could not be validated. Either they are incorrect, or there is a problem with the authentication system. Try again, or contact your help desk or system administrator for help. 1. Type telnet localhost 80 and press ENTER twice (instead of 80 use the XML service port number)If output similar to the following appears, then the XML service is running correctly: HTTP/1.1 400 Bad request Server: Citrix Web PN Server Date: Tue, 16 Oct 2005 14:02:41 GMT Connection: Close Connection to host lost.Otherwise, consider changing the XML service port for the Presentation Server and reconfigure the XML port in the Manage Server Farms module of the Web Interface configuration management console.Secure Ticket AuthorityHow to verify the Citrix secure ticket authority (STA) is running correctly:Enter the following into a web browser running on the Presentation Server
http://localhost:port/ctxsta.dllhttp://localhost:8080/ctxsta.dll (this example is if the XML service is running on port 8080)If the test is successful, the output will be a blank screen.If the test fails, then the output will most likely be a 404 Error (The page cannot be displayed)Program Neighborhood AgentHow to verify the Citrix Program Neighborhood Agent is running correctly:Enter the following into a web browser running on the Presentation Server
http://localhost/Citrix/PNAgent/config.xmlIf output similar to the following appears, then the PNAgent is running correctly: -
http://www.w3.org/2000/10/XMLSchema-instance">Force Uninstall Citrix Presentation ServerIf the Citrix IMA service is not started and you want to uninstall Citrix do the following:1. Go to a command prompt2. cd\program files\citrix\independent management architecture3. Type msiexec /x mps.msi CTX_MF_FORCE_SUBSYSTEM_UNINSTALL=Yes and press ENTERMigrating SQL databasesIf during the initial Citrix installation the default database was selected and you want to change it from Master to something else, here are the steps that should be taken: SQL Server:Create a Citrix database called CTX, create a SQL user called citrix and grant the user dbo database access. First Citrix Server: 1. From a command prompt cd\program files\citrix\independent management architecture2. copy mf20.dsn mast.dsn Contents of mast.dsn: [ODBC] DRIVER=SQL Server UID=sa DATABASE=master WSID=CTXSERVERNAME APP=Citrix IMA SERVER=SQLSERVERNAME Description=CitrixThis assumes the sa SQL account was used to connect to the database. If DATABASE isn't a part of this configuration then Citrix knows to default to master.WSID=Name of the serverSERVER=Name of SQL server3. edit mf20.dsn Contents of mf20.dsn: [ODBC] DRIVER=SQL Server UID=citrix DATABASE=ctx WSID=CTXSERVERNAME APP=Citrix IMA SERVER=SQLSERVERNAME Description=Citrix
4. dsmaint config /user:sa /pwd:sapassword /dsn:"c:\program files\citrix\independent management architecture\mast.dsn"If the datastore is using an Access database with the default settings use the following credentials:/user:citrix /pwd:citrix (omitting these will use the defaults)This tells Citrix what DSN to use. For this example we're telling it to temporarily use the MAST.dsn5. dsmaint migrate /srcdsn:"%ProgramFiles%\Citrix\Independent Management Architecture\MAST.dsn" /srcuser:sa /srcpwd:sapassword /dstdsn:"%ProgramFiles%\Citrix\Independent Management Architecture\MF20.DSN" /dstuser:citrix /dstpwd:citrixpasswordThis copies the necessary tables from the source DSN to the destination DSN. The MAST.dsn looks at the master database in SQL and the MF20.dsn goes to the CTX database.6. dsmaint config /user:citrix /pwd:citrixpassword /dsn:"c:\program files\citrix\independent management architecture\mf20.dsn"This tells Citrix what DSN to use. For this example we're telling it to use the MF20.dsn which will be used for production.7. Stop IMA service8. dsmaint recreatelhcFlushes all the local host cache info out and pulls in a fresh copy from SQL9. Start IMA serviceOther Citrix Servers:1. Copy the MF20.dsn from the first server to other servers and edit the WSID so that it's the same as the server name2. dsmaint config /user:citrix /pwd:citrixpassword /dsn:"c:\program files\citrix\independent management architecture\mf20.dsn"3. Stop IMA service4. dsmaint recreatelhc5. Start IMA serviceMaster Database Cleanup:This is so it's not used accidentallyrename keytable _keytablerename indextable _indextablerename deletetracker _deletetrackerrename datatable _datatable
To test that everything worked properly, published a test application like Freecell using the Citrix Management Console and launch it from servers in the farm and if installed from the web interface. To make 100% sure everything works, reboot the servers and confirm no errors are in the event logs.
No comments:
Post a Comment