SlideShare uma empresa Scribd logo
1 de 21
Baixar para ler offline
Moodle is dead…
The Problem
• On the 30th of July 2013 the VLE, DBA and Network teams of Information
services were invited to a meeting which was to test our Business
continuity with our VLE environment (Moodle). The teams were given the
following scenario.
• All University systems have been shut down due to a full power failure which has
affected both Craiglockhart and Merchiston with no other current services at our
Sighthill campus; this also means that there is no external internet access from inside
the University.
• Moodle as being the most critical system at this time of the year is essential and has
to be back on-line as quickly as possible to allow students access to their current
course work.
Team brief
• The team are allowed access to any of the offsite backup systems
(VMs, Data and Databases).
• No University hardware can be used for the process.
• Staff were allowed to use their on-call laptops.
• Staff have access to budget to gain resources if needed.
Incident Procedure
Incident Manager
Coordinates
troubleshooting/Information
gathering
IT Incident Duty Manager
(Technical Services)
Takes ownership of Incident
through to resolution
Technical Expert(s)
Update call notes with
progress
Call Management system records the various stages of the Incident.
Who was involved?
Head Of
Applications
DBA?
VLE/WEB
Data Centre
&
Operations
Edinburgh Napier’s
Moodle Infrastructure
Some stats…
What Solution? (Approx. 2hrs)
• The following decisions were made during the initial Emergency
Incident meeting.
1. We would use Amazon Web Services and create a virtual machine in the
cloud.
 AWS provided scalable solutions, import/export options for database
2. We would look to get database and files backup from tape
3. Switch user accounts to manual
4. We discussed how to communicate out to students.
Tasks involved
 Obtain a database backup (Approx. 4hrs)
a. Installed Zmanda Community Edition to recover MySQL
b. No access to DBA and use of the Zmanda recovery software was
problematic(backup had to match the version of MySQL), meant a Hot
backup was obtained.
c. Truncated logs and statistics to speed up the import
d. Import Database into AWS MySQL database
 Obtain Moodle user files from backup (Approx. 5hrs)
a. Backup came from Symantec NetBackup as we found file storage was not
going to tape at the time.
 Register for Amazon Web Services (AWS) account
a. Purchased AWS Business support.
 Setup AWS (Approx. 30mins)
a. Create EC2 instance RHEL 6.4 64bit with 7.5GB RAM, 1TB disk space.
b. Create a Key Pair - AWS uses public-key cryptography to secure the
login information for your instance.
c. Communicated the AWS account credentials to key team members
to allow other aspects of the service to be configured.
 Transfer Moodle user files to Amazon (Approx. 7hrs)
a. Initial size of backup was 475GB, this was reduced to 190GB after
removal of duplicate directories and redundant course backup files.
b. Initially tried using WinSCP for transfer, this was going to take 14hrs,
switched to RSYNC transfer complete in 6hrs.
Tasks involved
Tasks involved
 Obtain a database backup (Approx. 4hrs)
a. Installed Zmanda Community Edition to recover MySQL
b. No access to DBA and use of the Zmanda recovery software was problematic(backup had to match the version of mysql), meant a
Hot backup was obtained.
c. Truncated logs and statistics to speed up the import
d. Import Database into AWS MySQL database
 Obtain Moodle user files from backup (Approx. 5hrs)
a. Backup came from Symantec NetBackup as we found file storage was not going to tape at the time.
 Register for Amazon Web Services (AWS) account
a. Purchased AWS Business support.
 Setup AWS (Approx. 30mins)
a. Launch Amazon console in correct region.
b. Create EC2 instance RHEL 6.4 64bit with 7.5GB RAM, 1TB disk space.
c. Communicated the AWS account credentials to key team members to allow other aspects of the service to be configured.
 Transfer Moodle user files to Amazon (Approx. 7hrs)
a. Initial size of backup was 475GB, this was reduced to 190GB after removal of duplicate directories and redundant course backup
files.
b. Initially tried using WinSCP for transfer, this was going to take 14hrs, switched to RSYNC transfer complete in 6hrs.
Tasks involved
 Setup AWS (Approx. 30mins)
a. Create EC2 instance RHEL 6.4 64bit with 7.5GB RAM, 1TB disk space.
b. Create a Key Pair - AWS uses public-key cryptography to secure the login
information for your instance.
c. Communicated the AWS account credentials to key team members to
allow other aspects of the service to be configured.
 Transfer Moodle user files to Amazon (Approx. 7hrs)
