Enterprise Advanced Configuration
Winfried de Vries
TT
THE FAST TRACK TO ONLINE
Enterprise Advanced Configuration
Performance Hardware set-up Issues Security Trouble-shooting woensdag 13 mei 2009
TT
THE FAST TRACK TO ONLINE
Enterprise System Components
Database FileStore Application Server Clients: InDesign, InCopy, Content Station etc.
TT
THE FAST TRACK TO ONLINE
Enterprise System Components
Database
FileStore
Application
Server
Clients: InDesign,
InCopy, Content
Station etc.
Memory++
woensdag 13 mei 2009TT
THE FAST TRACK TO ONLINE
Enterprise System Components
Database
Application
Server
Memory++
Disk IO++
TT
THE FAST TRACK TO ONLINE
Enterprise System Components
Database
FileStore
Application
Server
Clients: InDesign,
InCopy, Content
Station etc.
Memory++
Disk IO++
woensdag 13 mei 2009TT
THE FAST TRACK TO ONLINE
Enterprise System Components
Database FileStore Application Server Clients: InDesign, InCopy, Content Station etc.
TT
THE FAST TRACK TO ONLINE
Performance Issues
How is your system performing
TT
THE FAST TRACK TO ONLINE
Performance Issues
TT
THE FAST TRACK TO ONLINE
Performance Issues
How is your system performing
or
TT
THE FAST TRACK TO ONLINE
Performance Issues
How is your system performing
TT
THE FAST TRACK TO ONLINE
Why can there be performace issues?
TT
THE FAST TRACK TO ONLINE
Why can there be performace issues?
Woodwing has got no control over the setup of the components
TT
THE FAST TRACK TO ONLINE
Why can there be performace issues?
Woodwing has got no control over the setup of the components
Because the hardware, OS and database choices are a partner/customer decision.
TT
THE FAST TRACK TO ONLINE
Why can there be performace issues?
Woodwing has got no control over the setup of the components
Because the hardware, OS and database choices are a partner/customer decision. Customizations and interfaces that are not optimized.
TT
THE FAST TRACK TO ONLINE
Measuring performace, how?
TT
THE FAST TRACK TO ONLINE
Measuring performace, how?
specify the ʻscopeʼ of the measurement:
TT
THE FAST TRACK TO ONLINE
Measuring performace, how?
specify the ʻscopeʼ of the measurement:
limit the scope to what can be measured accurately.
create a reproducible scenario and prerequisites.
Make a copy of the used files for future comparisons.
TT
THE FAST TRACK TO ONLINE
Measuring performace, how?
specify the ʻscopeʼ of the measurement:
limit the scope to what can be measured accurately.
create a reproducible scenario and prerequisites.
Make a copy of the used files for future comparisons.
Test on a ʻcleanʼ system:
TT
THE FAST TRACK TO ONLINE
keep in mind that writing down logfiles has got influence on performance.
look ʻtop-downʼ, first total time, then start narrowing down. User functions Enterprise commands, Database actions, Data transfer, Client Performance
Measuring performace
woensdag 13 mei 2009TT
THE FAST TRACK TO ONLINE
Performance logging
Switch on debugging on server
Configserver.php
For performance logging, use INFO For functional debugging, use DEBUG
// ---// Debugging - Low-level logging of SQL, SOAP details etc.
// ---define ('DEBUGLEVEL', 'INFO'); // NONE, ERROR, WARN, INFO, DEBUG
define ('OUTPUTDIRECTORY', '/log/'); // including '/', e.g. "c:/enterpriselog/output/" define ('PROFILELEVEL', 1); // [0,5] 0: no profiling, 5: most detailed
TT
THE FAST TRACK TO ONLINE
Performance logging
Set profilelevel to 5 to get maximum server info
peformanceProfiler.dat sce_profile_mysq.htm
TT
THE FAST TRACK TO ONLINE
Database performance pitfall
Table scans, caused by:
Queries on columns that have no index Mostly in interfaces and customizations
Use database monitoring tools:
TT
THE FAST TRACK TO ONLINE
Security
TT
THE FAST TRACK TO ONLINE
TT
THE FAST TRACK TO ONLINE
Why security?
Information abuse
TT
THE FAST TRACK TO ONLINE
Why security?
Information abuse
TT
THE FAST TRACK TO ONLINE
Why security?
Information abuse
Production disturbance User mistakes
TT
THE FAST TRACK TO ONLINE
Why security?
Information abuse
Production disturbance User mistakes
TT
THE FAST TRACK TO ONLINE
Secure Enterprise installation
TT
THE FAST TRACK TO ONLINE
Secure Enterprise installation
TT
THE FAST TRACK TO ONLINE
Secure Enterprise installation
Change password of default WoodWing user SSL (HTTPS)
TT
THE FAST TRACK TO ONLINE
Secure Enterprise installation
Change password of default WoodWing user SSL (HTTPS)
TT
THE FAST TRACK TO ONLINE
Secure Enterprise installation
Change password of default WoodWing user SSL (HTTPS)
Separate database user for woodwing File access (config.php, directories, ...)
TT
THE FAST TRACK TO ONLINE
TT
THE FAST TRACK TO ONLINE
Secure Enterprise set-up
Full / Limited Administrators
TT
THE FAST TRACK TO ONLINE
Secure Enterprise set-up
Full / Limited Administrators Workflow
TT
THE FAST TRACK TO ONLINE
Secure Enterprise set-up
Full / Limited Administrators Workflow
Password rules
TT
THE FAST TRACK TO ONLINE
Secure Enterprise set-up
Full / Limited Administrators Workflow
Password rules
TT
THE FAST TRACK TO ONLINE
Secure Enterprise set-up
Full / Limited Administrators Workflow
Password rules
config/configserver.php Customize with a plug-in
TT
THE FAST TRACK TO ONLINE
Enterprise backup
Standard version control
Settings in config/configserver.php Workflow Status property
Trash Can
TT
THE FAST TRACK TO ONLINE
Troubleshooting
TT
THE FAST TRACK TO ONLINE
TT
THE FAST TRACK TO ONLINE
Troubleshooting in Enterprise
Why:
To get detailed information about a problem in the system.
TT
THE FAST TRACK TO ONLINE
Troubleshooting in Enterprise
Why:
To get detailed information about a problem in the system.
With as goal:
To solve the problem yourself !
TT
THE FAST TRACK TO ONLINE
Approach
TT
THE FAST TRACK TO ONLINE
Approach
TT
THE FAST TRACK TO ONLINE
Approach
Make sure the issue is reproducible:
Write down/collect prerequisites (if any). • upload attached image ʻproblem1.jpgʻ to Enterprise
TT
THE FAST TRACK TO ONLINE
Approach
Make sure the issue is reproducible:
Write down/collect prerequisites (if any). • upload attached image ʻproblem1.jpgʻ to Enterprise Write a scenario.
TT
THE FAST TRACK TO ONLINE
Approach
Make sure the issue is reproducible:
Write down/collect prerequisites (if any). • upload attached image ʻproblem1.jpgʻ to Enterprise Write a scenario.
1. from InDesign, logon as user ʻxxxʼ on server ʻmyserverʼ
TT
THE FAST TRACK TO ONLINE
Approach
Make sure the issue is reproducible:
Write down/collect prerequisites (if any). • upload attached image ʻproblem1.jpgʻ to Enterprise Write a scenario.
1. from InDesign, logon as user ʻxxxʼ on server ʻmyserverʼ 2. create a layout and save-version with name ʻlayout1ʼ
TT
THE FAST TRACK TO ONLINE
Approach
Make sure the issue is reproducible:
Write down/collect prerequisites (if any). • upload attached image ʻproblem1.jpgʻ to Enterprise Write a scenario.
1. from InDesign, logon as user ʻxxxʼ on server ʻmyserverʼ 2. create a layout and save-version with name ʻlayout1ʼ 3. place uploaded image with name ʻproblem1.jpgʼ
on layout ʻlayout1ʼ
TT
THE FAST TRACK TO ONLINE
Approach
Make sure the issue is reproducible:
Write down/collect prerequisites (if any). • upload attached image ʻproblem1.jpgʻ to Enterprise Write a scenario.
1. from InDesign, logon as user ʻxxxʼ on server ʻmyserverʼ 2. create a layout and save-version with name ʻlayout1ʼ 3. place uploaded image with name ʻproblem1.jpgʼ
on layout ʻlayout1ʼ
TT
THE FAST TRACK TO ONLINE
Test on a clean system
To create a clean system:
Remove or switch of all non-standard server plugins. test without any other users, or :
−create a separate Application Server with debug on, using the same database and filestore
−create a complete copy of the system as test system.
Application Server Application Server Production Debug woensdag 13 mei 2009
TT
THE FAST TRACK TO ONLINE
Is the scenario still valid?
Replay the scenario on the clean system.
Is the issue still there?
No? -> Switch on customizations one-by-one until problem appears again.
TT
THE FAST TRACK TO ONLINE
Switch on logging
Server side:
configserver.php
Client side
wwsettings.xml
<SCEnt:LogFile RequestBuffer ="Macintosh HD:ClientLog:" ResponseBuffer="Macintosh HD:ClientLog:" SOAPResponse ="Macintosh HD:ClientLog:" SOAPRequest ="Macintosh HD:ClientLog:" Advanced ="true"/>
Text // ---// Debugging - Low-level logging of SQL, SOAP details etc.
// ---define ('DEBUGLEVEL', 'DEBUG'); // NONE, ERROR, WARN, INFO, DEBUG
define ('OUTPUTDIRECTORY', '/log/'); // including '/', e.g. "c:/enterpriselog/output/" define ('PROFILELEVEL', 1); // [0,5] 0: no profiling, 5: most detailed
define ('LOGSQL', false); // log the SQL, requires DEBUGLEVEL DEBUG or INFO
TT
THE FAST TRACK TO ONLINE
TT
THE FAST TRACK TO ONLINE
[email protected]
Send all info to woodwing support:
System information.
TT
THE FAST TRACK TO ONLINE
[email protected]
Send all info to woodwing support:
System information.
−OS, PHP version, database type Prerequisites & Scenario
TT
THE FAST TRACK TO ONLINE
[email protected]
Send all info to woodwing support:
System information.
−OS, PHP version, database type Prerequisites & Scenario
TT
THE FAST TRACK TO ONLINE
[email protected]
Send all info to woodwing support:
System information.
−OS, PHP version, database type Prerequisites & Scenario
Logfiles
Severity of the issue (reseller guide)
TT
THE FAST TRACK TO ONLINE
[email protected]
Send all info to woodwing support:
System information.
−OS, PHP version, database type Prerequisites & Scenario
Logfiles
TT
THE FAST TRACK TO ONLINE
Questions?
TT
THE FAST TRACK TO ONLINE