[VGLUG] How to configure VIP in linux

16 views
Skip to first unread message

Lalit Purohit

unread,
Jul 26, 2015, 9:33:19 AM7/26/15
to vg...@googlegroups.com
Hi,

I want to do clustering with nginx in Centos 6. Now can anybody guide me that how to set single Virtual IP on two linux Machine.

Regards:
Lalit Purohit

DEEPAK MISHRA

unread,
Jul 26, 2015, 9:43:48 AM7/26/15
to vg...@googlegroups.com
Respective Lalitji

    I think this link will helo you for doing your task.

http://www.cyberciti.biz/faq/install-nginx-centos-rhel-6-server-rpm-using-yum-command


Date: Sun, 26 Jul 2015 18:34:59 +0530
Subject: [VGLUG] How to configure VIP in linux
From: lalitpu...@gmail.com
To: vg...@googlegroups.com
--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG+un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG

---
You received this message because you are subscribed to the Google Groups "VGLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vglug+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

DEEPAK MISHRA

unread,
Jul 26, 2015, 9:45:24 AM7/26/15
to vg...@googlegroups.com
Respective Lalitji,

         I think this link will help you for doing your task.

http://www.cyberciti.biz/faq/install-nginx-centos-rhel-6-server-rpm-using-yum-command/


Date: Sun, 26 Jul 2015 18:34:59 +0530
Subject: [VGLUG] How to configure VIP in linux
From: lalitpu...@gmail.com
To: vg...@googlegroups.com

Lalit Purohit

unread,
Jul 26, 2015, 11:38:21 AM7/26/15
to vg...@googlegroups.com
Dear DeepakJi

Thanks for your prompt reply,

This link is really useful. now can you guide me that how to set same Virtual IP (VIP) on two linux machine. Because I have two linux PC, in which Centos 6 is installed. Now I want to configure Clustering So If my one PC goes down then my website will be live thought that second PC which is having same Virtual IP.

Sham Arsiwala

unread,
Jul 26, 2015, 11:51:29 AM7/26/15
to vg...@googlegroups.com
Hi.

You will have to configure your HA, and in that the high available ip will move from one system to another if any one system goes down.
You dont need to set ip on each system,
You will need to set some configuration in nginx.

Hope this will help you to configure cluster.


Sham Arsiwala
RHCE - RHCA.
Electromech Corporation

Lalit Purohit

unread,
Jul 26, 2015, 3:33:54 PM7/26/15
to vg...@googlegroups.com
Dear Sham Sir,

Thanks for this useful information.

Harshil Marvania

unread,
Jul 26, 2015, 8:08:38 PM7/26/15
to vg...@googlegroups.com

Hi Lalit,

You can setup pacemaker with corosync to setup HA.

Thanks & Regards,
Harshil Marvania

Reply all
Reply to author
Forward
0 new messages