version 8 overview & installation manual - midrange ... · v8 overview & installation...

20
V8 Overview & Installation Manual Page 1 May 2016 Version 8 Overview & Installation Manual May 2018 © Copyright Midrange Performance Group Inc. 2013, 2014 MPG is a registered trademark of Midrange Performance Group, Inc. The Power Navigator name and logo are registered trademarks of Midrange Performance Group, Inc. AIX and IBM are trademarks of International Business Machines. Windows is a registered trademark of Microsoft Corporation. Solaris is a trademark of Oracle. HP-UX is a trademark of Hewlett Packard.

Upload: truongkhuong

Post on 01-May-2018

216 views

Category:

Documents


2 download

TRANSCRIPT

V8 Overview & Installation Manual Page 1 May 2016

Version 8 Overview & Installation Manual

May 2018

© Copyright Midrange Performance Group Inc. 2013, 2014 MPG is a registered trademark of Midrange Performance Group, Inc. The Power Navigator name and logo are registered trademarks of Midrange Performance Group, Inc. AIX and IBM are trademarks of International Business Machines. Windows is a registered trademark of Microsoft Corporation. Solaris is a trademark of Oracle. HP-UX is a trademark of Hewlett Packard.

V8 Overview & Installation Manual Page 2 May 2016

Table of Contents Product Overview & Components………………….………………………………………….……….. 3 Host Code Installation…………………….……………………………………………………………… 5 Understanding Crontab Entries…………………………………………………………………………… 7 Host Code Customization…..……………........................................................................................ 10 Changing The pnconfig file…..……………........................................................................................ 15 Description of The Power Navigator File Types................................................................................. 18 Understanding Trend Lines …………..................................................................................................... 90 Understanding Trend Analysis ………………………………………………………………………….. 90

Start / End a Trend Line………………………………………………………………………………….. 92 Trend Line Options………………………………….. …………………………………………………. 93 Trend Stats Window………………………………….. …………………………………………………. 94 Basic Tab………….…………………………………………………………………………….. 94 Data Projection Window………………………………………………………………………. 96 Advanced Tab…………………………………………………………………………………… 97 Before vs. After Analysis Tab (Splitting the Trend Line)……………………………………… 98 Extrapolation Tab......................……………………………………………………………….. 100 Joining the Trend Line………………………………………………………………………….. 101

V8 Overview & Installation Manual Page 3 May 2016

Product Overview

·

··

Product Components

V8 Overview & Installation Manual Page 4 May 2016

NCM / SCM Big Picture

Insure that NMON or SAR Data is collected on the server 24 x 7 in 5 minute intervals.

NMON is configured to use the external data collection feature.

data consolidation script runs nightly

Previous day’s nmon file(s) GZed and then deleted after 7 days

Consolidate yesterdays data into mpgdata*.hostaname

mpgdata3.hostname is updated each snap with ps data

rackdata script runs nightly

rackdata.hostname is updated

mpgdata4.hostname is updated with file system history on Sunday

V8 Overview & Installation Manual Page 5 May 2016

Power Navigator Host Code Installation

V8 Overview & Installation Manual Page 6 May 2016

Power Navigator Installation (cont)

V8 Overview & Installation Manual Page 7 May 2016

Power Navigator Installation (cont)

1,16,31,46 * * * * /usr/local/mpg/start_nmon_now -f -q 35 4 * * * /usr/local/mpg/cend.sh -c /usr/local/mpg/pn.config 25 4 * * * /usr/local/mpg/pndcm.sh -c /usr/local/mpg/pn.config clean 30 4 * * * /usr/local/mpg/rackdata.sh -c /usr/local/mpg/pn.config 30 5 2 * * cd /usr/local/mpg; /usr/local/mpg/pndchk.sh 0 5 * * * cd /usr/local/mpg; ./pngetinfo.sh –q

V8 Overview & Installation Manual Page 8 May 2016

Understanding The Crontab Entries

Description of Entries

·

