Echoing what Dave said: Be sure that your "/etc/resolv.conf" file includes a line like "search cluster.com"
Also be aware that reverse lookup is important, so ensure that you have an entry for your master node in "/etc/hosts" with the public IP address and the full name of the machine. For instance: 127.0.0.1 localhost 52.16.78.90 master.cluster.com master If your machine is registered in your external DNS source (the ones that you list in resolv.conf) then you don't need this step. > On October 18, 2019 at 3:39 PM [email protected] wrote: > > Is your resolv.conf set up with a domain directive or a search directive? > New nodes should get their resolv.conf configured automatically but if you > have only just now made the change on your management node it may not > reconfigure the resolver for you. > > -- ddj > Dave Johnson > > > > > On Oct 18, 2019, at 3:34 PM, Anthony Ruth > <[email protected]> wrote: > > > > > > > > > > Hello, > > > > I am trying to set up xcat on Ubuntu server 18.04. I am stuck at > > the point of setting up DNS. > > > > I am mainly following the guide located > > at:http://xcat-docs.readthedocs.io/en/stable/guides/get-started/quick_start.html > > > > I am able to get through the setup of the management node. When I > > reach the makehosts command under stage 1, I receive a message that the > > domain name is not set: > > > > root@clusteradmin:/home/anthony# makehosts steve0 > > Warning: [clusteradmin]: No domain can be determined for node > > 'steve0'. The domain of the xCAT node must be provided in an xCAT network > > definition or the xCAT site definition. > > > > I found an additional guide which appears to fix this issue at: > > https://xcat-docs.readthedocs.io/en/stable/advanced/domain_name_resolution/domain_name_resolution.html > > > > The domain is declared by: > > > > > > chdef -t site domain=cluster.com > > > > I then did the makehosts command and makedns -n which both appear > > successful. I tried the dns test using > > > > root@clusteradmin:/home/anthony# nslookup steve0 192.168.250.3 > > Server: 192.168.250.3 > > Address: 192.168.250.3#53 > > > > ** server can't find steve0: NXDOMAIN > > > > However, I can find steve if I include the domain > > > > root@clusteradmin:/home/anthony# nslookuphttp://steve0.cluster.com > > 192.168.250.3 > > Server: 192.168.250.3 > > Address: 192.168.250.3#53 > > > > Name:http://steve0.cluster.com > > Address: 192.168.250.200 > > > > This seems strange to me. Originally makehost steve0 was > > complaining that it did not have a domain for steve. Then we set a domain > > and makehost became happy, but nslookup is not happy and does not know > > steve0's domain. Trying xcatprobe xcatmn fails due to lack of dns. I do not > > understand the -i warning > > > > root@clusteradmin:/home/anthony# xcatprobe xcatmn > > [mn]: Checking all xCAT daemons are running... > > [ OK ] > > [mn]: Checking xcatd can receive command request... > > [ OK ] > > [mn]: Checking 'site' table is configured... > > [ OK ] > > [mn]: No interface provided by '-i' option, detected site table IP > > attribute 192.168.250.3, c...[WARN] > > [mn]: If this is incorrect, rerun with -i <ifname> option > > [WARN] > > [mn]: Checking provision network is configured... > > [ OK ] > > [mn]: Checking 'passwd' table is configured... > > [ OK ] > > [mn]: Checking important directories(installdir,tftpdir) are > > configured... [ OK ] > > [mn]: Checking SELinux is disabled... > > [ OK ] > > [mn]: Checking HTTP service is configured... > > [ OK ] > > [mn]: Checking TFTP service is configured... > > [ OK ] > > [mn]: Checking DNS service is configured... > > [FAIL] > > [mn]: DNS service isn't ready on 192.168.250.3 > > [mn]: Checking DHCP service is configured... > > [ OK ] > > [mn]: Checking NTP service is configured... > > [ OK ] > > [mn]: Checking rsyslog service is configured... > > [ OK ] > > [mn]: Checking firewall is disabled... > > [ OK ] > > [mn]: Checking minimum disk space for xCAT ['/var' needs 1GB;'/tmp' > > needs 1GB;'/install' need...[ OK ] > > [mn]: Checking Linux ulimits configuration... > > [ OK ] > > [mn]: Checking network kernel parameter configuration... > > [ OK ] > > [mn]: Checking xCAT daemon attributes configuration... > > [ OK ] > > [mn]: Checking xCAT log is stored in /var/log/xcat/cluster.log... > > [ OK ] > > [mn]: Checking xCAT management node IP: <192.168.250.3> is > > configured to static... [ OK ] > > [mn]: Checking dhcpd.leases file is less than 100M... > > [ OK ] > > =================================== SUMMARY > > ==================================== > > [MN]: Checking on MN... > > [FAIL] > > No interface provided by '-i' option, detected site table IP > > attribute 192.168.250.3, che...[WARN] > > If this is incorrect, rerun with -i <ifname> option > > [WARN] > > Checking DNS service is configured... > > [FAIL] > > DNS service isn't ready on 192.168.250.3 > > > > > > Can I get some help with the domain name problems? Here is some > > debugging information. Please let me know if you need anything else. > > > > root@clusteradmin:/home/anthony# cat /etc/hosts > > 127.0.0.1 localhost > > 192.168.250.3 clusteradminhttp://clusteradmin.cluster.com > > > > # The following lines are desirable for IPv6 capable hosts > > ::1 ip6-localhost ip6-loopback > > fe00::0 ip6-localnet > > ff00::0 ip6-mcastprefix > > ff02::1 ip6-allnodes > > ff02::2 ip6-allrouters > > 192.168.250.200 steve0http://steve0.cluster.com > > > > root@clusteradmin:/home/anthony# tabdump networks > > > > #netname,net,mask,mgtifname,gateway,dhcpserver,tftpserver,nameservers,ntpservers,logservers,dynamicrange,staticrange,staticrangeincrement,nodehostname,ddnsdomain,vlanid,domain,mtu,comments,disable > > > > "cluster","192.168.250.333333333333333333333333333333333","255.255.255.0",,"192.168.250.254",,,"192.168.250.3",,,,,,,,,"http://app.cluster.com > > ",,, > > > > "192_168_250_0-255_255_255_0","192.168.250.0","255.255.255.0","ens160","192.168.250.254",,"<xcatmaster>",,,,,,,,,,,"1500",, > > > > root@clusteradmin:/home/anthony# tabdump site > > #key,value,comments,disable > > "blademaxp","64",, > > "domain","http://cluster.com ",, > > "fsptimeout","0",, > > "installdir","/install",, > > "ipmimaxp","64",, > > "ipmiretries","3",, > > "ipmitimeout","2",, > > "consoleondemand","no",, > > "master","192.168.250.3",, > > "forwarders","208.67.222.222,208.67.220.220,127.0.0.53",, > > "nameservers","192.168.250.3",, > > "maxssh","8",, > > "ppcmaxp","64",, > > "ppcretry","3",, > > "ppctimeout","0",, > > "powerinterval","0",, > > "syspowerinterval","0",, > > "sharedtftp","1",, > > "SNsyncfiledir","/var/xcat/syncfiles",, > > "nodesyncfiledir","/var/xcat/node/syncfiles",, > > "tftpdir","/tftpboot",, > > "xcatdport","3001",, > > "xcatiport","3002",, > > "xcatconfdir","/etc/xcat",, > > "timezone","US/Central",, > > "useNmapfromMN","no",, > > "enableASMI","no",, > > "db2installloc","/mntdb2",, > > "databaseloc","/var/lib",, > > "sshbetweennodes","ALLGROUPS",, > > "dnshandler","ddns",, > > "vsftp","n",, > > "cleanupxcatpost","no",, > > "dhcplease","43200",, > > "auditnosyslog","0",, > > "auditskipcmds","ALL",, > > > > > > regards, > > Anthony Ruth > > > > _______________________________________________ > > xCAT-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/xcat-user > > > > > > _______________________________________________ > xCAT-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xcat-user >
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
