Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and configure vSphere Log Analyzer loginsight

2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how to install and configure the vSphere log analyzer loginsight. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

1 about vCenter Log Insight when the ESX/ESXi host fails, many users or administrators will not check the relevant logs, one of the reasons is that they do not understand these log and do not know where to start. The second is that it takes a lot of time, so they will choose to seek the help of the manufacturer. On the other hand, experienced administrators will view the logs of vCenter and ESX/ESXi hosts, which usually contain log files such as vkernel.log, message.log, hostd.log, vmware.log, etc., but only if the administrator has VMware, Linux, network, storage foundation and some knowledge of vSphere architecture. The administrator even exports it through vSphere Client or vm-support, opens it using a text editor, navigates to a point in time, and then analyzes the relevant logs. I have analyzed the logs of multiple ESX/ESXi, so as to locate the cause of the failure, help customers solve problems, and accumulate experience. However, it will take a lot of time to analyze the log without the help of analysis tools, relying entirely on the naked eye and manual operation. VCenter Log Insight, a tool that helps users and administrators analyze logs, can help them quickly locate the cause of the failure and save time. This article describes how to install and use this tool.

Note: the Log Insight deployed this time is the Beta version and will be improved in the future.

2 the size of the vCenter Log Insight2.1 planning vCenter Log Insight for installation and deployment

VCenter Log Insight is deployed as Virtual Applicance. The default size of Log Insight Virtual Applicance is 2 CPU,8GB memory and 144GB disk size, where 100GB is used to store raw data, index, metdata, and so on. You can change these configurations based on the virtualized environment:

2.2 install Log Insight

Download VMware vCenter Log Insight

Http://communities.vmware.com/community/vmtn/vcenter/vcenter-log-insight

1. Log in to vCenter using vSphere Client, click File > deploy OVF template, and follow the wizard to deploy.

two。 Navigate to the directory where the ovf template is stored, and then follow the configuration wizard to configure

Since there are only two ESXi hosts in this lab environment, vcenter log insight maintains the default CPU and memory configuration. But you need to add a disk larger than 144GB.

2.3 configure Log Insight

1. The password should be reconfigured to log in to the Log Insight system for the first time. The default password is empty.

two。 Log in to log insight using web

3. Configure the password for admin

4. Enter license for the log insight product

5. Email notification. If you need to configure email notification, you can enter the relevant email address.

6. Time configuration, you can synchronize the NTP server or ESX/ESXi server, where the ESX/ESXi server is synchronized.

7. SMTP settings.

8. If you need to collect tasks, events, and alerts from vCenter, you need to add vCenter authentication.

9. If you need to archive data, you need to configure a network shared storage location.

10. Restart after completing the configuration.

There is no data related to ESX/ESXi host at this time.

2.4 configure the ESXi host to send logs to Log Insight

1. Log in to the console of Log Insight.

Use the configure-esxi command to see how the script uses the

two。 The following example uses configure-esxi:

Query all connected hosts on vCenter (need to enter the password of vcenter)

Configure log insight server as the syslog target for all hosts

3. Log in to log insight using web to view the log data of esx/esxi

At this point, vCenter Log Insight is installed.

3 using vCenter Log Insight

1. Log in to log insight using web. After logging in, you can see the number of Total Events on the overview panel.

two。 View the logs related to the ESX/ESXi host and select ESX/ESXi Hosts on vSphere Dashboards.

From the image above, we can see that there are several errors in the host. We can click on the corresponding bar chart, and the page will automatically jump to InteractiveAnalytics. From this, the log error message of the esxi01 host can be obtained. In addition, we can also search for relevant information in the search column.

Thank you for reading! This is the end of this article on "how to install and configure the vSphere log analyzer loginsight". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report