NXD Logging
How NXD logging works in NXD-enabled systems
Any configuration change, error message, or other important event is reported by NXD. These items are logged in the system log, which is usually located in the primary management node directory /mnt/mgmt/var/log/messages. If RAS is configured on the system, all the RAS IEM (interesting event messages) events are also logged for consumption.
NXD and RAS
IEM is a framework of the RAS feature. Using this framework, NXD logs the NXD IEM events with an application code and its module information:
- The NXD application code is 042
- NXD module codes are in the following table:
Code Module 001 CLI 002 NXD device monitor 003 Core NXD driver
The details of NXD-related RAS IEM codes are in the following table:
| IEM Event Code (IEC) | Description | Additional Data |
|---|---|---|
| 042001001 | Added Virtual drive to Cache group | VDName, CGName |
| 042001002 | Removed Virtual drive to Cache group | VDName, CGName |
| 042001003 | Added Cache device to Cache group | CDevName, CGName |
| 042001004 | Removed Cache device from Cache group | CDevName, CGName |
| 042001005 | Cache state changed | CGStateNew, CGName |
| 042001006 | Pinned cache discarded for Virtual drive | CGName, VDName |
| 042001007 | Flush parameter settings changed for cache group | CGName, Size, Rate, Interval |
| 042001008 | Flush started for Virtual drive | VDName, CGName |
| 042001009 | Flush stopped for Virtual drive | VDName, CGName |
| 042001010 | Flush started for Cache device | CDevName, CGName |
| 042001011 | Flush stopped for Cache device | CDevName, CGName |
| 042001012 | Activate completed successfully | CGName |
| 042001013 | Deactivate completed successfully | CGName |
| 042001014 | Error CLI | ErrorString |
| 042002001 | NytroXD Device Monitor Starting | None |
| 042002002 | NytroXD Device Monitor Stopping | None |
| 042002003 | NytroXD Device Monitor Cache Device Added | CacheDev |
| 042002004 | NytroXD Device Monitor Virtual Drive Added | VirtualDrive |
| 042002005 | NytroXD Device Monitor Cache Device Deleted | CacheDev |
| 042002006 | NytroXD Device Monitor Virtual Drive Deleted | VirtualDrive |
| 042002007 | NytroXD Device Monitor Cache Device Added During StartUp | CacheDev |
| 042002008 | NytroXD Device Monitor Virtual Drive Added During StartUp | VirtualDrive |
| 042002009 | NytroXD Device Monitor Device State Change From udev | State |
| 042002010 | NytroXD Device Monitor Error | Error |