Slide 2 Session Description This informative session will provide you with troubleshooting tools for Wonderware Application Server. Some of the topics.

Slides:



Advertisements
Similar presentations
Module 17 Tracing Access to SQL Server 2008 R2. Module Overview Capturing Activity using SQL Server Profiler Improving Performance with the Database Engine.
Advertisements

Week 6: Chapter 6 Agenda Automation of SQL Server tasks using: SQL Server Agent Scheduling Scripting Technologies.
Tool removed during cycle Fault #2 Conditions for setting Tool cocked prox switch goes open during cycle AND force on load cell drops below limit in fault.
Module 20 Troubleshooting Common SQL Server 2008 R2 Administrative Issues.
Unauthorized Reproduction Prohibited SkyPoint Alarm Integration Add-On Using OnGuard Alarms to create events in SkyPoint Also called ‘SkyPoint V0’ CR4400.
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
Chapter 14 Chapter 14: Server Monitoring and Optimization.
V0.01 © 2009 Research In Motion Limited Introduction to Java Application Development for the BlackBerry Smartphone Trainer name Date.
SETUP AND CONFIGURATIONS WEBLOGIC SERVER. 1.Weblogic Installation 2.Creating domain through configuration wizard 3.Creating domain using existing template.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 11 Managing and Monitoring a Windows Server 2008 Network.
Using the Windows Event Viewer and Task Scheduler Chapter 5.
Module 8: Monitoring SQL Server for Performance. Overview Why to Monitor SQL Server Performance Monitoring and Tuning Tools for Monitoring SQL Server.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
DEMONSTRATION FOR SIGMA DATA ACQUISITION MODULES Tempatron Ltd Data Measurements Division Darwin Close Reading RG2 0TB UK T : +44 (0) F :
NovaBACKUP 10 xSP Technical Training By: Nathan Fouarge
SQL Server memory architecture and debugging memory Issues
April WebEx Intel ® Active Management Technology (AMT) LANDesk Provisioning LANDesk Server Manager.
Module 15: Monitoring. Overview Formulate requirements and identify resources to monitor in a database environment Types of monitoring that can be carried.
1 Chapter Overview Monitoring Server Performance Monitoring Shared Resources Microsoft Windows 2000 Auditing.
Ch 11 Managing System Reliability and Availability 1.
Chapter 17: Watching Your System BAI617. Chapter Topics Working With Event Viewer Performance Monitor Resource Monitor.
C Copyright © 2009, Oracle. All rights reserved. Using Diagnosis and Debugging Techniques.
Session Description In this session will discuss issues related to communications between InBatch and both Archestra (IBMX) and PLCs(DAServers) as well.
Configuring the MagicInfo Pro Display
®® Microsoft Windows 7 for Power Users Tutorial 8 Troubleshooting Windows 7.
Hands-On Microsoft Windows Server 2008
Benjamin Lavalley, Sr. Product Marketing Manager Kaseya 2 Upgrade Review.
Oracle10g RAC Service Architecture Overview of Real Application Cluster Ready Services, Nodeapps, and User Defined Services.
Copyright ®xSpring Pte Ltd, All rights reserved Versions DateVersionDescriptionAuthor May First version. Modified from Enterprise edition.NBL.
Slide 1. © 2012 Invensys. All Rights Reserved. The names, logos, and taglines identifying the products and services of Invensys are proprietary marks.
What you’ll take away: 1.Define team and schedule 2.Software and hardware specifications 3.Analysing 4.Configuration and migration 5.Validation and Test.
Conditions and Terms of Use
Module 7: Fundamentals of Administering Windows Server 2008.
Ideas to Improve SharePoint Usage 4. What are these 4 Ideas? 1. 7 Steps to check SharePoint Health 2. Avoid common Deployment Mistakes 3. Analyze SharePoint.
INSTALLATION HANDS-ON. Page 2 About the Hands-On This hands-on section is structured in a way, that it allows you to work independently, but still giving.
Module 2: Installing and Maintaining ISA Server. Overview Installing ISA Server 2004 Choosing ISA Server Clients Installing and Configuring Firewall Clients.
Tools Menu and Other Concepts Alerts Event Log SLA Management Search Address Space Search Syslog Download NetIIS Standalone Application.
Performance Dash A free tool from Microsoft that provides some quick real time information about the status of your SQL Servers.
Module 7 Configure User and Computer Environments By Using Group Policy.
Avira Endpoint Security. Introduction of Avira Management Center (AMC)
Learningcomputer.com SQL Server 2008 – Profiling and Monitoring Tools.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
Session Objectives How to Debug PTF test case/Script Session-6 DebuggingSlide 2.
Chapter 10 System Monitoring Issues Performance Benchmarks NT Server Services Users and Server Access Information Task Manager for Applications Ram and.
Agilent Technologies Copyright 1999 H7211A+221 v Capture Filters, Logging, and Subnets: Module Objectives Create capture filters that control whether.
Windows monitoring Unit objectives: Monitor the operating system Monitor system performance Backup and restore operating system files and data.
Slide 1 Session Description The Introduction to ArchestrA Workflow 2012 session provides a basic understanding of the software as an extension to Business.
Debugging tools in Flash CIS 126. Debugging Flash provides several tools for testing ActionScript in your SWF files. –The Debugger, lets you find errors.
1 Chapter Overview Monitoring Access to Shared Folders Creating and Sharing Local and Remote Folders Monitoring Network Users Using Offline Folders and.
Page 1 Monitoring, Optimization, and Troubleshooting Lecture 10 Hassan Shuja 11/30/2004.
Slide 1. Slide 2 Session Description This session will review a series of issue encountered during the real troubleshooting of some of our largest System.
Tool Removed During Cycle Fault #2 Conditions for Setting Tool cocked prox switch goes open during cycle AND force on load cell drops below 5 lbs. Active.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Troubleshooting Workflow 8 Raymond Cruz, Software Support Engineer.
Run the on your PC to start the firmware configuration process Run IP Config Tool.
Trouble Shooting, Logs, Alarms and Triggers Configuration Example Lucent Security Products Configuration Example Series.
Environment Manager Troubleshooting and Debugging.
ITMT 1371 – Window 7 Configuration 1 ITMT Windows 7 Configuration Chapter 8 – Managing and Monitoring Windows 7 Performance.
This document is provided for informational purposes only and Microsoft makes no warranties, either express or implied, in this document. Information.
Windows Server 2003 { First Steps and Administration} Benedikt Riedel MCSE + Messaging
1 Remote Installation Service Windows 2003 Server Prof. Abdul Hameed.
Microsoft OS Vulnerabilities April 1, 2010 MIS 4600 – MBA © Abdou Illia.
SQL Database Management
UC Pro Troubleshooting Guide
Welcome POS Synchronize Concept 08 Sept 2015.
Greg Seidel Technology Specialist – SQL Server
Troubleshooting Tools
Deploying and Configuring SSIS Packages
Environment Manager Troubleshooting and Debugging
Azure Container Service
Presentation transcript:

