Difference between revisions of "Systems"

 
(18 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
If you [[CLI - Configuring IP address | configure an IP address]] in a system, the information of the system is automatically saving in a few seconds and this menu shows all the saved systems.
 
If you [[CLI - Configuring IP address | configure an IP address]] in a system, the information of the system is automatically saving in a few seconds and this menu shows all the saved systems.
  
==== List ====
+
==== Device ====
===== Systems =====
+
This page lists all imRAD N1 systems.
The information of systems is saving in the period of about 10 minutes by the smgr service in each device.
+
 
The smgr service reports the following information.
+
===== System Information =====
 +
This page shows the details of a system.(The smgr and the wd service in each device saves the information every 10 minutes.)
 +
The smgr service reads and saves the following information.
 
* General system information(i.e. version, serial number, uptime, model, and so on)
 
* General system information(i.e. version, serial number, uptime, model, and so on)
 
* Disk(storage), Memory(RAM), and CPU Load.
 
* Disk(storage), Memory(RAM), and CPU Load.
 +
 +
The wd service reads and saves <br>
 
* The status, version, and information of operating service
 
* The status, version, and information of operating service
  
Line 17: Line 21:
 
| IP Address || It is the IP address of the system. If the system has multiple same version addresses, it displays only one address of them.
 
| IP Address || It is the IP address of the system. If the system has multiple same version addresses, it displays only one address of them.
 
|-
 
|-
| Name || It is the hostname or system name of the system. You can change it via the [[CLI - Configuring Hostname | CLI]].
+
| Name || It is the hostname or system name of the system. You can change it via the [[CLI - Hostname | CLI]].
 
|-
 
|-
 
| Serial number || It is the serial number of the system.
 
| Serial number || It is the serial number of the system.
 
|-
 
|-
| Update Date || It is the last datetime the information is saved. If this time is not updating for the [[System Messages| "Idle detection timeout for system activity"]], we notice the system as "System Idle".
+
| Update Date || It is the last datetime the information is saved. If this time is not updating for the [[Environment | "Idle detection timeout for system activity"]], we notice the system as "System Idle".
 
|-
 
|-
| Status || It shows the status of disk<ref name="imrad_disk">The imRAD disk consists of two partitions. One is for the operating systems, another is for data.</ref> utilization and services. If each disk utilization exceeds the [[System Messages | "Warning threshold for Disk utilization rate"]], it shows a "<span style="background:#ffff00">Notice</span>" icon. If each disk utilization exceeds the [[System Messages | "Critical threshold for Disk utilization rate"]], it shows a "<span style="background:#ff0000;color:#ffffff">Critical</span>" icon. In the rest of the cases, it shows a "<span style="background:#0000ff;color:#ffffff">Normal</span>" icon.<br>
+
| Status || It shows the status of disk<ref name="imrad_disk">The imRAD disk consists of two partitions. One is for the operating systems, another is for data.</ref> utilization and services. If each disk utilization exceeds the [[Environment | "Warning threshold for Disk utilization rate"]], it shows a "<span style="background:#ffff00">Notice</span>" icon. If each disk utilization exceeds the [[Environment | "Critical threshold for Disk utilization rate"]], it shows a "<span style="background:#ff0000;color:#ffffff">Critical</span>" icon. In the rest of the cases, it shows a "<span style="background:#0000ff;color:#ffffff">Normal</span>" icon.<br>
 
If an enabled service is not running, it shows a "<span style="background:#ffff00">Notice</span>" icon.<br>
 
If an enabled service is not running, it shows a "<span style="background:#ffff00">Notice</span>" icon.<br>
 +
If the system integrity has been compromised, it show a "<span style="background:#ff0000">compromised</span>" icon.<br>
 +
The [[File:스크린샷 2023-08-09 오후 4.01.56.png|25px]] is a icon button for "page refresh" and the [[File:스크린샷 2023-08-09 오후 4.02.11.png|25px]] is a icon button to immediately check system integrity.
 +
 
If you click the trash icon, It will delete the system information. If the deleted system is still running, the information will be saved again.
 
If you click the trash icon, It will delete the system information. If the deleted system is still running, the information will be saved again.
|-
 
| Model || It is the model name of the system
 
|-
 
| Version || It is the current imRAD package version. If you click the icon([[File:icon_bars.png|15px]]) beside the version, it displays the details.
 
 
|-
 
|-
 
| Uptime || It indicates how long the system has been running.  
 
| Uptime || It indicates how long the system has been running.  
Line 35: Line 38:
 
| Description || It is the description of the operating system.
 
| Description || It is the description of the operating system.
 
|-
 
|-
| DUID-EN || it is the Vendor-assigned unique ID based on Enterprise Number(i.e. 55344, Basein Networks, Inc.). It is used to have clients identify a DHCPv6 server and is generating by the DHCPv6 service.
+
| Version || It is the current imRAD package version. If you click the icon([[File:icon_bars.png|15px]]) beside the version, it displays the details.
|-
 
| RADIUS TLS certificate || It is the TLS certificate using by the RADIUS. If you click the icon([[File:icon_bars.png|15px]]) beside It, you can view the details.
 
 
|-
 
|-
 
| RAM<br>Disk(OS)<br>Disk(Data)<ref name="imrad_disk" /> || It is the availability of each resource.
 
| RAM<br>Disk(OS)<br>Disk(Data)<ref name="imrad_disk" /> || It is the availability of each resource.
Line 50: Line 51:
 
The "Master" means that the replication mode of the system is "Master".<br>The "Slave" indicates the replication mode of the system is "Slave".
 
The "Master" means that the replication mode of the system is "Master".<br>The "Slave" indicates the replication mode of the system is "Slave".
  
The circle icon in from of the replication mode(i.e. "Master" or "Slave") indicates the status of the database replication.<br> The green color means that the status of the database replication is ok. The yellow color indicates that the database replication is ok but the "Seconds_Behind_Master"<ref>https://dev.mysql.com/doc/refman/5.7/en/replication-administration-status.html</ref> is high. A high number can indicate that the replication is delaying. Normally the number will be decreasing in few minutes.
+
The circle icon in from of the replication mode(i.e. "Master" or "Slave") indicates the status of the database replication.<br> The green color means that the status of the database replication is ok. The yellow color indicates that the database replication is ok but the "[[Environment | Seconds_Behind_Master]]"<ref>https://dev.mysql.com/doc/refman/5.7/en/replication-administration-status.html</ref> is high. A high number can indicate that the replication is delaying. Normally the number will be decreasing in few minutes.
 
The red color is replication error. If you click a icon([[File:icon_bars.png|15px]]) beside the title(i.e. Database Replication), you can find what errors occur. <br>
 
The red color is replication error. If you click a icon([[File:icon_bars.png|15px]]) beside the title(i.e. Database Replication), you can find what errors occur. <br>
 
If the replication error persists for a long time, you need to [[CLI - Configuring System Failover | configure the System Failover]] again.
 
If the replication error persists for a long time, you need to [[CLI - Configuring System Failover | configure the System Failover]] again.
Line 56: Line 57:
 
|}
 
