Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / Oracle [игнор отключен] [закрыт для гостей] / настройка standby / 7 сообщений из 7, страница 1 из 1
04.07.2016, 13:59:00
    #39267325
Mylene
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
настройка standby
Добрый день коллеги.
Не могу разобраться в чем проблема
на standby выдает ошибку
Error 12154 received logging on to the standby
FAL[client, USER]: Error 12154 connecting to node for fetching gap sequence
вот ini.файл

node.__java_pool_size=67108864
node.__large_pool_size=83886080
node.__oracle_base='/u/app/oracle'#ORACLE_BASE set from environment
node.__pga_aggregate_target=2667577344
node.__sga_target=4194304000
node.__shared_io_pool_size=0
node.__shared_pool_size=738197504
node.__streams_pool_size=0
*.audit_file_dest='/u/app/oracle/admin/node/adump'
*.audit_trail='db'
*.compatible='11.2.0.4.0'
*.control_file_record_keep_time=31
*.control_files='/db1/oradata/node/control01.ctl','/db1/oradata/node/control02.ctl'
*.db_block_size=8192
*.db_domain=''
*.db_name='standby'
*.diagnostic_dest='/u/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=nodeXDB)'
*.job_queue_processes=1000
*.memory_target=5856638464
*.open_cursors=300
*.processes=350
*.remote_login_passwordfile='EXCLUSIVE'
*.sessions=390
*.undo_tablespace='UNDOTBS'
*.log_archive_dest_1='LOCATION=/u/app/oracle VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=standby'
*.log_archive_dest_2='SERVICE=node lgwr async reopen=15 max_failure=10 optional net_timeout=30 VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=node'
*.log_archive_start=TRUE
*.log_buffer=10485760
*.log_checkpoint_timeout=18000
*.standby_archive_dest='/u/app/oracle'
*.standby_file_management='AUTO'
*.FAL_SERVER='node'
при чем могу конентится со standby на node
В чем может быть проблема?
...
Рейтинг: 0 / 0
04.07.2016, 14:04:00
    #39267329
Mylene
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
настройка standby
tnsping со standby

tnsping primary

TNS Ping Utility for Linux: Version 11.2.0.4.0 - Production on 04-JUL-2016 17:01:14

Copyright (c) 1997, 2013, Oracle. All rights reserved.

Used parameter files:
/u/app/product/11.2.0/dbhome_1/network/admin/sqlnet.ora


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.220.0.3)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = node)))
OK (0 msec)
...
Рейтинг: 0 / 0
04.07.2016, 14:21:07
    #39267342
Vadim Lejnin
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
настройка standby
1) oracle error description
Код: plsql
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
$ oerr ora 12154
12154, 00000, "TNS:could not resolve the connect identifier specified"
// *Cause:  A connection to a database or other service was requested using
// a connect identifier, and the connect identifier specified could not
// be resolved into a connect descriptor using one of the naming methods
// configured. For example, if the type of connect identifier used was a
// net service name then the net service name could not be found in a
// naming method repository, or the repository could not be
// located or reached.
// *Action:
//   - If you are using local naming (TNSNAMES.ORA file):
//      - Make sure that "TNSNAMES" is listed as one of the values of the
//        NAMES.DIRECTORY_PATH parameter in the Oracle Net profile
//        (SQLNET.ORA)
//      - Verify that a TNSNAMES.ORA file exists and is in the proper
//        directory and is accessible.
//      - Check that the net service name used as the connect identifier
//        exists in the TNSNAMES.ORA file.
//      - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA
//        file.  Look for unmatched parentheses or stray characters. Errors
//        in a TNSNAMES.ORA file may make it unusable.
//   - If you are using directory naming:
//      - Verify that "LDAP" is listed as one of the values of the
//        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
//        (SQLNET.ORA).
//      - Verify that the LDAP directory server is up and that it is
//        accessible.
//      - Verify that the net service name or database name used as the
//        connect identifier is configured in the directory.
//      - Verify that the default context being used is correct by
//        specifying a fully qualified net service name or a full LDAP DN
//        as the connect identifier
//   - If you are using easy connect naming:
//      - Verify that "EZCONNECT" is listed as one of the values of the
//        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
//        (SQLNET.ORA).
//      - Make sure the host, port and service name specified
//        are correct.
//      - Try enclosing the connect identifier in quote marks.
//
//   See the Oracle Net Services Administrators Guide or the Oracle
//   operating system specific guide for more information on naming.



2) У Вас (это init со standby?):
Код: plsql
1.
*.log_archive_dest_2='SERVICE=node lgwr async reopen=15 max_failure=10 optional net_timeout=30 VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=node'


А Вы проверяете:
Код: plsql
1.
tnsping primary
...
Рейтинг: 0 / 0
04.07.2016, 14:31:47
    #39267355
Q.Tarantino
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
настройка standby
Mylene*.FAL_SERVER='node'
Mylenetnsping primary
так он все же primary или node?
...
Рейтинг: 0 / 0
04.07.2016, 14:44:15
    #39267371
Mylene
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
настройка standby
Q.Tarantino,
да init файл со стандбая

tnsping со standby на primary
tnsping primary

TNS Ping Utility for Linux: Version 11.2.0.4.0 - Production on 04-JUL-2016 17:38:21

Copyright (c) 1997, 2013, Oracle. All rights reserved.

Used parameter files:
/u/app/product/11.2.0/dbhome_1/network/admin/sqlnet.ora


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.220.0.3)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = node)))
OK (0 msec)

TNSNAMES.ora
STANDBY =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.220.0.4)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = standby)
)
)



primary =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.220.0.3)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = node)
)
)
...
Рейтинг: 0 / 0
04.07.2016, 15:32:32
    #39267438
Q.Tarantino
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
настройка standby
MyleneQ.Tarantino,
да init файл со стандбая
ты совсем не читаешь что у тебя спрашивают?
посмотри что прописано в fal_server!!!
или иди картриджи меняй, это твое.
...
Рейтинг: 0 / 0
04.07.2016, 19:23:40
    #39267645
Mylene
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
настройка standby
Спасибо, катриджы я поменять успею, не переживайте ;-)

А по сабжу, я сама запуталась в настройках.
Спасибо, у меня все работает.
...
Рейтинг: 0 / 0
Форумы / Oracle [игнор отключен] [закрыт для гостей] / настройка standby / 7 сообщений из 7, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]