Professional Documents
Culture Documents
WW Tss 04 Advanced Troubleshooting For Wonderware Application Server
WW Tss 04 Advanced Troubleshooting For Wonderware Application Server
WW TSS-04: Advanced
Troubleshooting for Wonderware
Application Server
© 2013 Invensys. All Rights Reserved. The names, logos, and taglines identifying the products and services of Invensys are proprietary marks of Invensys or its subsidiaries.
All third party trademarks and service marks are the proprietary marks of their respective owners.
Agenda
Slide 3
Common tools
SMC Logger
Platform Manager
Object Viewer
Task Manager
MiniDump
Windows Event System Files
Wonderware Developer Network (WDN)
Slide 4
Troubleshooting 101 - What Did You
Change?
Slide 5
System Management Console (SMC)
Slide 6
Object Viewer – Locate Process ID
Slide 7
Object Viewer
Slide 8
Object Viewer
Slide 9
Secret Dialog Menu
Slide 10
How can I tell if someone deployed
something?
Did you
Are Nope….
•Gobject_Change_Log
Deploy?
Sure?!?
•Objects affected
•Operation performed
•User Comment
•User Logged on
Slide 11
Return all operations for past 24 hours
Slide 12
Engine Attributes
Slide 13
Automatic MiniDump Generation
Slide 14
Enable MiniDump
[HKEY_LOCAL_MACHINE\SOFTWARE\ArchestrA\Fram
ework\Debug]
"MinidumpEnabled"=dword:00000001
"MaximumDumpFilesAllowed"=dword:0000000a
"MinidumpType"=dword:00000003
Slide 15
Tech Note 726
Capturing a Memory Dump File Using the Microsoft®
Debug Diagnostic Tool (32bit)
Slide 16
Wonderware Developer Network
https://wdn.wonderware.com
Slide 17
Contact Wonderware
Via Email:PremiumSupport@Invensys.com
Slide 18
Install issues…..
Slide 19
Unable to Modify install
Slide 20
Missing Install folder
C:\Program Files (x86)\Common Files\ArchestrA\Install\{F7D0430C-1E73-4546-BB8C-3E23DF991668}\External
Slide 21
We need to copy it from the Root of the install:
Slide 22
Disable UAC during install
Slide 23
Combating Deploy issues
Slide 24
Deploy issues
Failed to deploy <PcName>: Failed to get the
bootstrap's version
Slide 25
Failed to get the bootstrap's version
Slide 26
Failed to get the bootstrap's version
Slide 27
Known Issue with Windows 7 Client
3.1 SP3
• L00124127
3.1 SP3 p01
• L00122194
3.5
• L00122265
3.6
• L00123983
Slide 28
Deployment issues: What can go wrong?
•DCOM
•NMX Local mode
•Versions
•NIC Binding order
•aaBootstrap not responding
•aaLogger hanging
•Global Data Cache
•Platforms still deployed but removed from GR
Slide 29
Deployment Troubleshooting Checklist
Slide 30
Deployment Troubleshooting Checklist
Slide 31
Deployment Logflags
Slide 32
Deployment Logflags
Slide 33
Deployment Logflags
Slide 34
Deployment Logflags
Slide 35
GPO enabled
Slide 36
Known Issue
Slide 37
Global Data Cache distribution
aaGlobalDataCacheMonitorSvr
• ArchestrA GlobalDataCacheMonitorServices. This
service will appear in the Task Manager once a
platform is deployed to the machine. This service
hands information for the Areas and alarms via the
XML, also handles security calls.
Slide 38
Global Data Cache
Slide 39
Overview Global Data Cache
aaBootstrap.exe aaBootstrap.exe
aaGlobalDataCacheMonitorSvr
Slide 40
Global Data Cache Issue
Couldn't get platform name - maybe the platform is
not available at this time.
IPlatformInformationClerk2::GetPlatformIdentity(Plat
formID=xx), hr = 80040405
Slide 42
Orphaned platforms
Slide 43
Platform Exceed Maximum Heartbeats
Slide 44
Platform Exceed Maximum Heartbeats
Solution:
Setting the proper value in your Platform and AppEngine Configuration
Editor
Slide 45
Platform Remover (Killer)
Run as Administrator
Clear out Checkpoint files
• C:\Program Files
(x86)\ArchestrA\Framework\Bin\CheckPointer
Clear out Cache folder
• <RootDrive>\ProgramData\ArchestrA\Cache
Slide 46
Platform Remover (Killer)
Fails to run when there
are more than 100
platforms.
Slide 47
Scripting Considerations
S
©
Invensys proprietary &
Slide 48
Inve
liconfidential
nsy
d
Engineering Efficiency
2014
• Script Editor
• Auto complete function
• Me
• MyContainer
• Scripts
• Multi level Undo-Redo
• Line Numbering
• Consistent color coding
• Syntax Error Indication
Slide 49
Engineering Efficiency
2014
Trap Exception
Handle Exception
Slide 50
Let the Engine / Object Relax While
First Loading
Use a while true script instead of a
On true for large tasks (such as IO
set reference).
Delay with
If Script.ExecutionCnt == 2
Slide 51
Use LogMessage()
If me.Debug then
Logmessage(me.msg);
Endif;
Slide 52
Async Scripts
•Engine.AsyncScriptsWaitingCnt
•use this for sizing AsynScriptMaxThread
Slide 53
Keep it Clean
Slide 54
Keep it Clean
Slide 55
Keep it Clean
Slide 56
Multi-Galaxy Communication?
Slide 57
Remote data
Symptom:
View does not show remote Galaxy data
Possible reasons:
MxData Service is not deployed
Discovery Services are not configured correctly
Platform is not deployed on the node where MxDataService is running
Remote node is not reachable
Slide 58
Secure Write
Symptom:
Writes do not work from InTouchView when security is enabled
Possible reasons:
Security mode of Galaxy is set to “Galaxy Security”
Security mode of InTouch is not set to “ArchestrA”
User has not logged into the remote Galaxy at least once
Default User Authentication service is not deployed on GR node
Security mode of local and remote Galaxies does not match
User does not have sufficient permissions to perform the write
Remote node is not reachable
Slide 59
ASBService OS Account
Slide 60
ASBService related warnings
Slide 61
ASBService related warnings
Slide 62
ASBService OS Account
Slide 63
Failed to UnpairWithGR…
Slide 64
Failed to UnpairWithGR…
Slide 65
Hotfix
Slide 66
Questions?
Slide 67
Latest issues
Slide 68
100% CPU on aaEngine.exe
Slide 69
RDI object
Slide 70
Old Alarms
Slide 71
Tech Alerts
TA # 173
• Cannot Create a Galaxy or Connect to Any Existing Galaxy
After Renaming a Computer if Wonderware Application Server
2012 R2 (Version 3.6) is Already Installed on the Computer
Slide 72
Tech Alerts
Slide 73
Slide 74
Tech Alerts
Slide 75
Wonderware Developer Network
https://wdn.wonderware.com
© Invensys 2009
Slide 76
Invensys proprietary & Slide 76
confidential
Contact Wonderware
Via Email:PremiumSupport@Invensys.com
Slide 77
Questions?
Slide 78
Slide 79