|}
  
====== Services ======
+
===== Services =====
 
It shows all services(daemons) in a system. The status can be either "Active" or "Inactive". The "Active" indicates the service is running and the "Inactive" indicates the service has been stopped. The "Update Date" is the last time the service was checked. The "Uptime" is the time of the service was started.
 
It shows all services(daemons) in a system. The status can be either "Active" or "Inactive". The "Active" indicates the service is running and the "Inactive" indicates the service has been stopped. The "Update Date" is the last time the service was checked. The "Uptime" is the time of the service was started.
  
===== Main Database Variables =====
+
===== System Integrity =====
It shows the database global variables.
+
This system performs a system integrity check once a day (every day at 1 AM) and displays the integrity check results. If any changes or damage occur in any of the operating files, an integrity error may be displayed, and in such cases, a system update is required. To immediately check system integrity, click the icon([[File:스크린샷 2023-08-09 오후 4.02.11.png|25px]]) on the system status, and within a few seconds, the check results will be displayed again. The image below shows the screen displayed when there are no compromised files and there are more than one compromised files each other.
 +
[[File:스크린샷 2023-08-09 오후 4.11.55.png|800px|system integrity ok]]
 +
 
 +
[[File:스크린샷 2023-08-09 오후 4.10.55.png|800px|system integrity not ok]]
 +
 
 +
 
 +
 
 +
