Monitoring Xml Serviceall About Citrix



Environment: Citrix Xenapp 6, on Windows Server 2008

Problem: Client found that the Citrix XML Service was missing in the services MMC console. There appeared to be no Citrix errors in the event viewer of any kind, but the server was not acting as an XML broker, even though it had Citrix properly installed, and was specified as an XML broker on the Citrix Web Interface.

Question: How the Netscaler monitors the XML service when Citrix-XML-Monitor is used on Netscaler? Answer: When Citrix-XML monitor is bound to to the service on Netscaler. Netscaler send the below POST request: POST /scripts/wpnbr.dll HTTP/1.1 Host: 54.97.64.99 Content-Length: 239 Content-Type: text/xml Connection: Close. Discovery Service Discovery Service¶. This service is part of a particular Store. It returns a document describing the location of the endpoint services of the Store and associated authentication service. 24 Apr, 2014 in Citrix / Microsoft / monitoring / XenDesktop tagged bugs / monitoring / scom / xendesktop by Atum In late February and early March we experienced “All the Citrix XML Services configured for farm failed to respond to this XML Service transaction.”. This article details the performance counters and event viewer messages that can be used to gauge the health of a XenApp farm’s infrastructure components. The primary goal of this document is to provide a list of identifiers which are typically associated with a problem that is highly likely to prevent or degrade the performance of application enumeration and/or launch.

Troubleshooting: It was determined that Microsoft IIS was installed on this server. It is a known issue that having IIS installed on the same server as Citrix XML (if sharig port 80) can cause the XML service to vanish. The customer did not know why IIS was installed, and confirmed there was no valid reason to have it on the server. Explained that there are two options available:

a). Configure XML service to share port 80 with IIS

Registering the XML Service to share the port with IIS 5.0

Unregister the service using the previous instructions.
Copy the files ctxxmlss.txt, clm.dll, wpnbr.dll to the InetpubScripts folder. ***(If you are running MetaFrame Presentation Server 3.0 then the clm.dll file is no longer needed).***
If you are running MetaFrame Presentation Server 3.0 or Citrix Presentation Server 4.0, locate the file ctxadmin.dll and copy it to a folder called ctxadmin under InetpubScripts.
If you are running Citrix Presentation Server 4.0, locate the files ctxconfproxy.dll,ctxsta.dll,ctxsta.config and copy them to InetpubScripts.
Open the IIS Manager MMC Snap-in.
Expand the Default Web Site.
Right-click the Scripts folder and click Properties.
On the Virtual Directory tab make sure that the Execute Permissions field is set to Scripts and Executables.
Open a command prompt window.
Run the iisreset command (be aware that this command will restart all IIS-related services).

Registering the XML Service to share the port with IIS 6.0

For Citrix Presentation Server 4.0 on Windows 2003, refer to CTX107683 – How to Configure the XML Service to Share with IIS.

Otherwise, follow these steps:

By default when installing IIS 6.0, the virtual Scripts Folder is not created.

Monitoring Xml Service All About Citrix Access

Unregister the service using the previous instructions.
Navigate to the Inetpub folder and create a new folder named Scripts.
Open the IIS Manager MMC Snap-in.
Right-click the Default Web Site and select New | Virtual Directory…
Click Next.
Under Alias: type the name Scripts and click Next.
Under Path: type Drive Letter:InetpubScripts and click Next.
Under Allow the following permissions: make sure that the following are selected:

a. Read

b. Run Scripts (such as ASP)

c. Execute (such as ISAPI applications or CGI)

Click Next and click Finish.
Right-click the Scripts virtual directory and go to Properties.
Under the Virtual Directory tab make sure that the Execute Permissions: field is set to Scripts and Executables.
Under the Directory Security tab, click Edit… under Authentication and Access Control and make sure that the Enable anonymous access check box is selected.
Now copy the files ctxxmlss.txt, clm.dll, wpnbr.dll to the newly create Scripts folder under the Inetpub folder. ***(If you are running MetaFrame Presentation Server 3.0 then the clm.dll file is no longer needed).***
If you are running MetaFrame Presentation Server 3.0, locate the file ctxadmin.dll and copy it to a folder called ctxadmin under InetpubScripts.
In IIS Admin right-click Web Service Extensions, select Add a new web service extension. Type the name Citrix XML ISAPI in the Extension name field and click Add. In the Add File popup window, type in or browse to the location of the wpnbr.dll file. Then finish by selecting the Set the extension status to allowed check box.
For MetaFrame Presentation Server 3.0, in IIS Admin right-click Web Service Extensions, select Add a new web service extension. Type the name Citrix XML Administration ISAPI in the Extension name field and click Add. In the Add File popup window, type in or browse to the location of the ctxadmin.dll file. Then finish by selecting the Set the extension status to allowed check box.
Run the iisreset command (be aware that this command restarts all IIS-related services).

