Downloading MRS Cluster Logs
Manager allows you to export logs from all instances of each service in batches, eliminating the need to manually log in to individual nodes to obtain the logs.
Downloading MRS Cluster Logs (MRS 3.x or Later)
- Log in to FusionInsight Manager.
- Choose O&M > Log > Download.
- Select a log download range.
- Service: Click and select a service.
- Host: Enter IP addresses of the hosts where the service is deployed. You can also click to select hosts.
- Click in the upper right corner and set Start Time and End Time.
- Click Download.
The downloaded log package contains the topology information of the start time and end time, helping you quickly find the log you need.
The topology file is named in the format of topo_<Topology structure change time>.txt. The file contains the node IP address, host name, and service instances that reside on the node. (OMS nodes are identified by Manager:Manager.)
Example:
192.168.204.124|suse-124|DBService:DBServer;KrbClient:KerberosClient;LdapClient:SlapdClient;LdapServer:SlapdServer;Manager:Manager;meta:meta
Downloading MRS Cluster Logs (Versions Earlier Than MRS 3.x)
- You have obtained the access key ID (AK) and secret access key (SK) of the account.
- A parallel file system has been created in OBS.
- On MRS Manager, click System.
- Click Export Log under Maintenance.
- Select a service for Service. Set Host to the IP address of the host where the service is deployed. Select the corresponding time for Start Time and End Time.
- In Export To, select a path for storing logs. This parameter is available only for clusters with Kerberos authentication enabled.
- Set OBS Path to the OBS path for storing service log files.
Enter a full path that does not start with a slash (/) and is no more than 900 bytes. The system will automatically create the path if it does not exist.
- In Bucket, enter the name of the created OBS file system.
- Set AK and SK to the user's access key ID and secret access key.
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot