3.3.7.1 Installing Service Pack

 



 

Installing the Service Pack

 

AdventNet periodically provides Service Packs which provide new features (requested by the customers), fixes for certain bugs and document updates in the form of HTML files. Service Packs can be downloaded from the web site, and updated into Web NMS using the Update Manager tool.

 

There are two ways in which the Service Pack can be installed.

Installing the Service Pack Using Update Manager Through UI

 

The Update Manager can be invoked by choosing Update Manager from the Options menu in the Launcher. Alternatively, you can invoke Update Manager by executing the file <Web NMS Home>/bin/UpdateManager.bat/sh for BE and <Web NMSFE Home>/bin/UpdateManager.bat/sh for FE. When you start the Update Manager, all the Service Packs that are already installed are listed and it provides the options to Install, Uninstall and view the details of any Service Pack.

    Warning: Ensure that no application is running when applying the Service Pack. This prevents any files used by the application from being over-written. For example in the Web NMS server is running, stop the server and then install the service pack.

The steps to apply a Service Pack are as follows.

 

Step 1 : Start Update manager - You can invoke the UpdateManager.bat/sh file in the <Web NMS Home>/bin directory or click the menu Options --> Update Manager or click the Update Manager icon from the Launcher tool bar.

 

Step 2 : Select the Install option: Click "Browse" button and select the Service Pack file (.ppm) to be installed. When the Service Pack is selected, the Update Manager displays a Preview button alongside the Install and Readme buttons as shown in the screen below. Use the Preview button, to view the changes that will be effected for the selected Service Pack. Click Install button to install the Service Pack.

The Preview screen showing the changes made for the selected Service Pack is shown below. The left tree shows some general categories of files and the right panel shows the list of changes with clear categorization of the type of change. The four categories of changes are Overwritten Open Source Files, Modified Files, New Files and Re-introduced Files.

Step 3: Install the Service Pack - You can go through the Readme file of the Service Pack by clicking the "Readme" button and Install the Service Pack by clicking the "Install" button. If the Service Pack has some optional upgrades, it will prompt you to select the same if required and then continue.

Step 4 : Configuration Updator Tool - The Configuration Updator tool is invoked to updates all the configuration files that are modified for the particular service pack. The screen prompts you to select one of the three radio button: Update, Revert or Query the configuration changes. A text field to get the jdk installation path, which will be used to compile the jsp files.

Select the Update option, enter the jdk installation path and click "Next" button. The list of configuration files that will be updated is shown in the next screen. If you want to update all the files you can select the "Select All Files" checkbox and click Update.

 

 

All the configuration files are updated in a smart manner without affecting the user changes in these files (if any). Then the jsp files will be compiled automatically. This completes the process of a service pack installation. The log message pane of the Configuration Update Tool lists the changes made to the Configuration Files. Click Close button once the updation of configuration files is completed. The screen image shows "Installation Completed", click Close to proceed to the next screen.

Step 5 : View Readme and Logs: If you want to go through the Readme and the Logs created during the Service Pack update, check the "View Readme and Logs" option in the bottom-left corner of the screen and click the "Close" button. By default this option is checked. If you do not select this option and close, the main screen is shown.

 

If you want to uninstall a Service Pack and revert to a previous version, refer to the Uninstalling Service Pack section.

 

Installing the Service Pack Through Command Line

 

In command line mode, the Update Manager can be invoked by the UpdateManager.bat/sh file. The command to invoke the Update Manager can be interactive or non-interactive. The interactive method prompts for input for installation option, to avoid any prompting, you can use the non-interactive mode.

 

Usage: java com.adventnet.tools.update.installer.UpdateManager {options}

 

Options are:

[-help Displays this usage.]

[-u (update_conf.xml file path)]

[-h (the product home directory path)]

[-c to invoke in commandline]

[-option i(to install),u(to uninstall),v(to view the installed ServicePack vers

ions)]

[-ppmPath ServicePack file path]

[-version ServicePack version to uninstall]

[-g to invoke in GUI mode]

[-language language(lowercase two-letter ISO-639 code)]

[-country country(uppercase two-letter ISO-3166 code)]

[-fileName propertiesfileName(Give the name of .properties file)]

[-ppmInfo ServicePack file path]

 

Interactive Mode :

Non-Interactive Mode :

 

To install a Service Pack using Update Manager in a single command, you can use the following command

 

sh UpdateManager.sh  -u  conf  -c  -option  i  -ppmPath   <Patch file path>  -h   <Product HOME directory>

    Note:

    1. Preview option is not available for command line installation.

    2. The Product HOME directory should be specified if the Update Manager is being invoked external to your product.

Viewing the Details of a Service Pack

 

There are two ways in which the Service Pack details can be viewed.

Viewing the Details of a Service Pack Through UI

 

You may want to know the details of an already installed Service Pack. The details are shown in two tabs namely, General and Readme. The details like the Service Pack name, its description, its size, its time of installation, and the list of files that are updated are shown in the General tab. While the Readme file is shown in the Readme tab.

 

The steps to view the details of a Service Pack are as follows.

    1. Start Update manager: Either run the UpdateManager.bat/sh file in the <Product Home>/bin directory or select the Update Manager icon from the Web NMS Launcher. The text area in the bottom of the screen lists all the Service Packs installed in the application.

    2. View the Service Pack details: Select the Service Pack whose details are to be viewed. Click the Details button to get the details dialog. It has the two tabs:
      General and Readme.

    3. Close the details dialog: Click the "Close" button to close the details dialog. Thus the main screen of Update Manager is shown.

 

Thus any Service Pack file content can be viewed. You can now continue with the screen (like viewing the details of another Service Pack) or quit the tool by clicking the "Exit" button.

 

Viewing the Details of a Service Pack Through Command Line

    1. Run the UpdateManager.bat/sh file under <Web NMS Home>/bin directory with the "-c" option. (UpdateManager -c)The options to install, uninstall, view installed Service Pack versions, and exit will be shown and you will be prompted to enter your choice.

    2. Enter "v" to view the details of the already installed Service Packs. The screen will shown you the list of Service Packs installed in the product.

    3. The screen will prompt you to mention whether you want to continue. Choosing "y" will take you back to the first step. Choosing "n" will close the application.

Single command Usage :

 

sh UpdateManager.sh  -u  conf  -c  -option  v  -h   <Product HOME directory>



Copyright © 1996-2004, AdventNet Inc. All Rights Reserved.