SlideShare una empresa de Scribd logo
1 de 23
SCADA & MES Global Support
presents troubleshooting and
technical tips
Introduction

Presenters:
L. Duguid – Senior Global Support Engineer
● Top Five Issues raised with Support (SCADA)

T. Montmayeur – Senior Global Support Engineer
● Best Practices for Upgrading Vijeo Citect / CitectSCADA

SCADA & MES Global Support Portal:
www.citect.schneider-electric.com




Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips   Copyright © 2012   2
Top Five Issues Raised with Support
Presented by L. Duguid



           1. Driver Debugging

           2. Web Client / Server Issues

           3. Cicode Debugging

           4. Clustering

           5. Runtime Crashes



                                                                                     Schneider Electric SCADA & MES




Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips                                    Copyright © 2012   3
Driver Debugging

                   Symptoms:

                   Intermittent Communications, #COM, # Graphics, Errors in log files

                   Diagnosis:

                   • Check Boards, Ports, I/O Device forms as per documentation
                   Note: Each I/O Device should use its own port

                   • Upgrade Driver (DriverWeb for documentation and driver releases)

                   • Check Syslog.dat for errors check against the Knowledge Base
                   2012-09-27 09:39:21.874                 +10:00             Error: Channel not yet initialized
                   2012-09-27 09:39:21.874                 +10:00             CINIT 0017 PORT1_BOARD4 Melter_CLX             Error_in_CMD-2 16
                   2012-09-27 09:39:21.874                 +10:00             Generic 000023 Driver 536870937 (0x20000019)
                   2012-09-27 09:39:21.877                 +10:00             Error: Channel not yet initialized

                   • Check Syslog.dat for errors check against the Knowledge Base




Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips                                                         Copyright © 2012   4
Driver Debugging
                    •Enable Driver debugging – best to delete logs first

                    Older drivers:
                    [MELSEC, MODNET]
                    DebugStr = * ALL

                    New Drivers:
                    [OPC, DNPr, ABCLX]
                    DebugCategory=ALL
                    DebugLevel=ALL
                    LogFileSize=50000

                    Search syslog for ‘Error’ and again check Hex number in Knowledge Base

                    • Test with a simple one tag, one I/O Device project

                    • Send log files to support with SOE

                    • Check variable tag addresses against documentation




Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips           Copyright © 2012   5
Web Client / Server Issues
                   Symptoms:

                   #COM, # Graphics, software protection failure on Webclient, changes not propagating

                   Diagnosis:

                   • Check configuration as per documentation

                   Q6268 – V7.20 (Windows 7, Server 2008) – has lots of debugging tips
                   Q4700 – prior to V7.2 (earlier OS)
                   Note: There are specific settings for Server 2003

                   • Ensure Service Pack matches between WebServer and Citect Server

                   • Delete the %tmp% directory

                   • Check Internet Explorer settings as per Q6268 and Q4464

                   • Test with Example project – is the issue specific to your project or Citect in general?

                   • Check the ports are open (Q4946)

                   •Test Web Client on Server machine first


Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips                             Copyright © 2012   6
Cicode Debugging

                   Symptoms:

                   Compile Errors, Function help, Cicode Debugging

                   Diagnosis:

                   • Read the help

                   • Compiler will pick up deprecated functions or invalid function calls

                   • Debug Cicode using break points, stack window, F11

                   • Ensure Cicode Editor is using correct process [Debug]CodeDebug = Client

                   • Does running in Single process help? What process should the code be called from?




Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips                       Copyright © 2012   7
Implementing Clustering
                   Symptoms:

                   #Com, # Graphics

                   Diagnosis:

                   Introducing a second cluster will require the use of cluster context in your projects.

                   • Assign cluster context by either adding prefix to tags (cluster.tag), assign to page in page
                   properties, or via PageDisplay Cicode function on page call.

                   • Check Cluster Connections Setup in Computer Setup Wizard to ensure client can see all
                   required clusters.

                   • Accumulators should be assigned to Cluster and use Cluster prefix on tags.

                   • Connecting via OPC and CtAPI to runtime tags will require prefix.

                   • V7.30 to resolve tag where possible




Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips                            Copyright © 2012   8
Debugging Crashes
                   Symptoms:

                   Runtime Manager reports process has stopped responding and exception report is
                   generated.

                   Diagnosis:

                   • Exception’s stored in Logs directory, should be prompted to save.

                   • Exception contains many files, Debug.log is most useful to support.

                   Exception 0xc0000005 occurred at location 0x74149084 at time Thu Jul 26 21:33:08 2012

                   (741c0000) - (7425afff) v8.0.50727.4940
                   C:WindowsWinSxSx86_microsoft.........8cc06a442b34fcMSVCR80.dll

                   • Debug.log can contain multiple crashes.

                   • Crash locations can be random, harder to fault find.

                   • Reproduction steps are very important.

                   • Check for Events or Cicode being executed, change of shift, operators login, any patterns.



Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips                         Copyright © 2012   9
Debugging Crashes
                   • Debug Diagnostics should be used if no crash log is generated (Q5387).

                   • Ensure latest Service Pack and Drivers are installed

                   • Running in multi-process a great indication as to where the issues is.

                   • I/O Server Crash
                         Upgrade Drivers, Switch devices to memory mode, Disable devices that are not
                         operational

                   • Alarm Server Crash
                         Check alarm formatting in Alarm Categories, Delete Alarm save files

                   • Report Server Crash
                        Debug Cicode used in Report Format file by copying to Cicode Editor, Verify Output
                        device configuration and file

                   • Trend Server Crash
                         Run Trend File Clash Utility from website (Toolbox) to verify trend configuration
                         ‘clashes’, Read trend files using Trend Reader (Toolbox), Delete trend files.

                   • Support use Bugzilla to search for problems or raise issue with developers for more
                   involved crash analysis (user.dmp analysis).



Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips                           Copyright © 2012   10
Get your cases resolved faster…
                   • Provide a simple test project that demonstrates the issue

                   • Report the issue with a clear and concise definition of the issue

                   • Unless you are sure, faster to let us decide where the problem is

                   • Tell us what you know, and what you think you know

                   • Provide concise information where possible (rather than “it doesn’t work”)

                   • Divide and Conquer – what do you know, try to refine it through trial and error

                   • Try and use standard terminology (Web Client, IO Server, IO Device, etc.)

                   • What is the history of the issue (What changed? What have you tried?)

                   • Keep issues separate with multiple CSR’s

                   • What are you trying to achieve, let us know from the outset

                   • Shift times are 7am-3pm, 3pm-11pm, 11pm-7am (EST), there is a staff change over
                   between shifts. While we endeavour to provide continuous coverage for open cases if you
                   prefer to speak to your specific case Engineer be sure to call within the corresponding shift
                   times

Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips                          Copyright © 2012   11
Best Practices for Upgrading
Presented by T. Montmayeur


           1.      Standard process for standalone systems

           2.      Upgrade on a redundant production system

           3.      Useful Tips

           4.      Upgrade tools

           5.      Potential issues and how to troubleshoot
                   them




Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips   Copyright © 2012   12
Best Practices for Upgrading
● Why upgrade?
       ● New features and enhancements
       ● Performance and product capabilities
       ● Operating System compliance




                                                        Old trend style template against Process Analyst view..

Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips                                Copyright © 2012   13
Best Practices for Upgrading
Standard Process
   In this presentation, the initial version is 7.0 spk4 and it                       Paramount
   is meant to be upgraded to version 7.30.

   1.Backup V7.0 project                                                             > Backup Project
   2.Uninstall SCADA V7.0                                                            > License Upgrade
   3.Install SCADA V7.30
   4.Restore your V7.0 project into SCADA V7.30                                      > Test environment

                                                                                     > Rollout Process