Monitoring Xml Service All About Citrix Portal

Registering the XML Service to share the port with IIS 7.0

Monitoring Xml Serviceall About Citrix

For XenApp Server 5.0 and 6.0 on Windows Server 2008 and R2, refer to CTX125107 – Configuring XML Service to Share a Port with IIS on 32 and 64 Bit Versions of Windows Server 2008.

Note: The file ctxxmlss.txt is located in the Program FilesCitrixSystem32 folder and the files clm.dll and wpnbr.dll are located in theSystem32 folder.

Monitoring Xml Service All About Citrix Cloud

With Presentation Server 3.0, all the files required are located in Program FilesCitrixSystem32.

b). Uninstall IIS, and re-register the Citrix XML service
Unregistering the XML Service

Open a command Prompt window.
Run ctxxmlss /u (This command unregisters the Citrix XML Service and marks it for deletion).

Israel national radio!the conversation podcast!. Registering the XML Service on a port other than sharing with IIS

Monitoring Xml Service All About Citrix Software

Unregister the service using the previous instructions.
Open a command Prompt window.
Run ctxxmlss /r[Port Number] (Notice that there is no space between the switch “/r” and the port number.
Open the service control manager and manually start the Citrix XML Service.

Conclusion: The end result should be that the Citrix XML Service will show up in your services MMC console once again, and the Xenapp server in question should respond properly to XML requests.

Monitoring Xml Service All About Citrix App

Serviceall

Reference: CTX104063

Related posts:

  • Citrix Virtual Apps (formerly Citrix XenApp) is a popular solution for virtual application delivery which provides secure andremote access to Windows applications and desktops from any device. The biggest challenge foran admin is to exactly pinpoint the source of slowness in an application running on a CitrixVirtual Apps server. Business process reengineering software. Applications Manager helps in quickly drilling down to the root cause of aproblem in Virtual Apps, resolve slowness in applications, providing a better user experience.

  • Proactively monitor Virtual Apps server performance

    View critical performance metrics of the Virtual Apps server, by monitoring the number of failed database connections, busy XML threads and also by tracking growth of Virtual Apps servers, license servers and web interface counters.

  • Determine any slowdown in launching applications

    Playstation games for pc free download. Track transaction time, number of requests processed and determine the load on XML brokers todetermine any bottlenecks in processing transactions like obtaining user information, validating user credentials, changing a password, requesting a ticket, etc. for quicker troubleshooting, before it impacts end users.

  • Detect any interruption in Virtual Apps services

    Determine whether Citrix Virtual Apps services ( Configuration Service, StoreFront, Licensing, etc.) are running properly and monitor their state to detect any outages. Configure thresholds to receive alerts, if the health of the service is down.

  • Track end user experience of applications deployed on Virtual Apps server

    In virtual environments, tracking user profiles is critical to ensure users get a consistent experience every time they log in, to provide a seamless user experience. Monitor important parameters in the Citrix EUEM service which include time taken for authenticating a user and application load on servers to determine any possible delay.

  • Measure any network latency experienced by users

    Detect any latency between the client and the Virtual Apps Server, while interacting with an application hosted in a session on a Virtual Apps server, by monitoring the roundtrip time, available bandwidth and determine any network delay in transmitting the data between the client and server.

  • Proactively detect issues in real time using event logs

    Manage logs across servers and application to diagnose issues like server overload, invalid user login, unavailability of resources, connections rejected, invalid session configuration files and more. View important metrics to automate incident detection, and monitor the availability and functionality of your Virtual Apps environment to avoid any unplanned downtime.

Xml

All About Citrix

Note: Citrix Virtual Apps monitoring does not include Citrix Desktop monitoring.