Giter Site home page Giter Site logo

mas150md200 / pcs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from clusterlabs/pcs

0.0 2.0 0.0 9.98 MB

Pacemaker command line interface and GUI

License: GNU General Public License v2.0

Makefile 0.26% Python 36.32% Groff 1.51% Shell 0.29% Ruby 8.72% CSS 0.50% JavaScript 49.16% HTML 3.24%

pcs's Introduction

PCS - Pacemaker/Corosync configuration system

Quick Start


  • PCS Installation from Source

    Run the following in terminal:

    # tar -xzvf pcs-0.9.138.tar.gz
    # cd pcs-0.9.138
    # make install

    This will install pcs into /usr/sbin/pcs.


- **Create and Start a Basic Cluster**

To create a cluster run the following commands on all nodes (replacing node1, node2, node3 with a list of nodes in the cluster).

# pcs cluster setup --local --name cluster_name node1 node2 node3

Then run the following command on all nodes:

# pcs cluster start

- **Check the Cluster Status**

After a few moments the cluster should startup and you can get the status of the cluster

# pcs status

- **Add Cluster Resources**

After this you can add resources and stonith agents:

# pcs resource help

and

# pcs stonith help

- **PCSD Installation from Source**

You can also install pcsd which operates as a GUI and remote server for pcs. pcsd may also be necessary in order to follow the guides on the clusterlabs.org website.

To install pcsd run the following commands from the root of your pcs directory. (You must have the ruby bundler gem installed, rubygem-bundler in Fedora, and development packages installed)

# cd pcsd ; make get_gems ; cd ..
# make install_pcsd

If you are on GNU/Linux its now time to:

# systemctl daemon-reload

### Packages ***

Currently this is built into Fedora (other distributions to follow). You can see the current Fedora .spec in the fedora package git repositories here: http://pkgs.fedoraproject.org/cgit/pcs.git/

Current Fedora 21 .spec: http://pkgs.fedoraproject.org/cgit/pcs.git/tree/pcs.spec?h=f21


### Inquiries ***

If you have any questions or concerns please feel free to email [email protected] or open a github issue on the pcs project.

pcs's People

Contributors

feist avatar tomjelinek avatar ondrejmular avatar davidvossel avatar kirvedx avatar jfriesse avatar roidelapluie avatar andyprice avatar grueni avatar fumihirosaito avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.