User Tools

Site Tools


hub_distributor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hub_distributor [2024/05/09 18:47] parthahub_distributor [2024/05/10 14:04] (current) – [changing the endpoints] partha
Line 6: Line 6:
 ====== prerequisite ====== ====== prerequisite ======
  
-> you should have ''trisul hub'' and ''expect'' installed on your machine.+> you should have ''trisul hub'' , ''ssh-server'' and ''expect'' installed on your machine.
  
  
Line 14: Line 14:
 Goto "/usr/local/share/trisul-hub" on your machine. Goto "/usr/local/share/trisul-hub" on your machine.
  
-<code> cd /usr/local/share/trisul-hub </code>+<code bash> cd /usr/local/share/trisul-hub </code>
  
 Execute the hub_distributer.exp file as root user. Execute the hub_distributer.exp file as root user.
  
-<code> ./hub_distributer.exp </code>+<code bash> ./hub_distributer.exp </code>
  
 ===== inputs ===== ===== inputs =====
Line 63: Line 63:
   * first it will stop all the contexts and the domain in the hub node.   * first it will stop all the contexts and the domain in the hub node.
   * delete the default domain0 by removing the domain0 certificate files.   * delete the default domain0 by removing the domain0 certificate files.
-  * create a new domain with the ''TCP'' socket by executing <code>trisulctl_hub create domain</code>+  * create a new domain with the ''TCP'' socket by executing <code bash>trisulctl_hub create domain</code>
   * then it will enter the ''domain discription'' and ''port values'' given by user.   * then it will enter the ''domain discription'' and ''port values'' given by user.
-  * once the domain is successfully created, it will install it by executing <code> trisulctl_hub install domain /usr/local/share/trisul-hub/domain0.cert </code>+  * once the domain is successfully created, it will install it by executing <code bash> trisulctl_hub install domain /usr/local/share/trisul-hub/domain0.cert </code>
  
  
Line 73: Line 73:
 need to switch the Hub to a TCP connection mode.</note> need to switch the Hub to a TCP connection mode.</note>
  
-  * changing the endpoints by executing <code> /usr/local/share/trisul-hub/change_endpoints </code>+  * changing the endpoints by executing <code bash> /usr/local/share/trisul-hub/change_endpoints </code>
 ===== Finishing up ===== ===== Finishing up =====
  
hub_distributor.1715260665.txt.gz · Last modified: 2024/05/09 18:47 by partha