Difference: DIRACPortDiscovery ( vs. 1)

Revision 12008-09-09 - StuartPaterson

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="ProductionProcedures"
-- StuartPaterson - 09 Sep 2008

dirac-admin-service-ports

To check the active ports for the current setup the following script is available:

dirac-admin-service-ports

{'Accounting/DataStore': 9143,
 'Accounting/ReportGenerator': 9144,
 'Bookkeeping/BookkeepingManager': 9202,
 'Bookkeeping/BookkeepingManagerOld': 9200,
 'Configuration/Server': 9135,
 'DataManagement/DataIntegrity': 9150,
 'DataManagement/DataLogging': 9146,
 'DataManagement/RAWIntegrity': 9198,
 'DataManagement/ReplicationPlacement': 9147,
 'DataManagement/StorageUsage': 9151,
 'DataManagement/TransferDBMonitoring': 9191,
 'Framework/Gateway': 9300,
 'Framework/ProxyManager': 9152,
 'Monitoring/Server': 9142,
 'Monitoring/SiteMapping': 9171,
 'ProductionManagement/ProductionManager': 9131,
 'RequestManagement/RequestManager': 9143,
 'Stager/Stager': 9149,
 'WorkloadManagement/InputSandbox': 9096,
 'WorkloadManagement/JobManager': 9091,
 'WorkloadManagement/JobMonitoring': 9130,
 'WorkloadManagement/JobStateUpdate': 9136,
 'WorkloadManagement/Matcher': 9170,
 'WorkloadManagement/Notification': 9154,
 'WorkloadManagement/OutputSandbox': 8996,
 'WorkloadManagement/WMSAdministrator': 9145}

To check the list of ports for a setup (that is not your current DIRAC setup) this can be provided as an argument, e.g.

dirac-admin-service-ports LHCb-Development

{'Accounting/DataStore': 9143,
 'Accounting/ReportGenerator': 9144,
 'Bookkeeping/BookkeepingManager': 9202,
 'Bookkeeping/BookkeepingManagerOld': 9200,
 'Configuration/Server': 9135,
 'DataManagement/DataIntegrity': 9150,
 'DataManagement/DataLogging': 9146,
 'DataManagement/DatasetManager': 9199,
 'DataManagement/LcgFileCatalogProxy': 9138,
 'DataManagement/RAWIntegrity': 9198,
 'DataManagement/ReplicationPlacement': 9147,
 'DataManagement/StorageUsage': 9151,
 'DataManagement/TransferDBMonitoring': 9191,
 'Framework/Gateway': 9300,
 'Framework/ProxyManager': 9152,
 'Logging/SystemLogging': 9141,
 'Logging/SystemLoggingReport': 9144,
 'Monitoring/Server': 9142,
 'Monitoring/SiteMapping': 9153,
 'ProductionManagement/ProductionManager': 9131,
 'RequestManagement/RequestManager': 9143,
 'Stager/Stager': 9149,
 'WorkloadManagement/InputSandbox': 9096,
 'WorkloadManagement/JobManager': 9091,
 'WorkloadManagement/JobMonitoring': 9130,
 'WorkloadManagement/JobStateUpdate': 9136,
 'WorkloadManagement/Matcher': 9170,
 'WorkloadManagement/Notification': 9154,
 'WorkloadManagement/OutputSandbox': 8996,
 'WorkloadManagement/WMSAdministrator': 9145}

If the full list of ports for all DIRAC services in all setups is required, an AND of the above for each setup can be performed.

dirac-framework-ping-service

dirac-framework-ping-service

Usage: dirac-framework-ping-service <DIRAC System Name> <DIRAC Service Name>

An example for checking whether the WMS Job Manager service is up:

dirac-framework-ping-service WorkloadManagement JobManager

{'OK': True,
 'Value': {'cpu times': {'children system time': 0.31,
                         'children user time': 0.14000000000000001,
                         'elapsed real time': 5861180.6200000001,
                         'system time': 24.460000000000001,
                         'user time': 234.81},
           'host uptime': 1567003L,
           'load': '1.74 1.84 1.88',
           'name': 'WorkloadManagement/JobManager',
           'service start time': datetime.datetime(2008, 8, 22, 6, 46, 20, 462434),
           'service uptime': 76177,
           'time': datetime.datetime(2008, 9, 9, 9, 55, 57, 838581),
           'version': 'v0r4p2'},
 'rpcStub': (('WorkloadManagement/JobManager',
              {'delegatedDN': '/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=paterson/CN=607602/CN=Stuart Paterson',
               'delegatedGroup': 'lhcb_prod'}),
             'ping',
             ())}
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback