Hi,
I am trying to add a DNS domain and name servers and it fails with "The data interface for the storage vm does not exist. Add a data interface, and configure DNS again"
I created data interfaces on both SVMs, on all FC ports, still same error
VSERVER: dr_svm0
This SVM only has FC Data LIFs. There are NO IP data LIFs. How do you expect the SVM to contact the DNS IPs if there is no IP address fro the SVM? Then after you create the DATA LIF, you may need to create a route and finally, if everything is good, you can create the dns servers
network interface create -vserver dr_svm0 -lif mgmt-home-node FAS8300-01 -auto-revert true -failover-policy broadcast-domain-wide -service-policy default-management -address 192.168.162.XXX -netmask-length 24 -home-port e0M -status-admin up -failover-policy broadcast-domain-wide -firewall-policy mgmt route create -vserver dr_svm0 -destination 0.0.0.0/0 -gateway 192.168.162.XXX dns creat -vserver dr_svm0 -domains bdbc.local -name-servers 192.168.172.30, 192.168.132.30
Obviously you need to correct the IP address for the LIF and then again for the gateway.
Show us:
net int show -vserver xxx
route show -vserver xxx
dns show -vserver xxx
(where xxx is the vserver you are trying to add dns)
Something is not making sense in your statement
Hi, I was trying to add DNS to the 2 svms dr_svm0 dr_svm1
With the commands you told me to execute, it looks like DNS and name servers were already added to the FAS8300.
FAS8300::*> net int show -vserverCluster FAS8300 FAS8300-01 FAS8300-02 dr_svm0 dr_svm1FAS8300::*> net int show -vserver dr_svm0(network interface show)Logical Status Network Current Current IsVserver Interface Admin/Oper Address/Mask Node Port Home----------- ---------- ---------- ------------------ ------------- ------- ----dr_svm0lif_dr_svm0_21 up/up 20:03:d0:39:ea:98:1c:a6 FAS8300-02 0e truelif_dr_svm0_701 up/up 20:04:d0:39:ea:98:1c:a6 FAS8300-02 0f truelif_dr_svm0_843 up/up 20:02:d0:39:ea:98:1c:a6 FAS8300-01 0e truelif_dr_svm0_936 up/up 20:01:d0:39:ea:98:1c:a6 FAS8300-01 0f true4 entries were displayed.
FAS8300::*> route show -vserver dr_svm0There are no entries matching your query.
-instance -domains-name-servers -timeout-attempts -is-tld-query-enabled-require-source-address-match -require-packet-query-match-fieldsFAS8300::*> dns show -vserver FAS8300
Vserver: FAS8300Domains: bdbc.localName Servers: 192.168.172.30, 192.168.132.30Timeout (secs): 2Maximum Attempts: 1Is TLD Query Enabled?: trueRequire Source and Reply IPs to Match: trueRequire Packet Queries to Match: true
FAS8300::*> net int show -vserver FAS8300(network interface show)Logical Status Network Current Current IsVserver Interface Admin/Oper Address/Mask Node Port Home----------- ---------- ---------- ------------------ ------------- ------- ----FAS8300FAS8300-01_mgmt1 up/up 192.168.162.202/24 FAS8300-01 e0M trueFAS8300-023519 up/up 192.168.162.205/24 FAS8300-02 e0M trueFAS8300-02_mgmt up/up 192.168.162.203/24 FAS8300-02 e0M truecluster_mgmt up/up 192.168.162.201/24 FAS8300-01 e0M true4 entries were displayed.
FAS8300::*> route show -vserver FAS8300Vserver Destination Gateway Metric------------------- --------------- --------------- ------FAS83000.0.0.0/0 192.168.162.1 20
it worked! thanks for your tips!