- Table of Contents
-
- 13-High Availability Command Reference
- 00-Preface
- 01-Ethernet OAM commands
- 02-CFD commands
- 03-DLDP commands
- 04-Monitor Link commands
- 05-S-Trunk commands
- 06-Error code detection commands
- 07-VRRP commands
- 08-VSRP commands
- 09-Service instance group commands
- 10-BFD commands
- 11-Track commands
- 12-Process placement commands
- Related Documents
-
Title | Size | Download |
---|---|---|
09-Service instance group commands | 61.81 KB |
Service instance group commands
display service-instance-group
Use display service-instance-group to display service instance group information.
Syntax
display service-instance-group [ service-instance-group-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
service-instance-group-name: Specifies a service instance group by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a service instance group, this command displays information about all service instance groups.
Examples
# Display information about all service instance groups.
<Sysname> display service-instance-group
Service instance group information:
Service instance group: bb
Type : Default
Service instance group: sgrp
Type : Default
Failover group: failgrp (Default)
Failover group: test (Default)
Total service instance groups: 2
# Display information about the service instance group sgrp.
<Sysname> display service-instance-group sgrp
Service instance group: sgrp
Type : Default
Failover group: failgrp (Default)
Failover group: test (Default)
Field |
Description |
Service instance group |
Name of the service instance group. |
Type |
Failover group type: · Default. · WAAS—A WAAS-type failover group is used for service backup of only WAAS-type cards. For the failover group to operate correctly, make sure the service instance group and the associated failover group have the same type. |
Failover group |
Name of the failover group associated with the service instance group (failover group type): · Default. · WAAS—A WAAS-type failover group is used for service backup of only WAAS-type cards. For the failover group to operate correctly, make sure the service instance group and the associated failover group have the same type. This field is displayed only when a failover group is associated with the service instance. |
Total service instance groups |
Total number of service instance groups. |
failover-group
Use failover-group to associate a failover group with the service instance group.
Use undo failover-group to remove the association between the failover group and the service instance group.
Syntax
failover-group failover-group-name
undo failover-group failover-group-name
Default
A service instance group is not associated with any failover groups.
Views
Service instance group view
Predefined user roles
network-admin
Parameters
failover-group-name: Specifies a failover group by its name, a case-sensitive string of 1 to 63 characters.
Usage guidelines
For inter-system service backup, you can associate a service instance group with only one failover group. The nodes in the failover group must belong to different systems.
For intra-system service backup, you can associate a service instance group with one or multiple failover groups. The nodes in the failover groups must belong to the same system.
· If you associate a service instance group with one failover group, the nodes in the failover group perform application module service backup.
· If you associate a service instance group with multiple failover groups, application module service backup loads are distributed among the failover groups. Each failover group also backs up services between its nodes. The number of failover groups that can be associated with a service instance group varies by application module.
For more information about failover groups, see High Availability Configuration Guide.
After specifying a service instance group for an instance, you are not allowed to remove the association between the service instance group and failover group.
The type of the service instance group must be the same as the type of failover groups associated with the service instance group.
Examples
# Associate failover group test with service instance group abc.
<Sysname> system-view
[Sysname] service-instance-group abc
[Sysname-service-instance-group-abc] failover-group test
# Associate failover groups test1 and test2 with service instance group abc.
<Sysname> system-view
[Sysname] service-instance-group abc
[Sysname-service-instance-group-abc] failover-group test1
[Sysname-service-instance-group-abc] failover-group test2
Related commands
failover group
service-instance-group
Use service-instance-group to create a service instance group and enter its view, or enter the view of an existing service instance group.
Use undo service-instance-group to delete a service instance group.
Syntax
service-instance-group service-instance-group-name [ type { default | waas } ]
undo service-instance-group service-instance-group-name
Default
No service instance groups exist.
Views
System view
Predefined user roles
network-admin
Parameters
service-instance-group-name: Specifies a service instance group by its name, a case-sensitive string of 1 to 31 characters.
type: Specifies a service instance group type. If you do not specify this keyword, the created service instance group is the default type.
default: Specifies the default type.
waas: Specifies the WAAS type. A WAAS-type service instance group is used for service backup of only WAAS-type cards. A WAAS-type service instance group supports only intra-system service backup between WAAS cards, and it does not support inter-system service backup.
Usage guidelines
You can associate a service instance group with multiple failover groups, and make sure the failover groups are the same type.
After specifying a service instance group for a service module, you are not allowed to delete the service instance group.
Examples
# Create service instance group sgrp and enter its view.
<Sysname> system-view
[Sysname] service-instance-group sgrp
[Sysname-service-instance-group-sgrp]
nat instance (Layer 3—IP Services Command Reference)