How to Resolve the Warning Message “Host esx21.home.local’s system log is stored in non-persistent storage” in vCenter
As a VMware administrator, you may have encountered a warning message in vCenter that states “Host esx21.home.local’s system log is stored in non-persistent storage.” This message indicates that the system logs of the ESXi host are being stored in USB memory rather than on a persistent storage device. In this blog post, we will discuss how to resolve this issue and ensure that system logs are stored on a persistent storage device.
Background Information
————————
ESXi hosts use USB memory to store system logs due to the lack of persistent storage devices. However, this can cause issues when attempting to view system logs or when the USB memory becomes full. To resolve this issue, we will need to change the location where system logs are stored.
Step-by-Step Procedure
————————-
To resolve the warning message “Host esx21.home.local’s system log is stored in non-persistent storage,” follow these steps:
1. Connect to the ESXi host using the ESXi Host Client.
2. In the left tree view, navigate to [Management] > [System] > [Advanced Settings].
3. Search for “Syslog.global.logDir” and ensure that the log directory is set to “/scratch/log”.
4. Create a new folder on the QNAP2 storage system for each ESXi host. For example, create folders for esx21, esx22, and esx23.
5. In the ESXi Host Client, right-click on “Syslog.global.logDir” and select Edit.
6. Change the log directory to “[datastore_qnap2] /esx21/scratch” and save the changes.
7. Repeat steps 4-6 for each ESXi host.
After completing these steps, the warning message “Host esx21.home.local’s system log is stored in non-persistent storage” should be resolved, and system logs will be stored on a persistent storage device.
Conclusion
———-
In this blog post, we have discussed how to resolve the warning message “Host esx21.home.local’s system log is stored in non-persistent storage” in vCenter. By following the step-by-step procedure outlined above, you can ensure that system logs are stored on a persistent storage device, rather than in USB memory. This will help to improve the management and monitoring of your ESXi hosts and provide more reliable access to system logs.