Slide 2 Session Description This informative session will provide you with troubleshooting tools for Wonderware Application Server. Some of the topics which will be covered(but not limited to): Wonderware Tech Support Information Tool, Wonderware MSIChecker, Building a dialogistic Object Viewer, utilizing Object Viewer to find the problem, Troubleshooting engine\Historian issues & Deploy issues. Duration: 90 Mins

© 2012 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. WW TSS-10 Application Server 2012: Advanced Troubleshooting Presenters: David Ujifusa Rich Liddell

Slide 4 Overview Wonderware Tech Support Info Tool Performance Monitor Mind Map App Server Tech Notes New Ideas for Troubleshooting Common Tools and Troubleshooting Demo Redundancy and Engine communications Deployment Demo Common Scripting Issues Galaxy Repository Queries and SQL Troubleshooting

Slide 5 How to attack install or version mismatch issues

Slide 6 Issue 1: Hotfix not installed correctly Symptom: Gets error message “From ZipFileInterop. Zip file interop - CreateFileW failed” importing View App into Galaxy SR Tool Used: Wonderware Tech Support Info Tool Found that Hotfix 2177 was not installed properly

Slide 7 Issue 1: WW Tech Support Info Tool Customer presses Retrieve Wonderware Information, saves the result to an XML file and sends the XML file to Tech Support

Slide 8 Issue 1: WW Tech Support Info Tool Incorrect WWGalaxyRepositoryController.dll should be

Slide 9 Issue 1: WW Tech Support Info Tool Demo WW Tech Support Info Tool What customer does How Tech Support analyzes

Slide 10 Issue 1: WW Tech Support Info Tool

Slide 11 Issue 2: NmxSvc Memory Leak Symptom: NMXSVC memory leaks 300 MB per day and climbs to 1.9 GB SR Tool Used: Performance Monitor

Slide 12 Issue 2: NmxSvc Memory Leak

Slide 13 Issue 2: Performance Monitor Demo Performance Monitor Log File Configuration Analyzing the Log File

