Node Master Copy Updates

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


1/27/2011

New version of httptAgent (file size: 1952055)

7/9/2010

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

10/15/2008

Master copies updated to include changes listed below.

3/12/2008

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

9/12/2007

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.

11/20/2006

Master copies updated to include changes listed below.

10/31/2006

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

9/11/2006

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 127.0.0.1. 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 127.0.0.1. 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@216.58.225.31 
sftp vwftp@216.58.225.62

Add the following to the .bash_profile and .profile

export GNW_FTPSERVERS=216.58.225.31,216.58.225.62 
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
mv startNetWatchNode.sh startNetWatchNode.sh.old
mv stopNetWatchNode.sh stopNetWatchNode.sh.old

Extract new binaries and scripts

gnwbin
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/snapshotCheckNode.sh

While editing the crontab, change the references from startNetWatch.sh and stopNetWatch.sh to the following

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

In $VIEWPOINT/checks directory edit keepMsgQclean.sh and CheckNodeHealth.sh and change references to old start and stop scripts to the new name of startNetWatchNode.sh and stopNetWatchNode.sh.

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

gnwstop;gnwstart  

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

7/28/2006

7/26/2006

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