Difference between revisions of "PontusVision: Installation on Centos 6"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== Notes from Leo == # Please download the installation from here: http://www.pontusvision.com/wp-content/uploads/2014/01/pontusvision-4.4.0-installer.jar # Run the pontusvisi...")
 
(No difference)

Latest revision as of 11:38, 15 September 2014

Notes from Leo

  1. Please download the installation from here: http://www.pontusvision.com/wp-content/uploads/2014/01/pontusvision-4.4.0-installer.jar
  2. Run the pontusvision-4.4.0-installer.jar self-executable jar from a machine that has java.
  3. During the installation, you'll be prompted for several questions; I'd recommend to stick to the default values as much as possible, except for the license key:
  4. here's the license key to enter during the installation: o=biosit,ou=dev,cn=temp_90
  5. you can use the default PontusVision.* for the license capabilities
  6. The following link has details on the installation (note that you won't be evaluating the PVummon and PVrttmon products, so you can ignore references to those): http://www.pontusvision.com/documentation/installation/
  7. Please find attached the license.lic file - please add this to the install area after you run through the installer, replacing the current license.lic under the 4.4.0 directory.
  8. Please find attached the commands-machine-profile.sh file - this is the simple script that captures information from a machine so we can import it into the ThreadManager.
  9. Lastly, please find attached the commands-apps-profile.sh file - this is the simple script that profiles the applications so they can be imported in the tool later.


Install JAVA

  • Downloaded the latest JRE from Oracle
root@x10 pontusvision]# rpm -ivh jre-7u67-linux-x64.rpm 
Preparing...                ########################################### [100%]
   1:jre                    ########################################### [100%]
Unpacking JAR files...
	rt.jar...
	jsse.jar...
	charsets.jar...
	localedata.jar...
	jfxrt.jar...
  • Log out and back in to set all the JAVA vars, then check the JAVA version
[root@x10 pontusvision]# java -version 
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
[root@x10 pontusvision]# Write failed: Broken pipe

Download/Install the software

  • Download the software, v4.4 at the time of writing
wget http://www.pontusvision.com/wp-content/uploads/2014/01/pontusvision-4.4.0-installer.jar
[root@x10 pontusvision]# chmod +x pontusvision-4.4.0-installer.jar 
[root@x10 pontusvision]# ./pontusvision-4.4.0-installer.jar -console
...
Lots of output
...

# For the license - put in 
PontusVision Server License Holder [o={your organization},ou={your org unit (e.g. eFX)},cn={your project}] 
o=biosit,ou=dev,cn=temp_90

# defaults everywhere else
# Should finish with:
[ Starting to unpack ]
[ Processing package: pontus-vision-server (1/12) ]
[ Processing package: pontus-vision-URL (2/12) ]
[ Processing package: run-server-shortcut (3/12) ]
[ Processing package: pontus-vision-sample-db (4/12) ]
[ Processing package: keystore (5/12) ]
[ Processing package: license.lic (6/12) ]
[ Processing package: pontus-vision-agent (7/12) ]
[ Processing package: run-agent-shortcut (8/12) ]
[ Processing package: JMS-broker (9/12) ]
[ Processing package: run-JMS-shortcut (10/12) ]
[ Processing package: pontus-vision-rttmon (11/12) ]
[ Processing package: pontus-vision-ummon (12/12) ]
[ Unpacking finished ]
Install was successful
application installed on /root/pontus-vision/4.4.0
[ Console installation done ]

Files from email

  • commands-apps-profile.sh
#!/bin/bash

cd /tmp
if [[ -z "$1" ]]; then
  printf "Usage: \n\n\t$0 'regex pattern to search for apps in ps'\n\n"
  exit 0;
fi
export PIDS=""; 
for i in `ps -fade | egrep "$1" |grep -v grep |grep -v bash | awk '{ print $2 }' `; do
  env COLUMNS=525 top -c -p $i -H -b -d 5 -n 5 > pontus-top-$i.txt& 
  export PIDS="$! $PIDS"; 
  cat /proc/$i/cmdline |xargs --null > pontus-cmdline-$i.txt; 
  cat /proc/$i/environ | xargs --null > pontus-env-$i.txt;  
done;
wait $PIDS; 

tar cvfz pontus-results.tar.gz pontus-*.txt; 
rm pontus-*.txt
cd -
  • commands-machines-profile.sh
#!/bin/bash

for i in /sys/devices/system/cpu/cpu*/cache/index*/shared_cpu_* /sys/devices/system/node/*/meminfo /sys/devices/system/node/node*/distance /sys/devices/system/node/node*/cpumap /proc/cpuinfo ; do 
  echo $i:`cat $i`;
done;  > output.txt

for i in /sys/bus/pci/devices/*/net/*; 
  do echo $i -- `cat $i/address` -- `cat $i/device/local_cpulist` -- `cat $i/device/local_cpus` ; 
done >> output.txt