docker compose --profile="*" down
Note: You can also use docker desktop to clear out these volumes.
You can list these with:
docker volume ls
Your appliance-related volumes should be named:
*_Backup
*_Certificates
*_Data
*_Local
*_VOL_Signal
*_WSS
Delete these (Probably besides the one related to Certificates) with:
docker volume rm $(volume_name)
Note: In case of any mount errors deleting this, you can stop any other running containers on your system, restart your docker setup, and attempt to delete the volume.
24-02-ORP
branch.Clone the appliance repository to a new location:
Appliance Repository
Clone with SSH:
git@gitlab.com:ledr/core/dev-platform/appliance.git
https://gitlab.com/ledr/core/dev-platform/appliance.git
For demo purposes, you can create a separate folder from your previous appliance and clone the constellation version of the appliance there, to revert to your previous appliance at will.
LOCAL_ORIGIN
in your. env and ensure this is set to . /Local
. In case there are hardocded instances of this variables in your appliance files, ensure Local
is changed to ./Local
20057
and 20058
.That is, allow port 20057-20058 on the firewall.
For Windows: Open ports in Windows Firewall
For Ubuntu: Ubuntu Firewall Guide
For MacOS: How to open specific ports on macOS
Auto-constellation ensures that you can connect your appliance to the constellation with minimal setup steps during initial startup.
This entails only updating your ./Local/configuration.txt
and .env
files with variables that should be provided by your network administrator.
Note: This only works when these files are set up before the first time you start up your appliance. If you have already started your appliance without these files, refer to Part A: Prepping Your Appliance. This is because the variables and .txt files ensure that we can recreate your local entities with the required host and network IDs.
Note: Previously, the below steps were also required regardless of whether you were to joining the constellation manually WITH AVU or WITH MAESTRO. However, due to the auto constellation, you don't need to do any further setup on Avu or Maestro. You can therefore jump straight to C. Making Use of ORP after your appliance starts.
root
authority <0> {auth}
root
routing "LOGICAL" local_appliance_id gateway_id
echo Server ready!
Where auth
, local_appliance_id
and gateway_id
will be assigned to you by your network administrator.
For example:
root
authority <0> {5a5d61ce-e44c-4ecb-b9e6-5d57f2220977}
root
routing "LOGICAL" <1000|5002|0> <1000|1000|0>
echo Server ready!
Your network administrator will also hand your contents to key variables in your .env file, which you can paste in your exsting .env file. This should supplement your already exisiting .env variables.
Start your appliance for the new configuration to take effect.
docker compose --profile="*" up -d
gateway_id
that was provided to you by your network administrator.To join the development-gateway (dev-gw.ledr.io), the command is:
> host "64901798" <0|1000|0> TRUE
In Avu this is:
> <network_id | gateway_id | 0>
For the dev-gateway this is:
> <1000|1000|0>
In Avu this is:
> tunnel gateway_id “portal_name” local_appliance_id {portal_authorization}
For the dev-gateway, this will look like:
> tunnel <1000|1000|0> "jayson_mulwa" <1000|5002|0> {8a977383-259b-41fd-be55-b14399541217}
In avu this is:
> <network_id | gateway_id | 0>
For the dev-gateway this is:
> <1000|1000|0>
Maestro usually runs on port 80 on your machine. Therefore, open your browser and navigate to http://localhost:80 to access your local Maestro instance.
Here you can locate your ORP adapter instance
<0|0|4200>
OUTLET_ATTRIBUTE
The ORP adapter should be listed here. Select it and take note of the entity id (e.g., <1000|5002|100099>
).
Type in the entity id of the ORP adapter to be able to make use of ORP to join the constellation
In your Interfacer instrument, add the host address of the gateway your are trying to connect to, this will be under the Add Host Section. Add the Host Id and Address values similar to with the Avu Method and click on EXEC
.
Ping your Gateway to ensure you have access to the gateway you are attempting to connect to.
This is through the EXEC
button beside the Ping GATEWAY section.
Once, this returns true, it means that the ORP application on the remote master server (gateway) is up. We can join the ORP and sync our routing tables data with the master (where the master has also synced up with other slave hosts).
From the tunnels frame, for example, you can see which tunnels exist on which hosts . This enables you to confirm that another host has a link to the master, and therefore you can browse its knowledge space.
Your ORP frames are built from the syncing that occurs between your appliance host, the master hosts, and other hosts. Incase any record is added or modified in any ORP instance, all connectected ORP nodes will eventually be consistent with each other.
i. Ensuring you have gone through the steps above to set up your tunnel to the master node (gateway).
ii. Adding the host id of the node whose knowledge space we want to browse to your appliance via ORP - That is if the host id doesn't already exist.
Note: You don't have to know the exact public IP address of the node whose knowledge space you want to browse - as long as it is tunnelled to the gateway. You can simply add this host with the same public IP as the master node (gateway) to your local appliance; or check that it has already been added by ORP syncing.
That is, if you added the master node (gateway) with:
> host "64901798" <0|1000|0> TRUE
You can add another host (slave) as:
> host "64901798" <0|1004|0> TRUE
The gateway will route traffic to it as long as it is also connected to the gateway via a tunnel.
The above can be done in AVU, or as in the section below in Maestro.
iii. Ping the host whose knowledge space you want to browse.
iv. In the Maestro's explorer, access its entities: