|
安装后检查报错 cluvfy comp scan
PRVG-1101 : SCAN name "tsmlinu-cluster-scan.zero2.test.com" failed to resolve
这个故障怎么排除?
grid@tsmlinux2 bin]$ cluvfy comp scan
Verifying SCAN
Checking Single Client Access Name (SCAN)...
Checking TCP connectivity to SCAN listeners...
TCP connectivity to SCAN listeners exists on all cluster nodes
Checking name resolution setup for "tsmlinu-cluster-scan.zero2.test.com"...
Checking integrity of name service switch configuration file "/etc/nsswitch.conf" ...
All nodes have same "hosts" entry defined in file "/etc/nsswitch.conf"
Check for integrity of name service switch configuration file "/etc/nsswitch.conf" passed
ERROR:
PRVG-1101 : SCAN name "tsmlinu-cluster-scan.zero2.test.com" failed to resolve
Checking SCAN IP addresses...
Check of SCAN IP addresses passed
Verification of SCAN VIP and listener setup failed
Verification of SCAN was unsuccessful on all the specified nodes.
DNS db配置
:
$TTL 86400
$ORIGIN test.com.
@ IN SOA ns1.test.com. root.test.com. (
42 ; serial
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
@ IN NS ns1.test.com.
IN A 10.7.1.4
ns1 IN A 10.7.1.4
ns2 IN A 10.7.1.4
gnsvip IN A 10.7.1.89
tsmlinux2 IN A 10.7.1.2
tsmlinux3 IN A 10.7.1.3
tsmlinux2-priv1 IN A 192.168.1.11
tsmlinux3-priv1 IN A 192.168.1.13
$ORIGIN zero2.test.com.
zero2.test.com. IN NS gnsvip.test.com.
named.conf配置
options {
// listen-on port 53 { 127.0.0.1; };
// listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
// allow-query { localhost; };
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
//add
zone "1.7.10.IN-ADDR.ARPA." IN { //REVERSE ZONE.
type master ;
notify no ;
file "10.7.1.db";
};
zone "test.com." IN {
type master ;
notify no ;
file "test.com.db";
};
dhcpd 配置。
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# option definitions common to all supported networks...
option domain-name "test.com";
option domain-name-servers ns1.test.com, ns2.test.com;
default-lease-time 600;
max-lease-time 7200;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;
# A slightly different configuration for an internal subnet.
subnet 10.7.1.0 netmask 255.255.255.0{
range 10.7.1.31 10.7.1.51;
option domain-name-servers 10.7.1.4;
option domain-name "test.com";
option routers 10.7.1.1;
option broadcast-address 10.7.1.255;
option time-offset -18000;
default-lease-time 600;
max-lease-time 7200;
}
~
~
~
|
|