Got it

Manual Switchover Between Active and Standby Sites

Latest reply: Oct 27, 2018 06:20:08 1360 11 10 0 0

Hello, everyone!

In this post, I would like to share with you how to manually switchover between active and standby sites.

This topic describes how to manually switch over the U2000 applications from the active site to the standby site and then from the standby site to the active site. In this way, you can check the system reliability and maintain the system.

Prerequisites

Ensure that the following prerequisites are met before performing the operation.

·       The heartbeat connection between the active site and the standby site is normal.

·       The data replication between the active site and the standby site is normal.

·       The active site and the standby site are normal and no fault occurs. If there is a fault tag, clear it by running the following command:

hares -clear <resource_name> [-sys hostname]

Command example:

hares -clear NMSServer

Context

After the active site is switched over to the standby site, the original standby site in the cluster changes to the active site. In addition, the replication relation between the active site and the standby site is repaired and the replication direction is specified again.


NOTICE:

·       After the switching, the U2000 may not receive alarms. It is recommended that the client be reconnected and the primary site be configured on the U2000 again based on the the primary site's IP address after switching.

·       After the switching, the FTP account may be unavailable. You are advised to reconnect the client and server. To reconfigure the FTP account, including the sever IP address, user name, and password, choose Administrator > Settings> FTP Account Information Management from the main menu.

Procedure

1.    Check the replication status.

a.    Log in to the active site as the root user.

NOTE:

If security hardening is enabled, log in to the OS as the ossuser user. Then run the su - root command and enter the root user password to switch to the root user.


b.    Run the following command to check the data replication status of the active sites.

In the Solaris or SUSE Linux OS:

# vradmin -g<diskgroupname> repstatus <rvgname>

Command example:

# vradmin -g datadg repstatus datarvg

The following information appears.


Replicated Data Set: datarvg

Primary:

 Host name:                 10.71.210.78

 RVG name:                  datarvg

  DG name:                    datadg

 RVG state:                 enabled for I/O

 Data volumes:               4

 VSets:                      0

 SRL name:                   lv_srl

 SRL size:                   3.00 G

 Total secondaries:          1

Secondary:

 Host name:                 10.71.210.76

 RVG name:                  datarvg

  DG name:                    datadg

 Data status:               consistent, up-to-date

 Replication status:        replicating (connected)

 Current mode:              asynchronous

 Logging to:                 SRL

 Timestamp Information:      behind by 0h 0m 0s


NOTE:

You can perform the active/standby replication switchover only when Data status is consistent, up-to-date.


2.    To perform manual switchover between the primary and secondary sites.


U******mands:

·       To switch over the U2000 and database applications from the primary site to the secondary site, run the following command on the secondary site as the root user:

# hagrp -switch AppService -any -clus localclus

·       To switch over the U2000 and database applications from the secondary site to the primary site, run the following command on the primary site as the root user:

# hagrp -switch AppService -any -clus localclus


NOTE:

Run the hastatus -sum command as the root user to check the service status and service group status.

Use GUI:

c.     Log in to the MSuite client. For details, see Logging In to the MSuite Client.

d.    Choose Deploy> Monitor HA Status from the main menu. The Monitor the Statusdialog box is displayed.

e.    Optional: Click View to view the historical records of the primary and secondary sites.


NOTE:

The status of each HA system indicator is displayed. You can click detail info to view details or restoration suggestions.


f.      Click check nowto view the current information about the primary and secondary sites.


NOTE:

·       It takes three to five minutes to check the HA system status.

·       After the check, you can view the check results, details, and suggestions in the HA Statusdialog box.

·       The check results are saved as .xml files in /opt/oss/engr/engineering/ha_review/result. The name of the latest check result file contains the word new. For example, ha_review_result_20150421165146.xml. In this example, 20150421165146indicates the time when the HA system status is checked. You can run the following commands to check the file information:


·     # cd /opt/oss/engr/engineering/ha_review/result


# cat ha_review_result_20150421165146.xml


g.    Click Switch to Secondary to switch to the secondary site.

That's all, I hope you like it.

Thank you!

 

To reconfigure the FTP account, including the sever IP address, user name, and password。》got This post was last edited by yjhd at 2018-10-31 07:41.
View more
  • x
  • convention:

wanglei259
wanglei259 Created Oct 18, 2018 03:40:27 (0) (0)
thanks  
This topic describes how to manually switch over the U2000 applications from the active site to the standby site and then from the standby site to the active site. In this way, you can check the system reliability and maintain the system.
thanks for sharing us sucn a good example, I love you!
This post was last edited by Torrent at 2018-10-31 07:21.
View more
  • x
  • convention:

This post is novel in concept, with unique ingenuity, clear passages, different plots, ups and downs, distinct lines, fascinating and fascinating literary skills. It can be described as a word and a classic sentence, which is a model that my generation should learn.
I was already disappointed with this community. I feel that this community has no future, and my heart is full of sorrow. But after reading this post, I made hope for the community. It is you who let my heart rekindle the fire of hope. It is you who have revived my heart. You saved me a cool and cool heart!
Originally, I decided not to return any posts in the community, but after reading your post, I told myself that this post must be returned! This is a rare sticker that has been rare for a hundred years! Heaven has eyes, let me see such a wonderful post in the eugenic year.
View more
  • x
  • convention:

Good share, thanks
View more
  • x
  • convention:

Click check now to view the current information about the primary and secondary sites.

NOTE:

·        It takes three to five minutes to check the HA system status.

·        After the check, you can view the check results, details, and suggestions in the HA Status dialog box.

·        The check results are saved as .xml files in /opt/oss/engr/engineering/ha_review/result. The name of the latest check result file contains the word new. For example, ha_review_result_20150421165146.xml. In this example, 20150421165146 indicates the time when the HA system status is checked. You can run the following commands to check the file information:

·      # cd /opt/oss/engr/engineering/ha_review/result

# cat ha_review_result_20150421165146.xml

 

this is we often meet in daily work .

This post was last edited by Finn92 at 2018-10-31 06:40.
View more
  • x
  • convention:

When the HRP status of the two FWs is normal, the VGMP groups have the same priority. After the hrp switch standby command is run on a device, the VGMP group priority of the device is decreased by 1. If this command is run on the active device, the VGMP group priority of the active device will be lower than that of the standby device, triggering an active/standby switchover. After the hrp switch active command is run on a device, the VGMP group priority of the device is incremented by 1. If this command is run on the standby device, the VGMP group priority of the standby device will be higher than that of the active device, triggering an active/standby switchover.
The execution of this command is invalid if either device does not work properly. For example, if the interface of the active device is down, the device will switch to the standby state. And you cannot run the hrp switch active command to switch it back to the active state. This post was last edited by SupperRobin at 2018-10-31 06:56.
View more
  • x
  • convention:

Thanks for your sharing , this is good example .
good part .
After the switching, the U2000 may not receive alarms. It is recommended that the client be reconnected and the primary site be configured on the U2000 again based on the the primary site's IP address after switching.
View more
  • x
  • convention:

I found this document on product document, it is really very useful

This post was last edited by No.9527 at 2018-10-31 03:54.
View more
  • x
  • convention:

Run the display interface brief command to check whether the ports used for stack connections are physically up, including stack member ports and SIP ports (applicable only to the CE12800&12800E). If these ports are physically Down, check whether optical modules and fibers are faulty This post was last edited by littlestone at 2018-10-31 06:01.
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.