Slide 14 Issue 2: Performance Monitor Configuration Performance Monitor Configuration instructions Set up Performance Monitor to log all Processes and Processor. The general info for configuring a Performance Monitor Log File is found in the Help of Performance Monitor. Look for the article “creating counter logs” under “Performance Logs and Alerts.”. When creating the new Performance Log File press the Add Objects button. Select Process in the list of Performance objects and press the Add button. You will get a counter that looks something like \\davidu10\Process(*)\* Select Processor in the list of Performance objects and press the Add button. You will get a counter that looks something like \\davidu10\Processor(*)\* You can change the interval to something like every minute rather than every 15 seconds. Check that the Performance Log File size is growing to ensure that it is logging. When the test is finished send the.blg file to Wonderware Tech Support for analysis.

Slide 15 Issue 2: Performance Monitor Log File Analysis What Instances to look at? aaEngine* aaGR aaLogger sqlservr svchost* view*

Slide 16 Issue 2: Performance Monitor Log File Analysis Look at the Minimum and Maximum for these counters % Processor Time Handle Count Thread Count Private Bytes Virtual Bytes

Slide 17 Issue 2: Performance Monitor Log File Analysis Possible resource issue if one of these counters for a Process is increasing a lot or if the Maximum is high as follows: % Processor Time > 50 Handle Count > 1000 Private Bytes > 500 MB Thread Count > 100 Virtual Bytes > 500 MB

Slide 18 AppServer Troubleshooting Tech Notes Mindmap

Slide 19 AppServer Troubleshooting Tech Notes Mind Map

Slide 20 New Idea - AppServer Troubleshooting Symptom Mindmap or Word doc?

Slide 21 New Idea – Utility to check install files and DLL Registration

Slide 22 Trouble shooting - WTH

Slide 23 Where to look fast to find a problem

Slide 24 Common tools SMC Logger Log Monitor – Gift from Active factory Platform Manager Object Viewer SQL Profiler and SQL commands

Slide 25 Let’s dive into a case

Slide 26 Engines are losing objects over time Notes about the case: AppEngine_002 is having the problem right now 1)Engine deployed fine and all objects/attributes seemed fine 2)After a while View is no longer displaying some values stuck initializing 3)Object Viewer no longer shows the object under the engine 4) Redeploy states the object was never on this engine

Slide 27 Look at the SMC 1)Export SMC log so you are only looking a few days and not weeks 2)Filter out messages that are blocking the view and do not matter 3)If you know the engine name, filter for it to see what the engine has done lately 4)Search for words like terminate or aabootstrap starting, to see if the computer was rebooted or if the engine was terminated. 5)Filter only errors and warnings to narrow the search more

Slide 28 Open the exported Log file

Slide 29 Messages look like we are onto the problem ObjectSyncMgr AppEngine_002 MergeDeltaCheckpointsReq. *** Failed to update object 28 primitive 100 in object cache. Removing object from the cache... AppEngine_002: Deploy changes - [1 of 1] Failed to find object “NH3_DK_AD04" on the engine. Found MergeDeltaCheckpointsReq messages for AppEngine_001 too, but not for Engine_3 and Engine_4.

Slide 30 Engine Configurations are they different? 1)All Engines have Redundancy enabled 2) Engines 1 and 2 match but are different from 3 and 4. 3) Engines 3 and 4 match, and have not seen the problem 4) Difference is in the Redundancy settings Max. checkpoint deltas buffered = 10 Max alarm statechanges buffered = 10

Slide 31 What are the recommended settings?

Slide 32 Quote from Customer “I never knew how much I needed redundancy until I enabled redundancy” Not following the recommended settings for redundancy can make your system run unreliably.

Slide 33 Restarting Redundant engines

Slide 34 Expected Behavior for Redundant Engines 1)Active engine will only display in Platform manager 2) Task manager will show both engines running 3)If engine is stopped with Platform manager the other engine will start off scan and the stopped engine will remain at shutdown and will not be standby ready. A) Set the Active engine to Run on Scan B) Start the engine you stopped and it will clear from display

Slide 35 Creating Watch Windows

Slide 36 IDE has locked up and stopped responding.

Slide 37 What next restarting the IDE did not help. The aaGR process may need to be restarted on the GR node This process will effect all other IDE’s that are open, have all users close the IDE. Once this process is terminated the IDE will lose connection and will need to be restarted. We have a Power Shell utility to locate the user and IP for all nodes connected to the IDE called GetIDEUsers.ps1