a. Initial size of backup was 475GB, this was reduced to 190GB after removal
of duplicate directories and redundant course backup files.
b. Initially tried using WinSCP for transfer, this was going to take 14hrs,
switched to RSYNC transfer complete in 6hrs.
Tasks involved
 Obtain a database backup (Approx. 4hrs)
a. Installed Zmanda Community Edition to recover MySQL
b. No access to DBA and use of the Zmanda recovery software was problematic(backup had to match the version of MySQL), meant a
Hot backup was obtained.
c. Truncated logs and statistics to speed up the import
d. Import Database into AWS MySQL database
 Obtain Moodle user files from backup (Approx. 5hrs)
a. Backup came from Symantec NetBackup as we found file storage was not going to tape at the time.
 Register for Amazon Web Services (AWS) account
a. Purchased AWS Business support.
 Setup AWS (Approx. 30mins)
a. Create EC2 instance RHEL 6.4 64bit with 7.5GB RAM, 1TB disk space.
b. Create a Key Pair - AWS uses public-key cryptography to secure the login information for your instance.
c. Communicated the AWS account credentials to key team members to allow other aspects of the service to be configured.
 Transfer Moodle user files to Amazon (Approx. 7hrs)
a. Initial size of backup was 475GB, this was reduced to 190GB after removal of duplicate directories and redundant course backup
files.
b. Initially tried using WinSCP for transfer, this was going to take 14hrs, switched to RSYNC transfer complete in 6hrs.
Tasks involved
 Setup AWS (Approx. 30mins)
a. Create EC2 instance RHEL 6.4 64bit with 7.5GB RAM, 1TB disk space.
b. Create a Key Pair - AWS uses public-key cryptography to secure the login
information for your instance.
c. Communicated the AWS account credentials to key team members to
allow other aspects of the service to be configured.
 Transfer Moodle user files to Amazon (Approx. 7hrs)
a. Initial size of backup was 475GB, this was reduced to 190GB after removal
of duplicate directories and redundant course backup files.
b. Initially tried using WinSCP for transfer, this was going to take 14hrs,
switched to RSYNC transfer complete in 6hrs.
Tasks involved continued...
 Installation & Configuration of Services (Approx. 2hrs)
a. Apache, PHP & MySQL Installed, services started.
b. Installation of GIT
c. Cloned our Moodle code from Git Hub where all our commits are backed
up automatically.
d. Backed up ignored files separately, for example config.php
e. Ensure Apache user has correct permissions on directory.
f. Alter Moodle config.php with new database credentials.
Tasks involved continued...
 Moodle Administration (Approx. 1hr)
a. Recreated Moodle admin account
b. Switch Moodle user accounts to ‘Manual’ and regenerate passwords
c. Successfully access Moodle user accounts and data on AWS, various
admin/teacher/student accounts accessed and tested.
Moodle in the Cloud!
Lessons Learned
• Backups were only stored on high availability disks across two campuses
• Recommend
• Backup to tape every 2 weeks.
• Passwords for a number of the services were only with the DBAs
• Recommend
• Storing of passwords in the same way across the teams.
• Access to all passwords for the teams.
• Further Backups
• Recommend
• Additional Emergency MySQL dump
• Filter out redundant files from backup to reduce time
• Migrate only necessary tables
• Search and replace text inside sql file before import (mainly for hardcoded urls)
• Replicate data up to Cloud
Lessons Learned continued…
• SMS students about the downtime of the system
• Recommend
• Storing of student SMS/phone details off campus or on on-call laptops
• Moodle
• Recommend
• Create basic scripts for the processes against the database on user accounts
• Active directory is one of the main services to allow our system to work
• Recommend
• Store an active directory server in the cloud or at another universities network
Going forward
• Have a cloud Active Directory solution available.
• Have a parked AWS instance available when required.
• Use Vagrant/PuPHPet GUI to have consistent setup and manage virtual machines
Useful links
• Amazon Web Services - http://aws.amazon.com/
• Windows Azure (Cloud AD) - http://www.windowsazure.com/en-us/
• Vagrant/PuPHPet - https://puphpet.com/

Mais conteúdo relacionado

Mais procurados

Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
Tom Laszewski
 

Mais procurados (20)

Multi-tenant, Multi-cluster and Multi-container Apache HBase Deployments
Multi-tenant, Multi-cluster and Multi-container Apache HBase DeploymentsMulti-tenant, Multi-cluster and Multi-container Apache HBase Deployments
Multi-tenant, Multi-cluster and Multi-container Apache HBase Deployments
 
