Server Cluster Administration

Two objects are used for server cluster administration: IServerAgentConnection and IWorkingProcessConnection.
Connection with a server agent can be established using ConnectAgent method:
COMConnector = New COMObject("V83.COMConnector");
ConnectionWithServerAgent = COMConnector.ConnectAgent("TestSrv");
Connection with a server agent also provides a possibility to perform the following actions:
  • authentication, addition, deletion, getting administrator list for the central server and cluster;
  • creation, deletion, getting cluster list; creation, deletion, getting server list;
  • creation, deletion, getting cluster's working processes list;
  • getting cluster's connections list; getting infobase connections list; getting the list of infobases registered in the cluster;
  • getting cluster's locks list, etc.

Connection with a working process can be established using the ConnectWorkingProcess method:
COMConnector = New COMObject("V83.COMConnector");
ConnectionWithWorkingProcess = COMConnector.ConnectWorkingProcess("TestSrv:1562");
Connection with a working process also provides a possibility to perform the following actions:
  • infobase user authentication;
  • creation, deletion, getting the list of infobases registered in the cluster;
  • getting the list of infobase connections;
  • infobase disconnection;
  • infobase connection (COM connection);
  • etc.

    

1C:Enterprise Developer's Community