Hyrax: BES Administrative Commands: Difference between revisions

From OPeNDAP Documentation
⧼opendap2-jumptonavigation⧽
No edit summary
Line 5: Line 5:
  <?xml version="1.0" encoding="UTF-8"?>
  <?xml version="1.0" encoding="UTF-8"?>
   <hai:BesAdminCmd xmlns:hai="http://xml.opendap.org/ns/bes/admin/1.0#">
   <hai:BesAdminCmd xmlns:hai="http://xml.opendap.org/ns/bes/admin/1.0#">
       <hai:StopNice />
       <hai:Stop />
   </hai:BesAdminCmd>
   </hai:BesAdminCmd>




=== StopNice ===
=== Stop ===


Example:  
Example:  
Line 80: Line 80:
===== Response Example =====
===== Response Example =====


Normally no response. May return a BESError.
<?xml version="1.0" encoding="UTF-8"?>
  <hai:BesAdminCmd xmlns:hai="http://xml.opendap.org/ns/bes/admin/1.0#">
      <hai:OK/>
  </hai:BesAdminCmd>
 
<?xml version="1.0" encoding="UTF-8"?>
  <hai:ParseError xmlns:hai="http://xml.opendap.org/ns/bes/admin/1.0#">
      ''message text''
  </hai:ParseError>
 
<?xml version="1.0" encoding="UTF-8"?>
  <hai:BESError xmlns:hai="http://xml.opendap.org/ns/bes/admin/1.0#">
      ''message text''
  </hai:BESError>
 
 


----
----

Revision as of 19:05, 19 May 2011

BES Administration Commands

Namespace: http://xml.opendap.org/ns/bes/admin/1.0#

<?xml version="1.0" encoding="UTF-8"?>
 <hai:BesAdminCmd xmlns:hai="http://xml.opendap.org/ns/bes/admin/1.0#">
     <hai:Stop />
 </hai:BesAdminCmd>


Stop

Example:

<hai:Stop/>

Stops all beslistener processes; does not wait for current transmissions to complete


Request Example
<?xml version="1.0" encoding="UTF-8"?>
 <hai:BesAdminCmd xmlns:hai="http://xml.opendap.org/ns/bes/admin/1.0#">
     <hai:Stop/>
 </hai:BesAdminCmd>
Response Example
<?xml version="1.0" encoding="UTF-8"?>
 <hai:BesAdminCmd xmlns:hai="http://xml.opendap.org/ns/bes/admin/1.0#">
     <hai:OK/>
 </hai:BesAdminCmd>
<?xml version="1.0" encoding="UTF-8"?>
 <hai:ParseError xmlns:hai="http://xml.opendap.org/ns/bes/admin/1.0#">
     message text
 </hai:ParseError>
<?xml version="1.0" encoding="UTF-8"?>
 <hai:BESError xmlns:hai="http://xml.opendap.org/ns/bes/admin/1.0#">
     message text
 </hai:BESError>



StopNow

Not part of the current design Example:

<hai:StopNow />

Forcefully stops all beslistener processes


Request Example
<?xml version="1.0" encoding="UTF-8"?>
 <hai:BesAdminCmd xmlns:hai="http://xml.opendap.org/ns/bes/admin/1.0#">
     <hai:StopNow />
 </hai:BesAdminCmd>
Response Example

Normally no response. May return a BESError.


Start

Example:

<hai:Start />

Starts the master beslistener process. If a beslistner is already running nothing will be done.


Request Example
<?xml version="1.0" encoding="UTF-8"?>
 <hai:BesAdminCmd xmlns:hai="http://xml.opendap.org/ns/bes/admin/1.0#">
     <hai:Start />
 </hai:BesAdminCmd>
Response Example
<?xml version="1.0" encoding="UTF-8"?>
 <hai:BesAdminCmd xmlns:hai="http://xml.opendap.org/ns/bes/admin/1.0#">
     <hai:OK/>
 </hai:BesAdminCmd>
<?xml version="1.0" encoding="UTF-8"?>
 <hai:ParseError xmlns:hai="http://xml.opendap.org/ns/bes/admin/1.0#">
     message text
 </hai:ParseError>
<?xml version="1.0" encoding="UTF-8"?>
 <hai:BESError xmlns:hai="http://xml.opendap.org/ns/bes/admin/1.0#">
     message text
 </hai:BESError>