I think you can use  nicaliases
check this link:

https://xcat-docs.readthedocs.io/en/stable/advanced/domain_name_resolution/domain_name_resolution.html#dns-label



Thanks,
Casandra Qiu

...................................................................
Casandra Hong Qiu
Phone: (845) 433-9291, t/l 293-9291
Office: Building 8, 3-B-04
cxh...@us.ibm.com





From:   Bruce Carpenter <bcarpen...@uga.edu>
To:     "xcat-user@lists.sourceforge.net"
            <xcat-user@lists.sourceforge.net>
Date:   05/29/2020 04:14 PM
Subject:        [EXTERNAL] [xcat-user] DNS for multiple networks?



I currently have three networks defined in xCAT; When I run makedns xCAT is
creating the zones for each of these, but the dns is only being generated
for the "compute.lan" domain.  The zones are created by xCAT
in /etc/named.conf correctly when running makedns.
What I would like is the following names to be resolvable for the host
"b1-1":  b1-1.compute.lan b1-1.compute.ib and b1-1.ipmi.lan

Is there a way to do this with xCAT?

Network Defs:
# lsdef -t network compute.lan
Object name: compute.lan
    dhcpserver=10.2.0.11
    domain=compute.lan
    dynamicrange=10.2.100.0-10.2.102.255
    gateway=10.2.0.1
    mask=255.255.0.0
    mgtifname=ens224
    mtu=9000
    net=10.2.0.0
    staticrange=10.2.1.0-10.2.4.255

# lsdef -t network compute.ib
Object name: compute.ib
    domain=compute.ib
    mask=255.255.0.0
    mgtifname=ib0
    mtu=2044
    net=10.55.0.0

# lsdef -t network ipmi.lan
Object name: ipmi.lan
    dhcpserver=10.54.0.11
    domain=ipmi.lan
    dynamicrange=10.54.31.0-10.54.35.255
    mask=255.255.0.0
    mgtifname=ens256
    mtu=1500
    net=10.54.0.0
    staticrange=10.54.40.0-10.54.49.255

Example compute node definition: (with bmcuser & switch info removed)
Object name: b1-1
    arch=x86_64
    bmc=10.54.1.0
    chain=runcmd=bmcsetup,osimage=centos7.8-sapslurm-ro
    cons=ipmi
    cpucount=64
    cputype=AMD EPYC 7702P 64-Core Processor
    currchain=osimage=centos7.8-sapslurm-ro
    currstate=statelite centos7.8-x86_64-compute
    disksize=sda:224GB,sdb:894GB
    groups=all,ib,dell,ro-root-test
    installnic=mac
    ip=10.2.1.0
    mac=34:48:ed:e7:e6:3a
    memory=128598MB
    mgt=ipmi
    mtm=DELL:PowerEdge R6515
    netboot=xnba
    nfsserver=10.2.0.23
    nicextraparams.ib0=CONNECTED_MODE=no
    nicips.ib0=10.55.41.0
    nicnetworks.ib0=compute.ib
    nictypes.ib0=Infiniband
    os=centos7.8
    postbootscripts=otherpkgs

postscripts=syslog,remoteshell,syncfiles,confignetwork,setupntp,gacrc_setup_lscratch
    primarynic=mac
    profile=compute
    provmethod=centos7.8-sapslurm-ro
    supportedarchs=x86,x86_64


--
Bruce Carpenter
System Administrator Spec. EITS – Research Computing
#108 Computing Services
101 Cedar Street
Athens, GA 30602-0001
bcarpen...@uga.edu
Desk: 706-542-7391


_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=1SllFiXGPSGuA0RZbv0c5fRf35EmKZMr6-KWtiiCmDM&s=bzXNukX4n6jMpMKnY3lKT6mDN2jCgGAeCO2IIvoU_WM&e=







_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to