on ‎2014 Feb 18 5:17 PM
Hi ,
I tried to use the following service to get the status info for the data servers on a server.
http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=Status
But the service output contains
| Server_Name | Connector_Type | Connections_Used | Available_Connections | Max_Connections_Used | Max_Wait_Time |
|---|
There is no status info like Running or Stopped.
Regards,
Guru.
Request clarification before answering.
Hello,
If your data server is stopped, it doesn't appear in the list.
If you want the complete list, you can use this URL:
http://<server>:<port>/XMII/Illuminator?service=Configuration&mode=DataServers&Type=Export
The result is in XML format and you can find the Enabled attribute (=T for true of F for false) in the same document.
Emilien
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guru,
This is only the Enabled parameter.
For the fine status it depends on the type. For Xacute, XML, ... it's automatically Running when it's enabled. For SQL, the status is recovered from the Validation Query. I think MII dynamically displays the status depending on the type.
The Illuminator services get data from MII database so no "executing" information.
I don't know why you need this information but you can by example create some test queries to check the connection.
Regards,
Emilien
Hi Emilien,
Thanks for the reply.
I want to have some kind of monitoring of data connectors status. When any of the data connector status is stopped , it should give me a notification (email). So using this service , I want to schedule a transaction which check the status of all the connectors on that MII server.
Most of the times, we are not aware when MII lost connections to any sql or oracle in time. we have lot of MII servers and lot of sql servers,oracle servers. we will come to know only when the end users raised the tickets for not getting the data in the applications.
I am not sure whether I can have monitoring of sqlservers,oracles from MII side. Can you please suggest the better way to handle this.
Regards,
Guru.
Hi Guru,
Create one SQL Query for SQL Server (SELECT SYSDATETIME() AS SYSDATE)
Create one SQL Query for Oracle (SELECT SYSDATE FROM DUAL)
As mentionned you can list SQL data servers by the URL: http://<server>:<port>/XMII/Illuminator?service=Configuration&mode=DataServers&Type=Export
Loop on this list and call passing Server as parameters and by type (JDBC driver by example) and call correct SQL Query. If Success is true and SYSDATE is filled, it means that the data server is up.
Regards,
Emilien
Hi Emilien,
Thank you. looks good.
I think the service http://<server>:<port>/XMII/Illuminator?service=SystemInfo&mode=Status
gives the list of enabled connectors only.
Regards,
Guru.
Hi Guru
If no of available connections is > 0 it should be running. Else stopped or error status.
Regards
Partha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.