82
edits
Changes
no edit summary
* High performance - comparable to SAN.
==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:
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:
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:
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:
Now future Pstorage services started on this machine will be able to discover other parties.
# Authenticate the server in the cluster:
===Create chunk server (CS)===