Category Archives: NetApp

Как получить список DNS в NetApp через консоль

netapp

добрый день уважаемые читатели, те у кого из вас, на своей работе, имеют систему хранения данных от компании Netapp знают, что большая часть его функционала, доступна исключительно, через ssh подключение и это правильно, так как позволяет делать все административные вещи, гораздо быстрее, в отличии от Java интерфейса. При обновлении данной системы, вам потребуется доступ во внешнюю сеть и осуществляться она будет посредством вашего шлюза и DNS серверов. Если они настроены не правильно, у вас не получится произвести апгрейд, сегодня я покажу, как получить список DNS в NetApp через консоль

Netapp Show DNS Information

How to show DNS information on a Netapp, this command will show you if DNS resolution is enabled / disabled, statistics (such as hits, misses etc) and the DNS servers the Netapp is using for name resolution.

This Netapp HowTo is useful for the following

  • Netapp Show DNS info
  • Netapp Display if DNS is Enabled / Disabled
  • Netapp Show DNS Servers
  • Netapp Show DNS Stats

Netapp show DNS Information command

To display the Netapp DNS information enter:

1
dns info

Example Netapp DNS info output:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
netapp06> dns info
DNS is enabled

DNS caching is enabled

139897 cache hits
9993 cache misses
128 cache entries
9827 expired entries
9827 cache replacements

IP Address                                     State   Last Polled                  Avg RTT Calls  Errs
-------------------------------------------------------------------------------------------------------------
192.168.75.8                                  UP      Mon Apr 29 07:48:52 BST 2013      20 13214   330
192.168.75.9                                  UP      Wed Apr  3 09:42:38 BST 2013      60   681     2

Default domain: cloud.linuxmoz.com
Search domains: cloud.linuxmoz.com

Example output if netapp DNS is disabled:

Как определить время uptime на NetApp

netapp uptimeДобрый день! Уважаемые читатели IT блога Pyatilistnik.org. В минувший раз мы с вами разобрали различные примеры использования командлета Get-ADuser с практическими примерами. Идем далее и сегодня я хочу поговорить про системы хранения данных NetApp. Я хочу сделать для себя небольшую заметку, задачей которой будет научиться получать и узнавать время бесперебойной работы СХД, так же вы в литературе можете встретить такое слово "Uptime". Давайте приступать.

Show Netapp Ontap Version

How to show the Netapp OnTap operating system version from the CLI, this command will display the Netapp release number and the mode (e.g 7-mode).

This Netapp HowTo is useful for the following

  • Display Netapp OS Version
  • How To Show OnTAP Version Number
  • Show Netapp mode type
  • Display Operating System Version

How To Show OnTAP OS Version Number

To show the Netapp OnTAP version and mode enter the following command:

1
version

This will be give you an output similar to:

1
2
netapp01> version
NetApp Release 8.1.2 7-Mode: Tue Oct 30 19:56:51 PDT 2012

Netapp Show Disk Information

How to show netapp disk information from the CLI, this command will show Netapp HA, Shelf, bay, FC Channel, Disk Vital Product Information.

This Netapp HowTo is useful for the following

  • Display Netapp Disk Information
  • Show Netapp Disk FC Channel
  • Show Netapp HA
  • Netapp Show Disk Shelf
  • Netapp Show Disk Bay

Netapp Show Disk Information Command

Display the disk info with the following command:

1
sysconfig -d

Netapp Show Hardware Configuration

Before making any changes to your Netapp configuration it is good practice to take a backup of your existing configuration.

This Netapp HowTo is useful for the following

  • Netapp Display Configuration
  • Netapp Display Current Configuration
  • How To Show Netapp Configuration

How To Display Hardware Configuration on a Netapp

Netapp Display Hardware Configuration Command:

1
sysconfig -a

Netapp Create, Append or Overwrite a File (Like Cat Blah > file.txt)

How to create / overwrite a file on a Netapp, simialr to the unix / linux command “cat blah > file.txt”

This Netapp HowTo is useful for the following

  • Netapp add text to file
  • Netapp overwrite file
  • Netapp edit file

Netapp Create a File & add text to a File

The following command will create the file /etc/ironman.txt and add two lines “Pepper Potts” and “War Machine”

1
2
netapp> wrfile -a /etc/ironman.txt "Pepper Potts"
netapp> wrfile -a /etc/ironman.txt "War Machine"

The contents of the above file will look like this:

Netapp How to Read a File (Like Cat on Unix / Linux)

Netapp comes with a command to read text files, it’s similar to the Unix / Linux cat command.

This Netapp HowTo is useful for the following

  • Read files on Netapp
  • Netapp open text file
  • Netapp cat text file
  • Netapp read file on command line

Enter the following command to read text files on the command line:

1
rdfile /etc/hosts

The command above would print the contents of /etc/hosts