跳转到主内容

如何收集 SnapCenter 数据库转储( NSM MySQL 数据库转储)

Views:
34
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

适用场景

SnapCenter 服务器

问题描述

如何 收集 SnapCenter 存储库(NSM) MySQL数据库转储以供NetApp进一步故障排除

操作步骤

使用命令行方法。

  1. 通过远程桌面或控制台登录到SnapCenter服务器。

  2. 使用提升的权限打开命令提示符

  3. 更改为安装MySQL的文件夹、然后运行以下命令

    1. 注意: 默认MySQL安装路径为"C:\Program Files\MySQL\MySQL Server 5.7\bin"

    2.  注意:请注意、指定的路径和文件名 "C:\nsm.sql" 是可配置的、可以指定备用位置/文件名

    3. 注意: 以下命令将提示用户输入root密码

    4. 如何重置MySQL root密码(SnapCenter 4.2及更高版本)

mysqldump.exe --user=root --host=localhost --password --protocol=tcp --port=3306 --default-character-set=utf8 --max_allowed_packet=1G --single-transaction=TRUE "nsm" --result-file "C:\nsm.sql"

(无需使用 --routines --events 参数导出NSM数据库。)

  1. 使用Windows ZIP或7zip压缩转储文件
  2. 将此zip文件上传到NetApp 、并将其上传到关联的技术支持案例

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.