Re: 24x7x365 high-volume ops ideas

Поиск
Список
Период
Сортировка
От Richard_D_Levine@raytheon.com
Тема Re: 24x7x365 high-volume ops ideas
Дата
Msg-id OF06D5AC95.C19B27A6-ON05256F4E.005A5E59@ftw.us.ray.com
обсуждение исходный текст
Ответ на 24x7x365 high-volume ops ideas  ("Ed L." <pgsql@bluepolka.net>)
Список pgsql-general
Thanks Joshua,

I just played with it and it is more flexible that Solaris.  Linux allows
<alias> to be four characters, but Solaris only allows low numbers.  I like
this:

ifconfig eth0:dbms 192.1.1.100 up

Tino's right about the ARP tables.  Gotta watch that one, especially with
lower grade switches.

Rick



               
                      "Joshua D. Drake"
               
                      <jd@commandprompt        To:       Tino Wildenhain <tino@wildenhain.de>
               
                      .com>                    cc:       Richard_D_Levine@raytheon.com, Chris Browne
<cbbrowne@acm.org>,               
                                                pgsql-general@postgresql.org, pgsql-general-owner@postgresql.org
               
                      11/16/2004 11:08         Subject:  Re: [GENERAL] 24x7x365 high-volume ops ideas
               
                      AM
               

               

               




Tino Wildenhain wrote:

>Hi,
>
>On Tue, 2004-11-16 at 14:17, Richard_D_Levine@raytheon.com wrote:
>
>
>>Hi Chris and Karim,
>>
>>I haven't been following this thread, so excuse me if I suggest something
>>that has already been tossed out.
>>
>>Solaris allows multiple IP addresses to be assigned to a single NIC.  I
>>just looked at the man page for Linux ifconfig but didn't see quickly how
>>to do this.  If Linux doesn't allow this, the same thing can be
>>accomplished using multiple NICs per server.
>>
>>
ifconfig device:<alias> ipaddress up

For linux.

Sincerely,

Joshua D. Drake



>>We reserve a special IP for the DB server.  This IP can be assigned to
the
>>NIC of the machine currently hosting the database.  If you want apps to
>>connect to a different server, remove the IP from one machine and
reassign
>>it to the other.  This special DB IP is assigned on top of the regular IP
>>for the machine.
>>
>>Newly connecting apps are never the wiser, but existing connections must
be
>>terminated.
>>
>>
>
>Yes, linux can do it as well. But either case beware the arp cache :-)
>There is sqlrelay which could do the switching as well without
>forcing the apps to reconnect.
>
>Regards
>Tino
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
>


--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL

(See attached file: jd.vcf)

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: How to clear linux file cache?
Следующее
От: matthias@cmklein.de
Дата:
Сообщение: Re: How to deal with almost recurring data?