Re: How to configure two netcard for PostgreSQL?

Поиск
Список
Период
Сортировка
От Tomasz Myrta
Тема Re: How to configure two netcard for PostgreSQL?
Дата
Msg-id 3E87E084.8070302@klaster.net
обсуждение исходный текст
Ответ на Re: How to configure two netcard for PostgreSQL?  ("dailiming" <ldai@accunettech.com>)
Список pgsql-sql
Uz.ytkownik dailiming napisa?:
> I try again. 
> F.E:
> First,I modified the pg_hba.conf cfg file.
> 
> host all 192.168.0.10 255.255.255.0 trust
> host all 192.168.1.10 255.255.255.0 trust
> 
> Second, I used "/etc/rc.d/init.d/postgresql" to stopping the postmaster.
> Finally, I restart the postmaster by "/usr/bin/postmaster -i -S -D /var/lib/pgsql/lib/data".
> 
> When I telnet 192.168.0.10 to connect database,I have the same results as before.
> 
> "psql -h 192.168.0.10 coredb  " is failed.
> "psql -h 192.168.1.10 coredb "  is successed.
> 
> Why the first is failed?


I have postgres 7.3. I tested your case on ip-alias on only one netcard
and it works fine.
Maybe you have some routing problems? Can you ping both netcards?

Regards,
Tomasz Myrta



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to configure two netcard for PostgreSQL?
Следующее
От: Rajesh Kumar Mallah
Дата:
Сообщение: Re: Off topic : world database