Refeng Wu CQ5 WCM System Administrator

Slides:



Advertisements
Similar presentations
Burt King We will cover: Essentials --No command line needed here (mott) What is SQL Server How does it come to life What are the.
Advertisements

© 2009 GroundWork Open Source, Inc. PROPRIETARY INFORMATION: Information contained herein is not for use or disclosure outside of GroundWork Open Source,
Database Optimization & Maintenance Tim Richard ECM Training Conference#dbwestECM Agenda SQL Configuration OnBase DB Planning Backups Integrity.
12 Copyright © 2005, Oracle. All rights reserved. Proactive Maintenance.
Chapter 9 Auditing Database Activities
Chapter 9 Chapter 9: Managing Groups, Folders, Files, and Object Security.
Hands-On Microsoft Windows Server 2003 Administration Chapter 10 Monitoring and Troubleshooting Windows Server 2003.
GGF Toronto Spitfire A Relational DB Service for the Grid Peter Z. Kunszt European DataGrid Data Management CERN Database Group.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
CS27510 Commercial Database Applications. Maintenance Maintenance Disaster Recovery Disaster Recovery.
1. Preventing Disasters Chapter 11 covers the processes to take to prevent a disaster. The most prudent actions include Implement redundant hardware Implement.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
Simplify your Job – Automatic Storage Management Angelo Session id:
NovaBACKUP 10 xSP Technical Training By: Nathan Fouarge
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
Administration etc.. What is this ? This section is devoted to those bits that I could not find another home for… Again these may be useless, but humour.
Microsoft ® Official Course Module 12 Monitoring, Managing, and Recovering AD DS.
CN1276 Server Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Stephan Hurni Consultant Trivadis AG, SQL Server notes from the field.
Module 13: Configuring Availability of Network Resources and Content.
Module 5: Managing Public Folders. Overview Managing Public Folder Data Managing Network Access to Public Folders Publishing an Outlook 2003 Form Discussion:
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.
Purpose Intended Audience and Presenter Contents Proposed Presentation Length Intended audience is all distributor partners and VARs Content may be customized.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
70-294: MCSE Guide to Microsoft Windows Server 2003 Active Directory, Enhanced Chapter 4: Active Directory Architecture.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Week 7 Objectives Installing a DHCP Server Role Configuring DHCP Scopes Managing a DHCP Database Securing and Monitoring DHCP.
Guide to MCSE , Enhanced 1 Activity 12-1: Backing Up Files and Folders Using the Backup Utility Objective: To explore the use of Windows Server 2003.
Module 16: Performing Ongoing Database Maintenance
© 2013 Cisco System Inc. All rights reserved Cisco Confidential 1 © 2013 Cisco System Inc. All rights reserved. 1 System Backup And Restore Utility.
11 DISASTER RECOVERY Chapter 13. Chapter 13: DISASTER RECOVERY2 OVERVIEW  Back up server data using the Backup utility and the Ntbackup command  Restore.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Overview Managing a DHCP Database Monitoring DHCP
1 Week #10Business Continuity Backing Up Data Configuring Shadow Copies Providing Server and Service Availability.
A Brief Documentation.  Provides basic information about connection, server, and client.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 5: Managing and Monitoring DHCP.
Chapter 10 Chapter 10: Managing the Distributed File System, Disk Quotas, and Software Installation.
7 Copyright © 2005, Oracle. All rights reserved. Managing Undo Data.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
High Availability in DB2 Nishant Sinha
12 Copyright © 2009, Oracle. All rights reserved. Managing Backups, Development Changes, and Security.
18 Copyright © 2004, Oracle. All rights reserved. Backup and Recovery Concepts.
Course Topics Administering SQL Server 2012 Jump Start 01 | Install and Configure SQL Server04 | Manage Data 02 | Maintain Instances and Databases05 |
Hyperion Artifact Life Cycle Management Agenda  Overview  Demo  Tips & Tricks  Takeaways  Queries.
Module 6: Administering Reporting Services. Overview Server Administration Performance and Reliability Monitoring Database Administration Security Administration.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
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.
You Inherited a Database Now What? What you should immediately check and start monitoring for. Tim Radney, Senior DBA for a top 40 US Bank President of.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED ADMINISTRATION.
1 Copyright © 2005, Oracle. All rights reserved. Oracle Database Administration: Overview.
SQL Database Management
Planning a Migration.
Cameron Blashka | Informer Implementation Specialist
Smarter Technology for Better Business
You Inherited a Database Now What?
Data, Space and Transaction Processing
Designing Database Solutions for SQL Server
ODP node monitoring and maintenance
AlwaysOn Availability Groups
You Inherited a Database Now What?
Performing Database Recovery
February 11-13, 2019 Raleigh, NC.
AEM Operations Dec 2017.
Presentation transcript:

Refeng Wu CQ5 WCM System Administrator Repository Optimization and TAR PM index rebuild in clustered Weblogic servers Refeng Wu CQ5 WCM System Administrator

CQ5 - Repository Database -> Repository Huge size; maintenance issue Keeping the clean repository is one of the main task for CQ5 system administration Challenges: Third party application server Websphere 7, JBoss 5.1, Oracle Weblogic 10.3.5, Tomcat 6 Clustered environments LDAP integration

Challenges Installation and configuration adjustments Performance Tuning Very time-consuming Maintenance process - Repository is very big Slave repository out-of-syn with Master repository Server maintenance / catastrophic failure, and could not be restarted smoothly LDAP issue: Author instance cannot login, system frozen Publish instance directed to geometrixx login page Log Errors: seldom with right solutions author 8G, publish 6G

Database Maintenance Monitoring databases: Monitoring the state of the database ensures -- Availability of the Database; Better Performance. Backup and recovery: To prevent the potential loss of data, set up a backup and recovery plan -- scheduling regular backups; special backup after large data is imported/modified. Performance Tuning Reorganizing and generating database statistics: The DB optimizer requires statistical metadata info about tables & the best way to access data. Re-creating all indexes: to improve query performance when many existing indexes require reorganization. Managing database connections: define max connection pools for each of services to optimize the balance between resources and requests. Purging performance profiling data: to restore free disk space and speed up database utilities. Dropping temporary tables: drop all data from temporary tables/indexes that hold data due to failed job process. Old object versions: check for old object versions and delete from database tables to restore storage space, enhance performance, and speed up database utilities.

Repository maintenance (Database + file system maintenance) Proactive solution Check up the log file daily Final solution Repository/instance backup daily Daily Maintenance for Performance Improvement Indexing and Optimization Enable hierarchy check Validate change-set hierarchy Setup LDAP log Schedule consistency check Test clustered PROD repository in QA Rebuild Index Running Garbage Collection -Dorg.apache.jackrabbit.core.state.validatehierarchy=true

Repository Optimization Tar Files: append-only file, disk usage increases copies data being used from old tar files into new tar files; deletes the old tar files that contain only old or redundant data Node parent-child inconsistency Search index inconsistency Optimization process: Merging index files IndexSet: Merging index files for /app/CQ5/Author/crx-quickstart/repository/version IndexSet: Merging index files for /app/CQ5/Author/crx-quickstart/repository/tarJournal IndexSet: Merging index files for /app/CQ5/Author/crx- quickstart/repository/workspaces/crx.default Rename TarFile: Renaming /app/CQ5/Author/crx-quickstart/repository/version/optimize.tar to /app/CQ5/Author/crx-quickstart/repository/version/optimizeNow.tar Optimize TarFile: /app/CQ5/Author/crx-quickstart/repository/version/data_00331.tar id:331 length:144674816 append:144673792 Merging index files: Merging index files for /app/CQ5/Author/crx-quickstart/repository/version ……

Indexing Lucent Index: node content full-text search, resource-consuming, time-consuming /repository/repository/index Lucene Search Index for jcr:system (includes jcr:versionStorage) /repository/workspace/crx.default/index Lucene Search Index for crx.default workspace TAR PM Index: node index /repository/workspace/crx.default/index*.tar Tar PM Index for crx.default workspace  /repository/version/index*.tar Tar PM Index for version workspace /repository/tarJournal/index*.tar Tar PM Index for the cluster journal for Journal PM in 5.4 http://dev.day.com/docs/en/crx/current/administering/persistence_managers.html

Consistency Check Consistency Check: repository.xml, workspace.xml Add parameters to all <SearchIndex...> elements Add parameters to all <PersistenceManager...> elements Not solving all corrupted nodes couple nodes, or too many nodes to be fixed Index Rebuild Removing index.tar files from three folders in repository Do it together with Consistency Check during repository startup 8G takes less than 30 minutes.

Rebuild Clustered PROD Repository Moving Clustered repository to in QA or Dev environment Modify context configure in each server / domain Weblogic server bootstrap.properties Modify cluster configure change slave cluster.property ip address Test the whole process in QA or Dev with PROD Repository Be prepared for possible results: master fails, slave fails – copy from master, recovery from zip file Get a solution for each result Maintenance window and anticipated hours for use Moving PROD master/slave backup files to QA: restore the whole application rather than just repository. 0.Indentify PROD master/slave servers, so that QA could start/stop in the same order; 1.copy PROD master/slave backup files to QA; 2.unzip file in QA master and slave respectively: jar -xvf 3.change/copy deployment plan; modify weblogic server bootstrap.properties file for cluster environment. (actually no need to change, as both settings are same) 4.Rename master clusered.txt.20130301; change slave cluster.property ip address. slave 006q 172.25.108.15; master 007q 172.25.108.16; remove lock file 5.restart master/slave servers in QA.

LDAP setup Enable LDAP log info Author instance - ldap group filter: <logger><appender name="ldap" class="org.apache.log4j.FileAppender"> </logger> /crx-quickstart/server/etc/Ldap_login.config Author instance - ldap group filter: (&(objectclass=group)(cn=wcm*)) Publish instance: remove group synchronization vs Close User Group *WARN * ItemSaveOperation: /home/groups/COM/ABB/PROD/CN=Adobe Pro Users,OU=Corporate,OU=Groups,DC=PROD,DC=ABB,DC =COM/rep:lastsynced: failed to restore transient state (ItemSaveOperation.java, line 897)

Q&A