tips from the trenches rebekah atkinson steve nye, kathy kennedy
TRANSCRIPT
![Page 1: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/1.jpg)
Tips from the TrenchesRebekah Atkinson
Steve Nye, Kathy Kennedy
![Page 2: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/2.jpg)
Overview
OSI Resources
Troubleshooting – The Big Picture
Backups
Buffering
Archive Sizing
Q&A
![Page 3: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/3.jpg)
OSI Resources
![Page 4: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/4.jpg)
OSI Resources
Log FilesPIPC.Log (client & server)
NT only, usually located in \PIPC\Dat
PIMessLogFile Unix only, located in $PIHOME/log
PI Server Log PI - Healthcheck
PIGetMsg (PI3)
PISysMgr:PIMessLog.Txt (PI2)
![Page 5: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/5.jpg)
OSI Resources
DocumentationInterface Manuals (interfaces.osisoft.com)
Point attribute section
Startup file flags section
Troubleshooting section
Client Manuals
Server Manuals
![Page 6: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/6.jpg)
OSI Resources
Support Web Site (support.osisoft.com)Online Call Center
Tracking of callsNew call entrySearchable knowledge base
Bug reportsEngineering PlanNew Release Announcements
Feel Free to call us at Tech Support
![Page 7: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/7.jpg)
![Page 8: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/8.jpg)
![Page 9: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/9.jpg)
![Page 10: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/10.jpg)
![Page 11: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/11.jpg)
![Page 12: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/12.jpg)
OSI Resources
Support Web Site (support.osisoft.com)Online Call Center
Tracking of callsNew call entrySearchable knowledge base
Bug reportsEngineering PlanNew Release Announcements
Feel Free to call us at Tech Support
![Page 13: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/13.jpg)
Troubleshooting
The Big Picture
![Page 14: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/14.jpg)
Consider Big Picture
Ask yourself…Did it ever work?
If so, what changed?
New software? New hardware? Etc…
Use Log Files to help isolate problemNo errors in client logs - Server problem
Always an error message somewhere!
Know your utilities
![Page 15: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/15.jpg)
Know Your Nodes
API Node PI Server
Client
Client
Client
![Page 16: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/16.jpg)
Connection Troubleshooting
YES NO
YES NO
YES
YES
NO
NO
C heck C lient Log,A dd P IServer to H O STS file
C lient Problem
C heck C lient Log,Increase N etw ork
Tim eout,C heck speed of D N S
C heck Server Log,Look for L istener,
See w hat is connected(N etstat -a)
R un A PISN A P onPIServer
A dd P IServerto H O STS file
C ontact N etw orkA dm instrator
P ing Serverby N um ber
P ing Server by N am e?
N etw ork Problemor Server Problem
C an any other PC connect to P I?
![Page 17: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/17.jpg)
Common Network Issues
DNSIf DNS is slow, connection may time out
Check HOSTS file
Multiple NIC cards
WAN trafficKnow your routers!
Port 5450 not initialized
![Page 18: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/18.jpg)
Backups
![Page 19: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/19.jpg)
Backups
ArchivesNightly & After Shift
Pi\dat DirectoryNightly & when server is shutdown
Site specific files & log filesNightly
Recommend Test Recovery
![Page 20: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/20.jpg)
Backups
Known problems with PI 3.2 SR1 Script
Piartool –be ignored if system is busyOne Subsystem would stop while another was starting
New Beta ScriptVerify that the subsystem is responsive
Schedule piartool -be to run 30 minutes after backup
![Page 21: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/21.jpg)
Example Script ChangeRem Backup files owned by pibasess
%BinPath%\pibasess -stop
set BaseFiles=pipoints.dat piptattr.dat piptclss.dat pidigst.dat pidignam.dat piusr.dat piusrgrp.dat piusrctx.dat piptunit.dat piptalia.dat
for %%i in (%BaseFiles%) do ( copy %DatPath%\%%i %BackupPath% )
Rem Restart pibasess and wait for it to become responsive
Rem Record timestamps before and after to document the time this requires
%BinPath%\pibasess -start
%BinPath%\pidiag -t "*"
%AdmPath%\piartool -block pibasess -verbose
%BinPath%\pidiag -t "*"
![Page 22: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/22.jpg)
Buffering
![Page 23: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/23.jpg)
Buffering Basics
Why Buffer?Avoid data loss during PI server shutdowns
Optimize your PI network transactions
Faster throughput
Set up a PI-API nodeData collection is not affected by the PI server
![Page 24: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/24.jpg)
Configuring Buffering
Must configure PICLIENT.INITurn Buffering ON
Define Maximum Buffer Size
Size for down time and recovery time
(size in KB)
Define how frequently it will attempt to reconnect
(time in seconds)
![Page 25: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/25.jpg)
Example PICLIENT.INI
[APIBUFFER]
BUFFERING=1
MAXFILESIZE=500000
RETRYRATE=120
![Page 26: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/26.jpg)
Buffering Issues
Remember Configuration required, NT/Unix
Have plenty of disk space available
Buffering isn’t working?Check BufServ Service Login
Make sure /host entry matches Default PI Server in PILOGIN.INI
All API programs must be stopped before bufserv can be restarted
Use bufutil program
![Page 27: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/27.jpg)
BUFUTIL Example
![Page 28: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/28.jpg)
Archives
![Page 29: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/29.jpg)
Archive Sizing
Why Change Sizes?Added a new interface
Added more tags to an existing interface
Changed exception & compression on many tags
Added Performance Equations, Totalizers, Alarm tags, and/or Manual Entry tags
![Page 30: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/30.jpg)
Archive Sizing
Rules of Thumb…
10-20 MB per 1000 tags
Smaller than the system RAM
Smaller than the backup media
![Page 31: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/31.jpg)
![Page 32: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/32.jpg)
Example Bat File
REM Create New Archives
REM Specify path and size.
d:\pi\adm\piarcreate d:\pi\archives\piarch.004 50
d:\pi\adm\piarcreate d:\pi\archives\piarch.005 50
d:\pi\adm\piarcreate d:\pi\archives\piarch.006 50
REM Register the new archives
d:\pi\adm\piartool -ar d:\pi\archives\piarch.004
d:\pi\adm\piartool -ar d:\pi\archives\piarch.005
d:\pi\adm\piartool -ar d:\pi\archives\piarch.006
![Page 33: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/33.jpg)
Conclusion
Know Your Resources
Consider the Big Picture
Develop Your Backup Strategy
Buffer Your Data
Optimize Your Archive Size
![Page 34: Tips from the Trenches Rebekah Atkinson Steve Nye, Kathy Kennedy](https://reader036.vdocuments.mx/reader036/viewer/2022081519/56649e725503460f94b70c21/html5/thumbnails/34.jpg)
Questions???
Ready for lunch?
(if you applaud, we will let you go to lunch)