Installing/Deploying Edge
Now that you've had a tour of the interface, we're going to install another Edge Node. The Leader provides a very simple bootstrap mechanism for Edge Nodes (just like the one for Stream Worker Nodes).
First, let's navigate back to the default_fleet landing page:
-
From Edge's top nav, click
Manage. -
On the resulting page, click the
default_fleetlink. -
At the upper right, click the
Add/Update Edge Nodebutton. From the resulting drop-down, selectLinux>Add.This opens an
Add Linux Nodemodal, where you'll generate a script to bootstrap the new Node. -
Set the
Installation directoryto/opt/edge. -
Accept all other default values, and note the contents of the
Scriptpane. You'll run this curl script to install the Node. -
Click
Copy scriptat the lower right. You should see a confirmation banner that this has placed the script on your clipboard. -
Close the bootstrap modal by clicking its upper-right close box.
What you just copied is a single command that you can run on one or many systems to install Edge Nodes. The script authorizes the Nodes to connect to the Edge Leader for their configuration.
In a normal environment, you could copy this string and feed it into an Ansible Playbook, Chef Recipe, Userdata script, or whatever you use for software distribution. In this case, we're going to use it to install Edge on another container in our sandbox.
- On the Sandbox's top tabs bar, click the
Terminaltab to switch to the terminal window. - Paste the bootstrap curl script from your clipboard into the terminal window and hit return. This should immediately start downloading and installing Edge.
Look for a Cribl started confirmation in the terminal. (If you instead get an error, or a bunch of HTML-ish text, go back to the Bootstrap section, and generate and copy the script again.)
OK, what next? Nothing? Can it be that simple? Yes, it can, and it is. Let's go see if our new Edge Node is connected...
- On the Sandbox's top tabs bar, click the
Cribltab to return to Edge's UI. - From Edge's top nav, click
Manage, then again click thedefault_fleetlink. The defaultMonitorlower tab should confirm that you now have2 Edge Nodes. - Click the
List Viewtab for details.
You should now see the original edge-baddev-<hash>, and a new Node named edge-<hash>. Feel free to explore the new Node's configuration, before we put it to work ingesting and analyzing some data...