Menu

Usage

Flavio


AriaAperta scripts usage guide



Before using AriaAperta scripts, you must configure the infrastructure (Server and Nodes) as described in Configuration page.


Run (without parameter) the "server/ariaSrv.rb" script on the server to initialize the front-end and put it in "listen" state, waiting for requests.

 ruby ariaSrv.rb

On each node, run the "node/hostLoop.rb" script; it initializes the database where node load stats will be stored.

 ruby hostLoop.rb

Finally, in order to run the service, run the "client/ariaCli.rb" script on the client terminal. It must be run with, at least, one parameter depending on the request type.

Usage:

         <request_type>                   <request_options>

 0: VoIP service
 1: generic virtual machine
 2: keep-alive acknowledge
 3: terminate sevice/vms                   "all",list,range

Examples:

 ruby ariaCli.rb 1
 ruby ariaCli.rb 3 all
 ruby ariaCli.rb 3 1,3..6



MongoDB Logo MongoDB