Slide 38 Deployment

Slide 39 The IDE user deploys an object to a Platform Package Manager on the IDE node forwards this deployment action to the Package Server on the GR Package Server tells the PIM “Platform Installation Manager” to deploy the object’s runtime code modules and configuration files to the target Platform PIM on the GR node transfers the files to the remote PIM via the DCOMTransport Deployment: Mechanics

Slide 40 Quickest Way To Deploy Take advantage of multi threading during deploy Deploy all Platforms First at the same time Deploy All Engines at the same time Select Galaxy to deploy and set Currently deployed objects to “Skip”

Slide 41 Deployment issues: What can go wrong? DCOM NMX Local mode Version Binding order aaBootstrap not responding aaLogger hanging NIC setup – Auto detect Platforms still deployed but removed from GR

Slide 42 Tricks for keeping deployment moving Check Bind order #1 problem OSConfiguration utility – 3.1sp3p1 on 2008 sometimes requires the version from 2012 DCOM has probelms rerun Change network account If the IDE thinks the Platform is already deployed it might Need the Node removed form the registry on the remote node and GR.

Slide 43 Deployment issues: Undeployment Fails GR can not take the objects off scan so it fails NMX service is running in Local mode Engines are not responding Platform remover was used Can not communicate to the aabootstrap

Slide 44 Deployment issues: InTouch ‘Orange Icon’ What can make things go wrong? Maxuimum TCP connections achieved in non-server Machines Use Server OS on every node Use workarounds from Microsoft (search for ‘Remove Half-Open TCP Connection Limit’ in Google )

Slide 45 Deployment issues: Undeployment Fails What can I do? Use On Failure mark as Undeployed and try one of the following before undeploying Unplug the GR-Node from the Network Disable the NIC on the GR-Node or the Platform you are undeploying from. Only if RDP is not being used! In the registry on the GR [Hklm\Software\ArchestrA\Framework\Platform\PlatformN odes] give the platform you are trying to undeploy a bad IP address.

Slide 46 Analyzing Deployment Issues What occurs during deployment? GR Remote aaBootstrap How do I know anything is deploying? Task Manager Logflags

Slide 47 Demo Deployment

Slide 48 Engine communication issues I have done everything mentioned above. Why am I encountering an Engine communications failure?

Slide 49 Engine communication issues What can make things go wrong? External processes that consumes high CPU This can be caused i.e. by an unconfigured ArchestrA logger due to huge log file. Syncronous scripts for time consuming operations This can be caused by a SQL connect in a non- asyncronous script

Slide 50 Engine communication issues What can make things go wrong? External.NET modules that performs time consuming operations This can be caused by an external.NET dll that performs a time consuming calculation in the main process without using threads and semaphorization.

Slide 51 Scripting Considerations © Inve nsy s Invensys proprietary & confidential S li d e 5151 Using the right script Debugging Logmessage() What is Async for Script Timeout/Error

Slide 52 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 Invensys proprietary &

Slide 53 Use LogMessage() Why have needless Logmessages going to the logger unless required. Always block them in with an IF statement: If me.Debug then Logmessage(me.msg); Endif; ©Invensys proprietary &S

Slide 54 Async Scripts SQL scripts are a must Engine.AsynScriptMaxThread default size is 5 Engine.AsyncScriptsWaitingCnt use this for sizing AsynScriptMaxThread

Slide 55 Galaxy Repository Dive GR Useful Tables Gobject Gobject_Change_Log Lookup_operation View public_gobject_definition Platform Redundancy

Slide 56 How can I tell if someone deployed something? Gobject_Change_Log Objects affected Operation performed User Comment User Logged on

Slide 57 Return all operations for past 24 hours

Slide 58 Check to see if any engines have been deployed

Slide 59 Find checked-out objects

Slide 60 Useful SQL Find Checked out objects Check in objects Undeploy Galaxy Undeploy Platform Query Engines, Areas

Slide 61 How to write to Event Viewer from SQL Debugging a Stored procedure DECLARE varchar(255) select = 'EventLogKey = ' + as nvarchar(32)) + ', EventTime = ' + as varchar(32)) + ', EventTagName = ' EXEC xp_logevent 51000, informational

Slide 62

Slide 63 Wrap up! Check out the Tech notes and Tools we suggested and practice trouble shooting Finding out what is different or changed often leads to the problem Understanding Deployment requires less colorful metaphors while troubleshooting Work on SQL skills and learn how to navigate the Galaxy

© 2012 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. Any Questions