In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
As an Exchange administrator, you may encounter situations where you need to change the storage path to the ExchangeServer storage group and database. In general, changing the path of the ExchangeServer storage group and database is a relatively simple operation, usually after a few simple steps in the graphical interface, and the database will automatically suspend and change the path.
And automatically load after the change. However, after Exchange Server 2007, changing the storage path in a CCR environment is no longer as simple as it used to be, unless you make a path change before installing a cluster continuous replication passive node. Here's how to change the storage path for storage groups and databases in a CCR environment.
In this article, move the sg2 storage group and database in the existing CCR environment from the current D disk to the E disk. Before you start, let's take a look at the existing environment, as shown in the following figure:
As can be seen from the figure above, the sg2 storage path of the storage group is d:\ ccr\ sg2, and the current replication status is normal. The following steps are taken to change the path:
1. Since it is a CCR cluster continuous replication environment, we need to temporarily disable the cluster replication operation, open the "Exchange Management Shell", and then execute the following command, as shown in the figure:
Suspend-StorageGroupCopy-Identity
After executing the above command, refresh in the Exchange Management console, you can see that the replication status of the sg2 storage group has been changed to "suspended", as shown in the following figure:
two。 After pausing cluster replication, the next step is to dismount the database under the storage group, as shown in the following figure. This can also be done from the Exchange management console.
Dismount-database-Identity
3. After dismounting the database, now set a new storage path for the storage group, as follows. This cmdlet does not move any data.
Move-StorageGroupPath-Identity-LogFolderPath-SystemFolderPath-ConfigurationOnly
The-ConfigurationOnly parameter must be used in the CCR environment. The new path to the system or log file cannot be the root of the volume. In addition, if the pathname contains spaces, it must be enclosed in quotation marks.
4. After you change the storage group path, then change the storage path of the database. Be sure to dismount the database before performing the move operation. Run cmdlet as follows:
Move-DatabasePath-Identity-EdbFilePath-ConfigurationOnly in a CCR environment, the-ConfigurationOnly parameter must be used. The new location cannot be the root of the volume.
5. Move the files to their new location on the active and passive nodes.
6. Use Mount-Database cmdlet to mount the database in the storage group.
Mount-Database-Identity
7. Restart replication using Resume-StorageGroupCopy cmdlet. To restart replication activity for a storage group, run the following command:
Resume-StorageGroupCopy-Identity
8. Verify that the replication of the storage group is working properly.
Get-ClusteredMailboxServerStatus-Identity:
From the results returned in the above figure, we can see that the CCR status is normal, and the operation of changing the path has been completed successfully.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.