V8 Overview & Installation Manual Page 9 May 2016

Understanding The Crontab Entries (cont) Description of Entries

V8 Overview & Installation Manual Page 10 May

Power Navigator Host Code Customization

pn.config options

nmonopts="-t -I 0.02" ext_data_collect="T" admin_data_collect="T" transfer_script_cmd="/usr/local/mpg/transfer_script.sh -c /usr/local/mpg/transfer_cp.config" transfer_current_cmd="/usr/local/mpg/transfer_current.sh -c /usr/local/mpg/transfer_cp.config" truncate_days="180" ext_data_truncate_days="90" purge_top_days="70" nmondaystokeep="7" compressdatafile="nocopy"

V8 Overview & Installation Manual Page 11 May

Power Navigator Host Code Customization

pn.config options nmonopts="-t -I 0.02"

-t –I 0.02 Power Navigator uses the NMON external data collection facility to collect PS data in sync with the NMON collection. To start collection PS data, set the following to “T”. This data is recorded in the mpgdata3.hostname file ext_data_collect="T" By default Power Navigator collect file system data once a week on Sunday. To stop collect this data, set the following to “F”. This data is stored in the mpgdata4.hostname file. Details regarding this collection can be changed in the pnadcp.config file. admin_data_collect="T"

V8 Overview & Installation Manual Page 12 May

Power Navigator Host Code Customization pn.config options (continued)

Power Navigator can be configured to transfer the data needed for the client to a central location. Either a share drive or an AIX/Linux system with Samba installed. Then the Windows Client maps a drive to have current access to the data. The transfer information containing the method (ftp, sftp, cp, scp) and the location for the transfer is stored in a file called trans-fer_xx.config. The ‘xx’ is the method. Below is an example of using ‘cp’ to transfer the data. This data is transferred once per day at around 4am. transfer_script_cmd="/usr/local/mpg/transfer_script.sh -c /usr/local/mpg/transfer_cp.config" The following parameter configures Power Navigator to transfer the mpg-data2_current.hostname file to the central location. This is todays NMON file up to the lase 5 minutes. Power Navigator uses the NMON external data collection feature to transfer this file every 5 minutes. transfer_current_cmd="/usr/local/mpg/transfer_current.sh -c /usr/local/mpg/transfer_cp.config" By default, Power Navigator keeps 366 days of NMON data in the mpg-data2.hostname file. Once a month Power Navigator will archive the data to a file called mpgdata2.archive.hostname.gz. Below is an example to set the ar-chive date to 180 days. truncate_days="180" Power Navigator archive the mpgdata3.hostname file once a month. The default is 90 days. The parameter below is use to change the date. ext_data_truncate_days="90" Top process data can be collected by setting the nmonopts parameter using the –t option. This function is used mainly for problem determination. After 90 days (default), the top data is deleted when merged into mpgdata2.hostname. The example below changes that to 70 days purge_top_days="70" In order to save space, the daily NMON data is GZed every night and then de-leted after 7 days (default). This can be change via the following parame-ter. nmondaystokeep="7"

V8 Overview & Installation Manual Page 13 May

Power Navigator Host Code Customization pnadcp.config options

The Admin Data Collection Process in Power Navigator collects data once a week on Sundays (by default) regarding file systems space utilization and keeps the data historically. The current defaults and below. You can changes these defaults using the following parameters: TopDFCnt=20 # Number of Largest Directory File Counts per file system TopDSpc=20 # Number of Largest Directory Space used per file system TopBigFile=20 # Number of Largest Files per file system MinFSz=50000000 # Minimum File System Size (in bytes) MinFCnt=100 # Minimum Directory File Count MinDSpc=10000 # Minimum Directory Space (in Kbytes) # # include_dir_scans="F" # set to "T" to turn on directory scans, see below! # ------------------------------------------------------------------ On systems with an uncommonly large number of files/directories or slower disk reads/performance this can take a while with the Disk File Counts and Directory File Space enabled. It should be tested manually before turning on the (Disk File Counts) and (Directory File Space) in each directory. By default, these two are not incorporated, but may be turned on manually with "pnadcp.sh -a" or modify the variable in pnadcp.config (include_dir_scans="T") ------------------------------------------------------------------ include_dir_scans="F" pnedcp.config options Power Navigator’s External Data Collection Process currently issues a PS com-mand every interval and stores the result in a file called mpgdata3.hostname. Only the processes that consume more than the thresholds percentages below will be saved. export percent_mem=1 export percent_cpu=1 export vsz_threshold=30000

