Multi NetFlow Collector Installation and Configuration Guide
Updating JRE Time Zone Data

Table Of Contents

Updating JRE Time Zone Data


Updating JRE Time Zone Data


Cisco Multi NetFlow Collector requires up-to-date time zone data in the Java Runtime Environment (JRE) bundled with MNFC so that files and reports that contain the time-of-day accurately reflect current Daylight Saving Time rules that are in effect. Time zone data in MNFC's JRE should be updated using the TZupdater tool provided by Sun Microsystems when MNFC is installed and whenever local Daylight Saving Time rules change.


Note JRE time zone data that MNFC depends on is separate from system time zone data. Although it is recommended that you should also update your operating system time zone data when local Daylight Saving Time rules change, MNFC will report times correctly if only the JRE is updated.


Sun Microsystems has provided general information about this topic in the article Timezone Data and the Java Runtime Environment at http://java.sun.com/javase/timezones/. To see if a change announced recently for your location is reflected in the latest data provided by Sun, see Timezone Data Versions in the JRE Software at http://java.sun.com/javase/timezones/tzdata_versions.html.

To update the JRE timezone information for MNFC, do the following:


Step 1 Login as the system user who owns MNFC files and processes; this account was specified when MNFC was installed.

Step 2 Run umask to verify that the current umask is not set to a restrictive value higher than 022. If set to a higher value, set to 022 by running umask 022.

Step 3 Download the latest TZupdater tool from Sun Microsystems. If you don't have a Sun Online Account, you will be prompted to create one. Information about the tool including a link to the download location of the most recent version is available at http://java.sun.com/javase/tzupdater_README.html.

Step 4 In a temporary directory, extract the zipped contents of the download file. This creates the subdirectory tzupdater-version containing the jar file tzupdater.jar.

Step 5 Shut down MNFC by running /opt/CSCOnfc/bin/nfcollector shutdown. Verify that no java processes by running ps -ef | grep java.

Step 6 Run the TZupdater tool to update JRE timezone data as follows:

/opt/CSCOmnfc/java/bin/java -jar path-to-tzupdater-files/tzupdater.jar -u

Note: On the Solaris platform, ignore package-related warning messages such as:

path-to-java-bin/java not directly found in contents file, no package resolution performed. (May not be in PKG form, not an absolute path, or is a symlink.)

Step 7 Restart Cisco Multi NetFlow Collector. See "Starting and Stopping Cisco Multi NetFlow Collector" for details.