Agent Administration
Register and Download a Connected System Agent
Prerequisites
Prerequisites for installation and running of a connected system agent.
The following prerequisites should be met in order to install and run a connected system agent.
- Container runtime:
The agent management script supports docker and podman as the container runtime. The agent management script auto-detects the container runtime. If both are present, podman is selected.
- Utilities:
A connected system agent requires the following operation system utilities:
- unzip
- sed
- awk
- JDK
A connected system agent requires JDK 11.0.x.
Agent Management Operations
Lists details of the operations that the agent can perform and related parameter descriptions.
The connected system agent can be managed using the
agentManagement.sh
script. This script can be downloaded from
GitHub. The script supports docker
and podman
, it
autodetects the container runtime available. If both are available, the script uses
podman
.
Operations
Operation | Description | Additional Information |
---|---|---|
|
|
Use |
|
|
Use Use |
|
|
|
|
|
|
|
|
|
|
|
The following changes require an upgrade where you will need to download the new agent package from the Oracle Access Governance Console, and invoke the upgrade operation.
The following changes will trigger a reconfigure operation which is handled by the agent framework.
|
|
Lists the following details of the agent:
|
|
|
Enables automatic upgrade by performing the following tasks:
|
|
|
Disables automatic upgrades by removing the auto-upgrade
|
Install Agent on Target System
Verify Agent
Details how to verify the installation and operation of the connected system agent.
- In the Oracle Access Governance Console, select the icon to display the navigation menu.
- In the Oracle Access Governance Console, select Service Administration → Connected Systems from the navigation menu.
- On the Connected Systems screen, the tile showing the Identity Data Orchestrator created in Install Agent on Target System shows a status of Waiting for initial connection. Click on Manage → Troubleshooting Checklist.
- The Activity Log at the bottom of the page will show the status of the Validate operation, Pending while the agent comes up. If the agent does not come up, check the agent install and operation logs for any issues.
- Once the agent has come up, the status of the Validate operation will show as Success.
Agent Example Usage
Displays examples of usage of the agent management script.
Once you have successfully installed and verified your agent, you can start
to manage the lifecycle. The agentManagement.sh
script provides support
for the start, stop, restart, uninstall, and upgrade operations.
Start the Agent
You start the agent with the following command:
curl https://raw.githubusercontent.com/oracle/docker-images/main/OracleIdentityGovernance/samples/scripts/agentManagement.sh -o agentManagement.sh ; sh agentManagement.sh \
--volume <PERSISTENT_VOLUME_LOCATION> \
--start
For example:
curl https://raw.githubusercontent.com/oracle/docker-images/main/OracleIdentityGovernance/samples/scripts/agentManagement.sh -o agentManagement.sh ; sh agentManagement.sh \
--volume /access-governance/agent-management/volume \
--start
Stop the Agent
You stop the agent with the following command:
curl https://raw.githubusercontent.com/oracle/docker-images/main/OracleIdentityGovernance/samples/scripts/agentManagement.sh -o agentManagement.sh ; sh agentManagement.sh \
--volume <PERSISTENT_VOLUME_LOCATION> \
--stop
For example:
curl https://raw.githubusercontent.com/oracle/docker-images/main/OracleIdentityGovernance/samples/scripts/agentManagement.sh -o agentManagement.sh ; sh agentManagement.sh \
--volume /access-governance/agent-management/volume \
--stop
Restart the Agent
You restart the agent with the following command:
curl https://raw.githubusercontent.com/oracle/docker-images/main/OracleIdentityGovernance/samples/scripts/agentManagement.sh -o agentManagement.sh ; sh agentManagement.sh \
--volume <PERSISTENT_VOLUME_LOCATION> \
--restart
For example:
curl https://raw.githubusercontent.com/oracle/docker-images/main/OracleIdentityGovernance/samples/scripts/agentManagement.sh -o agentManagement.sh ; sh agentManagement.sh \
--volume /access-governance/agent-management/volume \
--restart
Uninstall the Agent
You uninstall the agent with the following command:
curl https://raw.githubusercontent.com/oracle/docker-images/main/OracleIdentityGovernance/samples/scripts/agentManagement.sh -o agentManagement.sh ; sh agentManagement.sh \
--volume <PERSISTENT_VOLUME_LOCATION> \
--uninstall
For example:
curl https://raw.githubusercontent.com/oracle/docker-images/main/OracleIdentityGovernance/samples/scripts/agentManagement.sh -o agentManagement.sh ; sh agentManagement.sh \
--volume /access-governance/agent-management/volume \
--uninstall
Upgrade the Agent
You upgrade the agent with the following command:
curl https://raw.githubusercontent.com/oracle/docker-images/main/OracleIdentityGovernance/samples/scripts/agentManagement.sh -o agentManagement.sh ; sh agentManagement.sh \
--volume <PERSISTENT_VOLUME_LOCATION> \
--agentpackage <NEW_PACKAGE_FULL_PATH> \
--upgrade
For example:
curl https://raw.githubusercontent.com/oracle/docker-images/main/OracleIdentityGovernance/samples/scripts/agentManagement.sh -o agentManagement.sh ; sh agentManagement.sh \
--volume /access-governance/agent-management/volume \
--agentpackage /access-governance/agent-management/agent-package-<version>.zip \
--upgrade
Enable Auto Upgrade
Enable auto upgrade with the following command:
curl https://raw.githubusercontent.com/oracle/docker-images/main/OracleIdentityGovernance/samples/scripts/agentManagement.sh -o agentManagement.sh; sh agentManagement.sh \
--volume <PERSISTENT_VOLUME_LOCATION> \
--enableautoupgrade
For example:
curl https://raw.githubusercontent.com/oracle/docker-images/main/OracleIdentityGovernance/samples/scripts/agentManagement.sh -o agentManagement.sh; sh agentManagement.sh \
--volume /access-governance/agent-management/volume \
--enableautoupgrade
Disable Auto Upgrade
Disable auto upgrade with the following command:
curl https://raw.githubusercontent.com/oracle/docker-images/main/OracleIdentityGovernance/samples/scripts/agentManagement.sh -o agentManagement.sh; sh agentManagement.sh \
--volume <PERSISTENT_VOLUME_LOCATION> \
--disableautoupgrade
For example:
curl https://raw.githubusercontent.com/oracle/docker-images/main/OracleIdentityGovernance/samples/scripts/agentManagement.sh -o agentManagement.sh; sh agentManagement.sh \
--volume /access-governance/agent-management/volume \
--disableautoupgrade