Server Performance Review
Objective: confirm the host and OpenLiteSpeed service are healthy before cloning the new semester site.
-
Check CPU & load
top -o %CPU uptime
-
Memory & swap
free -h swapon --show
-
Disk usage
df -h
-
Check OpenLiteSpeed status
systemctl status lsws
-
View OpenLiteSpeed error logs
tail -n 200 /var/logs/openlitespeed/error.log
-
Check PHP (lsphp) FPM
Page: Backup Verification (Template Preparation)
Objective: confirm the Moodle template is up to date and usable for cloning into the new semester site.
Process:Instead of just testing a backup restore, your verification is making sure the template directories and DB are refreshed from the latest production backup.
Steps:
Get latest production backupFiles from/moodleweb/moodle/{platformname}_{current_sem}Data from/moodledata/{platformname}_{current_sem}or/data/{platformname}_{current_sem}Database fromproduction_{platformname}_{current_sem}on 192.168.23.167
Copy to EL-CRON template path (192.168.23.128)App files:
Data files:
(Adjust path if data is in/datainstead of/moodledata)
Refresh the template databaseDrop old template DB (optional, if re-creating)
Create new template DB and restore:
Verify template integrityCheck/elearning_data/template/{platformname}_template45has the expected Moodle web filesCheck/elearning_data/template/production_{platformname}_template45hasfiledir,sessions,cacheetc.Confirm DB exists:
Mark template readyOnce verified, this template is the source for new semester cloning in/moodleweb/moodle/{platformname}_{semester}and/moodledata/{platformname}_{semester}or/data/{platformname}_{semester}.