GlusterFS > 1.GlusterFS. Two nodes cluster installation.
Author: Aleksandr Chirkov
Aug. 15, 2014, 1:04 a.m.

Official GlusterFS documentation suggests us use XFS for filesystem metadata storage. So, let's install it. Before we start let's take two machines ( glusterfs1, glusterfs2 ). All actions we'll do on one machine. You shoud do it on both machines.

root@glusterfs1:~# apt-get install xfsprogs

Specify clusters machines addresses in hosts file:

root@glusterfs1:~# vi /etc/hosts
192.168.56.122 glusterfs1.example.com glusterfs1
192.168.56.123 glusterfs2.example.com glusterfs2

Attach block device to your machine. Let's assume that it would be /dev/sdb. Format it with XFS.

root@glusterfs1:~# mkfs.xfs -i size=512 /dev/sdb

Create directory for glusterfs metadata and mount it:

root@glusterfs1:~# mkdir -p /mnt/glusterblock
root@glusterfs1:~# mount /dev/sdb /mnt/glusterblock

Modify fstab file:

root@glusterfs1:~# blkid
/dev/sda1: UUID="97a29e31-06ac-4f5d-ad47-91dc5ab94eff" TYPE="ext4"
/dev/sda5: UUID="75e49a36-0c87-4de1-a68c-87ca95600922" TYPE="swap"
/dev/sdb: UUID="1f0acdf5-6f8c-4faf-955b-97490bac98de" TYPE="xfs"
root@glusterfs1:~#  vi /etc/fstab
UUID=1f0acdf5-6f8c-4faf-955b-97490bac98de  /mnt/glusterblock xfs defaults 1 2

Install glusterfs server:

root@glusterfs1:~# apt-get install glusterfs-server -y

Test glusterfs cluster's machines connection and replicate them:

root@glusterfs1:~# gluster peer probe glusterfs1
root@glusterfs1:~# mkdir /mnt/glusterblock/vg0
root@glusterfs1:~# gluster volume create gv0 replica 2 glusterfs1:/mnt/glusterblock/gv0 glusterfs2:/mnt/glusterblock/gv0

