Managing Alarm Dump
After you enable the alarm dump function, alarm messages will be dumped automatically to a specific FTP or SFTP server when they exceed a system-definable threshold.
Configuring an FTP Server
FTP servers store alarm files dumped from storage systems. You are required to re-configure an FTP server due to services change. You can install and configure a wide range of FTP servers.
Prerequisites
- The FTP server software installation package is ready.
- The IP address to be configured can properly communicate with the storage system.
- This section describes how to configure an Xlight FTP server. For details about how configure other FTP servers, see the related configuration documentation.
Procedure
- Start the Xlight FTP server software.
The Xlight FTP Server page is displayed.
- Configure a virtual server.
- On the Xlight FTP Server page, click
.
The New Virtual Server dialog box is displayed.
- In the New Virtual Server dialog box, set IP Address, Port, and Protocol to the local IP address, 21, and FTP, respectively.
- Click OK.
The added virtual server is displayed in the Xlight FTP Server page that is displayed.
- On the Xlight FTP Server page, click
- Start the virtual server.
Select the added virtual server and click
to start the server.
You can select the added virtual server, right-click, and choose Start Server to start the server.
- Add a user.
- On the Xlight FTP Server page, click
.
The user list is displayed.
- Click
.
The adding users dialog box is displayed.
- In the dialog box, enter Username and Password and set Home Directory.
- Click OK.
The user is added, and user information is displayed on the user page.
- On the Xlight FTP Server page, click
- Set virtual directory permissions.
- In the user list, select the added user and click
.
The user name page is displayed.
- On the navigation bar on the left, click
.
The user directory management page is displayed.
- Select the access directory of the added user and click
.
The Virtual Directory dialog box is displayed.
- In the Permission area, set permissions.
- Click OK.
Virtual directory permissions are configured.
- In the user list, select the added user and click
Modifying Alarm Dump Settings
This section describes how to modify alarm dump settings. You can modify the alarm dump settings based on service requirements to ensure the integrity of alarm information recorded by a storage system.
Prerequisites
- The alarm dump function has been enabled.
- If alarm information is stored on an FTP server, communication must be normal between the server and the storage system. To improve communication reliability, you are advised to configure them both on the same LAN and their IP addresses in the same network segment.
- If alarm information is stored on an SFTP server, communication must be normal between the server and the storage system. To improve communication reliability, you are advised to configure them both on the same LAN and their IP addresses in the same network segment.
- If alarm information is stored on an FTP server and a firewall is configured on the network, port 21 is enabled.
- If alarm information is stored on an SFTP server and a firewall is configured on the network, port 22 is enabled.
- Before configuring a domain name for the server, ensure that the DNS server can communicate normally with the storage array or third-party server.
Context
- If the number of alarms, operation logs, or run logs generated by the storage system where alarm dump is not configured exceeds 45,000, the alarm The Space That Stores Event Logs Is To Be Used Up will be generated. If the number of alarms, operation logs, or run logs generated by the storage system reaches the upper limit of 50,000, the earliest 10,000 alarms, operation logs, or run logs will be automatically deleted.
- After alarm dump is configured on the storage system:
- If the number of alarms, operation logs, or run logs generated by the storage system exceeds 45,000, the alarm The Space That Stores Event Logs Is To Be Used Up will not be triggered. If the number of alarms, operation logs, or run logs generated by the storage system reaches the upper limit of 50,000, the earliest 10,000 alarms, operation logs, or run logs are automatically dumped to the specified FTP or SFTP server.
- If the number of login and logout logs generated by the storage system exceeds 20,000, the earliest 10,000 logs will be automatically dumped to the specified FTP or SFTP server.
Procedure
- Log in to DeviceManager.
- Choose Settings > Alarm Settings > Alarm Dump.
- Modify parameters for the alarm dump. Table 5-21 lists related parameters.Figure 5-24 Page for alarm dump settingsTable 5-21 Parameters for the alarm dump
Parameter
Description
Transport Protocol
The transport protocol of the alarm dump. The values are SFTP or FTP.
NOTE:To ensure the security of data transfer, you are advised to use Secure File Transfer Protocol (SFTP).
[Example]
FTP
Username
Name of the user on the server that will be used to store the alarm information.
[Value range]
- The username must contain 1 to 63 characters.
- The username cannot contain single quotation marks (').
[Example]
files
Password
Password for logging in to a server.
[Value range]
The value must contain 1 to 63 characters.
[Example]
123456
Server IP Address
IP address of a server.
[Value range]
- An IPv4 address has the following requirements:
- The 32-bit address is evenly divided into four fields. Each 8-bit field is expressed in dotted-decimal.
- Each field of the IP address cannot be blank and must be an integer.
- The value of the first field ranges from 1 to 223 (excluding 127).
- The values of other fields range from 0 to 255.
- The IP address cannot be a special address such as the broadcast address.
- An IPv6 address has the following requirements:
- The 128-bit address is evenly divided into eight fields. Each 16-bit field is expressed in hexadecimal and separated with colons.
- In each 16-bit field, zeros before integers can be removed. However, at least one digit must be reserved in each field.
- If the IP address contains a long string of zeros, you can represent the neighboring zeros with double colons (::) in the colon-separated hexadecimal field. Each IP address contains only one double-colon (::). The double-colons (::) can also be used to represent neighboring zeros of the IP address.
- The IP address cannot be a special address such as network address, loop address, or multicast address.
[Example]
192.168.1.100
fc00::1234
File Save Path
Path to a directory for storing dumped performance monitoring data. To enable this parameter, you must set up a path and create a folder under it, and type the name of the folder in File Save Path on DeviceManager.
[Value range]
A file save path must contain 1 to 255 characters.
[Example]
If you set the path to G:\ and create a folder named alarm on the FTP server, type alarm in File Save Path.
- Optional: Click Test to verify parameter values.
- If an error dialog box is displayed, at least one parameter value is incorrect. Modify the parameter and retry.
- If a success dialog box is displayed, the alarm dump parameters have been configured correctly.
- Click Save.