...
- Check if the Akraino (Docker Containers) packages are stood up.
- Connect to PostgreSQL database providing the host IP (name).
Code Block | ||
---|---|---|
| ||
user name = admin |
...
password = abc123 |
- Locate the directory from which Postgres loads any required files:
Code Block | ||
---|---|---|
| ||
> show data_directory |
- Copy the configuration file to this directory on the appropriate Edge Node.
- Execute the following SQL insert, bearing in mind these value substitutions:
edge_site_id
: Any unique increment value. This is usually 1 but does not have to be.edge_site_name
: Human-readable Edge Node name.region_id
: Edge Node region number. Useselect * from akraino.Region;
to determine the appropriate value. Observe the region number associations returned from the query: Use 1 for US East, 2 for US West, and so on.edge_site_ip:
IP address of the node where the deployment is doneedge_site_user:
User name of the node (for edge_site_ip)edge_site_pwd:
Password of the node (for edge_site_ip)
Code Block | ||
---|---|---|
| ||
> insert into akraino.edge_site(edge_site_id, edge_site_name, edge_site_ip, edge_site_user, edge_site_pwd, input_file, crt_login_id, crt_dt, upd_login_id, upd_dt, region_id) values( 1, 'Atlanta', 'ip-address', 'user', '****', bytea(pg_read_file('input-file-name')), user, now(), user, now(),1); |
...