Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1170545
  • 博文数量: 245
  • 博客积分: 10185
  • 博客等级: 上将
  • 技术积分: 2744
  • 用 户 组: 普通用户
  • 注册时间: 2006-10-30 17:07
文章分类

全部博文(245)

文章存档

2015年(1)

2014年(1)

2013年(1)

2012年(1)

2011年(37)

2010年(20)

2009年(14)

2008年(38)

2007年(88)

2006年(44)

分类:

2011-08-22 14:24:35

NetBackup  Error 48: Server unable to resolve client name

环境:
client : oracle ha 环境, client1: hostA (10.10.2.5)
                         client2: hostB (10.10.2.6)
                         virtual: hostC (10.10.2.7)
master :   hostM
已在 hostM上配置了 altnames, 设置的policy client是 hostC ,但在备份的时候一直报
48: Server unable to resolve client name, 经检查, 已在hostA,hostB, hostM上配置了
10.10.2.7    SxVCS01
这一行, 为什么还是抱错呢?
在master上运行 hostM# ping hostC
hostM/opt # ping hostC
PING SxVCS01.cdc.***.com: 64 byte packets
64 bytes from 10.10.2.7: icmp_seq=0. time=0. ms
64 bytes from 10.10.2.7: icmp_seq=1. time=0. ms
64 bytes from 10.10.2.7: icmp_seq=1. time=0. ms
第一行很奇怪, 找的IP正确,但主机名还是找到SxVCS01上去了.这里说明一下, 10.10.2.7原来是分给SxVCS01主机的,但这台机器怀掉了,我就把这个IP
分给hostC(hostA和hostB的virtual name),没想到还是找到之前的主机去了,有点奇怪.
hostM:/opt/openv/netbackup # more /etc/nsswitch.conf
hosts: files [NOTFOUND=return UNAVAIL=continue] nis [NOTFOUND=return UNAVAIL=continue TRYAGAIN=continue] dns
                    
/etc/nsswitch.conf
#
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident "@(#)nsswitch.files     1.14    06/05/03 SMI"
#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
passwd:     files
group:      files
hosts:      files dns
..........................
找到原因,就比较好解决问题了,只能重新把主机名hostC改为 SxVCS01了, 好在oracle HA(VCS)不case这种主机名的修改,  将/etc/hosts各个修改回来就OK了.
因为dns的配置信息和/etc/hosts配置不一致而导致nbu配置&备份出错的issue已经好多次了,以后还真得注意了。
阅读(2538) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~