*This is the minimal upgrade process


Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips           Copyright © 2012   14
I want to upgrade to get
                                                                                     the latest features. But I don’t want
                                                                                     any downtime and want to keep all
                                                                                     my historical data.




Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips                            Copyright © 2012   15
Best Practices for Upgrading
Redundant system on Production



                                                                                              Example Configuration
                         Primary                                    Standby
                                                                                              • Primary Server
                                                                                              • Standby Server
                                                                                              • 4 Control Clients




                     Client                 Client                  Client           Client




Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips                        Copyright © 2012   16
Best Practices for Upgrading
Redundant system on Production
 1. Upgrade the keys
 2. Set up a development environment and proceed to testing
          • Test your project in memory mode
          • If possible test on actual device

 3. Production environment:
         • On both servers: [LAN]AllowLegacyConnections = 1
         • Shutdown CitectSCADA on the standby server.
         • Upgrade CitectSCADA on this server according to the standard upgrade
              procedure.
         • Restart you standby server
         • Perform testing
         • Shutdown the primary
         • make sure the standby takes over and perform testing again
         • Once standby is running fine Upgrade Citect on the primary server
              according to the standard upgrade procedure.
         • Restart the primary server and check your hardware alarms to make sure
              you don’t have any connection failure.
         • Upgrade your clients one by one.

Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips   Copyright © 2012   17
Best Practices for Upgrading
Useful Tips
 1. History Data
     • Back up trend files
     • Backup alarm files ALMSAV.DAT and
         ALMINDEXSAVE.DAT

 If upgrading hardware as well:

 Trends:
     • Create the same file hierarchy on the new system
     • Place the file in the same folders

 Alarms:
      • Run the computer setup wizard and edit Alarm paths


 2. Additional files to backup, when upgrading hardware

           •       Data folder
           •       Report files (User defined folder)
           •       [Ctedit]<Pathname> check in citect.ini
Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips   Copyright © 2012   18
Best Practices for Upgrading
Upgrade Tools
 1. Environment manager

           Development Environment
           Multiple versions
           Multiple projects backup and restore

 2. Help
     • What’s new in CitectSCADA
     • Upgrading to CitectSCADA




 3.       Knowledgebase
 http://www.citect-kb.schneider-electric.com/ScadaKB/KnowledgebaseCategory32.aspx




Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips   Copyright © 2012   19
Best Practices for Upgrading
Potential issues and how to troubleshoot - 1
 Obsolete functions
 Help: Getting Started > What's New in v7.x > What's New in CitectSCADA 7.20 >
    Cicode Functions

 Operating Systems (OS) compatibility

           •       SCADA
 http://www.citect.schneider-electric.com/documents/frk/SCADA/SCADA-Compatibility-Matrix.pdf


      • Drivers
 Not all of 150+ drivers have been fully tested on latest OS. If not compatible, own
    testing required.
 Once tested OS check can be disabled:
 [<DriverName>]OverrideOSProtection




Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips             Copyright © 2012   20
Best Practices for Upgrading
Potential issues and how to troubleshoot - 2
 Slow system after upgrade

         Hardware & Software. Refer to installation guide
 Ex: 7.20 Installation Guide, System Requirements




Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips   Copyright © 2012   21
Best Practices for Upgrading
Potential issues and how to troubleshoot - 3
 Downtime
 Redundant system is necessary to achieve a “No Downtime” Upgrade.

 Upgrading keys

           •       Make sure authcode is correct
           •       Make sure the key is showing correct version
           •       Upgrade CiuSafe
           •       Upgrade Sentinel Driver


 Further issues?

 http://www.citect-kb.schneider-electric.com/ScadaKB/KnowledgebaseCategory23.aspx




Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips   Copyright © 2012   22
Best Practices for Upgrading
Useful Links
 Knowledge base – Upgrade related articles
           http://www.citect-kb.schneider-electric.com/ScadaKB/KnowledgebaseCategory32.aspx

 Installation Guide - Installation Files (DVD / Zip file)

 Help
           Getting Started > What's New in CitectSCADAV7.x
           Getting Started > Upgrading to CitectSCADA V7.20

 Website             - Upgrading SCADA guidelines
           http://www.citect.schneider-electric.com/index.php?option=com_content&view=article&id=1553&Itemid=1540

                     - Authcode Generator
           http://www.citect.schneider-electric.com/index.php?option=com_content&view=article&id=1592&Itemid=942

 Driver web
           http://www.citect.schneider-electric.com/forum/forumdisplay.php?f=2




Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips                                 Copyright © 2012   23