[AWS Days Microsoft-LA 2015]: Best Practices for Backup and Recovery: Windows...
[AWS Days Microsoft-LA 2015]: Best Practices for Backup and Recovery: Windows...[AWS Days Microsoft-LA 2015]: Best Practices for Backup and Recovery: Windows...
[AWS Days Microsoft-LA 2015]: Best Practices for Backup and Recovery: Windows...
 
Scaling AEM (CQ5) Gem Session
Scaling AEM (CQ5) Gem SessionScaling AEM (CQ5) Gem Session
Scaling AEM (CQ5) Gem Session
 
HPC and cloud distributed computing, as a journey
HPC and cloud distributed computing, as a journeyHPC and cloud distributed computing, as a journey
HPC and cloud distributed computing, as a journey
 
Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
 
分散DB Apache Kuduのアーキテクチャ DBの性能と一貫性を両立させる仕組み 「HybridTime」とは
分散DB Apache KuduのアーキテクチャDBの性能と一貫性を両立させる仕組み「HybridTime」とは分散DB Apache KuduのアーキテクチャDBの性能と一貫性を両立させる仕組み「HybridTime」とは
分散DB Apache Kuduのアーキテクチャ DBの性能と一貫性を両立させる仕組み 「HybridTime」とは
 
Apache Accumulo Overview
Apache Accumulo OverviewApache Accumulo Overview
Apache Accumulo Overview
 
How to backup, restore and archive your data on AWS
How to backup, restore and archive your data on AWSHow to backup, restore and archive your data on AWS
How to backup, restore and archive your data on AWS
 
Cluster management and automation with cloudera manager
Cluster management and automation with cloudera managerCluster management and automation with cloudera manager
Cluster management and automation with cloudera manager
 
Disaster Recovery Synapse
Disaster Recovery SynapseDisaster Recovery Synapse
Disaster Recovery Synapse
 
Cloudera のサポートエンジニアリング #supennight
Cloudera のサポートエンジニアリング #supennightCloudera のサポートエンジニアリング #supennight
Cloudera のサポートエンジニアリング #supennight
 
A Tour of Internal Accumulo Testing
A Tour of Internal Accumulo TestingA Tour of Internal Accumulo Testing
A Tour of Internal Accumulo Testing
 
Postgres Plus Cloud Database on OpenStack
Postgres Plus Cloud Database on OpenStackPostgres Plus Cloud Database on OpenStack
Postgres Plus Cloud Database on OpenStack
 
Intro to High Performance Computing in the AWS Cloud
Intro to High Performance Computing in the AWS CloudIntro to High Performance Computing in the AWS Cloud
Intro to High Performance Computing in the AWS Cloud
 
Scientific Computing in the Cloud: Speeding Access for Drug Discovery
Scientific Computing in the Cloud: Speeding Access for Drug DiscoveryScientific Computing in the Cloud: Speeding Access for Drug Discovery
Scientific Computing in the Cloud: Speeding Access for Drug Discovery
 
Train, predict, serve: How to go into production your machine learning model
Train, predict, serve: How to go into production your machine learning modelTrain, predict, serve: How to go into production your machine learning model
Train, predict, serve: How to go into production your machine learning model
 
Windows Azure Storage – Architecture View
Windows Azure Storage – Architecture ViewWindows Azure Storage – Architecture View
Windows Azure Storage – Architecture View
 
MySQL Enterprise Backup: Better Very Large Database Backup & Recovery and More!!
MySQL Enterprise Backup: Better Very Large Database Backup & Recovery and More!!MySQL Enterprise Backup: Better Very Large Database Backup & Recovery and More!!
MySQL Enterprise Backup: Better Very Large Database Backup & Recovery and More!!
 
Wordpress optimization
Wordpress optimizationWordpress optimization
Wordpress optimization
 
Chef for OpenStack: OpenStack Spring Summit 2013
Chef for OpenStack: OpenStack Spring Summit 2013Chef for OpenStack: OpenStack Spring Summit 2013
Chef for OpenStack: OpenStack Spring Summit 2013
 

Destaque

Plumber colorado springs co open rooter
Plumber colorado springs co   open rooterPlumber colorado springs co   open rooter
Plumber colorado springs co open rooter
plumber80903
 
Plan pour la paix: Pour un renouveau des relations internationales
Plan pour la paix: Pour un renouveau des relations internationalesPlan pour la paix: Pour un renouveau des relations internationales
Plan pour la paix: Pour un renouveau des relations internationales
Florian Brunner
 
Global impact of_wwii
Global impact of_wwiiGlobal impact of_wwii
Global impact of_wwii
Matt Scully
 

