You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add command: esdc-overlay update [overlay-rule-name] [node-list]
Checks and updates overlay & IPSec configuration on all involved nodes. Useful when a new node is added. When run without a overlay-rule-name, it updates configuration of all overlays on all nodes.
Overlays configuration is queried from cfgdb: /esdc/settings/overlays/{{ overlay rule name }}/nodelist (csv or "all") /esdc/settings/overlays/{{ overlay rule name }}/rule (configuration string)
This is proposal of a script that will automate overlay creation on compute nodes using ansible.
Script name:
/opt/erigones/bin/esdc-overlay
Usage:
esdc-overlay create <overlay_name> <node_list|all> [type]
Example:
esdc-overlay create myoverlay1 all
esdc-overlay create myoverlay1 cn01.local,cn02.local,cn03.local
What it will do:
/var/run/smartdc/networking/overlay_rules.json
(refreshnet-virtual
)The
create
command can be run multiple times to ensure the overlay is correctly setup. If the overlay already exists on a node, nothing will happen.Other commands:
esdc-overlay delete <overlay_name>
esdc-overlay list
The
list
command prints all overlays with nodes assigned to them.J.
The text was updated successfully, but these errors were encountered: