cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Data server status

Former Member
0 Likes
772

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_NameConnector_TypeConnections_UsedAvailable_ConnectionsMax_Connections_UsedMax_Wait_Time

There is no status info like Running or Stopped.

Regards,

Guru.

Accepted Solutions (1)

Accepted Solutions (1)

Emilien_IndX
Explorer
0 Likes

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

Former Member
0 Likes

Hi  Emilien,

This doesn't give status information.

Regards,

Guru.

Emilien_IndX
Explorer
0 Likes

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

Former Member
0 Likes

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.


Emilien_IndX
Explorer
0 Likes

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

Former Member
0 Likes

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.

Answers (1)

Answers (1)

former_member193328
Active Participant
0 Likes

Hi Guru

If no of available connections is > 0 it should be running. Else stopped or error status.

Regards

Partha

Former Member
0 Likes


Hi Partha,

Even if the data server stopped, the available  no of connections  show 1 for one of  data server.

Regards,

Guru.