Managing operation of a large scale deployment is a challenging task, especially when corporate IT environments may be managed by several third-parties, each playing a very specific role in ensuring that your Notebook deployment is reliable. Enterprise management systems are often used to make this task easier. In this session we will examine ways to use your enterprise management system to manage key services and performance indicators in your Notebook deployment.
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
(ATS3-APP09) Integrating Symyx Notebook into an Enterprise Management System
1. (ATS3-APP09) Integrating Symyx Notebook
into an Enterprise Management System
Mike Wilson
Advisory Product Manager
mike.wilson@accelrys.com
2. The information on the roadmap and future software development efforts are
intended to outline general product direction and should not be relied on in making
a purchasing decision.
4. Management System Basics
• Range of options to monitor services
– Standalone
• Windows Event Logs
• PerfMon
• Task Scheduler
– Enterprise Management Systems
• HP OpenView, Tivoli, BMC
• SNMP, Dedicated Modules
5. Notebook High-Level Architecture
Oracle Content
Data Warehouse
Direct Cartridge
Management
Accelrys Vault Server Pluggable Automation
Services Studio
Services Lab
Administration Registration
Automation
Authorization
Workflow Workflow Repository Index Query
Designer Material
Registration OpenEye
Configuration Windows Communication Foundation Material
Management Discovery
Authentication Lookup
Gate W-S
Symyx Notebook by Accelrys
Framework Platform
Notebook Platform
Accelrys Draw
Experiment Notebook Materials &
Reporting Search Renditor
Editor Browser Chemistry
6. Vault Services
• Vault Web Services (Microsoft IIS)
– Vault Private Service
• Communicates with message processing and workflow service
– Vault Public Service
• Handles client communication
• Symyx Vault Message Processing Service (Microsoft Windows Service)
– Microsoft Windows Service
– Vault message processing service
• Monitors vault message processor application
– Vault message processor
• Manages asynchronous processing of vault objects via MSMQ
• Symyx Vault Server (Apache Tomcat)
– RAS (web service)
• indexes object properties, contents, structures and reaction STS (web application)
– Security Token Service
– Query Service (web service)
• Superseded by Accelrys Query Service in Pipeline Pilot 9.0
• Symyx Workflow (Microsoft Windows Service)
– Workflow enrollment/processing
7. Process Monitoring – Web Containers
• W3wp.exe*32 and w3wp.exe
– Automation point
• Restart World Wide Web Publishing service
– Requires restart of Symyx Vault Message Processing Service and Symyx Workflow Service
– Review
• Windows and associated service log files to determine why the service was stopped
– Alert level high
• Tomcat6.exe*32
– Automation point
• Restart Symyx Vault Server 1.0
– Requires restart of Symyx Vault Message Processing Service and Symyx Workflow Service
– Review
• Windows and associated service log files to determine why the service was stopped
– Alert level high
8. Process Monitoring – Windows Services
• Ensure the following core processes are running
– symyx.vault.message.processing.service.exe*32
– symyx.vault.messageprocessor.exe*32
– symyx.workflow.service.exe*32
• Automation point
– Restart associated service if process is not running
– Note: symyx.vault.messageprocessor.exe*32 is set to restart every 24
hours by default and if it detects a win32 error.
– Alert level high
9. Monitoring Thresholds
• Vault Monitoring Guidelines
– Recommended thresholds
and alert states
– Includes example jobs that
can be installed on your Vault
servers
– Standalone monitoring
– Network management
integration
Contact Accelrys Support to
obtain a copy
10. Integration Example: Process Memory Use
• Process memory is an important indicator of the health of a
server process
• We will examine how Microsoft Powershell can be used to
retrieve working set memory for the Vault Message
Processing Service
• And how it can be plugged in to HP OpenView or other
enterprise management systems
11. Monitoring Process Memory and Sending Alerts
param (
[string] $processName = $null,
[int] $limit
)
$agent = "127.0.0.1";
$manager = "127.0.0.1";
$port = 161; # default
$trapPort = 162; #default
$hrSWRunName = "1.3.6.1.2.1.25.4.2.1.2";
Via WMI
$hrSWRunPerfMem = "1.3.6.1.2.1.25.5.1.1.2";
or
SNMP
Via
Write-Host "Checking memory usage for $processName";
$process = Get-Process -Name $processName;
HP OpenView
if($process.Memory -gt $limit) {
or SNMP
Write-Host $process.Memory "kB is more than limit" $limit "kB, sending alert";
Send-Alert -Process $process;
} else {
Write-Host $process.Memory "kB is less than or equal to limit" $limit "kB, no action";
}
15. Sending an alert via HP OpenView
function Send-Alert {
param (
[PSObject] $process
)
$ovinstalldir = $env:OvInstallDir;
if($ovinstalldir -eq $null) {
throw [Exception] "HPOM agent not installed";
}
$opcmsg = Join-Path $ovinstalldir "binwin64opcmsg.exe";
$null = &($opcmsg) application="Accelrys Vault" object="$process.Name" severity="major"
msg_text="$process.Memory kB is more than limit $limit kB";
}
16. Monitoring Process Memory and Sending Alerts
param (
[string] $processName = $null,
Retrieve process memory
[int] $limit • SNMP, WMI
) Send notification
$agent = "127.0.0.1"; • SNMP, OpenView, SMTP, etc.
$manager = "127.0.0.1";
$port = 161; # default
Automate status checks
$trapPort = 162; #default • Enterprise Mgmt System
$hrSWRunName = "1.3.6.1.2.1.25.4.2.1.2"; • Windows Task Scheduler
$hrSWRunPerfMem = "1.3.6.1.2.1.25.5.1.1.2";
Write-Host "Checking memory usage for $processName";
$process = Get-Process -Name $processName;
if($process.Memory -gt $limit) {
Write-Host $process.Memory "kB is more than limit" $limit "kB, sending alert";
Send-Alert -Process $process;
} else {
Write-Host $process.Memory "kB is less than or equal to limit" $limit "kB, no action";
}
17. For More Information
• Contact Accelrys Support to obtain a copy of the “Vault
Monitoring Guidelines”
– Including sample management jobs that can be installed on
your Vault servers
18. Summary
• We saw an overview of Vault service monitoring points and built a
PowerShell-based monitoring solution that can integrate into an
enterprise management system
• Other Notebook sessions that may interest you
– (ATS3-APP13) Tips and Tricks for Monitoring and Managing Symyx Notebook
Server Performance
– (ATS3-APP14) Troubleshooting Symyx Notebook client performance
• Resources
– Notebook IT/Admin forum on the Accelrys Community
• Email support@accelrys.com to join
– Troubleshooting guidance: support@accelrys.com
19. The information on the roadmap and future software development efforts are
intended to outline general product direction and should not be relied on in making
a purchasing decision.
For more information on the Accelrys Tech Summits and other IT & Developer
information, please visit:
https://community.accelrys.com/groups/it-dev