hub_distributor
This is an old revision of the document!
−Table of Contents
what it does
it delete the default domain0 and creates a new one with the TCP socket.And change the endpoints to TCP mode so that we can connect the probes from any server.
You have to run this script only before adding the first probe.Then you can add as many probes as you want without executing the hub distributor.
prerequisite
you should havetrisul hub
andexpect
installed on your machine.
how to use it
Goto “/usr/local/share/trisul-hub” on your machine.
cd /usr/local/share/trisul-hub
Execute the hub_distributer.exp file as root user.
./hub_distributer.exp
inputs
Then it will ask from some inputs as below
Hub IP Address | 192.168.1.6 |
---|---|
Domain Description | distributed domain |
Starting Port | 12001 |
how it works
checking the license status
it will check the license status if you are using the free 3 days time trial license it will stop the process.
getting the inputs
it will get 3 inputs from the user
- Hub IP address
- IP address of the trisul hub node to use in the TCP connection.
- Domain discription
- discription of the new domain
- Starting port
- it gets a port number and use it to three values frontend port , backend port and TCP port by increasing the value by one for each.
validating the inputs
- it will check whether the given hub IP address presence or not in the trisul hub server.
- if the given hub IP is not exists in the hub node it will exit from the execution
creating new domain
changing the endpoints
hub_distributor.1715258867.txt.gz · Last modified: 2024/05/09 18:17 by partha