This section describes how to upgrade the following agents on Linux and Windows:
(JBoss only) Stop the JBoss server.
Download the Access Manager Agent file for Linux from Novell and extract the file.
After downloading the file, unpack the tar.gz file by using the following command:
tar -xzvf [filename]
Change to the Access Manager Agent directory.
At the command prompt of the Access Manager Agent directory, enter the following:
./install.sh
When prompted, enter Y to perform an upgrade.
Review and accept the License Agreement.
At the prompt to enter the Administration Server IP address, enter the IP address of the Administration Console machine.
Enter the name of the administrator for the Administration Console.
Enter and confirm the password for this administrator.
This starts the installation of some components.
Enter the base directory for the J2EE server.
(WebSphere only) Make sure that the server is running, then confirm that it is.
(WebSphere only) Enter the information required for modifying the WebSphere server:
WebSphere administrator username: Specify the name of the WebSphere administrator.
WebSphere administrator password: Specify the password of the WebSphere administrator. Confirm the password by re-entering it.
A few more modules are installed and then configured.
(JBoss only) Enter the JBoss server configuration set. Standard values are
, , or . If you have created a custom configuration, enter its name.Verify that the JBoss server is stopped, then press Enter.
A few more modules are installed and then configured.
Restart the J2EE server.
(Optional) Verify the upgrade:
Log in to the Administration Console.
Click
> > .Verify that the
field contains the correct information.Download the Access Manager Agent file for Windows from Novell.
Execute the file.
Select to upgrade the agent.
Read the welcome information, then click
.Note where additional information can be found, then click
.Review the License Agreement, accept it, then click
.Select the current communication server directory where the device manager directory is located, then click
.Select the type of agent you are upgrading, then click
.(WebSphere only) Confirm that the WebSphere server is running, then enter the information required for modifying the WebSphere server:
WAS Administrator ID: Specify the name of the WebSphere administrator.
WAS Administrator Password: Specify the password of the WebSphere administrator. Confirm the password by re-entering it.
(JBoss only) Complete the following steps:
Stop the JBoss server.
Select the directory where you have installed the J2EE server, then click
.Select the server configuration folder, then click
.(WebLogic only) Confirm that you understand that the WebLogic configuration is manual.
Click
, then review the installation summary.To upgrade the agent, click
.If you are prompted to overwrite existing file, select to overwrite all files.
(WebSphere only) Select to restart the server, then click
.Review the log information, then click
.To exit the installer, click
.(JBoss only) When the installation finishes, restart the J2EE server.
(Optional) Verify the upgrade:
Log in to the Administration Console.
Click
> > .Verify that the
field contains the correct information.Because the install and configuration of the J2EE Agent for WebLogic is manual, the upgrade process is also manual. To upgrade the WebLogic Agent, you need to stop the embedded service provider of the agent and stop the WebLogic server. Select a time when users do not need access to the WebLogic applications.
Undeploy the embedded service provider:
In the WebLogic Administration console, click
in the list.Click
.Select the name of the embedded service provider application.
The default name is AccessManagerEmbeddedServiceProvider. If you deployed it manually, the name is nesp.
Click
, then select .To stop the deployment, click
.Select the name of the embedded service provider application, click
, then confirm the action.Click
.Stop the WebLogic server.
Delete the nesp directory.
On Linux, the directory is WL_DOMAIN/nesp.
On Windows, the directory is c:\Novell\nesp.ear.
Run the standard agent upgrade program for your platform.
For Linux, see Section 1.5.1, Upgrading the WebSphere or JBoss Agent on Linux.
For Windows, see Section 1.5.2, Upgrading the WebSphere or JBoss Agent on Windows.
Copy the NidsWebLogicAgentMbeans.jar file from AGENT_HOME/lib to WL_HOME/server/lib/mbeantypes, replacing the existing file.
Start the WebLogic server.
Execute the WebLogic scripting tool with the parameters required to run the weblogic_nesp_deploy.jy script. This script needs the following parameters:
The location of the script
The name of the WebLogic admin user
The admin’s password
The server name
The local host with port (usually localhost:7001)
The path to the nesp.ear file
Linux Example: /root/bea/weblogic92/common/bin/wlst.sh /opt/novell/nids_agents/bin/weblogic_nesp_deploy.jy username password AdminServer localhost:7001 /root/bea/weblogic92/nesp/nesp.ear
Windows Example: C:\bea\weblogic92\common\bin\wlst.cmd C:\Novell\bin\weblogic_nesp_deploy.jy username password AdminServer localhost:7001 C:\Novell\nesp.ear
(Optional) Verify the upgrade:
Log in to the Administration Console.
Click
> > .Verify that the
field contains the correct information.