Table of Contents
Instructions for MANUAL installation Airship+Tungsten Fabric using the Regional Controller and the TF Blueprint
...
This document describes detailed manual installation procedure. As an option you can use Automatic deployment with ansible to get the same environment as used for CICD validation.
Overview
Akraino Regional Controller is necessary part of release 2 deployment procedure. It's Akraino approved blueprint which is common for all of release 2 blueprints and which is using for Edge Site, Blueprint and POD deployment.
...
More information about Regional Controller:
- The Regional Controller's Object Model (it helps you to figure out what is Blueprint, Edge Site, POD, Workflow)
- How to write Blueprints and Workflows
- How to load objects into the Regional Controller
- Frequently Asked Questions
...
You can use any machine or VM dedicated for this purpose. See instructions on how to start the regional controller.
https://wikilf-akraino.akrainoatlassian.orgnet/wiki/display/AK/Starting+the+Regional+Controller
After you have a working Regional Controller you have to login on it and follow the steps bellow
...
where $PODID is the UUID of the POD. This will show all the messages logged by the workflow, as well as the current status of the workflow. The status will be WORKFLOW while the workflow is running, and will change to ACTIVE if the workflow completes successfully, or FAILED, if the workflow fails.
Uninstall
Uninstall Regional Controller
As we using one-time AWS instances they can be just removed with AWS console or other tools which were used for creating (ansible, terraform, etc).
In other cases following comands can be used for manual cleanup procedure.
Deleting POD from Regional Controller
Code Block | ||||
---|---|---|---|---|
| ||||
rc_cli -H $RC_HOST -u $RC_USER -p $RC_PW pod delete $PODID |
Deleting Blueprint from Regional Controller
Code Block | ||||
---|---|---|---|---|
| ||||
rc_cli -H $RC_HOST -u $RC_USER -p $RC_PW blueprint delete $BPID |
Uninstall Regional Controller itself
Code Block | ||||
---|---|---|---|---|
| ||||
sudo docker stop $(docker ps -aq)
sudo docker rm $(docker ps -aq)
sudo docker rmi $(docker images -q)
sudo rm -rf /opt/api-server/
sudo rm -rf /opt/akraino-tf/ |
Uninstall Airship
Airship-in-a-bottle doesn't have any tools for installation. Moreover according the documentation it's not recommended to use one virtual instance twice after fail. It's better to remove the failed instance and create a new one for reinstalling.
So the best way to uninstall airship-in-a-bottle it's removing Airship+Tungsten Fabric host via AWC console.