Table of Contents

what it does

It creates a new probe and connect it to the hub.

Before executing this script the hub distributor script should be executed in the trisul hub server.

prerequisite

You should have trisul probe and ssh-server installed on your machine.

how to use it

Goto “/usr/local/share/trisul-hub” on your hub node

 cd /usr/local/share/trisul-hub 

Execute the add_probe.exp file as root user.

 ./add_probe.exp 

inputs

Then it will ask from some inputs as below

how it works

It login to the probe machine and do the stuff that need to be done on the probe node. and return back to the hub node and authorise the probe in the hub.

getting the inputs

It will get 4 inputs from the user

  1. Probe name
    • A valid probe name to create a new one.
probe names must begin with probeXXXXX
  1. Probe SSH IP address
    • IP address of the probe machine
  2. Probe SSH username
    • username of the probe machine
  3. Probe SSH password
    • password of the probe machine
Value Sample inputs
Probe name probeWEST
Probe IP address 192.168.1.7
Probe username pbusr
Probe Password pass

validating the inputs

checking the license status

Connecting the probe with hub

Finishing up

 trisulctl_hub hello