=== Database ===
 +
==== Main Database Variables ====
 +
It shows some key information of the database global variables. If you click the "plus" icon beside the title(i.e. "Main Database Variables"), you can see the information.
 +
 
 +
You may open an issue<ref>https://issue.basein.net</ref> when you think the database may have some problems. In such a case, you must include this information.
 +
 
 +
==== Database Replication Status ====
 +
It shows the primary(master) and secondary(salve) status of MySQL Replication. It only appears in the environment of the failover configured.
 +
 
 +
==== Main Database Events ====
 +
Events are named database objects containing SQL statements that are to be executed at a later stage, either once off, or at regular intervals.<ref>https://mariadb.com/kb/en/events/</ref> Several events are running in the database of the imRAD system. If you click the "plus" icon beside the title(i.e. "Main Database Events"), it shows all events and their status.
 +
 
 +
The icon in front of a event name indicates the event status. The green color means the event is ok, the yellow color indicates the event is disabled and the gray color notes the event is in the SLAVESIDE_DISABLED.<ref>https://dev.mysql.com/doc/refman/8.0/en/show-events.html</ref>
 +
 
 +
If one of the events is not ok, you must enable them. If you click the icon red or gray-colored, you can enable an event.
 +
[[File:스크린샷 2023-08-09 오후 4.26.18.png|500px]]
 +
 
 +
 
 +
=== Log Table ===
 +
[[File:스크린샷 2023-08-09 오후 4.35.26.png|400px|thumb]]
 +
It displays the size of operational log stored in local database. All data is managed on a monthly basis, and if the system's storage space is insufficient, you can click on a specific month of a specific log, as shown in the following image and you can delete all log for a specific month.
 +
<br><br><br><br><br><br>
 +
 
 +
=== Syslog ===
 +
The [[ImRAD services(daemons) | logexp]] service reads the Syslog<ref>https://en.wikipedia.org/wiki/Syslog</ref> in its system and saves them into the imRAD database. It shows such Syslog.<br>
 +
However, The logexp service reads logs only whose level is greater than the "Informational".
 +
In other words, If you want to see logs whose level is "Informational", you can see it from the [[CLI - Log | CLI]].
 +
 
 +
If you click the icon in front of each row, it shows the details of each log.
 +
 
  
===== 메인 데이터베이스 이벤트 =====
 
MariaDB 내부에서 스케줄링된 이벤트의 상태를 표시하면 그 상태는 모두 "활성"으로 표시되어야 합니다.<br>
 
만일 일부 상태가 "비활성" 또는 "Slave 비활성"인 경우 상태 아이콘을 클릭하면 해당 이벤트를 다시 적용 할 수 있습니다.<br>
 
  
==== Syslog ====
+
=== References ===
각 시스템에서 발생 한 주요 syslog는 메인 데이터베이스에 저장되는데 이 메뉴에서 확인 할 수 있습니다.<br>
 
syslog는 notice level 이상만 저장되면 information과 debug는 SSH 접속 후 확인 할 수 있습니다([[로그 확인]]).<br>
 

Latest revision as of 16:38, 9 August 2023

Systems

We called the imRAD device as "System". If you configure an IP address in a system, the information of the system is automatically saving in a few seconds and this menu shows all the saved systems.

Device

This page lists all imRAD N1 systems.

System Information

This page shows the details of a system.(The smgr and the wd service in each device saves the information every 10 minutes.) The smgr service reads and saves the following information.

  • General system information(i.e. version, serial number, uptime, model, and so on)
  • Disk(storage), Memory(RAM), and CPU Load.

The wd service reads and saves

  • The status, version, and information of operating service

If you click the "greater than" icon(>) in front of the IP address on each list, you can display more system information.

Item Description
IP Address It is the IP address of the system. If the system has multiple same version addresses, it displays only one address of them.
Name It is the hostname or system name of the system. You can change it via the CLI.
Serial number It is the serial number of the system.
Update Date It is the last datetime the information is saved. If this time is not updating for the "Idle detection timeout for system activity", we notice the system as "System Idle".
Status It shows the status of disk[1] utilization and services. If each disk utilization exceeds the "Warning threshold for Disk utilization rate", it shows a "Notice" icon. If each disk utilization exceeds the "Critical threshold for Disk utilization rate", it shows a "Critical" icon. In the rest of the cases, it shows a "Normal" icon.

