26 марта 2015 г.

Password recovery for ALOM4v

If the password for ALOM4v is lost or forgotten then the following password recovery steps can be taken to erase/reset the Advanced Lights Out Management(ALOM) NVRAM so that a user can gain access to ALOM, set a new password and restore the NVRAM settings.

Steps to Follow

Note: physical access to the system so that the power cables can be accessed and a serial connection can be made to the system is required for this procedure.



1. Make a connection to the ALOM serial management port.



2. Power cycle the system by unplugging the server's power supplies, waiting several seconds and then plugging the power supplies back in.



3. You should see the ALOM booting on the serial management console. Hit "Esc" (the Escape key) during the ALOM boot, before or at the point: "Return to Boot Monitor for Handshake"



This will cause the system to produce the message: "Return to Boot Monitor for Handshake ESC keypress detected."



4. ALOM will now enter the "ALOM boot escape menu" and the following will be displayed:



ALOM <ESC> Menu



e - Erase ALOM NVRAM.

m - Run POST Menu.

R - Reset ALOM.

r - Return to bootmon.

Your selection:





5. To clear out the existing password you must choose 'e' to erase the ALOM NVRAM. After using the 'e' option to erase the NVRAM choose the 'r' option to resume the ALOM boot. You will automatically be logged in as user 'admin' with no password and no permissions. The NVRAM settings will be reset to their factory defaults. Note that since this procedure resets the NVRAM settings to their defaults any customization (such as the ALOM network settings) will need to be recreated.

6 марта 2015 г.

HP DL360g7, RHEL 6 добавление дисков

- Вставляем диски в свободные слоты.


- С помощью ултилиты hpacucli (hpssacli) собираем новый массив из новых дисков.


=> ctrl all show detail
Smart Array P410i in Slot 0 (Embedded)
   Bus Interface: PCI
   Slot: 0
   Serial Number: 5901418017F2B3A9
   Cache Serial Number: POCAQ0CRHQY6IS
   RAID 6 (ADG) Status: Disabled
   Controller Status: OK
   Hardware Revision: C
   Firmware Version: 5.14
   Rebuild Priority: Medium
   Expand Priority: Medium
   Surface Scan Delay: 15 secs
   Surface Scan Mode: Idle
   Queue Depth: Automatic
   Monitor and Performance Delay: 60  min
   Elevator Sort: Enabled
   Degraded Performance Optimization: Disabled
   Inconsistency Repair Policy: Disabled
   Wait for Cache Room: Disabled
   Surface Analysis Inconsistency Notification: Disabled
   Post Prompt Timeout: 0 secs
   Cache Board Present: True
   Cache Status: OK
   Cache Ratio: 25% Read / 75% Write
   Drive Write Cache: Disabled
   Total Cache Size: 1024 MB
   Total Cache Memory Available: 912 MB
   No-Battery Write Cache: Disabled
   Cache Backup Power Source: Capacitors
   Battery/Capacitor Count: 1
   Battery/Capacitor Status: OK
   SATA NCQ Supported: True


Smart Array P410i in Slot 0 (Embedded)
   array A
      logicaldrive 1 (279.4 GB, RAID 1, OK)

=> ctrl serialnumber=5901418017F2B3A9 physicaldrive all show
Smart Array P410i in Slot 0 (Embedded)
   array A
      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 300 GB, OK)
      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 300 GB, OK)
      physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, OK, spare)

   unassigned
      physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 300 GB, OK)
      physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 300 GB, OK)
      physicaldrive 2I:1:7 (port 2I:box 1:bay 7, SAS, 300 GB, OK)
      physicaldrive 2I:1:8 (port 2I:box 1:bay 8, SAS, 300 GB, OK)



=> ctrl serialnumber=5901418017F2B3A9 create type=ld drives=2I:1:5,2I:1:6,2I:1:7,2I:1:8 raid=1+0
=> ctrl serialnumber=5901418017F2B3A9 logicaldrive all show
Smart Array P410i in Slot 0 (Embedded)
   array A
      logicaldrive 1 (279.4 GB, RAID 1, OK)
   array B
      logicaldrive 2 (558.7 GB, RAID 1+0, OK)


В данном случае получили второй массив - RAID10.

-Если необходимо, нарезаем разделы через fdisk, создаем файловые системы или изменяем существующие разделы LVM.