load_balance参数引起的oracle备份失败

load_balance参数引起的oracle备份失败

日志输出
ORA-19506: failed to create sequential file, name=“63u26090_1_1”, parms=""
ORA-27028: skgfqcre: sbtbackup returned error
ORA-19511: non RMAN, but media manager or vendor specific failure, error text:
VxBSACreateObject: Failed with error:
Server Status: Communication with the server has not been initiated or the server status has not been retrieved from the server.
channel ORA_SBT_TAPE_1 disabled, job failed on it will be run on another channel
RMAN-03009: failure of backup command on ORA_SBT_TAPE_2 channel at 05/22/2019 10:00:14
ORA-19506: failed to create sequential file, name=“64u26090_1_1”, parms=""
ORA-27028: skgfqcre: sbtbackup returned error
ORA-19511: non RMAN, but media manager or vendor specific failure, error text:
VxBSACreateObject: Failed with error:
Server Status: Communication with the server has not been initiated or the server status has not been retrieved from the server.

经排查,解析一切都正常,oracle的连接串tnsping都正常,oracle客户端到nbu master的端口都正常,最后发现是tnsnames.ora中的连接串写的有问题导致备份经常报错
backup =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.100.115)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.100.116)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dbtest)
)
)
因为一个连接串配置了两个ip,又加上load_balance值为yes,导致连接的时候不是连接到一个固定的ip
所以正确的做法应该是将load_balance的值写成no,或者只用一个ip,并且删掉load_balance这一行

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值