Category Archives: NetApp

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

Netapp

Добрый день! Уважаемые читатели и гости IT портала Pyatilistnik.org, Я продолжаю выкладывать небольшие подсказки по различным настройкам связанным с оборудованием компании NetApp. В сегодняшней заметке мы рассмотрим вопрос, как вы можете узнать и поменять основной шлюз на контроллере 2240. Уверен, что данная информация окажется для кого-то полезной. Если вам будет необходимо еще описать метод с использованием графического интерфейса, то вы напишите об этом в комментариях, я сразу его добавлю в данную статью.

NetApp Change Default Gateway

Netapp

Netapp

How to change the default gateway on Netapp from the CLI, as always when modifying the configuration on your Netapp I recommend you take a backup in case you need to restore the settings.

This Netapp HowTo is useful for the following

  • Netapp Change Default Route
  • Netapp Set Default Route
  • Netapp Change Gateway
  • Netapp Set Gatway
  • Netapp Add Default Gatway

To print the current network settings run:

1
ifconfig -a

Netapp Remove Default Gateway / Route

To change / set the default gateway on a netapp you first need to remove the previous default route.

Скачать шаблон Zabbix для NetApp

Netapp

Netapp

Т.к. для мониторинга я использую Zabbix, то я решил поискать шаблон в интернете. Нашел я его на форуме Zabbix

Итак, прежде чем импортировать шаблон, необходимо настроить преобразование значений

Идем по следующему пути:

«Administration -> General -> Value Mapping»

Создаем последовательно следующие преобразования

NetApp AutosupportStatus
1 ⇒ ok
2 ⇒ smtpFailure
3 ⇒ postFailure
4 ⇒ smtpPostFailure
5 ⇒ unknown
NetApp CifsIsEnabled
1 ⇒ false
2 ⇒ true

Netapp Show Aggregate Size, Disk Usage & WAFL Reserve

Netapp

Netapp

How to display Netapp Aggregate Size, Disk Usage, Total Space, WAFL Reserve & Netapp Snapshot Reserve Size.

Netapp Show Aggregate Size

Enter the following command to display the aggregate size:

1
netapp> aggr show_space

aggr show_space output:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
netapp> aggr show_space


Aggregate 'aggr0'

    Total space    WAFL reserve    Snap reserve    Usable space       BSR NVLOG           A-SIS          Smtape
      1024000KB        102400KB             0KB        921600KB             0KB             0KB             0KB

Space allocated to volumes in the aggregate

Volume                          Allocated            Used       Guarantee
vol0                             876760KB        177640KB          volume

Aggregate                       Allocated            Used           Avail
Total space                      876760KB        177640KB          8008KB
Snap reserve                          0KB         36572KB             0KB
WAFL reserve                     102400KB         10568KB         91832KB

Netapp Create Aggregate — Command Line HowTo

Netapp

Netapp

How to create a new aggregate on a Netapp filer, note this is a Netapp create Aggregate command line tutorial.

Netapp Create Aggregate Command Line

To show the Netapp Create Aggregate options type:

1
aggr create


Netapp Create Aggregate using RAID DP

The below command will create a new aggregate using FCAL disks and RAID DP, I am pretty sure raid_dp is the default on Netapp however I specify it for good measure. If you don’t know your disk type you can use the Netapp show disk information command.

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

Netapp

Netapp

Для того, чтобы посмотреть как на NetApp вывести список всех команд в консоли, нужно подключиться через консоль к контроллеру и выполнить

Netapp Show Aggregate Status

Netapp

Netapp

How to show the Netapp Aggregate status from the command line.

This Netapp HowTo is useful for the following

  • Show Aggregate Status
  • How to display Aggregate Status
  • Show Aggr Status

Netapp show Aggregate status command:

Netapp Display NIS Info

How to display NIS info on Netapp,

This Netapp HowTo is useful for the following

  • Netapp Display NIS info
  • Netapp Display YP info

Enter the following command to display Netapp NIS Info:

1
nis info

Which should give you an output similar to:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
netapp01> nis info

  NIS domain is cloud.linuxmoz.com

  NIS group cache has been enabled
  The group cache was last updated on Mon Apr 29 02:00:12 BST 2013


   IP Address             Type  State  Bound        Last Polled            Client calls   Became Active
-----------------------------------------------------------------------------------------------------------
192.168.75.4              PREF  ALIVE   YES    Mon Apr 29 08:05:35 BST 2013         0   Fri Mar  1 21:16:37 GMT 2013
192.168.75.5              PREF  ALIVE   NO     Mon Apr 29 08:05:35 BST 2013         0   Fri Mar  1 15:46:37 GMT 2013


      NIS Performance Statistics:
  Number of YP Lookups: 2801489626
  Total time spent in YP Lookups: 541818971 ms, 813 us
  Number of network re-transmissions: 2130
  Minimum time spent in a YP Lookup: 0 ms, 0 us
  Maximum time spent in a YP Lookup: 10064 ms, 679 us
  Average time spent in YP Lookups: 0 ms, 193 us

      3 Most Recent Lookups:
  [0] Lookup time: 0 ms, 1 us   Number of network re-transmissions: 0
  [1] Lookup time: 0 ms, 1 us   Number of network re-transmissions: 0
  [2] Lookup time: 0 ms, 1 us   Number of network re-transmissions: 0

      NIS netgroup (*.* and *.nisdomain) cache status:
  Netgroup cache: ready
  *.* eCode: 0
  *.nisdomain eCode: 5

 NIS Slave disabled