Unable To Deploy Configuration In OAG Domain After Changing The Admin Password Using "managedomain --deploy -g <GroupName> --archive_filename deployment.fed" Command
(Doc ID 1681207.1)
Last updated on AUGUST 01, 2023
Applies to:
Oracle API Gateway - Version 11.1.2.1.0 and laterInformation in this document applies to any platform.
Symptoms
This issue concerns the activity of the OAG Node Manager & Admin Node Manager
After following the installation steps - change password, install a new node, and deploy a fed file, the error shown below is reported by the nodemanager and the deployment fails:
ERROR:
STEPS FOLLOWED:
1) Install OAG on the first node.
Group Name: <group-name>
Instance Name: <Gateway-Name>
Default ports
2) Login to the API Gateway (https://<hostname>.<domain>:8090) to change the credentials under settings-->My Credentials
New Password: <password>
3) Install the second node from the command line
./OAG-11.1.2.2.0-linux-x64-installer.run --mode unattended \
--enable-components nodemanager,analytics \
--prefix /<oag_home>/oag.11.1.2.2.0 --configureGatewayQuestion 0 --firstInNewDomain 0 \
--rnmConnectionUrl https://<hostname>.<domain>:8090 --rnmUsername admin \
--rnmPassword <password> --remoteNodeManagerCred 1
4) Create a new instance from the command line
./managedomain -c -n "<instance-name>" -g "<group-name>" --instance_scheme https \
--instance_host <hostname.domain> -s 8080 -m 8085 --username admin \
--password <password>
5) Use the managedomain script to update the credentials
Run managedomain and choose the option to change credentials and follow the prompts
6) Save a deployment file (.fed) from Policy Studio or download it via the manage domain script
See the Oracle documentation for instructions if needed
Saved a simple policy to a deployment.fed file from a different installation
7) Try to deploy the via the managedomain script
managedomain --deploy -g <group-name> --archive_filename deployment.fed
8) Node manager showed this in the log:
Node 1
========
./nodemanager 1>nodemanager.out 2>nodemanager.err
./startinstance -g "<group-name>" -n "<instance-name>" 1><instance-name>.out 2><instance-name>.err
Node 2
========
./nodemanager 1>nodemanager.out 2>nodemanager.err
./startinstance -g "<group-name>" -n "<instance-name>" 1><instance-name>.out 2><instance-name>.err
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |