My Oracle Support Banner

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 MARCH 03, 2021

Applies to:

Oracle API Gateway - Version and later
Information in this document applies to any platform.


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:



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
  ./ --mode unattended \
  --enable-components nodemanager,analytics \
  --prefix /<oag_home>/oag. --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




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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.