понедельник, 24 декабря 2012 г.

Debugging режим nslookup

В меморизз...
более подробный вывод nslookup'а:
Nslookup: set d2
 This topic has not yet been rated - Rate this topic

Turns exhaustive debugging mode on or off. All fields of every packet are printed.
Syntax

set [no]d2
Top of page
Parameters

nod2   : Turns off exhaustive debugging mode. The default syntax is nod2.
d2   : Turns on exhaustive debugging mode.
{ help | ? } : Displays a short summary of nslookup subcommands.

например, так:
nslookup
╤хЁтхЁ яю єьюыўрэш■:  UnKnown
Address:  192.168.41.20

> set d2
> ya.ru
╤хЁтхЁ:  UnKnown
Address:  192.168.41.20

------------
SendRequest(), len 37
    HEADER:
        opcode = QUERY, id = 2, rcode = NOERROR
        header flags:  query, want recursion
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        ya.ru.LANITNW.local, type = A, class = IN

------------
------------
Got answer (103 bytes):
    HEADER:
        opcode = QUERY, id = 2, rcode = NXDOMAIN
        header flags:  response, auth. answer, want recursion, recursion avail.
        questions = 1,  answers = 0,  authority records = 1,  additional = 0

    QUESTIONS:
        ya.ru.LANITNW.local, type = A, class = IN
    AUTHORITY RECORDS:
    ->  lanitnw.local
        type = SOA, class = IN, dlen = 41
        ttl = 3600 (1 hour)
        primary name server = alpha.lanitnw.local
        responsible mail addr = hostmaster.lanitnw.local
        serial  = 9243
        refresh = 900 (15 mins)
        retry   = 600 (10 mins)
        expire  = 86400 (1 day)
        default TTL = 3600 (1 hour)

------------
------------
SendRequest(), len 37
    HEADER:
        opcode = QUERY, id = 3, rcode = NOERROR
        header flags:  query, want recursion
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        ya.ru.LANITNW.local, type = AAAA, class = IN

------------
------------
Got answer (103 bytes):
    HEADER:
        opcode = QUERY, id = 3, rcode = NXDOMAIN
        header flags:  response, auth. answer, want recursion, recursion avail.
        questions = 1,  answers = 0,  authority records = 1,  additional = 0

    QUESTIONS:
        ya.ru.LANITNW.local, type = AAAA, class = IN
    AUTHORITY RECORDS:
    ->  lanitnw.local
        type = SOA, class = IN, dlen = 41
        ttl = 3600 (1 hour)
        primary name server = alpha.lanitnw.local
        responsible mail addr = hostmaster.lanitnw.local
        serial  = 9243
        refresh = 900 (15 mins)
        retry   = 600 (10 mins)
        expire  = 86400 (1 day)
        default TTL = 3600 (1 hour)

------------
------------
SendRequest(), len 23
    HEADER:
        opcode = QUERY, id = 4, rcode = NOERROR
        header flags:  query, want recursion
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        ya.ru, type = A, class = IN

------------
------------
Got answer (151 bytes):
    HEADER:
        opcode = QUERY, id = 4, rcode = NOERROR
        header flags:  response, want recursion, recursion avail.
        questions = 1,  answers = 8,  authority records = 0,  additional = 0

    QUESTIONS:
        ya.ru, type = A, class = IN
    ANSWERS:
    ->  ya.ru
        type = A, class = IN, dlen = 4
        internet address = 213.180.193.3
        ttl = 6188 (1 hour 43 mins 8 secs)
    ->  ya.ru
        type = A, class = IN, dlen = 4
        internet address = 213.180.204.3
        ttl = 6188 (1 hour 43 mins 8 secs)
    ->  ya.ru
        type = A, class = IN, dlen = 4
        internet address = 77.88.21.3
        ttl = 6188 (1 hour 43 mins 8 secs)
    ->  ya.ru
        type = A, class = IN, dlen = 4
        internet address = 87.250.250.3
        ttl = 6188 (1 hour 43 mins 8 secs)
    ->  ya.ru
        type = A, class = IN, dlen = 4
        internet address = 87.250.250.203
        ttl = 6188 (1 hour 43 mins 8 secs)
    ->  ya.ru
        type = A, class = IN, dlen = 4
        internet address = 87.250.251.3
        ttl = 6188 (1 hour 43 mins 8 secs)
    ->  ya.ru
        type = A, class = IN, dlen = 4
        internet address = 93.158.134.3
        ttl = 6188 (1 hour 43 mins 8 secs)
    ->  ya.ru
        type = A, class = IN, dlen = 4
        internet address = 93.158.134.203
        ttl = 6188 (1 hour 43 mins 8 secs)

