installing openedx on premises. universitat politecnica de valencia experiences
TRANSCRIPT
![Page 1: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/1.jpg)
Open edX OnsiteUniversitat Politècnica de València experiences
Ignacio Despujol Zabala
![Page 2: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/2.jpg)
2
![Page 3: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/3.jpg)
3
![Page 4: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/4.jpg)
UPV
Public academic institution since 1971
3 campuses
13 schools
45 research centers
35 bachelor degrees
58 master degrees
30 PhD Programs
36.000 students
2.800 teachers
2.600 staff
4
![Page 5: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/5.jpg)
MOOC Model
1 hour of video 3 hours of student work
3 hours per week of student workload
70% grade to pass
Non academic certificate
All course materials available betweeneditions
5
![Page 6: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/6.jpg)
poli[Media]
https://www.youtube.com/watch?v=-n7ODDK76WI6
![Page 7: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/7.jpg)
poli[Media]
VIDEO
SCREENCAST
NON VERBAL
COMMUNICATION+
7
![Page 8: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/8.jpg)
poli[Media] studio
8
![Page 9: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/9.jpg)
MOOCs by UPV (upvx.es)
9
![Page 10: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/10.jpg)
How did we start with Open edX?
We had our courses in Google Course Builder
They worked well, but we needed a better teacher interface and
more functionalities
We chose OpenEdx
We decided to start a pilot phase with some courses
10
![Page 11: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/11.jpg)
On premises infrastructure
VMWare ESXi 5.1
11
![Page 12: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/12.jpg)
App server
12
![Page 13: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/13.jpg)
Database server
13
![Page 14: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/14.jpg)
14
Pilot phase
3 courses using OpenEdx
1 of them is a standard X-Mooc course
2 courses using ORA 1.0 Module
Enrolled and finished:
Excel 2010: 3250;520
Gestión participativa: 570;31
Implantar grupos de mejora de procesos: 962;75
TOTAL 4782;626
Access through Course Builder main page
![Page 15: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/15.jpg)
15
Pilot phase
Installation over Ubuntu 12.04
2 servers in virtual machines on the same cluster
1 server for the apps and other for the 2
databases
We had to modify
configuration files
Email sending configuration
Platform templates
ORA and statistics file links (all S3 hosted files)
Backup everyday
Script for statistics in csv everyday in a network
drive
![Page 16: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/16.jpg)
Pilot phase
16
APPSERVER
(LMS+CMS)
MYSQL
MONGODB
USERS
![Page 17: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/17.jpg)
Pilot phase – Satisfaction survey compared
Platform speed
17
![Page 18: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/18.jpg)
Pilot phase – Satisfaction survey compared
Platform problems
18
![Page 19: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/19.jpg)
Pilot phase – Satisfaction survey compared
Platform usability
19
![Page 20: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/20.jpg)
Pilot phase – Satisfaction survey compared
Expectations fulfilled
Average : 8,27
20
![Page 21: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/21.jpg)
4th edition data
Feb 2014
14 c with Google CourseBuilder 1.0 45,639 students
3 c with Open-edX 4,790
students
21
![Page 22: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/22.jpg)
Concurrent sessions all courses
22
1.500
![Page 23: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/23.jpg)
Stress test
23
![Page 24: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/24.jpg)
Stress test
Designed using Apache Jmeter
Session recording: 1 login, 1 progress, Courseware
Two different ramp-up periods:
1200 seconds: 150, 300, 500 threads
300 seconds: 50, 100, 150, 200 threads
Matplotlib
http://www.metaltoad.com/blog/plotting-your-load-test-jmeter
24
![Page 25: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/25.jpg)
Stress test – Server load
App server Database server
Ramp 300 s, threads 200 (1 thread every 1.5 s) 607 s test session 14:23:41-
14:38:48
25
![Page 26: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/26.jpg)
Stress test – Server load (Memory)
App server Database server
Ramp 300 s, threads 200 (1 thread every 1.5 s) 607 s test session 14:23:41-
14:38:48
26
![Page 27: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/27.jpg)
Stress test – Server load
Ramp 1200 s, threads 500 (1 thread every 2.4 sg) 757 s test session14:42:58-
15:15:39
App server Database server27
![Page 28: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/28.jpg)
Stress test – Server load
Ramp 1200 sg, threads 500 (1 thread every 2,4 sg) 757 sg test
session14:42:58-15:15:39
App server Database server28
![Page 29: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/29.jpg)
Stress test – Results – 1200 sg
29
![Page 30: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/30.jpg)
Stress test – Results – 300 sg
30
![Page 31: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/31.jpg)
Production configuration
31
MONGO DB REPLICA SET
MYSQL
master
MYSQL
slave
Reads
Backup
![Page 32: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/32.jpg)
32
Production configuration
Until Aspen we had problems to get exactly the same version in allservers
DNS Round Robin load balancing
Server Django cache for server session vars: 'django.core.cache.backends.db.DatabaseCache‘
Mongo Replicaset
Theming for upvx style, spoc courses, dashboard course order, cookies management
server-vars.yml configuration
Upvx-fork for user profile editing, user profile erase, mongo replicasetconnection
Server upgrade between editions
![Page 33: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/33.jpg)
OpenEdx
33
![Page 34: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/34.jpg)
Modifications
34
![Page 35: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/35.jpg)
Modifications
35
![Page 36: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/36.jpg)
Modifications
36
![Page 37: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/37.jpg)
Extensions -XNF
37
![Page 38: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/38.jpg)
Extensions-XNF to XML
38
![Page 39: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/39.jpg)
Edxtest.upv.es
39
![Page 40: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/40.jpg)
Extensions -Transchapter
40
#python trans_chapter.py srvOrigen courseOrigen ChapterName srvDestination
courseDestination
![Page 41: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/41.jpg)
1 server for apps+1 server for databases works well for
5000 enrolled students
Max 1,500 sessions per hour with 50,000 users
1 server can handle well 50 sessions in 5 minutes
Servers work well in Vmware virtual machines
App servers don’t use more than 5 GB of RAM
Apache Jmeter is a goog tool for load tests
Some conclusions
41
![Page 42: Installing OpenedX on premises. Universitat Politecnica de Valencia experiences](https://reader031.vdocuments.us/reader031/viewer/2022032022/55a665861a28abda1b8b4709/html5/thumbnails/42.jpg)
App server is more critical than Database server
MySQL server is most stressed with statistics
Careful sinchronization of servers is required
ORA configuration and use needs careful attention
Using an intermediate format for content creation
increases process flexibility
42
Some conclusions