Más contenido relacionado

Destacado

Four types of motherboards
Four types of motherboardsFour types of motherboards
Four types of motherboardssiva muthu
 
What influences natural selection
What influences natural selectionWhat influences natural selection
What influences natural selectionAlice Herman
 
D day power point (1)
D day power point (1)D day power point (1)
D day power point (1)Kevin A
 
Basic Mandarin Chinese | Lesson 12 | Learn to talk about various Occupations!
Basic Mandarin Chinese | Lesson 12 | Learn to talk about various Occupations!Basic Mandarin Chinese | Lesson 12 | Learn to talk about various Occupations!
Basic Mandarin Chinese | Lesson 12 | Learn to talk about various Occupations!CultureAlley
 
The future of Banking @ Social Media Week 2015
The future of Banking @ Social Media Week 2015The future of Banking @ Social Media Week 2015
The future of Banking @ Social Media Week 2015Lars Markull
 
Harga alat peraga laboratorium kimia smk dak tahun 2015
Harga alat peraga laboratorium kimia smk  dak tahun 2015Harga alat peraga laboratorium kimia smk  dak tahun 2015
Harga alat peraga laboratorium kimia smk dak tahun 2015Redis Manik
 
Audit Risk Analysis of the Coca-Cola Company
Audit Risk Analysis of the Coca-Cola CompanyAudit Risk Analysis of the Coca-Cola Company
Audit Risk Analysis of the Coca-Cola CompanyLincoln Md Moniruzzaman
 
Economies Of Scope And Scale
Economies Of Scope And ScaleEconomies Of Scope And Scale
Economies Of Scope And Scalegaurav
 