------------
Не заслуживающий доверия ответ:
------------
SendRequest(), len 23
    HEADER:
        opcode = QUERY, id = 5, rcode = NOERROR
        header flags:  query, want recursion
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        ya.ru, type = AAAA, class = IN

------------
------------
Got answer (79 bytes):
    HEADER:
        opcode = QUERY, id = 5, rcode = NOERROR
        header flags:  response, want recursion, recursion avail.
        questions = 1,  answers = 0,  authority records = 1,  additional = 0

    QUESTIONS:
        ya.ru, type = AAAA, class = IN
    AUTHORITY RECORDS:
    ->  ya.ru
        type = SOA, class = IN, dlen = 44
        ttl = 900 (15 mins)
        primary name server = ns1.yandex.ru
        responsible mail addr = sysadmin.yandex.ru
        serial  = 2012121400
        refresh = 10800 (3 hours)
        retry   = 900 (15 mins)
        expire  = 2592000 (30 days)
        default TTL = 900 (15 mins)

------------
╚ь :     ya.ru
Addresses:  213.180.193.3
          213.180.204.3
          77.88.21.3
          87.250.250.3
          87.250.250.203
          87.250.251.3
          93.158.134.3
          93.158.134.203

четверг, 20 декабря 2012 г.

IBM IMM памятка по доступу

В мемориззз...
на примере сервера x3650M4 - интерфейсы IMM - на первом гигабитном и выделенный отдельный интерфейс (GE1 - IMM1 + IMM2).
Для доступа в BIOS - F1 при старте системы (там в настройках IMM можно посмотреть выданный по DHCP адрес).
Из описалова:
Open a web browser and in the Address or URL field, type the IP address or host name of the IMM to which you want to connect.
Note: If you are logging on to the IMM for the first time after installation, the IMM defaults to DHCP. If a DHCP host is not available, the IMM assigns a static IP address of 192.168.70.125.
On the Login page, type the user name and password. If you are using the IMM for the first time, obtain the user name and password from your system administrator. All login attempts are documented in the event log.
Note: The IMM is set initially with a user name of USERID and password of PASSW0RD (with a zero, not the letter O). You have read/write access. You must change this default password the first time you log on.
On the Welcome page, type a timeout value (in minutes) in the field that is provided. You are logged off the web interface if your browser is inactive for the number of minutes that you entered for the timeout value.
Click Continue to start the session. The System Status page provides a quick view of the server status.
например,
http://192.168.41.169/designs/imm/index-console.php#80
логин по умолчанию - USERID
пароль по умолчанию - PASSW0RD
(в пароле вместо буквы "О" - цифра "0" - ноль).
Также есть доступ по SSH:
login as: USERID
Using keyboard-interactive authentication.
Password:

MYIMM> ?
               ?  --  Display command list
       accseccfg  --  Account security configuration
        alertcfg  --  Display or change the IMM global remote alert parameters.
    alertentries  --  This command manages the recipients of alerts.
          backup  --  Creates a backup file containing the current system settings.
           batch  --  Executes CLI commands in a file.
        clearcfg  --  Resets the IMM to its default settings
        clearlog  --  Clear IMM event log
           clock  --  Display/set date, time, GMT offset, and dst setting
         console  --  Exit CLI, attach to serial console
        dhcpinfo  --  View DHCP server assigned settings
             dns  --  Displays the current DNS configuration of the IMM.
        ethtousb  --  Display and configure ethernet to ethernet over usb port mapping
            exit  --  Exit CLI (log off)
            fans  --  Displays the fan speed for all system fans
            ffdc  --  First Failure Data Capture (service data)
            help  --  Display command list
         history  --  Display history of last 8 commands
        identify  --  Control system locator LED
        ifconfig  --  Ethernet and PPP configuration
            info  --  Display and configure the information associated with the IMM
          keycfg  --  Display, add or delete activation keys
            ldap  --  LDAP configuration
             led  --  Display LED states.
             ntp  --  Displays and configures the Network Time Protocol
     passwordcfg  --  Password configuration
         portcfg  --  Serial port configuration.
           ports  --  Display and configure port numbers
           power  --  Control server power
         pxeboot  --  Enable or disable pxe next boot status
         readlog  --  Displays the IMM event log, five entries at a time
           reset  --  Reset server
         resetsp  --  Reset IMM
         restore  --  Restores the system settings using the input backup file.
 restoredefaults  --  Reset all IMM settings to factory defaults
             set  --  Set CLI environment variables and UEFI settings
            show  --  Display CLI environment variables and UEFI settings
            smtp  --  Display or set smtp server
            snmp  --  Enable or disable the SNMP agent
      snmpalerts  --  This command manages the recipients of snmp alerts
           srcfg  --  Serial redirection configuration
          sshcfg  --  Display and configures SSH parameters
             ssl  --  SSL configuration
          sslcfg  --  Displays and configures the status of the SSL Server and SSL Client
       syshealth  --  System Health
       telnetcfg  --  Display and configures Telnet parameters
           temps  --  Display system temperatures
         thermal  --  Display and configures the thermal mode policy of the host system.
        timeouts  --  Server timeouts configuration
          usbeth  --  Enable or disable the inband (Ethernet over USB) interface
           users  --  User profile configuration
           volts  --  Displays all the voltages and voltage thresholds
             vpd  --  Display VPD
