Enabling the REST API outside of awinstall
search cancel

Enabling the REST API outside of awinstall

book

Article ID: 407618

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

With Applications Manager 9.6.0, the REST API was introduced.  It can be enabled when awinstall is run to update the system.  Is there a way to enable it outside of awinstall if you don't want to run awinstall again to enable it?

Environment

AM: 9.6.0 and above

Resolution

You should be able to do the following:

  1. Navigate to the $AW_HOME directory (on linux - windows will be %AW_HOME%)
  2. cd to the site directory and open the awenv.ini file
  3. Under the [Install] section, make sure that there is an APACHE_PORT specified
  4. Under the APACHE_PORT, also add the following line:

    ENABLE_API=Y

  5. Save the changes to the awenv.ini file
  6. Source the sosite file
  7. stop all processes currently running (the RMI Server requires a restart to pick up changes to awenv.ini):

    stopso all

  8. start the processes using:

    startso all

  9. The api server should now be running.  One linux you can see this by running a ps command:

    ps -ef|grep api-server.jar