Destaque (16)

Goyescas
GoyescasGoyescas
Goyescas
 
Lazette Harnish: America's Most-Visited Tourist Places
Lazette Harnish: America's Most-Visited Tourist PlacesLazette Harnish: America's Most-Visited Tourist Places
Lazette Harnish: America's Most-Visited Tourist Places
 
Sintesis informativa 22 de marzo 2017
Sintesis informativa 22 de marzo 2017Sintesis informativa 22 de marzo 2017
Sintesis informativa 22 de marzo 2017
 
Ringmakers of-saturn---norman-r.-bergrun
Ringmakers of-saturn---norman-r.-bergrunRingmakers of-saturn---norman-r.-bergrun
Ringmakers of-saturn---norman-r.-bergrun
 
Plumber colorado springs co open rooter
Plumber colorado springs co   open rooterPlumber colorado springs co   open rooter
Plumber colorado springs co open rooter
 
How to Develop a Social Media Presence in 30 Days or Less
How to Develop a Social Media Presence in 30 Days or LessHow to Develop a Social Media Presence in 30 Days or Less
How to Develop a Social Media Presence in 30 Days or Less
 
Oportunidades y desafíos del Acuerdo Comercial del Perú con la India
Oportunidades y desafíos del Acuerdo Comercial del Perú con la IndiaOportunidades y desafíos del Acuerdo Comercial del Perú con la India
Oportunidades y desafíos del Acuerdo Comercial del Perú con la India
 
Plan pour la paix: Pour un renouveau des relations internationales
Plan pour la paix: Pour un renouveau des relations internationalesPlan pour la paix: Pour un renouveau des relations internationales
Plan pour la paix: Pour un renouveau des relations internationales
 
MagenTys Service Overview
MagenTys Service OverviewMagenTys Service Overview
MagenTys Service Overview
 
Religion and Enviroment
Religion and EnviromentReligion and Enviroment
Religion and Enviroment
 
Global impact of_wwii
Global impact of_wwiiGlobal impact of_wwii
Global impact of_wwii
 
