Changes

Jump to: navigation, search

Virtuozzo Storage

49 bytes added, 05:06, 13 January 2014
no edit summary
* High performance - comparable to SAN.
See a brief video on YouTube [http://www.youtube.com/watch?v=6oEzW9w-1rg].
See a brief [http://www.youtube.com/watch?v=6oEzW9w-1rg video on YouTube]. ==OpenVZ limitations==<span style="color:#FF0000">Parallels Cloud Storage is available as a TECHNOLOGY PREVIEW ONLY for OpenVZ users and can't be licensed for production. <br>To unlock for running in production you should upgrade to a full Parallels Cloud Server product (see below).<br> Available free capacity for in technology preview mode is 100GB of logical (Containers usable) disk space.<br> After hitting this limit writers can get blocked w/o errors expecting for a limit to be extended, so please avoid hitting the limit.</span>
==Pstorage components==
=Pstorage setup HOWTO=
Below HOWTO explains how to setup Parallels Cloud Storage (Pstorage) cluster and run OpenVZ containers stored there. Please note, that it's just a brief HOWTO for quick and easy evaluation of Parallels Cloud Storage (configuring only 1x MDS and CS service) and is not a real manual. We highly recommend to consult [http://download.parallels.com/doc/pcs/pdf/Parallels_Cloud_Storage.pdf Pstorage manual (FIXME) ] and man pages (such as pstorage, pstorage-make-cs, pstorage-make-mds etc.) as it contain a lot of important details on types of SSD drives supported, what are the recommended configurations, how to configure big clusters with failure domains and so on.
==Installing Parallels Cloud Storage software==
Download and install the following RPM packages: pstorage-ctl, pstorage-libs-shared and pstorage-metadata-server. These packages can be downloaded from http://download.openvz.org/pstorage:
<code># wget FIXMEhttp://download.openvz.org/pstorage/*# yum install pstorage-ctl pstorage-libs-shared pstorage-metadata-server pstorage-chunk-server pstorage-client</code>
Log in to the computers you want to configure as a metadata server as root.
To create the cluster and the very first MDS and your cluster type:
<code># pstorage -c test_cluster make-mds -I -a 10.30.100.101 -r /pstorage/test_cluster-mds -p</code>
This command creates new Parallels Cloud Storage cluster and metadata server and configures the IP address of ''10.30.100.101 '' for communication with this server (replace ''10.30.100.101 '' with IP address of your own MDS server). MDS will store its data at location specified by '''-r ''' option. The command will also ask you to enter the password for authentication in your cluster.
After you have created the MDS server, start the MDS management service (pstorage-mdsd) and configure it to start automatically when the server boots:
<code># service pstorage-mdsd start</code> <code># chkconfig pstorage-mdsd on</code>
To create 2nd and subsequent MDS services on other nodes do:
# Setup cluster discovery. Normally, all the Pstorage components should be capable to discover each other on the network using multicast discovery (mDNS). This may not work however in Virtual Machines or if your network doesn't support multicasts. In this case you need to setup an MDS bootstrap list on the nodes manually. To do so create the bs.list file in the /etc/pstorage/clusters/<cluster_name> directory (make this directory if it does not exist) on the server you are configuring for the cluster and specify IP addresses and ports of the MDS servers in the cluster.
For example to create a bootstrap list for above cluster created type:
<code># echo "10.30.100.101:2510" >> /etc/pstorage/clusters/test_cluster/bs.list</code>
Now future Pstorage services started on this machine will be able to discover other parties.
# Authenticate the server in the cluster:
<code># pstorage -c test_cluster auth-node</code># Add new MDS to the cluster using similar to above make-mds command w/o -I optionand -p options.
===Create chunk server (CS)===

Navigation menu