Apache -- sharing an Apache server between two or more Application Manager Automation Engines
search cancel

Apache -- sharing an Apache server between two or more Application Manager Automation Engines

book

Article ID: 90419

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

Apache -- sharing an Apache server between two or more Application Manager Automation Engines

Environment

Release: AAMOS499000-8.0-Automic Applications Manager-OS400 Agent
Component:

Resolution

Applicable to Applications Manager Versions: v7.1, v8.0

Detailed Description

You can share an Apache Web server between two or more Applications Manager Automation Engines. To do this you must configure Apache to serve out the pages for the new Applications Manager instance. This is done by modifying the main Apache configuration file, httpd.conf.?



Solution

To modify the httpd.conf file to share an existing Apache Web Server:

 

  1. Locate the httpd.conf file in the following directory:
    For UNIX:
    $AW_HOME/apache/conf/httpd.conf
    For NT:
    %AW_HOME%\Master\Apache\conf\httpd.conf
  2. In the httpd.conf file, edit the information in the Aliases section shown below:
    #
    # Aliases: Add here as many aliases as you need (with no limit). The format is
    # Alias fakename realname
    #
    Beneath the comments of that section, you can add an alias that will point to your new Applications Manager instance's $AW_HOME/UWClient/web directory for UNIX or %AW_HOME%\Master\Apache\htdocs\web directory for NT. The paths in the examples below are dependent on the location of the Applications Manager Automation Engine's installation:
    For UNIX:
    Alias /UC4/ "/opt/UC4/UWClient/web/"
    If alias values are set correctly in the httpd.conf file, then you should remove the UWClient link in your apache/htdocs directory (if you have it). The UWClient link will override aliases set in the httpd.conf file.
    For NT:
    Alias /UC4/ "C:/UC4/Master/Apache/htdocs/web/"
     
  3. Stop and start the Apache server.
    To stop and start the Apache server issue the apachectl stop and apachectl start commands.

 
To access the second instance, enter the following URL in the format shown below (this example is based on the alias listed above):

 

 
If you are using Java Web Start, you will also need to remove/reinstall the Web Start application and clear out the Web Start cache.
Removing and Reinstalling the Web Start Application and Clearing the Cache
To remove and reinstall the Web Start application:

 

  1. Select the Web Start icon from your Start Menu or desktop.
    This will open the Java Web Start Application Manager window.
  2. From the Java Web Start Application Manager window, select Downloaded Applications from the View menu.
  3. Delete the each of the applications that launch an Applications Manager client by highlighting them and selecting Remove Application from the Application menu.
  4. Next, select Preferences from the File menu on the Java Web Start Application Manager window.
    This will open the Java Web Start Preferences window.
  5. From the Java Web Start Preferences window, select the Advanced tab.
  6. Click the Clear Folder button.
  7. Finally, go back to each Intro.html page and download the Web Start icons again.?