server
distributed-file-systems
cluster
glusterfs
Kamagra 100mg Forum Achat Solupred Cialis Buy Sweden [url=http://costofcial.com]cialis[/url] Free Shipping Stendra Ed Secure Fedex Shipping Online Utah Baclofene Dosage Amoxicilina Sale Discount Priligy Dapoxetine Side Effects Acheter Kamagra Pfizer France buy accutane for acne cialis Amoxicillin Dosage Dogs Buy Prevacid Cheap Affitto Levitra 10 Mg Achat Kamagra Au Canada Get Progesterone Fedex Shipping Prix Du Propecia Pharmacie http://costofcial.com - cialis Diet Pills Without Prescripton Best Levitra Prescription Online Viagra Toulouse
Propecia Front Head Achat Viagra Femme [url=http://costofcial.com]cialis[/url] Cialis 5mg Best Price Australia Viagra Original Precio Priligy Legal Australia cialis Viagra E Varicocele Buy Suhagra Online India Progesterone Low Price http://costofcial.com - cialis Pharmatheke Viagra Buy Combivent Without Prescription Viagra 8000mg
what's a normal dose for cialis [url=http://cialisle.com]generic cialis[/url] how expensive is cialis for daily use cialis online i need cialis
what is the best way to take viagra [url=http://viagrabs.com/]viagra[/url] buying viagra while in mexico viagra online lexapro and viagra interaction
cialis over the counter thailand cialis coupon best price for cialis 5mg [url=http://cialisoni.com/]buy cialis online[/url] cialis causing low blood pressure
cheap ed meds online ed medicines generic for erectile dysfunction ed medications best ed medication what are the best generic ed drugs online erectile dysfunction medications ed medications compared cheap ed medication ed medications online ed drugs online best erectile dysfunction medication in canada ed drugs meds for ed erectile dysfunction medications sold in canada erectile dysfunction drugs generic ed drugs cheap erectile dysfunction drugs-canada canadian erectile dysfunction drugs ED medication order erectile dysfunction medication generic drugs for erectile dysfunction erectile meds ed drug cost comparison buy erectile dysfunction drugs generic ed medication erectile dysfunction medication prices ed meds on line cheap ed drugs best erectile dysfunction drugs for sale online erectile dysfunction drugs online meds for erectile dysfunction generic ed meds erectile dysfunction drugs canada ed drug best ed drug best deal on ED meds cheap ed meds medication from canada ed erectile dysfunction generic name for ED drugs buy erectile dysfunction drugs online cheap erectile dysfunction medication generic erectile dysfunction medications erectile dysfunction drugs comparison impotence drugs online common drugs for ed generic impotence drugs ed meds cost effective ed drugs canadian erectile dysfunction drugs buy diprosalic no prescription uk cialis 5 mg vs viagra amoxicillin lexapro pills in canada no prescription pfizer viagra 100mg price sildenafil 100mg tablets online pharmacy viagra viagra 6 free samples tadalafil canadian pharmacy online
Can You Buy Real Viagra Online [url=http://costofcial.com]generic cialis[/url] Swelling Bruising Amoxicillin Allergy Effet Du Cialis Generique Levitra Bayer 20 Mg cialis Dapoxetina Vs. Serotonina Priligy Generico Opiniones Viagra Zona Avellaneda Acheter Levitra Online http://costofcial.com - cialis price Conseil Utilisation Du Viagra
cialis 20 mg daily use [url=http://cialisle.com]cialis online[/url] cialis headache ibuprofen cialis is cialis bad if you don't need it
cialis horas antes cialis online cialis for the weekend [url=http://cialisoni.com/]cialis online[/url] 36 hour cialis for sale
download free casino slot games casinos in michigan with hotels casino slot games to play for free free slot machines play free casino games vegas world
online casino casino online online slots online casino online casino
top diet pills weight loss prescription drugs top diet pills 2017 best weight loss pills weight loss pills
top weight loss supplements prescription weight loss medication weight loss supplements best appetite suppressant best diet pill
kamagra shop erfahrungen [url=http://kamagrabst.com/]kamagra store uk[/url] ajanta kamagra 100 chewable tablet kamagra oral jelly for sale in usa kamagra 100mg chewable tablets india http://kamagrabst.com/ kamagra oral jelly user reviews
kamagra 100mg reviews buy kamagra online kamagra 100mg tablets usage [url=http://kamagrabst.com/]kamagra 100mg oral jelly how to use[/url] the kamagra store scam http://kamagrabst.com/ kamagra 100mg oral jelly amazon
cialis side effects eyesight buy generic cialis side effects viagra cialis levitra [url=http://justinpro.com/#]generic cialis[/url] cialis 20 mg recommended dosage buy generic cialis online cialis going generic date [url=http://airvietnamairline.com/#]cialis generic[/url] price comparison viagra cialis levitra
cialis vs viagra vs levitra review generic viagra viagra precisa de receita controlada [url=http://amsboatyard.com/#]viagra[/url] brand viagra without a doctor prescription indian generic viagra online generic viagra good or bad [url=http://viagrapillq.com/#]buy generic viagra[/url] comprar viagra generico online espaГ±a
viagra generico prezzo viagra viagra commercials 2016 [url=http://blessingsofbirth.com/#]buy generic viagra online[/url] cialis vs viagra reviews buy generic viagra generic viagra soft tablets [url=http://timmonssoftware.com/#]viagra[/url] cialis viagra comparison chart
viagra generic availability teva buy generic viagra online viagra commercial asian actress location [url=http://amsboatyard.com/#]buy viagra[/url] cost comparison viagra vs cialis vs levitra generic viagra cialis and viagra side effects [url=http://viagrapillq.com/#]viagra[/url] viagra order uk
female viagra pills cvs [url=http://viagrapipls.com/]viagra[/url] can you buy generic viagra in canada buy viagra dosage for generic viagra http://viagrapipls.com/ generic viagra available in us pharmacies
what are side effects of viagra and cialis [url=http://cialispaxl.com/]buy cialis online[/url] cialis commercial song generic cialis online cialis 20 mg/90 pills http://cialispaxl.com/ viagra vs cialis vs levitra 2013
cost of cialis or viagra cialis generic viagra vs cialis vs levitra reviews [url=http://cialisgrudj.com/]buy generic cialis[/url] cialis or viagra reviews http://cialisgrudj.com/ generic cialis 5mg for daily use
viagra generico espaГ±a viagra generic fake female viagra commercial [url=http://viagrapipls.com/]viagra[/url] viagra generic canada discount codes http://viagrapipls.com/ gold max female viagra review
printable coupons for cialis 20 mg [url=http://cialisgrudj.com/]buy generic cialis online[/url] comprar viagra cialis generico buy generic cialis 5mg tadalafil generic cialis daily http://cialisgrudj.com/ cialis side effects loss of vision
viagra natural chino huang he mercadolibre viagra generic price comparison viagra cialis levitra [url=http://viagrapipls.com/]generic viagra online[/url] side effects of viagra and cialis http://viagrapipls.com/ viagra price drop canada
price viagra vs cialis vs levitra [url=http://viagrapipls.com/]buy generic viagra online[/url] compare cialis and viagra side effects generic viagra online viagra professional vs viagra http://viagrapipls.com/ viagra feminino portugal
how long do side effects of cialis last [url=http://cialisgrudj.com/]buy cialis[/url] generic cialis manufacturers india cialis generic comprar cialis generico no brasil http://cialisgrudj.com/ cialis 20 mg cost at cvs
viagra dosage timing [url=http://viagrapipls.com/]generic viagra[/url] generic viagra brand names viagra generic viagra medicine in hindi http://viagrapipls.com/ preço do viagra no rio de janeiro
viagra side effects for men heart condition generic viagra levitra cialis viagra comparison [url=http://viagrapipls.com/]buy viagra online[/url] female viagra pills reviews 2017 http://viagrapipls.com/ female viagra positive reviews
cialis 5mg best price india cialis cialis dosage 20 mg [url=http://cialisgrudj.com/]buy cialis online[/url] coupons for cialis 5mg once a day http://cialisgrudj.com/ extra super cialis uk
viagra soft tablets viagra viagra uses and side effects [url=http://viagrapipls.com/]generic viagra online[/url] levitra cialis viagra reviews http://viagrapipls.com/ viagra for women prices
generic cialis super active reviews [url=http://cialisgrudj.com/]buy generic cialis online[/url] buy generic cialis online us pharmacy cialis generic cialis and viagra dosage http://cialisgrudj.com/ cialis soft gels
what s the maximum dosage for viagra generic viagra online viagra generic name mycoxafloppin [url=http://viagrapipls.com/]buy generic viagra online[/url] viagra generic availability teva pharmaceuticals http://viagrapipls.com/ new viagra commercial brunette actress name
is cialis professional better review buy generic cialis online lilly cialis coupon for cvs [url=http://cialisgrudj.com/]buy generic cialis online[/url] maximum safe dosage for cialis http://cialisgrudj.com/ best price on 20 mg cialis brandon ms
cost per pill for generic viagra average [url=http://viagrapipls.com/]buy generic viagra online[/url] effects of viagra on blood pressure buy viagra online viagra effects http://viagrapipls.com/ viagra levitra cialis cost comparison
viagra [url=http://viagrapipls.com/]buy viagra online[/url] new female viagra drug generic viagra walmart generic viagra price http://viagrapipls.com/ reviews of viagra super active
buy generic cialis online buy generic cialis cialis super active plus rezeptfrei [url=http://cialisonlinq.com/]generic cialis online[/url] preço do cialis generico no brasil http://cialisonlinq.com/ cialis 20mg cost per pill
price of viagra and cialis in indian rupees cialis generic cialis viagra levitra [url=http://cialisonlinq.com/]cialis generic[/url] cialis coupon 2018 http://cialisonlinq.com/ cialis 20mg coupons at kroger
levitra vs cialis vs viagra reddit [url=http://cialisonlinq.com/]cialis generic[/url] will cialis go generic in 2018 buy generic cialis best prices on generic cialis 40 mg http://cialisonlinq.com/ cialis vs viagra effectiveness
buy cialis usa [url=http://cialisonlinq.com/]buy generic cialis[/url] cialis tadalafil 10mg tablets buy generic cialis online viagra and cialis dosage and cost http://cialisonlinq.com/ cialis vs viagra effectiveness cena w polsce
viagra feminino comprar [url=http://viagrapipls.com/]viagra[/url] viagra generic costs generic viagra online viagra ad actress brunette http://viagrapipls.com/ cialis vs viagra reddit
cialis viagra levitra online buy generic cialis viagra vs cialis generic [url=http://cialisonlinq.com/]buy generic cialis[/url] generic cialis extra dosage 200 mg http://cialisonlinq.com/ cialis dosagem maxima
generic viagra professional sildenafil 100mg [url=http://viagrapipls.com/]buy generic viagra online[/url] what is best generic viagra generic viagra is there a generic substitute for viagra http://viagrapipls.com/ viagra without a doctor prescription cost
cialis 20 mg uses [url=http://cialisonlinq.com/]generic cialis[/url] when will generic cialis be available in canada generic cialis online liquid cialis dose recommendations http://cialisonlinq.com/ cialis soft tabs 40 mg
best price cialis and viagra [url=http://viagrapipls.com/]viagra[/url] viagra buy generic viagra optimal time to take viagra http://viagrapipls.com/ viagra cost walmart canada
kamagra 100mg tablets use buy kamagra 100mg kamagra 100 sildenafil citrate chewable tablets 100 mg [url=http://kamagraonl.com/]buy kamagra 100 mg[/url] kamagra bezorgen rotterdam http://kamagraonl.com/ kamagra 100mg tablets china
cialis prescription information generic cialis generic cialis india safe [url=http://airvietnamairline.com/]buy generic cialis[/url] cialis price versus viagra side effects http://airvietnamairline.com/ cialis soft tablets

Leave a comment:

Name
Python
Web development
Review Linux
Administration
Provisioning CVS
Windows AWS
Continuous Integration
NoSql Logging Web Servers FileSystems Scala
accurev ansible apach2 apache api application approaches architecture archivation argparse arguments artifactory automation awk aws backup bash batch-scripting beaver block build built-in caching call captcha cartridge case certificates cgi chain client cloud cloudformation cluster cmd coding collections command-line commands compression conditionals conversion convert cookbook copy counter cron crud css cut cygwin daemon datatype date dd debpackage decorator delattr deploy deque dict distributed-file-systems django DNS domain driver dropbox dump elasticcache elasticsearch encryption exit ext4 extra-tags failover file filename filters for form format freetds functions gerrit getattribute gid git globals glusterfs hardware hook iam indexing inheritance init install job-interview jquery ldap linux list locals logging logs logstash lookup magicmethods mail main-menu metadata metalogger mongodb moosefs mount mssql multiplatform multithreading mysql netcat nginx nosql open-ssh openldap openshift os packaging parse partition path pattern patterns permissions pid pil pip pipe playbook pool post post-commit processes production provisioning proxy putty python python-mysql recursively redirection redis register replication repr restore return review rotation scala script search selenium server setattr settings setup shipper signals singleton slots snapshot socket splunk ssh ssh-key ssl storage str string style subprocess sugar super switch syntactic syntaxhighlighter systeminfo tail tar templatetags time tls tune2fs tuple ubuntu unicode unique unix unixodbc usage usecases uuid uwsgi variable vars version vi virtualenv volume web web-server windows with_items __getattr__