Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ MapReduce Service/ User Guide/ MRS Cluster O&M/ Viewing and Configuring MRS Alarm Events/ Configuring Notifications for MRS Cluster Alarms and Events

Configuring Notifications for MRS Cluster Alarms and Events

Updated on 2024-09-23 GMT+08:00

MRS uses SMN to offer a publish/subscribe model to achieve one-to-multiple message subscriptions and notifications in a variety of message types (SMSs and emails).

On the MRS management console, you can enable or disable the notification service on the Alarms page. The functions in the following scenarios can be implemented only after the required cluster function is enabled:

  • After a user subscribes to the notification service, the MRS management plane notifies the user of success or failure of manual cluster scale-out and scale-in, cluster deletion, and auto scaling by emails or SMS messages.
  • The management plane checks the alarms about the MRS cluster and sends a notification to the tenant if the alarms are critical.
  • If either of the operations such as deletion, shutdown, specifications modification, restart, and OS update is performed on an ECS in a cluster, the MRS cluster works abnormally. The management plane notifies a user when detecting that the VM of the user is in either of the preceding operations.

Creating a Topic

A topic is a specified event for message publication and notification subscription. It serves as a message sending channel, where publishers and subscribers can interact with each other.

  1. Log in to the management console.
  2. Click Service List. Under Management & Governance, click Simple Message Notification.

    The SMN page is displayed.

  3. In the navigation pane, choose Topic Management > Topics.

    The Topics page is displayed.

  4. Click Create Topic.

    The Create Topic dialog box is displayed.

  5. In Topic Name, enter a topic name. In Display Name, enter a display name.
  6. Select an existing project from the Enterprise Project drop-down list, or click Create Enterprise Project to create an enterprise project on the Enterprise Project Management page and then select it.
  7. Set tag keys and tag values. Tags consist of keys and values. They identify cloud resources so that you can easily categorize and search for your resources.

Adding Subscriptions to a Topic

To deliver messages published to a topic to subscribers, you must add subscription endpoints to the topic. SMN automatically sends a confirmation message to the subscription endpoint. The confirmation message is valid only within 48 hours. The subscribers must confirm the subscription within 48 hours so that they can receive notification messages. Otherwise, the confirmation message becomes invalid, and you need to send it again.

  1. Log in to the management console.
  2. Under Management & Governance, click Simple Message Notification.

    The SMN page is displayed.

  3. In the navigation pane, choose Topic Management > Topics.

    The Topics page is displayed.

  4. Locate the topic to which you want to add a subscription, click More in the Operation column, and select Add Subscription.

    The Add Subscription box is displayed.

    Endpoint indicates the address of the subscription endpoint. SMS and email, endpoints can be entered in batches. When adding endpoints in batches, each endpoint address occupies a line. You can enter a maximum of 10 endpoints.

  5. Click OK.

    The subscription you added is displayed in the subscription list.

Sending Notifications to Subscribers

  1. Log in to the MRS console.
  2. Choose Active Clusters, select a running cluster, and click its name to go to its details page.
  3. Click Alarms.
  4. Choose Notification Rules > Add Notification Rule.

    Figure 1 Creating a message subscription rule

  5. Set the notification rule parameters.

    Table 1 Parameters of a notification rule

    Parameter

    Description

    Rule Name

    User-defined notification rule name. Only digits, letters, hyphens (-), and underscores (_) are allowed.

    Message Notification

    • If you enable this function, the system sends notifications to subscribers based on the notification rule.
    • If you disable this function, the rule does not take effect, that is, notifications are not sent to subscribers.

    Topic Name

    Select an existing topic or click Create Topic to create a topic.

    Notification Type

    Select the type of the notification to be subscribed to.

    • Alarm
    • Event

    Subscription Items

    Select the items to be subscribed to. You can select all or some items as required.

    Subscription rules in MRS 3.x or later:

    Alarm severity: critical, major, minor, and suggestion

    Event: major, minor, and warning

    Subscription rules in versions earlier than MRS 3.x:

    Alarm: critical, major, and minor

    Event: major, minor, and warning

  6. Click OK.

    NOTE:

    After a message subscription rule is applied, you may receive some historical alarms.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback