跳转到主内容

什么是远程LAN模块?如何使用?

Views:
36
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
nas
Last Updated:

适用场景

  • 远程 LAN 模块
  • FAS30x0
  • FAS31x0
  • FAS60x0
  • Data ONTAP 7及更早版本
  • 集群模式Data ONTAP 8.  

问题解答

远程LAN模块(Remote LAN Module、RLM)提供远程管理功能、包括控制台重定向、日志记录和电源控制。它还通过发送其他系统事件警报来扩展AutoSupport。您的AutoSupport设置用于通过RLM LAN接口通过电子邮件发送这些警报。

哪些系统 可使用RLM?

所有FAS30x0、FAS31x0和FAS60x0 系列均支持具有RLM、但可能未安装。

如何配置 要使用的RLM?

首次设置文件管理器时、系统将要求您配置RLM。

示例:
Would you like to configure the RLM LAN interface [y]:
Would you like to enable DHCP on the RLM LAN interface [n]: n
Please enter the IP address for the RLM [ ]: 10.100.10.11
Please enter the netmask for the RLM [ ]: 255.255.255.0
Please enter the IP address for the RLM gateway [ ]: 10.100.10.1
The mail host is required by your system to send RLM
alerts and local autosupport email.
Please enter the name or IP address of the mail host []: mailserver.company.com


可以 通过运行以下命令随时在Data ONTAP中重新配置RLM:

7-Mode示例:
filer> rlm setup
Would you like to configure the RLM? y
Would you like to enable DHCP on the RLM LAN interface? n
Please enter the IP address for the RLM [ ]: 10.100.10.11
Please enter the netmask for the RLM [ ]: 255.255.255.0
Please enter the IP address for the RLM gateway [ ]: 10.100.10.1

集群模式示例:
cluster::> node run -node <node_name>
node_x> rlm setup
Would you like to configure the RLM? y
Would you like to enable DHCP on the RLM LAN interface? n
Please enter the IP address for the RLM [ ]: 10.100.10.11
Please enter the netmask for the RLM [ ]: 255.255.255.0
Please enter the IP address for the RLM gateway [ ]: 10.100.10.

如何登录RLM?

使用支持SSH的客户端连接到IP地址。  默认情况下、RLM会查找SSH连接、而不是telnet连接。RLM的登录名为"naoot"、密码为root用户的密码。  登录后、您会注意到文件管理器提示符在文件管理器名称前面有一个"RLM"。
 
7-模式示例:
login as: naroot
Password:

RLM filer>
 
注意:如果文件管理器上未设置root密码,则不会提示您输入一个。
 
示例:
login as: naroot

RLM filer>

集群模式示例:
Login as: admin
Password:

RLM filer>

基本命令

date -输出日期和时间
exit -退出RLM会话并断开客户端连接
events -报告系统事件和事件信息的命令
help -命令帮助-
priv允许您显示和设置会话模式。
rlm-具体影响RLM的命令
rsa-远程支持代理配置的命令
system - RLM中的系统级命令
version -显示RLM固件的版本

子命令

events all -将所有系统事件输出到控制台
events info -向控制台显示系统事件日志信息
events newest -显示最新可用的系统事件
events oldest -显示最旧的系统事件
events search -搜索系统事件并将其输出到控制台

priv show -显示当前用户模式
priv set -返回标准/管理员用户模式
priv set admin -更改为管理员 用户模式
priv set advanced-更改为高级用户模式
priv set diag-更改为诊断用户模式

rlm reboot -重新启动RLM
rlm sensors -显示RLM环境/温度传感器状态
rlm status -显示RLM以太网状态信息(与特定适配器的"ifconfig"输出相同)
rlm update -执行和更新RLM固件

rsa setup -设置远程支持代理。输入"RSA setup help "以获取其他选项。
rsa show -显示远程支持代理的配置。输入"rsa show help "可查看其他选项。
rsa test-测试远程支持代理配置。输入"RSA test help "以获取其他选项。
rsa status -显示远程支持代理的状态。输入"RSA status help "可查看其他选项。
rsa help -显示此帮助菜单。

system console -切换至系统控制台
system core -转储系统核心并重置文件管理器
system log -将系统控制台日志显示至
system power 控制台-用于控制系统电源的命令集
system power cycle -切换系统电源关闭, 然后再打开
system power off -关闭系统电源
system power on -打开系统电源
system power status -显示系统电源状态
system reset -使用选定固件重置系统的命令集
system reset backup-使用备份固件重新启动/重置系统-
system reset current 使用当前固件重新启动/重置系统
system reset primary -使用主固件重新启动/重置系统

仅在诊断或高级模式下可用的命令

gdb ssh -通过安全SSH模式启动GDB服务
gdb status -打印GDB服务状态
gdb stop -停止GDB服务
gdb telnet -通过不安全的telnet模式启动GDB服务

rlm log-打印RLM信息文件(可在diag或高级模式下使用)
rlm log audit -打印RLM命令历史记录
rlm log debug
rlm log messages -打印所有RLM调试信息-打印RLM消息文件

system debug_port -打印调试端口状态(仅可在diag模式下使用)
system registers -打印系统信息寄存器值(仅在diag模式下可用)
system sensors -打印环境传感器状态(在diag或高级模式下可用)

  RLM固件4.0的新命令(仅适用于诊断模式)

ping -将 ICMP 回应请求 数据包
ping6 发送到  网络主机-将ICMPv6回应请求数据包发送
traceroute 到网络主机  
nslookup -跟踪到特定主机的路由-在名称服务器中查询给定主机的IP地址(可选使用指定DNS服务器)

用于RLM的Data ONTAP命令

rlm help -显示RLM的Data ONTAP命令列表
rlm setup -允许通过Data ONTAP重新配置RLM。
rlm test -用于测试各种RLM功能的命令集。
rlm test autosupport -向"autostupsupport.to "选项中定义的所有地址发送简短的ASUP消息。
rlm test snmp -将测试SNMP陷阱从RLM发送到在Data ONTAP中配置的陷阱主机。
rlm update -更新RLM的固件。
rlm reboot -重新启动RLM。
rlm status -显示RLM的状态信息。  (固件版本、MAC地址等)

 

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.