MIGRASI INTELEKTUAL (Interview dr Taruna Ikrar KOMPAS, Rabu 2 Juli 2014
MIGRASI INTELEKTUAL (Interview dr Taruna Ikrar KOMPAS, Rabu 2 Juli 2014MIGRASI INTELEKTUAL (Interview dr Taruna Ikrar KOMPAS, Rabu 2 Juli 2014
MIGRASI INTELEKTUAL (Interview dr Taruna Ikrar KOMPAS, Rabu 2 Juli 2014
 
wp-cli
wp-cliwp-cli
wp-cli
 
Openness in Education, Systems Thinking & Educational Practice Ed Media June ...
Openness in Education, Systems Thinking & Educational Practice Ed Media June ...Openness in Education, Systems Thinking & Educational Practice Ed Media June ...
Openness in Education, Systems Thinking & Educational Practice Ed Media June ...
 
Rural Supermarkets by Abhishek Bhatia
Rural Supermarkets by Abhishek BhatiaRural Supermarkets by Abhishek Bhatia
Rural Supermarkets by Abhishek Bhatia
 
Csodálatunk tárgyai
Csodálatunk tárgyaiCsodálatunk tárgyai
Csodálatunk tárgyai
 

Semelhante a Moodle is dead... Iain Bruce, James Blair, Michael O'Loughlin

Geek Sync | Deployment and Management of Complex Azure Environments
Geek Sync | Deployment and Management of Complex Azure EnvironmentsGeek Sync | Deployment and Management of Complex Azure Environments
Geek Sync | Deployment and Management of Complex Azure Environments
IDERA Software
 
Cloud computing 3702
Cloud computing 3702Cloud computing 3702
Cloud computing 3702
Jess Coburn
 

Semelhante a Moodle is dead... Iain Bruce, James Blair, Michael O'Loughlin (20)

Data Replication Options in AWS (ARC302) | AWS re:Invent 2013
Data Replication Options in AWS (ARC302) | AWS re:Invent 2013Data Replication Options in AWS (ARC302) | AWS re:Invent 2013
Data Replication Options in AWS (ARC302) | AWS re:Invent 2013
 
Learn how Maxwell Health Protects its MongoDB Workloads on AWS
 Learn how Maxwell Health Protects its MongoDB Workloads on AWS Learn how Maxwell Health Protects its MongoDB Workloads on AWS
Learn how Maxwell Health Protects its MongoDB Workloads on AWS
 
Moving from SBS to Azure
Moving from SBS to AzureMoving from SBS to Azure
Moving from SBS to Azure
 
Taking SharePoint to the Cloud
Taking SharePoint to the CloudTaking SharePoint to the Cloud
Taking SharePoint to the Cloud
 
Migrating Customers to Microsoft Azure: Lessons Learned From the Field
Migrating Customers to Microsoft Azure: Lessons Learned From the FieldMigrating Customers to Microsoft Azure: Lessons Learned From the Field
Migrating Customers to Microsoft Azure: Lessons Learned From the Field
 
How to run your Hadoop Cluster in 10 minutes
How to run your Hadoop Cluster in 10 minutesHow to run your Hadoop Cluster in 10 minutes
How to run your Hadoop Cluster in 10 minutes
 
Why Wordnik went non-relational
Why Wordnik went non-relationalWhy Wordnik went non-relational
Why Wordnik went non-relational
 
Nuts and bolts of running a popular site in the aws cloud
Nuts and bolts of running a popular site in the aws cloudNuts and bolts of running a popular site in the aws cloud
Nuts and bolts of running a popular site in the aws cloud
 
AWS Sydney Summit 2013 - Technical Lessons on How to do DR in the Cloud
AWS Sydney Summit 2013 - Technical Lessons on How to do DR in the CloudAWS Sydney Summit 2013 - Technical Lessons on How to do DR in the Cloud
AWS Sydney Summit 2013 - Technical Lessons on How to do DR in the Cloud
 
Optimizing training on Apache MXNet (January 2018)
Optimizing training on Apache MXNet (January 2018)Optimizing training on Apache MXNet (January 2018)
Optimizing training on Apache MXNet (January 2018)
 
Optimizing training on Apache MXNet
Optimizing training on Apache MXNetOptimizing training on Apache MXNet
Optimizing training on Apache MXNet
 
Geek Sync | Deployment and Management of Complex Azure Environments
Geek Sync | Deployment and Management of Complex Azure EnvironmentsGeek Sync | Deployment and Management of Complex Azure Environments
Geek Sync | Deployment and Management of Complex Azure Environments
 
Cloud computing 3702
Cloud computing 3702Cloud computing 3702
Cloud computing 3702
 
Scaling PHP apps
Scaling PHP appsScaling PHP apps
Scaling PHP apps
 
2017 AWS DB Day | Amazon Athena 서비스 최신 기능 소개
2017 AWS DB Day | Amazon Athena 서비스 최신 기능 소개 2017 AWS DB Day | Amazon Athena 서비스 최신 기능 소개
2017 AWS DB Day | Amazon Athena 서비스 최신 기능 소개
 
Using AWS for Backup and Restore (backup in the cloud, backup to the cloud, a...
Using AWS for Backup and Restore (backup in the cloud, backup to the cloud, a...Using AWS for Backup and Restore (backup in the cloud, backup to the cloud, a...
Using AWS for Backup and Restore (backup in the cloud, backup to the cloud, a...
 
Postgresql in Education
Postgresql in EducationPostgresql in Education
Postgresql in Education
 
1z0-997-21.pdf
1z0-997-21.pdf1z0-997-21.pdf
1z0-997-21.pdf
 
Aws, an intro to startups
Aws, an intro to startupsAws, an intro to startups
Aws, an intro to startups
 
Storage solution in the cloud
Storage solution in the cloudStorage solution in the cloud
Storage solution in the cloud
 

Mais de Ireland & UK Moodlemoot 2012

Mais de Ireland & UK Moodlemoot 2012 (20)

Transforming a learning curriculum Gideon Williams
Transforming a learning curriculum 	Gideon WilliamsTransforming a learning curriculum 	Gideon Williams
Transforming a learning curriculum Gideon Williams
 
Demistifying Databases: Making the most of the Database Activity Dan Jeffries
Demistifying Databases: Making the most of the Database Activity 	Dan JeffriesDemistifying Databases: Making the most of the Database Activity 	Dan Jeffries
Demistifying Databases: Making the most of the Database Activity Dan Jeffries
 
Customising Moodle with Course Formats Alex Walker
Customising Moodle with Course Formats 	Alex WalkerCustomising Moodle with Course Formats 	Alex Walker
Customising Moodle with Course Formats Alex Walker
 
Designing Active Learning in Moodle – a preview of the Learning Designer tool...
Designing Active Learning in Moodle – a preview of the Learning Designer tool...Designing Active Learning in Moodle – a preview of the Learning Designer tool...
Designing Active Learning in Moodle – a preview of the Learning Designer tool...
 
Enhancing the My home page to display news forum postings and more John Tut...
Enhancing the My home page to display news forum postings and more  	John Tut...Enhancing the My home page to display news forum postings and more  	John Tut...
Enhancing the My home page to display news forum postings and more John Tut...
 
Broadening the scope of a Maths module for student Technology teachers Sue Mi...
Broadening the scope of a Maths module for student Technology teachers	Sue Mi...Broadening the scope of a Maths module for student Technology teachers	Sue Mi...
Broadening the scope of a Maths module for student Technology teachers Sue Mi...
 
A proposal for integrating Serious Games made with Unity3D into Moodle course...
A proposal for integrating Serious Games made with Unity3D into Moodle course...A proposal for integrating Serious Games made with Unity3D into Moodle course...
A proposal for integrating Serious Games made with Unity3D into Moodle course...
 
Using Moodle to familiarise prospective students with HE level learning Carol...
Using Moodle to familiarise prospective students with HE level learning	Carol...Using Moodle to familiarise prospective students with HE level learning	Carol...
Using Moodle to familiarise prospective students with HE level learning Carol...
 
The Moodle Gradebook as a tool inducing regular revisions in students' learni...
The Moodle Gradebook as a tool inducing regular revisions in students' learni...The Moodle Gradebook as a tool inducing regular revisions in students' learni...
The Moodle Gradebook as a tool inducing regular revisions in students' learni...
 
Using the Moodle Quiz for Formative and Summative Assessment: Safe Exam Brows...
Using the Moodle Quiz for Formative and Summative Assessment: Safe Exam Brows...Using the Moodle Quiz for Formative and Summative Assessment: Safe Exam Brows...
Using the Moodle Quiz for Formative and Summative Assessment: Safe Exam Brows...
 
Delivering online exams using Moodle Tim Hunt, Mahmoud Kassaei
Delivering online exams using Moodle	Tim Hunt, Mahmoud KassaeiDelivering online exams using Moodle	Tim Hunt, Mahmoud Kassaei
Delivering online exams using Moodle Tim Hunt, Mahmoud Kassaei
 
Improving Edit quiz page Mahmoud Kassaei
Improving Edit quiz page 	Mahmoud KassaeiImproving Edit quiz page 	Mahmoud Kassaei
Improving Edit quiz page Mahmoud Kassaei
 
Surveys made easy with Moodle Mark Glynn, Gavin Henrick
Surveys made easy with Moodle	Mark Glynn, Gavin HenrickSurveys made easy with Moodle	Mark Glynn, Gavin Henrick
Surveys made easy with Moodle Mark Glynn, Gavin Henrick
 
Assessment Models Using Moodle Activities Phil Danby, Emily Webb, Chris Meadows
Assessment Models Using Moodle Activities	Phil Danby, Emily Webb, Chris MeadowsAssessment Models Using Moodle Activities	Phil Danby, Emily Webb, Chris Meadows
Assessment Models Using Moodle Activities Phil Danby, Emily Webb, Chris Meadows
 
Many a Mickle Makes a Muckle: A multitude of Moodle mods to enhance the stude...
Many a Mickle Makes a Muckle: A multitude of Moodle mods to enhance the stude...Many a Mickle Makes a Muckle: A multitude of Moodle mods to enhance the stude...
Many a Mickle Makes a Muckle: A multitude of Moodle mods to enhance the stude...
 
Timeline, our Moodle-Integrated Social Network Alex Walker
Timeline, our Moodle-Integrated Social Network	Alex WalkerTimeline, our Moodle-Integrated Social Network	Alex Walker
Timeline, our Moodle-Integrated Social Network Alex Walker
 
Moving Moodle: “The journey is the reward” Laura Widger
Moving Moodle: “The journey is the reward” 	Laura WidgerMoving Moodle: “The journey is the reward” 	Laura Widger
Moving Moodle: “The journey is the reward” Laura Widger
 
The Open Science Laboratory - Cosmetic Surgery for Moodle Sam Marshall
The Open Science Laboratory - Cosmetic Surgery for Moodle 	Sam MarshallThe Open Science Laboratory - Cosmetic Surgery for Moodle 	Sam Marshall
The Open Science Laboratory - Cosmetic Surgery for Moodle Sam Marshall
 
Workbook: Extending Active Learning in the Book Andrew James
Workbook: Extending Active Learning in the Book  	Andrew JamesWorkbook: Extending Active Learning in the Book  	Andrew James
Workbook: Extending Active Learning in the Book Andrew James
 
Automatic functional testing easier than you thought Bartosz Cisek
Automatic functional testing easier than you thought 	Bartosz CisekAutomatic functional testing easier than you thought 	Bartosz Cisek
Automatic functional testing easier than you thought Bartosz Cisek
 

Último

If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
Kayode Fayemi
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
Kayode Fayemi
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
amilabibi1
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
raffaeleoman
 

Último (18)

Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatment
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Bailey
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
 
ICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdfICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdf
 
Digital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalDigital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of Drupal
 
Causes of poverty in France presentation.pptx
Causes of poverty in France presentation.pptxCauses of poverty in France presentation.pptx
Causes of poverty in France presentation.pptx
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
 
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verifiedSector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
 
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio III
 
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
 

Moodle is dead... Iain Bruce, James Blair, Michael O'Loughlin

  • 2. The Problem • On the 30th of July 2013 the VLE, DBA and Network teams of Information services were invited to a meeting which was to test our Business continuity with our VLE environment (Moodle). The teams were given the following scenario. • All University systems have been shut down due to a full power failure which has affected both Craiglockhart and Merchiston with no other current services at our Sighthill campus; this also means that there is no external internet access from inside the University. • Moodle as being the most critical system at this time of the year is essential and has to be back on-line as quickly as possible to allow students access to their current course work.
  • 3. Team brief • The team are allowed access to any of the offsite backup systems (VMs, Data and Databases). • No University hardware can be used for the process. • Staff were allowed to use their on-call laptops. • Staff have access to budget to gain resources if needed.
  • 4. Incident Procedure Incident Manager Coordinates troubleshooting/Information gathering IT Incident Duty Manager (Technical Services) Takes ownership of Incident through to resolution Technical Expert(s) Update call notes with progress Call Management system records the various stages of the Incident.
  • 5. Who was involved? Head Of Applications DBA? VLE/WEB Data Centre & Operations
  • 8. What Solution? (Approx. 2hrs) • The following decisions were made during the initial Emergency Incident meeting. 1. We would use Amazon Web Services and create a virtual machine in the cloud.  AWS provided scalable solutions, import/export options for database 2. We would look to get database and files backup from tape 3. Switch user accounts to manual 4. We discussed how to communicate out to students.
  • 9. Tasks involved  Obtain a database backup (Approx. 4hrs) a. Installed Zmanda Community Edition to recover MySQL b. No access to DBA and use of the Zmanda recovery software was problematic(backup had to match the version of MySQL), meant a Hot backup was obtained. c. Truncated logs and statistics to speed up the import d. Import Database into AWS MySQL database  Obtain Moodle user files from backup (Approx. 5hrs) a. Backup came from Symantec NetBackup as we found file storage was not going to tape at the time.
  • 10.  Register for Amazon Web Services (AWS) account a. Purchased AWS Business support.  Setup AWS (Approx. 30mins) a. Create EC2 instance RHEL 6.4 64bit with 7.5GB RAM, 1TB disk space. b. Create a Key Pair - AWS uses public-key cryptography to secure the login information for your instance. c. Communicated the AWS account credentials to key team members to allow other aspects of the service to be configured.  Transfer Moodle user files to Amazon (Approx. 7hrs) a. Initial size of backup was 475GB, this was reduced to 190GB after removal of duplicate directories and redundant course backup files. b. Initially tried using WinSCP for transfer, this was going to take 14hrs, switched to RSYNC transfer complete in 6hrs. Tasks involved
  • 11. Tasks involved  Obtain a database backup (Approx. 4hrs) a. Installed Zmanda Community Edition to recover MySQL b. No access to DBA and use of the Zmanda recovery software was problematic(backup had to match the version of mysql), meant a Hot backup was obtained. c. Truncated logs and statistics to speed up the import d. Import Database into AWS MySQL database  Obtain Moodle user files from backup (Approx. 5hrs) a. Backup came from Symantec NetBackup as we found file storage was not going to tape at the time.  Register for Amazon Web Services (AWS) account a. Purchased AWS Business support.  Setup AWS (Approx. 30mins) a. Launch Amazon console in correct region. b. Create EC2 instance RHEL 6.4 64bit with 7.5GB RAM, 1TB disk space. c. Communicated the AWS account credentials to key team members to allow other aspects of the service to be configured.  Transfer Moodle user files to Amazon (Approx. 7hrs) a. Initial size of backup was 475GB, this was reduced to 190GB after removal of duplicate directories and redundant course backup files. b. Initially tried using WinSCP for transfer, this was going to take 14hrs, switched to RSYNC transfer complete in 6hrs.
  • 12. Tasks involved  Setup AWS (Approx. 30mins) a. Create EC2 instance RHEL 6.4 64bit with 7.5GB RAM, 1TB disk space. b. Create a Key Pair - AWS uses public-key cryptography to secure the login information for your instance. c. Communicated the AWS account credentials to key team members to allow other aspects of the service to be configured.  Transfer Moodle user files to Amazon (Approx. 7hrs) a. Initial size of backup was 475GB, this was reduced to 190GB after removal of duplicate directories and redundant course backup files. b. Initially tried using WinSCP for transfer, this was going to take 14hrs, switched to RSYNC transfer complete in 6hrs.
  • 13. Tasks involved  Obtain a database backup (Approx. 4hrs) a. Installed Zmanda Community Edition to recover MySQL b. No access to DBA and use of the Zmanda recovery software was problematic(backup had to match the version of MySQL), meant a Hot backup was obtained. c. Truncated logs and statistics to speed up the import d. Import Database into AWS MySQL database  Obtain Moodle user files from backup (Approx. 5hrs) a. Backup came from Symantec NetBackup as we found file storage was not going to tape at the time.  Register for Amazon Web Services (AWS) account a. Purchased AWS Business support.  Setup AWS (Approx. 30mins) a. Create EC2 instance RHEL 6.4 64bit with 7.5GB RAM, 1TB disk space. b. Create a Key Pair - AWS uses public-key cryptography to secure the login information for your instance. c. Communicated the AWS account credentials to key team members to allow other aspects of the service to be configured.  Transfer Moodle user files to Amazon (Approx. 7hrs) a. Initial size of backup was 475GB, this was reduced to 190GB after removal of duplicate directories and redundant course backup files. b. Initially tried using WinSCP for transfer, this was going to take 14hrs, switched to RSYNC transfer complete in 6hrs.
  • 14. Tasks involved  Setup AWS (Approx. 30mins) a. Create EC2 instance RHEL 6.4 64bit with 7.5GB RAM, 1TB disk space. b. Create a Key Pair - AWS uses public-key cryptography to secure the login information for your instance. c. Communicated the AWS account credentials to key team members to allow other aspects of the service to be configured.  Transfer Moodle user files to Amazon (Approx. 7hrs) a. Initial size of backup was 475GB, this was reduced to 190GB after removal of duplicate directories and redundant course backup files. b. Initially tried using WinSCP for transfer, this was going to take 14hrs, switched to RSYNC transfer complete in 6hrs.
  • 15. Tasks involved continued...  Installation & Configuration of Services (Approx. 2hrs) a. Apache, PHP & MySQL Installed, services started. b. Installation of GIT c. Cloned our Moodle code from Git Hub where all our commits are backed up automatically. d. Backed up ignored files separately, for example config.php e. Ensure Apache user has correct permissions on directory. f. Alter Moodle config.php with new database credentials.
  • 16. Tasks involved continued...  Moodle Administration (Approx. 1hr) a. Recreated Moodle admin account b. Switch Moodle user accounts to ‘Manual’ and regenerate passwords c. Successfully access Moodle user accounts and data on AWS, various admin/teacher/student accounts accessed and tested.
  • 17. Moodle in the Cloud!
  • 18. Lessons Learned • Backups were only stored on high availability disks across two campuses • Recommend • Backup to tape every 2 weeks. • Passwords for a number of the services were only with the DBAs • Recommend • Storing of passwords in the same way across the teams. • Access to all passwords for the teams. • Further Backups • Recommend • Additional Emergency MySQL dump • Filter out redundant files from backup to reduce time • Migrate only necessary tables • Search and replace text inside sql file before import (mainly for hardcoded urls) • Replicate data up to Cloud
  • 19. Lessons Learned continued… • SMS students about the downtime of the system • Recommend • Storing of student SMS/phone details off campus or on on-call laptops • Moodle • Recommend • Create basic scripts for the processes against the database on user accounts • Active directory is one of the main services to allow our system to work • Recommend • Store an active directory server in the cloud or at another universities network
  • 20. Going forward • Have a cloud Active Directory solution available. • Have a parked AWS instance available when required. • Use Vagrant/PuPHPet GUI to have consistent setup and manage virtual machines
  • 21. Useful links • Amazon Web Services - http://aws.amazon.com/ • Windows Azure (Cloud AD) - http://www.windowsazure.com/en-us/ • Vagrant/PuPHPet - https://puphpet.com/