Borrowing in the english language
Borrowing in the english languageBorrowing in the english language
Borrowing in the english languageSveta-Svets
 
Topography of Pakistan by Haider Salman
Topography of Pakistan by Haider SalmanTopography of Pakistan by Haider Salman
Topography of Pakistan by Haider SalmanM.Haider Salman
 
Critical thinking and logic powerpoint
Critical thinking and logic powerpointCritical thinking and logic powerpoint
Critical thinking and logic powerpointannvillanueva
 
Internet Addiction Presentation
Internet Addiction  PresentationInternet Addiction  Presentation
Internet Addiction Presentationguestb628c5
 
Chemical vapour deposition
Chemical vapour depositionChemical vapour deposition
Chemical vapour depositionSethu Ram
 
CVD AND PVD THIN FILM TECHNIQUES
CVD AND PVD THIN FILM TECHNIQUESCVD AND PVD THIN FILM TECHNIQUES
CVD AND PVD THIN FILM TECHNIQUESHHV SOLAR Pvt Ltd
 
The 8 Methods Of Characterization Powerpoint
The 8 Methods Of Characterization PowerpointThe 8 Methods Of Characterization Powerpoint
The 8 Methods Of Characterization Powerpointes99.trish.turner
 

Destacado (20)

Four types of motherboards
Four types of motherboardsFour types of motherboards
Four types of motherboards
 
What influences natural selection
What influences natural selectionWhat influences natural selection
What influences natural selection
 
D day power point (1)
D day power point (1)D day power point (1)
D day power point (1)
 
Basic Mandarin Chinese | Lesson 12 | Learn to talk about various Occupations!
Basic Mandarin Chinese | Lesson 12 | Learn to talk about various Occupations!Basic Mandarin Chinese | Lesson 12 | Learn to talk about various Occupations!
Basic Mandarin Chinese | Lesson 12 | Learn to talk about various Occupations!
 
The future of Banking @ Social Media Week 2015
The future of Banking @ Social Media Week 2015The future of Banking @ Social Media Week 2015
The future of Banking @ Social Media Week 2015
 
Harga alat peraga laboratorium kimia smk dak tahun 2015
Harga alat peraga laboratorium kimia smk  dak tahun 2015Harga alat peraga laboratorium kimia smk  dak tahun 2015
Harga alat peraga laboratorium kimia smk dak tahun 2015
 
Forms of Digital Art
Forms of  Digital ArtForms of  Digital Art
Forms of Digital Art
 
Audit Risk Analysis of the Coca-Cola Company
Audit Risk Analysis of the Coca-Cola CompanyAudit Risk Analysis of the Coca-Cola Company
Audit Risk Analysis of the Coca-Cola Company
 
Economies Of Scope And Scale
Economies Of Scope And ScaleEconomies Of Scope And Scale
Economies Of Scope And Scale
 
Euphemism
EuphemismEuphemism
Euphemism
 
Borrowing in the english language
Borrowing in the english languageBorrowing in the english language
Borrowing in the english language
 
Topography of Pakistan by Haider Salman
Topography of Pakistan by Haider SalmanTopography of Pakistan by Haider Salman
Topography of Pakistan by Haider Salman
 
Fourier transform
Fourier transformFourier transform
Fourier transform
 
Psychological test
Psychological testPsychological test
Psychological test
 
Critical thinking and logic powerpoint
Critical thinking and logic powerpointCritical thinking and logic powerpoint
Critical thinking and logic powerpoint
 
Internet Addiction Presentation
Internet Addiction  PresentationInternet Addiction  Presentation
Internet Addiction Presentation
 
Developing a Brand Strategy
Developing a Brand StrategyDeveloping a Brand Strategy
Developing a Brand Strategy
 
Chemical vapour deposition
Chemical vapour depositionChemical vapour deposition
Chemical vapour deposition
 
CVD AND PVD THIN FILM TECHNIQUES
CVD AND PVD THIN FILM TECHNIQUESCVD AND PVD THIN FILM TECHNIQUES
CVD AND PVD THIN FILM TECHNIQUES
 
The 8 Methods Of Characterization Powerpoint
The 8 Methods Of Characterization PowerpointThe 8 Methods Of Characterization Powerpoint
The 8 Methods Of Characterization Powerpoint
 

Similar a Schneider Electric Scada Global Support Provides Troubleshooting and Technical Tips

CON5451_Brydon-OOW2014_Brydon_CON5451 (1).pptx
CON5451_Brydon-OOW2014_Brydon_CON5451 (1).pptxCON5451_Brydon-OOW2014_Brydon_CON5451 (1).pptx
CON5451_Brydon-OOW2014_Brydon_CON5451 (1).pptxSergioBruno21
 
