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 glusterfs1 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

Kamagra 100mg Forum Achat Solupred Cialis Buy Sweden [url=]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 - cialis Diet Pills Without Prescripton Best Levitra Prescription Online Viagra Toulouse
Propecia Front Head Achat Viagra Femme [url=]cialis[/url] Cialis 5mg Best Price Australia Viagra Original Precio Priligy Legal Australia cialis Viagra E Varicocele Buy Suhagra Online India Progesterone Low Price - cialis Pharmatheke Viagra Buy Combivent Without Prescription Viagra 8000mg
what's a normal dose for cialis [url=]generic cialis[/url] how expensive is cialis for daily use cialis online i need cialis
what is the best way to take viagra [url=]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=]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=]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 - cialis price Conseil Utilisation Du Viagra
cialis 20 mg daily use [url=]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=]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=]kamagra store uk[/url] ajanta kamagra 100 chewable tablet kamagra oral jelly for sale in usa kamagra 100mg chewable tablets india kamagra oral jelly user reviews
kamagra 100mg reviews buy kamagra online kamagra 100mg tablets usage [url=]kamagra 100mg oral jelly how to use[/url] the kamagra store scam kamagra 100mg oral jelly amazon
cialis side effects eyesight buy generic cialis side effects viagra cialis levitra [url=]generic cialis[/url] cialis 20 mg recommended dosage buy generic cialis online cialis going generic date [url=]cialis generic[/url] price comparison viagra cialis levitra
cialis vs viagra vs levitra review generic viagra viagra precisa de receita controlada [url=]viagra[/url] brand viagra without a doctor prescription indian generic viagra online generic viagra good or bad [url=]buy generic viagra[/url] comprar viagra generico online espaГ±a
viagra generico prezzo viagra viagra commercials 2016 [url=]buy generic viagra online[/url] cialis vs viagra reviews buy generic viagra generic viagra soft tablets [url=]viagra[/url] cialis viagra comparison chart
viagra generic availability teva buy generic viagra online viagra commercial asian actress location [url=]buy viagra[/url] cost comparison viagra vs cialis vs levitra generic viagra cialis and viagra side effects [url=]viagra[/url] viagra order uk
female viagra pills cvs [url=]viagra[/url] can you buy generic viagra in canada buy viagra dosage for generic viagra generic viagra available in us pharmacies
what are side effects of viagra and cialis [url=]buy cialis online[/url] cialis commercial song generic cialis online cialis 20 mg/90 pills viagra vs cialis vs levitra 2013
cost of cialis or viagra cialis generic viagra vs cialis vs levitra reviews [url=]buy generic cialis[/url] cialis or viagra reviews generic cialis 5mg for daily use
viagra generico espaГ±a viagra generic fake female viagra commercial [url=]viagra[/url] viagra generic canada discount codes gold max female viagra review
printable coupons for cialis 20 mg [url=]buy generic cialis online[/url] comprar viagra cialis generico buy generic cialis 5mg tadalafil generic cialis daily cialis side effects loss of vision
viagra natural chino huang he mercadolibre viagra generic price comparison viagra cialis levitra [url=]generic viagra online[/url] side effects of viagra and cialis viagra price drop canada
price viagra vs cialis vs levitra [url=]buy generic viagra online[/url] compare cialis and viagra side effects generic viagra online viagra professional vs viagra viagra feminino portugal
how long do side effects of cialis last [url=]buy cialis[/url] generic cialis manufacturers india cialis generic comprar cialis generico no brasil cialis 20 mg cost at cvs
viagra dosage timing [url=]generic viagra[/url] generic viagra brand names viagra generic viagra medicine in hindi preço do viagra no rio de janeiro
viagra side effects for men heart condition generic viagra levitra cialis viagra comparison [url=]buy viagra online[/url] female viagra pills reviews 2017 female viagra positive reviews
cialis 5mg best price india cialis cialis dosage 20 mg [url=]buy cialis online[/url] coupons for cialis 5mg once a day extra super cialis uk
viagra soft tablets viagra viagra uses and side effects [url=]generic viagra online[/url] levitra cialis viagra reviews viagra for women prices
generic cialis super active reviews [url=]buy generic cialis online[/url] buy generic cialis online us pharmacy cialis generic cialis and viagra dosage cialis soft gels
what s the maximum dosage for viagra generic viagra online viagra generic name mycoxafloppin [url=]buy generic viagra online[/url] viagra generic availability teva pharmaceuticals new viagra commercial brunette actress name
is cialis professional better review buy generic cialis online lilly cialis coupon for cvs [url=]buy generic cialis online[/url] maximum safe dosage for cialis best price on 20 mg cialis brandon ms
cost per pill for generic viagra average [url=]buy generic viagra online[/url] effects of viagra on blood pressure buy viagra online viagra effects viagra levitra cialis cost comparison
viagra [url=]buy viagra online[/url] new female viagra drug generic viagra walmart generic viagra price reviews of viagra super active
buy generic cialis online buy generic cialis cialis super active plus rezeptfrei [url=]generic cialis online[/url] preço do cialis generico no brasil cialis 20mg cost per pill
price of viagra and cialis in indian rupees cialis generic cialis viagra levitra [url=]cialis generic[/url] cialis coupon 2018 cialis 20mg coupons at kroger
levitra vs cialis vs viagra reddit [url=]cialis generic[/url] will cialis go generic in 2018 buy generic cialis best prices on generic cialis 40 mg cialis vs viagra effectiveness
buy cialis usa [url=]buy generic cialis[/url] cialis tadalafil 10mg tablets buy generic cialis online viagra and cialis dosage and cost cialis vs viagra effectiveness cena w polsce
viagra feminino comprar [url=]viagra[/url] viagra generic costs generic viagra online viagra ad actress brunette cialis vs viagra reddit
cialis viagra levitra online buy generic cialis viagra vs cialis generic [url=]buy generic cialis[/url] generic cialis extra dosage 200 mg cialis dosagem maxima
generic viagra professional sildenafil 100mg [url=]buy generic viagra online[/url] what is best generic viagra generic viagra is there a generic substitute for viagra viagra without a doctor prescription cost
cialis 20 mg uses [url=]generic cialis[/url] when will generic cialis be available in canada generic cialis online liquid cialis dose recommendations cialis soft tabs 40 mg
best price cialis and viagra [url=]viagra[/url] viagra buy generic viagra optimal time to take viagra viagra cost walmart canada
kamagra 100mg tablets use buy kamagra 100mg kamagra 100 sildenafil citrate chewable tablets 100 mg [url=]buy kamagra 100 mg[/url] kamagra bezorgen rotterdam kamagra 100mg tablets china
cialis prescription information generic cialis generic cialis india safe [url=]buy generic cialis[/url] cialis price versus viagra side effects cialis soft tablets

Leave a comment:

Web development
Review Linux
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__