Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
CLOUD VOLUMES
ONTAP®
Table of Content
Introduction ........................................................................................................................................................................................................ 3
About Moodle.......................................................................................................................................................................................................4
Basic Requirements..................................................................................................................................................................................6
Getting Moodle.......................................................................................................................................................................................... 7
Using Cloud Volumes ONTAP for Moodle Web Services and Database............................................................................. 8
Create a LUN.............................................................................................................................................................................9
BACK NEXT
© 2019 NetApp, Inc. All Rights Reserved
Introduction This guide explains step-by-step how to deploy Moodle with Cloud Volumes ONTAP®, NetApp’s
enterprise-grade data storage management platform, using either iSCSI or NFS in Linux. Cloud Volumes
ONTAP provides a layer of data management features that can transform your learning platform while
reducing your cloud storage costs.
BACK NEXT
© 2019 NetApp, Inc. All Rights Reserved
3
About
Moodle is a leading open source learning management system
(LMS) platform that provides teachers, administrators and students
with a customized learning environment that is secure, robust, and
Moodle integrated.
BACK NEXT
© 2019 NetApp, Inc. All Rights Reserved
4
Why Cloud
To run Moodle in the cloud, users can take advantage of NetApp’s Cloud Volumes ONTAP. The Cloud Volumes ONTAP data management platform
is a software-defined storage solution that leverages AWS and Azure cloud compute and storage resources to create a highly-efficient, secure,
and scalable virtual storage appliance for serving NFS, SMB / CIFS file shares as well as iSCSI block storage, and for hosting databases. Its key
ONTAP for
Moodle High availability
A dual-instance architecture in AWS or Azure to ensure
that interruptions do not cause data loss (RPO=zero) or
Reduced storage footprint
Built-in storage efficiencies (deduplication, compression)
as well as thin provisioning and automated storage tiering
extended Moodle downtime (RTO<60 seconds). can save up to 70% of data storage costs.
Backups
Cloud Volumes ONTAP’s replication functionality
automatically and cost-effectively keeps secondary and
tertiary Moodle data backup sites up-to-date.
In summary, with Cloud Volumes ONTAP Moodle users gain all the benefits of deploying Moodle with the public cloud together with industry-
leading levels of high availability as well as the scalability and data protection that databases and shared file storage require. The next section
provides step-by-step instructions for deploying Moodle using Cloud Volumes ONTAP.
BACK NEXT
© 2019 NetApp, Inc. All Rights Reserved
5
Deploying
• A working web server, such as Apache.
Moodle • See the Moodle release notes for additional software requirements.
with Cloud • There are various PHP extensions required by Moodle. You will be notified early in the Moodle installation
process if a PHP extension is missing. After installing the extensions, restart the Moodle install script.
Volumes • If you want Moodle to send emails you will also need a working SMTP server.
ONTAP
Basic Requirements
BACK NEXT
© 2019 NetApp, Inc. All Rights Reserved
6
There are two options for getting Moodle:
• The code itself can be taken from the Git repository, as described below. This is the
recommended option for developers and it also simplifies upgrading.
Fetch a complete copy of the Moodle repository and switch to the 3.6 Stable branch:
See Git for Administrators for details on using Git to install Moodle code.
Moodle should be downloaded only from sources that can be found on moodle.
NOTE org. Although you may be able to find other Moodle download resources, they
aren’t guaranteed to properly work and are not upgradable or supported.
BACK NEXT
© 2019 NetApp, Inc. All Rights Reserved
7
1 INSTALL LINUX UNIFIED HOST UTILITIES 2 RECORD THE iSCSI NODE NAME
Using Cloud Volumes • Download the supported Linux Unified Host Utilities version • In order configure the storage system, you must first record
ONTAP for Moodle Web from the NetApp Support Site at NetApp Downloads: the iSCSI initiator node name on the Linux host. The following
Software. steps should be carried out on the host side:
Services and Database
• Follow the instructions in the installation documentation to • In a text editor open /etc/iscsi/initiatorname.iscsi to view the
install the Linux Unified Host Utilities software. iSCSI initiator node name, which will look something this:
• For a virtual host, ensure that the storage profile is set to:
BACK NEXT
© 2019 NetApp, Inc. All Rights Reserved
8
3 CREATE A LUN
Deploying Moodle
• In a web browser enter the URL https://IP-address-of- • Once you are on the page for the LUN Container, select any
Using iSCSI in Linux
cluster-management-LIF and login to System Manager FlexVol volume that is already there, while making sure that
using your cluster administrator credential. the volume has enough space on it. If the available space
is insufficient on any of the existing volumes, create a new
• Navigate to the LUNs window. volume.
• Click Create. • On the Initiators Mapping page click Add Initiator Group:
• Select the SVM wherein you’ll create the new LUN. The • Enter the required information on the General tab.
Create LUN Wizard will now appear.
• In the Initiators tab enter the iSCSI initiator node name
• When you reach the General Properties page, select the that you recorded in Step 2.
LUN type you will use as follows:
• Make sure all of the details are correct, and then click
• Windows 2008 or later. Select this option if your Finish. The wizard will close.
Windows host will be using the LUNs directly.
BACK NEXT
© 2019 NetApp, Inc. All Rights Reserved
9
1 CHOOSE A VOLUME TYPE
Deploying Moodle
• In the Volumes tab in OCCM, click Create New Volume.
Using NFS in Linux
• On the Create New Volume page, select a volume type
from the following options:
Option Description
BACK NEXT
© 2019 NetApp, Inc. All Rights Reserved
10
2 CREATE VOLUME OPTION
Deploying Moodle
If you choose Create Volume, you must specify details for your The following image shows a typical Create Volume page:
Using NFS in Linux
first volume per the fields described in the table below.
Field Description
BACK NEXT
© 2019 NetApp, Inc. All Rights Reserved
11
3 CREATE HA VOLUME OPTION 4 CREATE THE VOLUME
Deploying Moodle
• If you choose Create HA Volume, in addition to the Size For either option (Create Volume, Create HA Volume), when
Using NFS in Linux and AWS Disk Type fields in the Create Volume page you have finished completing the required fields click Create.
described above, you need to fill in the Location field, Cloud Manager now creates the volume on an existing or a
choosing a VPC that includes three subnets in three new system. In the case of a new system, it can take about 25
separate Availability Zones minutes to create the volume.
• Then open the Nodes and Mediator page and fill in the
additional fields described below.
Field Description
BACK NEXT
© 2019 NetApp, Inc. All Rights Reserved
12
After creating a volume, it must be mounted to your hosts so that
Mounting Volumes to they can access it.
Linux Hosts • In the Volumes tab, hover the mouse over the volume, select the
Menu icon, and click Mount.
• Click Copy.
Whether you chose NFS or iSCSI, you now need to move the data to
Moving Moodle Data to the new path.
Cloud Volume ONTAP • Turn off http server and the MySQL services.
• Mount the LUN or NFS to a temporary location and sync the data
from the current location to the new temporary location:
• After the sync is complete, mount the LUN or the NFS to the
same location as the web server data and the DB.
BACK NEXT
© 2019 NetApp, Inc. All Rights Reserved
13
About Cloud
NetApp Cloud Volumes ONTAP® is the foremost enterprise-grade storage management solution, delivering secure, proven data control and
storage management services for the AWS or Azure cloud. Cloud Volumes ONTAP addresses the challenges of a wide range of use cases and
workloads including:
Volumes
ONTAP File services and NAS file
shares, including support
Disaster Recovery (DR),
DevOps
Backup and Archive
for NFS and SMB / CIFS
Databases –
SQL, Oracle, NoSQL SaaS Applications Big Data Analytics
and more
BACK NEXT
© 2019 NetApp, Inc. All Rights Reserved
14
STORAGE
1 HIGH AVAILABILITY 2 DATA PROTECTION 3 4 DATA TIERING
EFFICIENCIES
Cloud Volumes ONTAP
No data loss (RPO=0) and with NetApp Snapshots™ Thin provisioning, Automatically and
Key Feature minimal recovery times technology that requires data compression, and seamlessly moves
(RTO < 60 secs). no additional storage deduplication minimize infrequently-used data
and does not impact storage footprint and costs. from block to object
application performance. storage.
NetApp FlexClone® with SnapMirror® and All data at rest is encrypted. Single-pane enterprise-
technology creates Cloud Sync service. In addition, efficient data grade control, monitoring
writeable cloned volumes snapshots support seamless and governance.
instantly, with zero capacity failover, failback, restore
penalty. and recovery processes.
BACK NEXT
© 2019 NetApp, Inc. All Rights Reserved
15
CONTINUOUS SIMPLE CLOUD LOWERED COSTS
1 2 3
PERFORMANCE ONBOARDING
Cloud Volumes ONTAP
High availability with no with powerful data with data footprints
Key Benefits data loss, quick failover, replication capabilities. reduced by as much
short recovery times, and as 70%.
non-disruptive upgrade
(NDU) processes.
Start a free trail of Cloud Volumes ONTAP to take your Moodle deployment to the next level.
BACK NEXT
© 2019 NetApp, Inc. All Rights Reserved
16
Refer to the Interoperability Matrix Tool (IMT) on the NetApp Support site to validate that the exact product and feature versions described in this document are
supported for your specific
environment. The NetApp IMT defines the product components and versions that can be used to construct configurations that are supported by NetApp. Specific
results depend on each customer’s
installation in accordance with published specifications.
Copyright Information
Copyright © 1994–2019 NetApp, Inc. All rights reserved. Printed in the U.S. No part of this document covered by copyright may be reproduced in any form or by any
means—graphic, electronic, or
mechanical, including photocopying, recording, taping, or storage in an electronic retrieval system—without prior written permission of the copyright owner.
Software derived from copyrighted NetApp material is subject to the following license and disclaimer:
THIS SOFTWARE IS PROVIDED BY NETAPP “AS IS” AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE, WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL NETAPP BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
NetApp reserves the right to change any products described herein at any time, and without notice. NetApp assumes no responsibility or liability arising from the use
of products described herein,
except as expressly agreed to in writing by NetApp. The use or purchase of this product does not convey a license under any patent rights, trademark rights, or any
other intellectual property rights
of NetApp.
The product described in this manual may be protected by one or more U.S. patents, foreign patents, or pending applications.
RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in
Technical Data and Computer
Software clause at DFARS 252.277-7103 (October 1988) and FAR 52-227-19 (June 1987).
Trademark Information
NETAPP, the NETAPP logo, and the marks listed at http://www.netapp.com/TM are trademarks of NetApp, Inc. Other company and product names may be trademarks
of their respective owners.
NA-287-0218
BACK
© 2019 NetApp, Inc. All Rights Reserved