Cognos Performance Tuning Tips & Tricks
Cognos Performance Tuning Tips & TricksCognos Performance Tuning Tips & Tricks
Cognos Performance Tuning Tips & TricksSenturus
 
“Smarter Manufacturing with Intel’s Deep Learning-Based Machine Vision,” a Pr...
“Smarter Manufacturing with Intel’s Deep Learning-Based Machine Vision,” a Pr...“Smarter Manufacturing with Intel’s Deep Learning-Based Machine Vision,” a Pr...
“Smarter Manufacturing with Intel’s Deep Learning-Based Machine Vision,” a Pr...Edge AI and Vision Alliance
 
Replay Solutions CFD
Replay Solutions CFDReplay Solutions CFD
Replay Solutions CFDkilroy440
 
Quick wins in the NetOps Journey by Vincent Boon, Opengear
Quick wins in the NetOps Journey by Vincent Boon, OpengearQuick wins in the NetOps Journey by Vincent Boon, Opengear
Quick wins in the NetOps Journey by Vincent Boon, OpengearMyNOG
 
Why everyone speaks about DR but only few use it?
Why everyone speaks about DR but only few use it?Why everyone speaks about DR but only few use it?
Why everyone speaks about DR but only few use it?Francisco Alvarez
 
Ebs performance tuning session feb 13 2013---Presented by Oracle
Ebs performance tuning session  feb 13 2013---Presented by OracleEbs performance tuning session  feb 13 2013---Presented by Oracle
Ebs performance tuning session feb 13 2013---Presented by OracleAkash Pramanik
 
Qualifying a high performance memory subsysten for Functional Safety
Qualifying a high performance memory subsysten for Functional SafetyQualifying a high performance memory subsysten for Functional Safety
Qualifying a high performance memory subsysten for Functional SafetyPankaj Singh
 
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...Christopher Diamantopoulos
 
Cognizant's Zero Deviation Life Cycle - an Overview
Cognizant's Zero Deviation Life Cycle - an OverviewCognizant's Zero Deviation Life Cycle - an Overview
Cognizant's Zero Deviation Life Cycle - an OverviewDr. Bippin Makoond
 
Dell EMC validates your virtualized Genetec video management system before it...
Dell EMC validates your virtualized Genetec video management system before it...Dell EMC validates your virtualized Genetec video management system before it...
Dell EMC validates your virtualized Genetec video management system before it...Principled Technologies
 
Building block development in managed hosting - Angelo Rossi, Manager, Comple...
Building block development in managed hosting - Angelo Rossi, Manager, Comple...Building block development in managed hosting - Angelo Rossi, Manager, Comple...
Building block development in managed hosting - Angelo Rossi, Manager, Comple...Blackboard APAC
 
Take the guesswork out of video surveillance with pre-validated, virtualized ...
Take the guesswork out of video surveillance with pre-validated, virtualized ...Take the guesswork out of video surveillance with pre-validated, virtualized ...
Take the guesswork out of video surveillance with pre-validated, virtualized ...Principled Technologies
 
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...Theo Jungeblut
 
Preparing for Neo - Singapore OutSystems User Group October 2022 Meetup
Preparing for Neo - Singapore OutSystems User Group October 2022 MeetupPreparing for Neo - Singapore OutSystems User Group October 2022 Meetup
Preparing for Neo - Singapore OutSystems User Group October 2022 MeetupYashrajNayak4
 
Simplified, Robust and Speedy Novell Identity Manager Implementation with Des...
Simplified, Robust and Speedy Novell Identity Manager Implementation with Des...Simplified, Robust and Speedy Novell Identity Manager Implementation with Des...
Simplified, Robust and Speedy Novell Identity Manager Implementation with Des...Novell
 

Similar a Schneider Electric Scada Global Support Provides Troubleshooting and Technical Tips (20)

CON5451_Brydon-OOW2014_Brydon_CON5451 (1).pptx
CON5451_Brydon-OOW2014_Brydon_CON5451 (1).pptxCON5451_Brydon-OOW2014_Brydon_CON5451 (1).pptx
CON5451_Brydon-OOW2014_Brydon_CON5451 (1).pptx
 
Cognos Performance Tuning Tips & Tricks
Cognos Performance Tuning Tips & TricksCognos Performance Tuning Tips & Tricks
Cognos Performance Tuning Tips & Tricks
 
Developer want change Ops want control - devops
Developer want change Ops want control - devopsDeveloper want change Ops want control - devops
Developer want change Ops want control - devops
 