If an enabled service is not running, it shows a "Notice" icon.
If the system integrity has been compromised, it show a "compromised" icon.
The 스크린샷 2023-08-09 오후 4.01.56.png is a icon button for "page refresh" and the 스크린샷 2023-08-09 오후 4.02.11.png is a icon button to immediately check system integrity.

If you click the trash icon, It will delete the system information. If the deleted system is still running, the information will be saved again.

Uptime It indicates how long the system has been running.
Description It is the description of the operating system.
Version It is the current imRAD package version. If you click the icon(Icon bars.png) beside the version, it displays the details.
RAM
Disk(OS)
Disk(Data)[1]
It is the availability of each resource.
CPU Load It shows the CPU load averages over the last 1, 5, and 15 minutes.
Current Failover Mode It indicates the current mode of System Failover.

If the System Failover is not configured, It shows "Not Configured". If the System Failover is configured, it shows either "active" or "passive". The Datetime beside the mode(i.e. active or passive) is the time of the mode was applied.

Database Replication If the System Failover is not configured, this item does not display. If the System Failover is configured, it show "Not Configured", "Master", or "Slave".

The "Not Configured" means that a system is not configured to replicate database. This case is not a normal condition. Therefore, you need to configure the System Failover again.
The "Master" means that the replication mode of the system is "Master".
The "Slave" indicates the replication mode of the system is "Slave".

The circle icon in from of the replication mode(i.e. "Master" or "Slave") indicates the status of the database replication.
The green color means that the status of the database replication is ok. The yellow color indicates that the database replication is ok but the " Seconds_Behind_Master"[2] is high. A high number can indicate that the replication is delaying. Normally the number will be decreasing in few minutes. The red color is replication error. If you click a icon(Icon bars.png) beside the title(i.e. Database Replication), you can find what errors occur.
If the replication error persists for a long time, you need to configure the System Failover again.

Services

It shows all services(daemons) in a system. The status can be either "Active" or "Inactive". The "Active" indicates the service is running and the "Inactive" indicates the service has been stopped. The "Update Date" is the last time the service was checked. The "Uptime" is the time of the service was started.

System Integrity

This system performs a system integrity check once a day (every day at 1 AM) and displays the integrity check results. If any changes or damage occur in any of the operating files, an integrity error may be displayed, and in such cases, a system update is required. To immediately check system integrity, click the icon(스크린샷 2023-08-09 오후 4.02.11.png) on the system status, and within a few seconds, the check results will be displayed again. The image below shows the screen displayed when there are no compromised files and there are more than one compromised files each other. system integrity ok

system integrity not ok


Database

Main Database Variables

It shows some key information of the database global variables. If you click the "plus" icon beside the title(i.e. "Main Database Variables"), you can see the information.

You may open an issue[3] when you think the database may have some problems. In such a case, you must include this information.

Database Replication Status

It shows the primary(master) and secondary(salve) status of MySQL Replication. It only appears in the environment of the failover configured.

Main Database Events

Events are named database objects containing SQL statements that are to be executed at a later stage, either once off, or at regular intervals.[4] Several events are running in the database of the imRAD system. If you click the "plus" icon beside the title(i.e. "Main Database Events"), it shows all events and their status.

The icon in front of a event name indicates the event status. The green color means the event is ok, the yellow color indicates the event is disabled and the gray color notes the event is in the SLAVESIDE_DISABLED.[5]

If one of the events is not ok, you must enable them. If you click the icon red or gray-colored, you can enable an event. 스크린샷 2023-08-09 오후 4.26.18.png


Log Table

스크린샷 2023-08-09 오후 4.35.26.png

It displays the size of operational log stored in local database. All data is managed on a monthly basis, and if the system's storage space is insufficient, you can click on a specific month of a specific log, as shown in the following image and you can delete all log for a specific month.





Syslog

The logexp service reads the Syslog[6] in its system and saves them into the imRAD database. It shows such Syslog.
However, The logexp service reads logs only whose level is greater than the "Informational". In other words, If you want to see logs whose level is "Informational", you can see it from the CLI.

If you click the icon in front of each row, it shows the details of each log.


References