Chủ Nhật, 31 tháng 1, 2021

Các câu lệnh hay dùng quản trị ILOM máy chủ Sun, Oracle

1. Check log:

show -l all

Kiểm tra lỗi
            -> show /System/ health_details 
 
  /System
    Properties:
        health_details = MB (Motherboard) is faulty. Type 'show /System/Open_Problems' for details.
 
 
-> show /System/Open_Problems
 
Open Problems (1)
Date/Time                 Subsystems          Component
------------------------  ------------------  ------------
Fri May  9 07:45:04 2003  System              MB (Motherboard)
        A chassis voltage supply is operating outside of the allowable range. (Probability:100, UUID:5f1a6da8-9b64-681a-99dc-f3af0512073a, Part 
        Number:7076601, Serial Number:465769T+1335UL06A3, Reference Document:http://support.oracle.com/msg/SPT-8000-DH)

Kiểm tra phiên bản firmware  

 
Phiên bản sau nâng cấp:
 

T5-2
 
faultmgmtsp> fmadm faulty
------------------- ------------------------------------ -------------- --------
Time                UUID                                 msgid          Severity
------------------- ------------------------------------ -------------- --------
2000-01-15/15:50:06 d3daf219-b754-cae5-9218-f01b550abdb6 SPSUN4V-8000-CQ Major
 
Problem Status           : open
Diag Engine              : fdd 1.0
System                  
   Manufacturer          : Oracle Corporation
   Name                  : SPARC T5-2
   Part_Number           : 32446054+1+1
   Serial_Number         : AK00188888
 
System Component        
   Firmware_Manufacturer : Oracle Corporation
   Firmware_Version      : (ILOM)4.0.4.3,(POST)5.3.15,(OBP)4.38.17,(HV)1.15.17
   Firmware_Release      : (ILOM)2019.01.25,(POST)2019.01.25,(OBP)2019.01.25,(HV)2019.01.25
 
----------------------------------------
Suspect 1 of 1
   Problem class  : fault.memory.dimm
   Certainty      : 100%
   Affects        : /SYS/MB/CM0/CMP/MR2/BOB0/CH0/D0
   Status         : faulted
 
   FRU                 
      Status            : faulty
      Location          : /SYS/MB/CM0/CMP/MR2/BOB0/CH0/D0
      Manufacturer      : Samsung
      Name              : 16384MB DDR3 SDRAM DIMM
      Part_Number       : 7042210,M393B2G70BH0-YK0
      Revision          : 01
      Serial_Number     : 00CE021403376780DC
      Chassis          
         Manufacturer   : Oracle Corporation
         Name           : SPARC T5-2
         Part_Number    : 32446054+1+1
         Serial_Number  : AK00188631
 
Description : The number of correctable errors associated with this memory
              module has exceeded acceptable levels.
 
Response    : An attempt will be made to remove the affected memory from
              service.
 
Impact      : The DIMM may be deconfigured at system restart which would
              reduce total system memory capacity.
 
Action      : Use 'fmadm faulty' to provide a more detailed view of this
              event. Please refer to the associated reference document at
              http://support.oracle.com/msg/SPSUN4V-8000-CQ for the latest
              service procedures and policies regarding this diagnosis.
 
------------------- ------------------------------------ -------------- --------
Time                UUID                                 msgid          Severity
------------------- ------------------------------------ -------------- --------
2000-01-15/15:49:39 e6de315b-08ed-6bda-f028-8eaeac451fdf SPSUN4V-8000-U4 Major
 
Problem Status           : open
Diag Engine              : fdd 1.0
System                  
   Manufacturer          : Oracle Corporation
   Name                  : SPARC T5-2
   Part_Number           : 32446054+1+1
   Serial_Number         : AK00188631
 
System Component        
   Firmware_Manufacturer : Oracle Corporation
   Firmware_Version      : (ILOM)4.0.4.3,(POST)5.3.15,(OBP)4.38.17,(HV)1.15.17
   Firmware_Release      : (ILOM)2019.01.25,(POST)2019.01.25,(OBP)2019.01.25,(HV)2019.01.25
 
----------------------------------------
Suspect 1 of 1
   Problem class  : fault.memory.dram-ss
   Certainty      : 100%
   Affects        : /SYS/MB/CM0/CMP/MR2/BOB0/CH0/D0/RANK0/DRAM16
   Status         : faulted
 
   FRU                 
      Status            : faulty
      Location          : /SYS/MB/CM0/CMP/MR2/BOB0/CH0/D0
      Manufacturer      : Samsung
      Name              : 16384MB DDR3 SDRAM DIMM
      Part_Number       : 7042210,M393B2G70BH0-YK0
      Revision          : 01
      Serial_Number     : 00CE021403376780DC
      Chassis          
         Manufacturer   : Oracle Corporation
         Name           : SPARC T5-2
         Part_Number    : 32446054+1+1
         Serial_Number  : AK00188631
   Resource            
      Location          : /SYS/MB/CM0/CMP/MR2/BOB0/CH0/D0/RANK0/DRAM16
 
Description : A DRAM chip is experiencing excessive correctable errors.
 
Response    : An attempt will be made to remove the affected memory from
              service.
 
Impact      : The DIMM may be deconfigured at system restart which would
              reduce total system memory capacity.
 
Action      : Use 'fmadm faulty' to provide a more detailed view of this
              event. Please refer to the associated reference document at
              http://support.oracle.com/msg/SPSUN4V-8000-U4 for the latest
              service procedures and policies regarding this diagnosis.
 
 
-> show faulty
Target                                    | Property                                         | Value                                                                  
------------------------------------------+--------------------------------------------------+------------------------------------------------------------------------
/SP/faultmgmt/0                           | fru                                              | /SYS/MB/CM0/CMP/MR2/BOB0/CH0/D0
/SP/faultmgmt/0/faults/0                  | class                                            | fault.memory.dram-ss
/SP/faultmgmt/0/faults/0                  | sunw-msg-id                                      | SPSUN4V-8000-U4
/SP/faultmgmt/0/faults/0                  | component                                        | /SYS/MB/CM0/CMP/MR2/BOB0/CH0/D0/RANK0/DRAM16
/SP/faultmgmt/0/faults/0                  | uuid                                             | e6de315b-08ed-6bda-f028-8eaeac451fdf
/SP/faultmgmt/0/faults/0                  | timestamp                                        | 2000-01-15/15:49:39
/SP/faultmgmt/0/faults/0                  | fru_rev_level                                    | 01
/SP/faultmgmt/0/faults/0                  | fru_serial_number                                | 00CE021403376780DC
/SP/faultmgmt/0/faults/0                  | fru_manufacturer                                 | Samsung
/SP/faultmgmt/0/faults/0                  | fru_name                                         | 16384MB DDR3 SDRAM DIMM
/SP/faultmgmt/0/faults/0                  | fru_part_number                                  | 7042210,M393B2G70BH0-YK0
/SP/faultmgmt/0/faults/0                  | system_component_manufacturer                    | Oracle Corporation
/SP/faultmgmt/0/faults/0                  | system_component_name                            | SPARC T5-2
/SP/faultmgmt/0/faults/0                  | system_component_part_number                     | 32446054+1+1
/SP/faultmgmt/0/faults/0                  | system_component_serial_number                   | AK00188631
/SP/faultmgmt/0/faults/0                  | chassis_manufacturer                             | Oracle Corporation
/SP/faultmgmt/0/faults/0                  | chassis_name                                     | SPARC T5-2
/SP/faultmgmt/0/faults/0                  | chassis_part_number                              | 32446054+1+1
/SP/faultmgmt/0/faults/0                  | chassis_serial_number                            | AK00188631
/SP/faultmgmt/0/faults/0                  | system_manufacturer                              | Oracle Corporation
/SP/faultmgmt/0/faults/0                  | system_name                                      | SPARC T5-2
/SP/faultmgmt/0/faults/0                  | system_part_number                               | 32446054+1+1
/SP/faultmgmt/0/faults/0                  | system_serial_number                             | AK00188631
/SP/faultmgmt/0/faults/0                  | retire                                           | immediate
/SP/faultmgmt/0/faults/0                  | system_component_firmware_manufacturer           | Oracle Corporation
/SP/faultmgmt/0/faults/0                  | system_component_firmware_versions               | (ILOM)4.0.4.3,(POST)5.3.15,(OBP)4.38.17,(HV)1.15.17
/SP/faultmgmt/0/faults/0                  | system_component_firmware_releases               | (ILOM)2019.01.25,(POST)2019.01.25,(OBP)2019.01.25,(HV)2019.01.25
/SP/faultmgmt/0/faults/1                  | class                                            | fault.memory.dimm
/SP/faultmgmt/0/faults/1                  | sunw-msg-id                                      | SPSUN4V-8000-CQ
/SP/faultmgmt/0/faults/1                  | component                                        | /SYS/MB/CM0/CMP/MR2/BOB0/CH0/D0
/SP/faultmgmt/0/faults/1                  | uuid                                             | d3daf219-b754-cae5-9218-f01b550abdb6
/SP/faultmgmt/0/faults/1                  | timestamp                                        | 2000-01-15/15:50:06
/SP/faultmgmt/0/faults/1                  | fru_rev_level                                    | 01
/SP/faultmgmt/0/faults/1                  | fru_serial_number                                | 00CE021403376780DC
/SP/faultmgmt/0/faults/1                  | fru_manufacturer                                 | Samsung
/SP/faultmgmt/0/faults/1                  | fru_name                                         | 16384MB DDR3 SDRAM DIMM
/SP/faultmgmt/0/faults/1                  | fru_part_number                                  | 7042210,M393B2G70BH0-YK0
/SP/faultmgmt/0/faults/1                  | system_component_manufacturer                    | Oracle Corporation
/SP/faultmgmt/0/faults/1                  | system_component_name                            | SPARC T5-2
/SP/faultmgmt/0/faults/1                  | system_component_part_number                     | 32446054+1+1
/SP/faultmgmt/0/faults/1                  | system_component_serial_number                   | AK00188631
/SP/faultmgmt/0/faults/1                  | chassis_manufacturer                             | Oracle Corporation
/SP/faultmgmt/0/faults/1                  | chassis_name                                     | SPARC T5-2
/SP/faultmgmt/0/faults/1                  | chassis_part_number                              | 32446054+1+1
/SP/faultmgmt/0/faults/1                  | chassis_serial_number                            | AK00188631
/SP/faultmgmt/0/faults/1                  | system_manufacturer                              | Oracle Corporation
/SP/faultmgmt/0/faults/1                  | system_name                                      | SPARC T5-2
/SP/faultmgmt/0/faults/1                  | system_part_number                               | 32446054+1+1
/SP/faultmgmt/0/faults/1                  | system_serial_number                             | AK00188631
/SP/faultmgmt/0/faults/1                  | retire                                           | immediate
/SP/faultmgmt/0/faults/1                  | system_component_firmware_manufacturer           | Oracle Corporation
/SP/faultmgmt/0/faults/1                  | system_component_firmware_versions               | (ILOM)4.0.4.3,(POST)5.3.15,(OBP)4.38.17,(HV)1.15.17
/SP/faultmgmt/0/faults/1                  | system_component_firmware_releases               | (ILOM)2019.01.25,(POST)2019.01.25,(OBP)2019.01.25,(HV)2019.01.25
2. Power On the Server (Oracle ILOM)

-> start /SYS
Are you sure you want to start /SYS (y/n) ? Y

- Monitor:

-> start /SP/console  --Truy cập vào console
(-> start –force /SP/console)
{ok} boot

3. Reset the Server (Oracle ILOM)

The Oracle ILOM reset command generates a graceful or forced hardware reset of the server. By default, the reset command gracefully resets the server.
- Type one of the following commands to reset the server.
# shutdown -g0 -i6 -y
or
# reboot
- Perform a graceful reset from Oracle ILOM:
-> reset /SYS
(-> reset -force /SYS)
- Monitor:
-> start /SP/console (check thông tin hiển thị)
4. Power Off the Server (Oracle ILOM)
- Shut down the Oracle Solaris OS
# shutdown -g0 -i0 -y
{0} ok
-> stop /SYS
(-> stop -force /SYS)
Are you sure you want to stop /SYS (y/n)? y


From <http://docs.oracle.com/cd/E22985_01/html/E22986/z40004b71302302.html#scrolltoc> 
5. Clear error
start /SP/faultmgmt/shell
faultmgmtsp> fmadm faulty
----------------- ------------------------------------- -------------- --------
Time               UUID                                  msgid         Severity
----------------- ------------------------------------- -------------- --------
2010-09-03/20:46:23 fa4a2f86-5156-4243-8e88-d6516db12970 SPT-8000-DH    Critical
   
Fault class : fault.chassis.voltage.fail
 
FRU         : /SYS/MB
              (Part Number: 541-4197-04)
              (Serial Number: 1005LCB-1025D40059)
   
Description : A chassis voltage supply is operating outside of the
              allowable range.
   
Response    : The system will be powered off.  The chassis-wide service
              required LED will be illuminated.
 
Impact      : The system is not usable until repaired.  ILOM will not allow
              the system to be powered on until repaired.
 
Action      : The administrator should review the ILOM event log for
              additional information pertaining to this diagnosis.  Please
              refer to the Details section of the Knowledge Article for
              additional information.
 
faultmgmtsp> fmadm repair fa4a2f86-5156-4243-8e88-d6516db12970 

6. Bật đèn của máy chủ

Locate Oracle Sun Server Using Locator LED
Before You Begin
• User Management (u) role privileges are required to modify the system indicator settings in Oracle ILOM
To locate a specific Oracle Sun server among many servers in a data center, you can use either the Oracle ILOM CLI or web interface to illuminate the Locator LED that is typically located on both the front and back panel of an Oracle Sun server.
• Enable or disable Locator LED – Web Procedure 1
• Enable or disable Locator LED – CLI Procedure 2
7. Web Procedure – Enable or Disable Locate LED
8. In the web interface, click System Monitoring --> Indicators.
9. In the Actions list box, click Name: Locate.
10. To illuminate the Locator LED, select the radio button adjacent to /SYS/LOCATE, and then click Set LED to Fast Blink.
11. To disable the Locator LED, select the radio button adjacent to /SYS/LOCATE, and then click Turn LED Off.
12. CLI Procedure – Enable or Disable Locate LED
• To illuminate the Locator LED from a server SP, type:
-> set /SYS/LOCATE value=fast_blink
• To disable the Locator LED from a server SP, type:
-> set /SYS/LOCATE value=off
Related Information
• Oracle ILOM 3.0 Daily Management Web Procedures, monitor system sensors and indicators
• Oracle ILOM 3.0 Daily Management CLI Procedures, monitor system sensors and indicators
• Oracle ILOM 3.0 Protocol Management Reference, monitor system sensors, indicators, and event log (SNMP)
From <https://docs.oracle.com/cd/E19860-01/E21549/z40013e61440712.html> 


==================================
KẾT NỐI VỚI CHUYÊN GIA TRẦN VĂN BÌNH:
📧 Mail: binhoracle@gmail.com
☎️ Mobile: 0902912888
⚡️ Skype: tranbinh48ca
👨 Facebook: https://www.facebook.com/BinhOracleMaster
👨 Inbox Messenger: https://m.me/101036604657441 (profile)
👨 Fanpage: https://www.facebook.com/tranvanbinh.vn
👨 Inbox Fanpage: https://m.me/tranvanbinh.vn
👨👩 Group FB: https://www.facebook.com/groups/DBAVietNam
👨 Website: https://www.tranvanbinh.vn
👨 Blogger: https://tranvanbinhmaster.blogspot.com
🎬 Youtube: http://bit.ly/ytb_binhoraclemaster
👨 Tiktok: https://www.tiktok.com/@binhoraclemaster?lang=vi
👨 Linkin: https://www.linkedin.com/in/binhoracle
👨 Twitter: https://twitter.com/binhoracle
👨 Địa chỉ: Tòa nhà Sun Square - 21 Lê Đức Thọ - Phường Mỹ Đình 1 - Quận Nam Từ Liêm - TP.Hà Nội

-----------
học oracle database
Các tìm kiếm liên quan đến học oracle
database
Tự học Oracle
Tài liệu Oracle 12c tiếng Việt
Hướng dẫn sử dụng Oracle Database
Oracle SQL cơ bản
Oracle SQL là gì
Khóa học Oracle Hà Nội
Học chứng chỉ Oracle ở đầu
Khóa học Oracle online
khóa học pl/sql
học dba
học dba ở việt nam
khóa học dba
khóa học dba sql
tài liệu học dba oracle
Khóa học Oracle online
học oracle sql
học oracle ở đâu tphcm
học oracle bắt đầu từ đâu
học oracle ở hà nội
oracle database tutorial
oracle database 12c
oracle database là gì
oracle database 11g
oracle download
oracle database 19c
oracle dba tutorial
oracle dba roles and responsibilities

ĐỌC NHIỀU

Trần Văn Bình - Oracle Database Master