Thursday, July 17, 2014

CONFIGURING NTP , DNS , ON CISCO SAN SWITCH

ALL DOCUMENT ARE PROPERTY OF SHIVAKANT , DO NOT COPY IBM , AIX , HACMP , ARE REGISTERED TRADE MARK OF IBM, NETAPP IS REGISTERED TRADEMARK OF NETAPP 
http://aix-administration.blogspot.com/p/index-of-posts-available-in-this-blog.html 





CONFIGURING TIME SERVER ON CISCO MDS 9000 SWITCH
config t
ntp server 192.168.1.100
ntp server 192.168.1.50
show ntp peers

CONFIGURING DNS CLIENT IN CISCO MDS 9000 SWITCH


ip domain-lookup
ip domain-name test.contso.com
ip name-server 192.168.1.30  192.168.1.20
TEST CONFIGURATION
show hosts

DNS lookup enabled
Default domain is test.contso.com
Name servers are  192.168.1.30  192.168.1.20




SHOW NTP SETTING ON CISCO MDS 9000 SWITCH
emigsan01# show ntp peers
--------------------------------------------------
  Peer IP Address               Serv/Peer
--------------------------------------------------
  192.168.1.100                 Server (configured)
  192.168.1.50                 Server (configured)

 

SETTING NAME SERVER (DNS SETTING ) , NTP AND SYSLOG SETTING IN NETAPP STORAGE

ALL DOCUMENT ARE PROPERTY OF SHIVAKANT , DO NOT COPY IBM , AIX , HACMP , ARE REGISTERED TRADE MARK OF IBM, NETAPP IS REGISTERED TRADEMARK OF NETAPP 
http://aix-administration.blogspot.com/p/index-of-posts-available-in-this-blog.html 






SETTING NAME SERVER (DNS SETTING ) , NTP AND SYSLOG SETTING IN NETAPP STORAGE

CONFIGURING NTP SERVER 

NETAPP> options timed.servers 192.168.1.100,192.168.1.50
Reminder: you should also set option timed.servers on the partner node
or the next takeover may not function correctly.
NETAPP> options timed.proto ntp
Reminder: you should also set option timed.proto on the partner node
or the next takeover may not function correctly.
NETAPP> options timed.enable on
timed is already on

CONFIGURING SYSLOG IN NETAPP STORAGE 

wrfile -a /etc/syslog.conf *.* @192.168.1.40
rdfile /etc/syslog.conf
*.* @192.168.1.40

CONFIGURING DNS CLIENT  IN NETAPP STORAGE

wrfile -a /etc/resolv.conf "nameserver      192.168.1.30"
 wrfile -a /etc/resolv.conf "nameserver      192.168.1.20"
  wrfile -a /etc/resolv.conf "search emigrate.gov.in"
 rdfile /etc/resolv.conf
options dns.enable on

NETAPP> wrfile -a /etc/resolv.conf "nameserver      192.168.1.30"
NETAPP> wrfile -a /etc/resolv.conf "nameserver      192.168.1.20"
NETAPP>  wrfile -a /etc/resolv.conf "search emigrate.gov.in"
NETAPP> rdfile /etc/resolv.conf
nameserver      192.168.1.30
nameserver      192.168.1.20
search emigrate.gov.in


NETAPP> options dns.enable on
** Option dns.enable is being set to "on", but this conflicts
** with a line in /etc/rc that sets it to "off".
** Options are automatically persistent, but the line in /etc/rc
** will override this persistence, so if you want to make this change
** persistent, you will need to change (or remove) the line in /etc/rc.
You are changing option dns.enable which applies to both members of
the cluster in takeover mode.
This value must be the same in both cluster members prior to any takeover
or giveback, or that next takeover/giveback may not work correctly.
REMOVE THE LINE IN /etc/rc regarding options dns