Starting as-router

as-router is provided as a native executable only.

Procedure

  1. Ensure the ActiveSpaces /bin directory is defined in the path environment variable. Go to the ActiveSpaces /bin directory.
    • Microsoft Windows default location: <TIBCO_HOME>\as\<version>\bin
    • UNIX/Linux default location: /opt/tibco/as/<version>/bin
  2. Start as-router as follows:
                as-router –router_listen <url>
    Where:
     <url> is a string of the form tcp://<ip_addr>:port which specifies the IP address and port the as-router listens on for connections from other as-routers.
    
    

as-router Command Line Parameters

The command line parameters for the as-router executable can be seen by running:
as-router –help
The output of the help command includes the default values used if no parameter is provided. Except for the two cross-site replication related parameters, the rest of the parameters are also used by the as-agent executable. So, to see specific information about any of the non-router specific parameters, see the as-agent Command Parameters section in the TIBCO ActiveSpaces Administration guide. The following is the output of running as-router –help:
Required Parameters:
    -router_listen <url>                                 

The following parameter is required if as-router is    
started as the first member of the metaspace:            
    -site_name <site_name>                               

Optional Metaspace Connection Parameters:
    -metaspace <metaspace_name>      default ms          
    -discovery <url> / <url_list>    default tibpgm      
    -listen <url>                    default tcp         
    -remote_listen <url>                                 
    -member_name <member_name>                           
    -worker_thread_count <count>     default 32          
    -rx_buffer_size <size>           default 2mb         
    -connect_timeout <ms>            default -1 (no timeout)
    -member_timeout <ms>             default 30000       
    -client_timeout <ms>             default 10 min      
    -cluster_suspend_threshold       default -1          

Optional Security Parameters:
    -security_policy <policy_path>                       
    -security_token <token_path>                         
    -identity_password <password>                        
    -authentication_domain <domain_name>                 
    -authentication_username <user_name>                 
    -authentication_keyfile <file_path>                  
    -authentication_password <password>                  

Optional Logging Parameters:
    -log <file_path>                                     
    -log_debug <log_level>           default 3 (INFO)    
    -log_limit <limit>               default -1 (no limit)
    -log_count <count>               default 1           
    -log_append <boolean>            default true        
    -debug <log_level>               default 3 (INFO)    
    -advisory_level <level>          default 3 (INFO)    

Optional Monitoring Parameters:
    -monitor_system <boolean>        default false       

Optional Script File Parameters:
    -input <script_path>                                 

Discovery url format:
   tcp://interface:port;interface2:port2;interface3:port3
   tibpgm://dport/interface;multicast/key1=value1;key2=value2;key3=value3
Listen url format:
   tcp://interface:port
Remote listen url format:
   tcp://interface:remote_listen_port
Router listen url format:
   tcp://interface:router_listen_port