hub_distributor
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
hub_distributor [2024/05/09 18:07] – partha | hub_distributor [2024/05/10 14:04] (current) – [changing the endpoints] partha | ||
---|---|---|---|
Line 6: | Line 6: | ||
====== prerequisite ====== | ====== prerequisite ====== | ||
- | > you should have '' | + | > you should have '' |
Line 14: | Line 14: | ||
Goto "/ | Goto "/ | ||
- | < | + | < |
Execute the hub_distributer.exp file as root user. | Execute the hub_distributer.exp file as root user. | ||
- | < | + | < |
===== inputs ===== | ===== inputs ===== | ||
Then it will ask from some inputs as below | Then it will ask from some inputs as below | ||
- | |||
- | ^ Hub IP Address | 192.168.1.6 | | ||
- | ^ Domain Description | distributed domain | | ||
- | ^ Starting Port | 12001 | | ||
{{: | {{: | ||
Line 36: | Line 32: | ||
===== checking the license status ===== | ===== 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 ===== | ===== 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. | ||
+ | |||
+ | ^ Value ^ Sample inputs | | ||
+ | |'' | ||
+ | |'' | ||
+ | |'' | ||
===== validating the inputs ===== | ===== 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 ===== | ===== creating new domain ===== | ||
+ | |||
+ | * first it will stop all the contexts and the domain in the hub node. | ||
+ | * delete the default domain0 by removing the domain0 certificate files. | ||
+ | * create a new domain with the '' | ||
+ | * then it will enter the '' | ||
+ | * once the domain is successfully created, it will install it by executing <code bash> trisulctl_hub install domain / | ||
===== changing the endpoints ===== | ===== changing the endpoints ===== | ||
+ | < | ||
+ | need to switch the Hub to a TCP connection mode.</ | ||
+ | |||
+ | * changing the endpoints by executing <code bash> / | ||
+ | ===== Finishing up ===== | ||
+ | * after changing the endpoints it will restart the domain and contxts in the hub node. | ||
+ | * and it ends with the success message. | ||
hub_distributor.1715258224.txt.gz · Last modified: 2024/05/09 18:07 by partha