태그: gluster

Gluster & nfs-ganesha installation

yum -y update yum -y install centos-release-gluster310 yum -y install install glusterfs glusterfs-server glusterfs-ganesha cat <<EOF >> /etc/hosts 172.1.1.111 store1 172.1.1.112 store2 172.1.1.113 store3 172.1.1.114 store4 EOF systemctl start glusterd systemctl enable glusterd systemctl disable NetworkManager.service systemctl disable NetworkManager-wait-online.service systemctl enable pcsd systemctl start pcsd systemctl disable firewalld ssh-keygen -t rsa -f /var/lib/glusterd/nfs/secret.pem scp id_rsa /var/lib/glusterd/nfs/secret.pem scp id_rsa.pub /var/lib/glusterd/nfs/secret.pem.pub scp…

Add and remove GlusterFS servers

Create a new server Use the nova boot command from the previous article to create a server called web3: nova boot –image bb02b1a3-bc77-4d17-ab5b-421d89850fca –flavor performance1-4 web3 You could also use the Rackspace Cloud Control Panel to create the new server. Add the server to the Rackspace custom network In the previous article, you added a Rackspace custom network. Get the…

Format the partition and install GlusterFS

Use SSH to log in to the server. Using the instructions from the previous article, install GlusterFS and format the bricks partition as follows: apt-get update apt-get install -y glusterfs-server glusterfs-client apt-get install -y xfsprogs mkfs.xfs /dev/xvde1 mkdir /srv/.bricks echo /dev/xvde1 /srv/.bricks xfs rw 0 1 >> /etc/fstab mount /srv/.bricks ufw allow in on eth2 Incorporate the new brick into…

gdeploy를 이용한 glusterfs install

gdeploy를 이용해서 glsuterfs 설치를 해봤다. 좀 삽질하면서 써봤는데 잘 만들어 둔것 같다. 사용법을 좀 알아보면… [<section>[number]] 을 지정하고 원하는 option들을 넣어 준다. 이때 중복되는 section은 뒤에 숫자를 붙여준다. ### 사용할 hosts의 list이다. ip addres나 hostname을 넣는다. ### [hosts] rhgs1.test.dom rhgs2.test.dom rhgs3.test.dom rhgs4.test.dom rhgs5.test.dom rhgs6.test.dom ### hardware raid(sas controller) type이다 기본이 JBOD(raid 없음)이고 raid6, raid10을 지정 할 수 있다. ### [disktype]…

Gluster Architecture

Types of Volumes Volume is the collection of bricks and most of the gluster file system operations happen on the volume. Gluster file system supports different types of volumes based on the requirements. Some volumes are good for scaling storage size, some for improving performance and some for both. 1. Distributed Glusterfs Volume – This is the default glusterfs volume i.e, while…

Glusterfs as OpenStack Instance Storage Backend

OpenStack에서 Live migration을 지원하려면 기본적으로 shared storage가 있어야 한다. 지금 요구사항 중의 하나가 장애에 대비한 live migration이라 shared storage를 설정해야했다. 요즘 대세는 Ceph이라고, 저번 오픈스택 모임에서 그랬는데, 잠깐 Ceph를 시도해본 결과, 설치과정이 그리 맘에 들지 않습니다. 그래요 완전히 개인적인 생각입니다. 그래서 상대적으로 쉬운 GlusterFS를 먼저 해보고려 합니다. GlusterFS를 한다면 GlusterFS is Ready for OpenStack이라고 발표를 했는데, 문제는 아직 Beta 단계인…

Videos, Slideshows and Podcasts by Cincopa Wordpress Plugin