Без дополнительной лицензии нет доступа к графической KVM консоли (+ аппаратный ключ).

понедельник, 17 декабря 2012 г.

Network Discovery (LLDP, OADP) на коммутационных модулях ALAXALA в Hitachi Blade CB2000

После пары часов попыток "подружить" discovery в L2 между модулем
обозначающемся в инвентори как:
Type          : 1G LANSW
Part/Model Number     : GV-BE2LSW1X1-Y
(это свич-модуль ALAXALA)
и Huawei, в частности, с использованием LLDP, решил таки покурить маны и нашел вот это:
...
(2) About compatibility with LLDPs uniquely supported by other vendors
The Link Layer Discovery Protocol (LLDP) supported by the Switch is not compatible with
LLDPs uniquely supported by other vendors#.
#
Cisco Systems: CDP (Cisco Discovery Protocol)
Extreme Networks: EDP (Extreme Discovery Protocol)
Foundry Networks: FDP (Foundry Discovery Protocol)
(3) About compatibility with the IEEE 802.1AB standard
The LLDP used by the Switch is based on IEEE 802.1AB Draft 6, but includes unique extensions.
It is therefore not compatible with the IEEE 802.1AB standard.
...
выделено жирным и подчеркнуто мной, кстати, своего "товарища" он увидел.
Также в мемориз: настройка и глобально и на портах:
(config)# lldp run
!(config)# do sh lldp
Status: Enabled  Chassis ID: Type=MAC       Info=0000.**
Interval Time: 30    Hold Count: 4  TTL: 120
Port Counts=0
!(config)# int range gi 0/1-4
!(config-if-range)# lldp ena
!(config-if-range)# exit
!(config)# do sh lldp
Status: Enabled  Chassis ID: Type=MAC       Info=0000.**
Interval Time: 30    Hold Count: 4  TTL: 120
Port Counts=4
  0/1            Link: Down Neighbor Counts:   0
  0/2            Link: Up   Neighbor Counts:   0
  0/3            Link: Down Neighbor Counts:   0
  0/4            Link: Up   Neighbor Counts:   0
когда появляется сосед запись примерно такая:
System Description: ALAXALA AX3640S GV-BE2LSW1N1 [GV-BE2LSW1N1] Switching software Ver. 10.7.F [OS-L3A]
Total Neighbor Counts=1

В OADP можно включить поддержку CDP, однако эффекта на линках с Cisco тоже замечено не было.
oadp run
oadp cdp-listener
interface range gigabitethernet 0/1-4
oadp enable

В общем, не торт...(((

четверг, 13 декабря 2012 г.

MS Windows Server 2008R2 MPIO

В мемориз...
после подключения полки Hitachi HUS110 по всем 8ми путям в разделе Управление Дисками будут 8 одинаковых неразбитых диска, чтобы они стали полноценным одним, нужно настроить многопутевой ввод/вывод (есть встроенный в систему или с диска от вендора).
Штатный виндовый:
Устанавливаем компонент "Многопутевой ввод-вывод"
Администрирование - MPIO
    Обнаружение многопутевых устройств
    HITACHI DF600F     Добавить
    Перезагрузка
После перезагрузки в Хранилище / Управление дисками - обычным образом добавить Диск.