如何收集VNXe的系统日志?
VNXe提供两种收集日志的方法:
1. 使用Unisphere图形界面:登陆VNXe的Unisphere图形界面,进入 设置 -> 服务系统 后点击“收集服务信息”后,点击执行服务操作。待系统日志收集完成后下载到本地系统即可。
2. 使用CLI命令行界面:使用Putty等工具通过SSH连接VNXe,连接成功后输入用户名service和service的密码登陆VNXe系统,然后执行 sudo svc_dc 命令,待系统收集完日志后使用 cd /EMC/backend/service/data_collection 命令进入到系统日志所在目录。在这里可以看到生成的系统日志文件。如想把此文件拷贝到本地计算机,可使用Wincp等工具连接VNXe后进到上述的目录将系统日志文件拷贝到本地计算机。
VNXe provides two ways to collect logs:
1. Use the Unisphere GUI: Log in to the Unisphere GUI of VNXe, go to Settings -> Service System, click "Collect Service Information", and then click Execute Service Operation. After the system log collection is completed, it can be downloaded to the local system.
2. Use the CLI command line interface: Use tools such as Putty to connect to VNXe via SSH, enter the username service and service password to log in to the VNXe system after the connection is successful, and then execute the sudo svc_dc command, and after the system collects logs, use the cd /EMC/backend/service/data_collection command to enter the directory where the system logs are located. Here you can see the generated syslog file. If you want to copy this file to the local computer, you can use a tool such as Wincp to connect to VNXe and then go to the above directory to copy the system log file to the local computer.