ODP node monitoring and maintenance Alexander Kolesnikov RIHMI-WDC, Russia
VM startup order VM startup sequence after starting the ESXi server. Component startup order: Monitoring Database Service Bus Integration Server Data Provider Portal
Regular works Checking system logs of virtualization environment and operating system for failures and unauthorized access Checking system logs of application servers for errors Changing passwords of administrative and specialized users, virtualization environment and operating systems.
Important rules Application server (JBoss, Tomcat) should only be run from a dedicated user rights In case of database restart it is necessary to restart application servers for Portal and Service Bus components Monitor the actuality of component backups.
Backup scheme
Backup directory / dump db Backup scheduler Component ID Frequency of backup Backup directory / dump db Many versions Start Scheduler (GMT) DB daily jbossportal, juddi 31 22:00 DP /opt/dp/jboss-4.2.3.GA/server/default/data/dpms /opt/dp/jboss-4.2.3.GA/server/default/conf/dpms/resources/*.xml 7 03:30 weekly /opt/dp/jboss-4.2.3.GA/server/default/deploy/dpms.sar /opt/dp/jboss-4.2.3.GA/server/default/conf/dpms 4 Monday 02:30 once /opt/dp/jboss-4.2.3.GA 2 ------
Backup scheduler IS Every 12 hourly /opt/is/jboss-4.2.3.GA/server/default/conf/iserv/resources 14 00:00 12:00 daily /opt/is/jboss-4.2.3.GA/server/default/conf/iserv/log /opt/is/jboss-4.2.3.GA/server/default/conf/iserv/cache /opt/is/jboss-4.2.3.GA/server/default/conf/iserv/elements 7 01:30 monthly /opt/is/jboss-4.2.3.GA/server/default/conf 2 First day of month 02:40 once /opt/dp/jboss-4.2.3.GA ------
Backup scheduler SOI daily /opt/soi/jboss-5.1.0.GA 31 00:20 PORTAL /opt/portal/jboss-portal-2.7.2 00:40 (tomcat) /opt/portal/apache-tomcat-6.0.29 ------
Backup. Configure client’s Action Command Install Xinetd yum install xinetd rsync Enable rsync in xinetd vi /etc/xinetd.d/rsync replace disable = yes to disable = no Download rsync.conf files in your component
Backup. Configure server Action Command Install Xinetd yum install xinetd rsync vi /etc/xinetd.d/rsync replace disable = yes to disable = no Enable rsync Download backup script Create a scheduler in the crontab crontab –e Add scheduler's task Save crontab file
Backup VM scheme
Backup VM note! VM image backup is performed once. Subsequent backups should be made after the global changes in the operating system or in case of software updates. In the case of a server failure, you can run the VM image on other ESXi host and continue your work
Monitoring scheme 13
Monitoring examples 14
Monitoring examples 15
Questions?