Node Master Copy Updates

This page is a listing of items that have been changed/updated since the last node master copy was made.


New version of httptAgent (file size: 1952055)


Need to add new version of httptAgent (file size:1953013)


Master copies updated to include changes listed below.


Need to add daylight savings time updates to handle new start stop dates for DST. See Daylight Savings Time


Need to add new version of httptAgent (file size:1952432)

New version has fix for DNS lookup - now lookup will occur for all steps of transaction not just the first step.


Master copies updated to include changes listed below.


Get new version of that has the auto restart if ip marker file is older than 16 minutes. Current file size is 6816.


Push out the files from iprev2 to the node.

cd /home/vwpoint/rollout
scp snapshot.tar snapshotUpdate2.tar jre-1_5_0_06-linux-i586.rpm vwpoint@<nodeHostName>:rollout

Login to the node as root.

Edit the /etc/updatedb.conf and change the DAILY_UPDATE flag to “yes”.

Install the JRE RPM.

cd /home/vwpoint/rollout 
rpm -ivh jre-1_5_0_06-linux-i586.rpm

Turn on Oracle TNS Listener

On NEW nodes TNS listener is already on. However, edit the listener.ora file under /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin and change the HOST address to Restart oracle with

/etc/init.d/oracle-xe restart 

On OLD nodes the TNS listener may not be on. Edit the /etc/init.d/dbora file and ensure that the lsnrctl is set to run. Then edit the listener.ora file in /usr/local/dbms/oracle/8.05/network/admin directory and change the HOST address to Restart oracle with

/etc/init.d/dbora stop
/etc/init.d/dbora start 

Login as vwpoint

su - vwpoint 

Ftp to both iprev2 and iprev3 and accept the ssh host key

sftp vwftp@ 
sftp vwftp@

Add the following to the .bash_profile and .profile

export GNW_FTPUSER=vwftp
export PATH=/usr/java/jre1.5.0_06/bin:$PATH

Also edit the gnwstop and gnwstart aliases. Depending on the node it could be in either of .bashrc, .bash_profile, .profile.

Verify java installation

source .bash_profile 
java –version

Create the following directory

mkdir -p /home/vwpoint/viewPoint/snapshot/agentout 
mkdir -p /home/vwpoint/viewPoint/snapshot/processing
mkdir -p /home/vwpoint/viewPoint/snapshot/zipped
chmod -R 750 /home/vwpoint/viewPoint/snapshot

Save old binaries

mv httpAgent httpAgent.old 
mv httpfAgent httpfAgent.old
mv httprAgent httprAgent.old
mv httptAgent httptAgent.old

Extract new binaries and scripts

tar xvf /home/vwpoint/rollout/snapshot.tar
tar xvf /home/vwpoint/rollout/snapshotUpdate2.tar
tar xvf /home/vwpoint/rollout/snapshotUpdate3.tar

Copy CA certificates to etc folder.

mv ca-certs /home/vwpoint/viewPoint/etc

Add the following entry to the vwpoint crontab

# Check snapshot directories for stuck files
47 9 * * * . /home/vwpoint/.profile; ${VIEWPOINT}/bin/

While editing the crontab, change the references from and to the following

# Daily shutdown and startup.
4 5 * * * . /home/vwpoint/.profile; /home/vwpoint/viewPoint/bin/
5 5 * * * . /home/vwpoint/.profile; /home/vwpoint/viewPoint/bin/

In $VIEWPOINT/checks directory edit and and change references to old start and stop scripts to the new name of and

Check system time to ensure we are not in the middle of a check cycle


Verify installation by ensuring that the java process and the 4 types of http agents are all running.

ps -efw | grep java 
ps -efw | grep http

Over at least two 15 minute check cycles run the following command to examine the various memory footprints of the executables and make sure they are NOT GROWING.

ps -eo pid,user,size,sz,rss,vsize,comm,stime --sort vsize | grep http



Node Master Copy Updates (last edited 2011-02-08 23:24:28 by Eric)