Installation Calamari detailed steps in Ceph admin-node

Source: Internet
Author: User
Tags mkdir centos
# # # #ceph系统 # #1. Linux version: Centos Linux release 7.1.1503 2, kernel version: Linux version 3.10.0-229.20.1.el7.x86_64
# # # #前期准备 # #1, a complete Ceph platform (including Admin-node, Monitor, OSD).
# # # #在admin-node shut down the firewall, selinux####1. Turn off the firewall. #systemctl Stop Firewalld #systemctl disable FIREWALLD 2, turn off SELinux. #setenforce 0 #vim/etc/selinux/config selinux=disabled
# # # #设置yum源 # #(Link: http://pan.baidu.com/s/1mh3Xqmk password: FHZJ) 1, from Baidu Network disk download Calamari-1.3-centos-7.1-x86-64-20150430.iso. 2, Vim/etc/yum.repos.d/calamari.repo. [Calamari] Name=calamari baseurl=file:///iso/calamari/gpgcheck=0 3, create an ISO mount directory and mount it. #mkdir-P/iso/calamari #mount-o Loop/root/calamari-1.3-centos-7.1-x86-64-20150430.iso/iso/calamari
# # # #安装软件包 # #1, install the basic package. #yum-y install vim bash-completion net-tools pciutils sysstat wget 2, installing the Calamari package. #yum-y Install calamari-server Diamond
# # # #启动calamari # #1, initialize the calamari. #calamari-ctl Initialize (enter user name: root)//can change (enter email: lc@cclniu.com.cn)//Random settings (enter password: 123)//Set free
2, configuration calamari-client, for display management monitoring interface. #cp/iso/calamari/packages/calamari-clients-20150430.tar.gz. #tar-xvf calamari-clients-20150430.tar.gz #cd calamari-clients/#cp-R login/dist/opt/calamari/webapp/content/login # Cp-r manage/dist/opt/calamari/webapp/content/manage #cp-R dashboard/dist/opt/calamari/webapp/content/dashboard #cp -R Admin/dist/opt/calamari/webapp/content/admin
# # # #替换salt安装包 # #1, stop the related services. #systemctl Stop Salt-master 2, remove salt related software. #rpm-qa | grep Salt salt-2014.7.5-1.el7.noarch salt-master-2014.7.5-1.el7.noarch salt-minion-2014.7.5-1.el7.noarch #rpm-E  Salt-minion #rpm-E salt-master #rpm-e salt 3, download the package from the front of the network disk. salt-2014.1.1101.3.noarch.rpm salt-master-2014.1.11-1.3.noarch.rpm salt-minion-2014.1.11-1.3.noarch.rpm 4, install the package. #rpm-ivh--force--nodeps salt-2014.1.1101.3.noarch.rpm #rpm-ivh--force--nodeps salt-master-2014.1.11-1.3.noarch.rpm #rpm-ivh--force--nodeps salt-minion-2014.1.11-1.3.noarch.rpm 5, Restart the salt and diamond service. #systemctl Restart Salt-master #systemctl Restart Diamond
# # # #登录calamari # #1. Enter the IP address of the Admin-node in the browser. 2. Enter the user name and password of the above initialization settings in the popup login box to see the following interface:
---------------------------------The following sections are installed on all CEPH nodes---------------------------------------------- # # # #设置yum源 # #(Link: http://pan.baidu.com/s/1mh3Xqmk password: FHZJ) 1, from Baidu Network disk download Calamari-1.3-centos-7.1-x86-64-20150430.iso. 2, Vim/etc/yum.repos.d/calamari.repo. [Calamari] Name=calamari baseurl=file:///iso/calamari/gpgcheck=0 3, create an ISO mount directory and mount it. #mkdir-P/iso/calamari #mount-o Loop/root/calamari-1.3-centos-7.1-x86-64-20150430.iso/iso/calamari
# # # #下载安装包 # #1. Download package #yum install diamond-3.4.67-0.noarch.rpm ipvsadm salt-minion
# # # #配置文件 # #1, configuration cephdeploy.conf. #vim ~/.cephdeploy.conf [Ceph-deploy-global] [Ceph-deploy-install] [calamari-minion] name=ceph repo noarch packag Es baseurl=http://ceph.com/rpm-emperor/fc19/x86_64 enabled=1 gpgcheck=1 type=repo-md Gpgkey=https ://CEPH.COM/GIT/?P=CEPH.GIT;A=BLOB_PLAIN;F=KEYS/AUTOBUILD.ASC 2, modify the Salt-minion configuration. #vim/etc/salt/minion Master:admin-node
# # # #激活ceph端calamari服务 # #1, (in Admin-node) execute the command. #ceph-deploy Calamari Connect node1 node2 node3 #salt-key-l #salt-key-a//accept all ceph nodes
2. Restart Salt-minion and diamond #systemctl restart salt-minion #systemctl Restart Diamond
# # # #登录界面 # #1, the login interface will see the following interface:

# # # #替换salt安装包 # #1, stop the related services. #systemctl Stop Salt-master 2, remove salt related software. #rpm-qa | grep Salt salt-2014.7.5-1.el7.noarch salt-minion-2014.7.5-1.el7.noarch #rpm-E salt-minion #rpm-e salt-master #rpm-e sal  T 3. Download the package from the previous network disk. SALT-2014.1.1101.3.NOARCH.RPM salt-minion-2014.1.11-1.3.noarch.rpm 4, install the package. #rpm-ivh--force--nodeps salt-2014.1.1101.3.noarch.rpm #rpm-ivh--force--nodeps salt-minion-2014.1.11-1.3.noarch.rpm 5, restart Salt and diamond service. #systemctl Restart salt-minion #systemctl Restart diamond (if the diamond service fails to restart, restart the node and restart the above two services to succeed)
# # # #登录界面 # #1, in the browser input admin-node IP address and login can see the following interface:



reference post: http://cloud.51cto.com/art/201507/486246.htm


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.