“Smarter Manufacturing with Intel’s Deep Learning-Based Machine Vision,” a Pr...
“Smarter Manufacturing with Intel’s Deep Learning-Based Machine Vision,” a Pr...“Smarter Manufacturing with Intel’s Deep Learning-Based Machine Vision,” a Pr...
“Smarter Manufacturing with Intel’s Deep Learning-Based Machine Vision,” a Pr...
 
Replay Solutions CFD
Replay Solutions CFDReplay Solutions CFD
Replay Solutions CFD
 
Quick wins in the NetOps Journey by Vincent Boon, Opengear
Quick wins in the NetOps Journey by Vincent Boon, OpengearQuick wins in the NetOps Journey by Vincent Boon, Opengear
Quick wins in the NetOps Journey by Vincent Boon, Opengear
 
Why everyone speaks about DR but only few use it?
Why everyone speaks about DR but only few use it?Why everyone speaks about DR but only few use it?
Why everyone speaks about DR but only few use it?
 
Ebs performance tuning session feb 13 2013---Presented by Oracle
Ebs performance tuning session  feb 13 2013---Presented by OracleEbs performance tuning session  feb 13 2013---Presented by Oracle
Ebs performance tuning session feb 13 2013---Presented by Oracle
 
Qualifying a high performance memory subsysten for Functional Safety
Qualifying a high performance memory subsysten for Functional SafetyQualifying a high performance memory subsysten for Functional Safety
Qualifying a high performance memory subsysten for Functional Safety
 
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
 
Introduction to DevOps
Introduction to DevOpsIntroduction to DevOps
Introduction to DevOps
 
Cognizant's Zero Deviation Life Cycle - an Overview
Cognizant's Zero Deviation Life Cycle - an OverviewCognizant's Zero Deviation Life Cycle - an Overview
Cognizant's Zero Deviation Life Cycle - an Overview
 
Dell EMC validates your virtualized Genetec video management system before it...
Dell EMC validates your virtualized Genetec video management system before it...Dell EMC validates your virtualized Genetec video management system before it...
Dell EMC validates your virtualized Genetec video management system before it...
 
Building block development in managed hosting - Angelo Rossi, Manager, Comple...
Building block development in managed hosting - Angelo Rossi, Manager, Comple...Building block development in managed hosting - Angelo Rossi, Manager, Comple...
Building block development in managed hosting - Angelo Rossi, Manager, Comple...
 
Take the guesswork out of video surveillance with pre-validated, virtualized ...
Take the guesswork out of video surveillance with pre-validated, virtualized ...Take the guesswork out of video surveillance with pre-validated, virtualized ...
Take the guesswork out of video surveillance with pre-validated, virtualized ...
 
NoSQL and ACID
NoSQL and ACIDNoSQL and ACID
NoSQL and ACID
 
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
 
DevOps Case Studies
DevOps Case StudiesDevOps Case Studies
DevOps Case Studies
 
Preparing for Neo - Singapore OutSystems User Group October 2022 Meetup
Preparing for Neo - Singapore OutSystems User Group October 2022 MeetupPreparing for Neo - Singapore OutSystems User Group October 2022 Meetup
Preparing for Neo - Singapore OutSystems User Group October 2022 Meetup
 
Simplified, Robust and Speedy Novell Identity Manager Implementation with Des...
Simplified, Robust and Speedy Novell Identity Manager Implementation with Des...Simplified, Robust and Speedy Novell Identity Manager Implementation with Des...
Simplified, Robust and Speedy Novell Identity Manager Implementation with Des...
 

