Server Performance Review
Objective: confirm the host and OpenLiteSpeed service are healthy before cloning the new semester site.
-
Check CPU & load
-
Memory & swap
-
Disk usage
-
Check OpenLiteSpeed status
-
View OpenLiteSpeed error logs
-
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 backup
-
Files from
/moodleweb/moodle/{platformname}_{current_sem}
-
Data from
/moodledata/{platformname}_{current_sem}
or/data/{platformname}_{current_sem}
-
Database from
production_{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
/data
instead of/moodledata
)
-
Refresh the template database
-
Drop old template DB (optional, if re-creating)
-
-
Create new template DB and restore:
-
Verify template integrity
-
Check
/elearning_data/template/{platformname}_template45
has the expected Moodle web files -
Check
/elearning_data/template/production_{platformname}_template45
hasfiledir
,sessions
,cache
etc. -
Confirm DB exists:
-
-
Mark template ready
-
Once verified, this template is the source for new semester cloning in
/moodleweb/moodle/{platformname}_{semester}
and/moodledata/{platformname}_{semester}
or/data/{platformname}_{semester}
.
-