V8 Overview & Installation Manual Page 14 May

Power Navigator Host Code Customization Transfer_xx.config

The Transfer_xx.config file is used to configure Power Navigator to transfer all the required files from each server to a central location. Four examples of these transfer_xx.config files are included in the mpgpn.tar file. The four examples are for ftp, scp, rcp, and cp. Just substitute the xx with the desired method and extract from mpgpn.tar and configure. Parameter examples from the transfer_cp.config file is below: transfer_method (ftp,scp,rcp,cp) transfer_method="cp" transfer_target_dir (Note: Directory must exist, and user must have rights) transfer_target_dir="/opt/mpgsamba/mpg_servers_data" transfer_options transfer_options="-p" datafile datafile="mpgdata2.AIX720" datafile_admin datafile_admin="mpgdata4.AIX720" datafile_external datafile_external="mpgdata3.AIX720" current data data_current="mpgdata2_current.AIX720" rackfile rackfile="rackdata.AIX720" permissions of files to be transferred (recommend 640 or 644) permsfiles="644"

V8 Overview & Installation Manual Page 15 May

Power Navigator—Changing The pn.config File To Change The Default Configuration

  

V8 Overview & Installation Manual Page 16 May

Power Navigator—Changing The pn.config File To Change The Default Configuration change_pn.sh –p   # (previous configura�on before last install) Allows one to change back to previous preferred configura�on 

Note: -p ignores any other changes specified  change_pn.sh –s    Display status of nmon install

Allows to one to see status of current installa�on process  

change_pn.sh –O   # (NMON Op�ons) Allows setup of NMON Op�ons 

change_pn.sh –e     Starts external collec�on process (T/F)

Allows one to start the external data collec�on process  

change_pn.sh –a     Starts admin collec�on process (T/F)

Allows one to start the admin data collec�on process  

change_pn.sh –S    Auto Setup of Transfer  / Current Files

Allows one to automa�cally set up transfer script  / current commands to  (cp/scp/�p/rcp/pull)   I.E.  -S scp  change_pn.sh –T    Auto Setup of Transfer Files

Allows one to automa�cally set up transfer script  commands   change_pn.sh –C   # (Transfer current command in quotes) Allows one change current command  change_pn.sh –d   # (Truncate days for mpgdata2 file to archive—default 366 days) Sets historical data number of days before archive  change_pn.sh –E   # ( Truncate days for external data-mpgdata3 file to archive - default 90 days) Sets historical external data number of days before Archive  change_pn.sh –P   # (Purge TOP data from mpgdata2 file past days –default 730 days) Sets # of days to retain (top data) 

V8 Overview & Installation Manual Page 17 May

Power Navigator—Changing The pn.config File To Change The Default Configuration (cont) change_pn.sh –K   # (Nmon daily files to keep—default 7 Days) Sets # of individual original NMON  days collected  change_pn.sh –R   # (Creates temporary file for replica�ng se�ngs to  other servers.) Creates a script with customer preferred parms which allows global pnconfig changes 

              change_pn.sh –D   # (  Turns Installa�on Debug mode ON  change_pn.sh –v   # (  Turns Installa�on Verbose output  ON  change_pn.sh –h    # (  Displays Help  

V8 Overview & Installation Manual Page 18 May

Description of Power Navigator File Types

V8 Overview & Installation Manual Page 19 May

Description of Power Navigator File Types

V8 Overview & Installation Manual Page 20 May