Schneider Electric Scada Global Support Provides Troubleshooting and Technical Tips

  • 1. SCADA & MES Global Support presents troubleshooting and technical tips
  • 2. Introduction Presenters: L. Duguid – Senior Global Support Engineer ● Top Five Issues raised with Support (SCADA) T. Montmayeur – Senior Global Support Engineer ● Best Practices for Upgrading Vijeo Citect / CitectSCADA SCADA & MES Global Support Portal: www.citect.schneider-electric.com Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 2
  • 3. Top Five Issues Raised with Support Presented by L. Duguid 1. Driver Debugging 2. Web Client / Server Issues 3. Cicode Debugging 4. Clustering 5. Runtime Crashes Schneider Electric SCADA & MES Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 3
  • 4. Driver Debugging Symptoms: Intermittent Communications, #COM, # Graphics, Errors in log files Diagnosis: • Check Boards, Ports, I/O Device forms as per documentation Note: Each I/O Device should use its own port • Upgrade Driver (DriverWeb for documentation and driver releases) • Check Syslog.dat for errors check against the Knowledge Base 2012-09-27 09:39:21.874 +10:00 Error: Channel not yet initialized 2012-09-27 09:39:21.874 +10:00 CINIT 0017 PORT1_BOARD4 Melter_CLX Error_in_CMD-2 16 2012-09-27 09:39:21.874 +10:00 Generic 000023 Driver 536870937 (0x20000019) 2012-09-27 09:39:21.877 +10:00 Error: Channel not yet initialized • Check Syslog.dat for errors check against the Knowledge Base Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 4
  • 5. Driver Debugging •Enable Driver debugging – best to delete logs first Older drivers: [MELSEC, MODNET] DebugStr = * ALL New Drivers: [OPC, DNPr, ABCLX] DebugCategory=ALL DebugLevel=ALL LogFileSize=50000 Search syslog for ‘Error’ and again check Hex number in Knowledge Base • Test with a simple one tag, one I/O Device project • Send log files to support with SOE • Check variable tag addresses against documentation Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 5
  • 6. Web Client / Server Issues Symptoms: #COM, # Graphics, software protection failure on Webclient, changes not propagating Diagnosis: • Check configuration as per documentation Q6268 – V7.20 (Windows 7, Server 2008) – has lots of debugging tips Q4700 – prior to V7.2 (earlier OS) Note: There are specific settings for Server 2003 • Ensure Service Pack matches between WebServer and Citect Server • Delete the %tmp% directory • Check Internet Explorer settings as per Q6268 and Q4464 • Test with Example project – is the issue specific to your project or Citect in general? • Check the ports are open (Q4946) •Test Web Client on Server machine first Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 6
  • 7. Cicode Debugging Symptoms: Compile Errors, Function help, Cicode Debugging Diagnosis: • Read the help • Compiler will pick up deprecated functions or invalid function calls • Debug Cicode using break points, stack window, F11 • Ensure Cicode Editor is using correct process [Debug]CodeDebug = Client • Does running in Single process help? What process should the code be called from? Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 7
  • 8. Implementing Clustering Symptoms: #Com, # Graphics Diagnosis: Introducing a second cluster will require the use of cluster context in your projects. • Assign cluster context by either adding prefix to tags (cluster.tag), assign to page in page properties, or via PageDisplay Cicode function on page call. • Check Cluster Connections Setup in Computer Setup Wizard to ensure client can see all required clusters. • Accumulators should be assigned to Cluster and use Cluster prefix on tags. • Connecting via OPC and CtAPI to runtime tags will require prefix. • V7.30 to resolve tag where possible Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 8
  • 9. Debugging Crashes Symptoms: Runtime Manager reports process has stopped responding and exception report is generated. Diagnosis: • Exception’s stored in Logs directory, should be prompted to save. • Exception contains many files, Debug.log is most useful to support. Exception 0xc0000005 occurred at location 0x74149084 at time Thu Jul 26 21:33:08 2012 (741c0000) - (7425afff) v8.0.50727.4940 C:WindowsWinSxSx86_microsoft.........8cc06a442b34fcMSVCR80.dll • Debug.log can contain multiple crashes. • Crash locations can be random, harder to fault find. • Reproduction steps are very important. • Check for Events or Cicode being executed, change of shift, operators login, any patterns. Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 9
  • 10. Debugging Crashes • Debug Diagnostics should be used if no crash log is generated (Q5387). • Ensure latest Service Pack and Drivers are installed • Running in multi-process a great indication as to where the issues is. • I/O Server Crash Upgrade Drivers, Switch devices to memory mode, Disable devices that are not operational • Alarm Server Crash Check alarm formatting in Alarm Categories, Delete Alarm save files • Report Server Crash Debug Cicode used in Report Format file by copying to Cicode Editor, Verify Output device configuration and file • Trend Server Crash Run Trend File Clash Utility from website (Toolbox) to verify trend configuration ‘clashes’, Read trend files using Trend Reader (Toolbox), Delete trend files. • Support use Bugzilla to search for problems or raise issue with developers for more involved crash analysis (user.dmp analysis). Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 10
  • 11. Get your cases resolved faster… • Provide a simple test project that demonstrates the issue • Report the issue with a clear and concise definition of the issue • Unless you are sure, faster to let us decide where the problem is • Tell us what you know, and what you think you know • Provide concise information where possible (rather than “it doesn’t work”) • Divide and Conquer – what do you know, try to refine it through trial and error • Try and use standard terminology (Web Client, IO Server, IO Device, etc.) • What is the history of the issue (What changed? What have you tried?) • Keep issues separate with multiple CSR’s • What are you trying to achieve, let us know from the outset • Shift times are 7am-3pm, 3pm-11pm, 11pm-7am (EST), there is a staff change over between shifts. While we endeavour to provide continuous coverage for open cases if you prefer to speak to your specific case Engineer be sure to call within the corresponding shift times Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 11
  • 12. Best Practices for Upgrading Presented by T. Montmayeur 1. Standard process for standalone systems 2. Upgrade on a redundant production system 3. Useful Tips 4. Upgrade tools 5. Potential issues and how to troubleshoot them Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 12
  • 13. Best Practices for Upgrading ● Why upgrade? ● New features and enhancements ● Performance and product capabilities ● Operating System compliance Old trend style template against Process Analyst view.. Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 13
  • 14. Best Practices for Upgrading Standard Process In this presentation, the initial version is 7.0 spk4 and it Paramount is meant to be upgraded to version 7.30. 1.Backup V7.0 project > Backup Project 2.Uninstall SCADA V7.0 > License Upgrade 3.Install SCADA V7.30 4.Restore your V7.0 project into SCADA V7.30 > Test environment > Rollout Process *This is the minimal upgrade process Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 14
  • 15. I want to upgrade to get the latest features. But I don’t want any downtime and want to keep all my historical data. Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 15
  • 16. Best Practices for Upgrading Redundant system on Production Example Configuration Primary Standby • Primary Server • Standby Server • 4 Control Clients Client Client Client Client Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 16
  • 17. Best Practices for Upgrading Redundant system on Production 1. Upgrade the keys 2. Set up a development environment and proceed to testing • Test your project in memory mode • If possible test on actual device 3. Production environment: • On both servers: [LAN]AllowLegacyConnections = 1 • Shutdown CitectSCADA on the standby server. • Upgrade CitectSCADA on this server according to the standard upgrade procedure. • Restart you standby server • Perform testing • Shutdown the primary • make sure the standby takes over and perform testing again • Once standby is running fine Upgrade Citect on the primary server according to the standard upgrade procedure. • Restart the primary server and check your hardware alarms to make sure you don’t have any connection failure. • Upgrade your clients one by one. Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 17
  • 18. Best Practices for Upgrading Useful Tips 1. History Data • Back up trend files • Backup alarm files ALMSAV.DAT and ALMINDEXSAVE.DAT If upgrading hardware as well: Trends: • Create the same file hierarchy on the new system • Place the file in the same folders Alarms: • Run the computer setup wizard and edit Alarm paths 2. Additional files to backup, when upgrading hardware • Data folder • Report files (User defined folder) • [Ctedit]<Pathname> check in citect.ini Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 18
  • 19. Best Practices for Upgrading Upgrade Tools 1. Environment manager Development Environment Multiple versions Multiple projects backup and restore 2. Help • What’s new in CitectSCADA • Upgrading to CitectSCADA 3. Knowledgebase http://www.citect-kb.schneider-electric.com/ScadaKB/KnowledgebaseCategory32.aspx Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 19
  • 20. Best Practices for Upgrading Potential issues and how to troubleshoot - 1 Obsolete functions Help: Getting Started > What's New in v7.x > What's New in CitectSCADA 7.20 > Cicode Functions Operating Systems (OS) compatibility • SCADA http://www.citect.schneider-electric.com/documents/frk/SCADA/SCADA-Compatibility-Matrix.pdf • Drivers Not all of 150+ drivers have been fully tested on latest OS. If not compatible, own testing required. Once tested OS check can be disabled: [<DriverName>]OverrideOSProtection Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 20
  • 21. Best Practices for Upgrading Potential issues and how to troubleshoot - 2 Slow system after upgrade Hardware & Software. Refer to installation guide Ex: 7.20 Installation Guide, System Requirements Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 21
  • 22. Best Practices for Upgrading Potential issues and how to troubleshoot - 3 Downtime Redundant system is necessary to achieve a “No Downtime” Upgrade. Upgrading keys • Make sure authcode is correct • Make sure the key is showing correct version • Upgrade CiuSafe • Upgrade Sentinel Driver Further issues? http://www.citect-kb.schneider-electric.com/ScadaKB/KnowledgebaseCategory23.aspx Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 22
  • 23. Best Practices for Upgrading Useful Links Knowledge base – Upgrade related articles http://www.citect-kb.schneider-electric.com/ScadaKB/KnowledgebaseCategory32.aspx Installation Guide - Installation Files (DVD / Zip file) Help Getting Started > What's New in CitectSCADAV7.x Getting Started > Upgrading to CitectSCADA V7.20 Website - Upgrading SCADA guidelines http://www.citect.schneider-electric.com/index.php?option=com_content&view=article&id=1553&Itemid=1540 - Authcode Generator http://www.citect.schneider-electric.com/index.php?option=com_content&view=article&id=1592&Itemid=942 Driver web http://www.citect.schneider-electric.com/forum/forumdisplay.php?f=2 Schneider Electric - Industry - O&O Software Activity - SCADA Troubleshooting Tips Copyright © 2012 23

Notas del editor

  1. #
  2. This is the typical procedure applying for standalone system.