Cannot seed a new database copy
I am setting up databases on a 3-node DAG. I had created one database (DB1) and put copies of it on the other two servers, then I received and configured additional disk space and wanted to move the database to that.
I was able to create a new database (DB2) on the newly configured drive and successfully create copies on the other two servers. However, I am having trouble after moving DB1. I deleted the two copies of DB1 and then successfully moved DB1
to its new paths for the database and logs on the server EXCH1. When I try to create copies of DB1 on the server EXCH2, I get the following error:
The seeding operation failed. Error: An error occurred while performing the seed operation. Error: Failed to notify
source server 'Exch1.mycorp.com' about the local truncation point. Hresult: 0xc8000713. Error: Unable to find the
file.
[Database: DB1, Server: EXCH2.mycorp.com]
+ CategoryInfo : InvalidOperation: (:) [Update-MailboxDatabaseCopy], SeedInProgressException
+ FullyQualifiedErrorId : [Server=EXCH2,RequestId=6a12a52f-446c-4ac1-bf6d-4c03ddcbd309,TimeStamp=12/1/2014 7:44:1
8 PM] [FailureCategory=Cmdlet-SeedInProgressException] 907FC204,Microsoft.Exchange.Management.SystemConfigurationT
asks.UpdateDatabaseCopy
+ PSComputerName : exch2.mycorp.com
Based on things I read, I have tried dismounting and remounting DB1 and even restarting the Information Store.
Do any of you know what the problem is? I assume it may have something to do with previously having copies of DB1 in a different path on EXCH2 and EXCH3, but I don't know where to go from here.
Thank you for your help again.
Hi,
From the error message, this tells us that there is either a corrupted log file or a broken sequence in the logs on the active server that is EXCH1.
Please dismount the database DB1 on the active server EXCH1 and clear the logs files, mount and then try add database copy on EXCH2 server.
First please use the eseutil /mh command to check if the database is in clean shutdown state.
If it is clean shutdown, create a folder called OLD Logs and move all files except for the “.EDB” file into that folder.
Remount this database and add database copy.
If the issue persists, please check the application log to see if there is any related error message.
Best regards,
If you have feedback for TechNet Subscriber Support, contact
[email protected]
Belinda Ma
TechNet Community Support
Similar Messages
-
Failed to Manually Seed the Mailbox Database Copy on Exchange 2013
Hi,
I tried to manually seed the mailbox database copy via exchange shell by run this command
Update-MailboxDatabaseCopy –Identity “DB_name\Server” -sourceserver "Name Server" –DeleteExistingFiles.
However, i got the error message whereas shown below.
A parameter cannot be found that matches parameter name 'identity'.
+ CategoryInfo : InvalidArgument: (:) [Update-MailboxDatabaseCopy], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Update-MailboxDatabaseCopy
+ PSComputerName : XXXX.abc.XXX
Any ideas?I hope database is in suspended state and not in failed state.
Make sure EMS is running As Administrator.
http://technet.microsoft.com/en-us/library/dd335201(v=exchg.150).aspx
Cheers,
Gulab Prasad,
Technology Consultant
Blog:
www.exchangeranger.com
Twitter:
LinkedIn:
Check out CodeTwo’s tools for Exchange admins
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
Please follow the scenario:
using C#
1) current database file name is DB20122013.
when user click on new year button
2)Create backup copy of current database
3)New database should create with all table(excluding table "Dailytemp" and "DailyMain") with data and database name as DB20132014.
Musakkhir Sayyed.Hi,
I hope, below stored procedure is useful for your scenario.
CREATE PROC Create_New_Database
( @DBNAME VARCHAR(550)
)AS
Test : Exec [Create_New_Database] @DBNAME='DB20122013'
BEGIN TRY
SET NOCOUNT ON
DECLARE @sql VARCHAR(MAX), @DBNAME_NEW VARCHAR(550),@num int
IF EXISTS(SELECT 1 FROM sys.databases WHERE name=@DBNAME) AND ISNUMERIC(RIGHT(@DBNAME,4))=1
BEGIN
SELECT @num= RIGHT(@DBNAME,4)
SELECT @DBNAME_NEW='DB'+CAST(@num AS VARCHAR(10))+''+CAST(@num+1 AS VARCHAR(10))
IF EXISTS(SELECT 1 FROM sys.databases WHERE name=@DBNAME_NEW)
BEGIN
SELECT @DBNAME_NEW+' database already exists'
END
ELSE
BEGIN
SET @sql='USE '+@DBNAME+' '+' backup database '+@DBNAME+' to disk = ''C:\'+@DBNAME+'.bak'' '
+' restore database '+@DBNAME_NEW+' from disk = ''C:\'+@DBNAME+'.bak'''
+' with move '''+@DBNAME+''' to ''C:\'+@DBNAME+'_data.mdf'' ,
move '''+@DBNAME+'_log'' to ''C:\'+@DBNAME+'_log.log'''
EXEC (@sql)
SET @sql=''
SET @sql=' USE '+@DBNAME_NEW+' IF EXISTS(SELECT 1 FROM SYS.TABLES WHERE NAME=''Dailytemp'')
BEGIN DROP TABLE Dailytemp END IF EXISTS(SELECT 1 FROM SYS.TABLES WHERE NAME=''DailyMain'')
BEGIN DROP TABLE DailyMain END '
EXEC (@sql)
END
END
ELSE
BEGIN
SELECT 'Database is now found or Database name does not mach the scenario'
END
SET NOCOUNT OFF
END TRY
BEGIN CATCH
DECLARE @ErrorMessage NVARCHAR(4000)
DECLARE @ErrorSeverity INT
DECLARE @ErrorState INT
SELECT @ErrorMessage = ERROR_MESSAGE(), @ErrorSeverity = ERROR_SEVERITY(),@ErrorState = ERROR_STATE()
RAISERROR (@ErrorMessage,@ErrorSeverity,@ErrorState )
END CATCH;
GO
Regards,
RAMBHARATH -
Cannot access my new database. -listener-?
Hi everyone. Please help me as I am [still] new to Oracle.
Installing Oracle9iDB version 2 on windows xpPro, enough gigs and ram.
This is a DEVELOPMENT machine and I need to access the database locally on this machine.
I have installed twice. The first time I chose one of the pre-defiend databases and I had no problem accessing it with a variety of tools.
But when I added my own [empty] database, hoping to create tables via SQL+ or other tools, I couldn't get rights or access it.
So, I deleted the entire shelack-bang and re-installed, this time telling it that I don't want ANY pre-defined anything, database samples, or schemas. I need to try this like I will by my customer.
Ok. So it let me create a database, via the wizard, assign a SYS password.
I also setup a LISTENER (although I suspect something is wrong there).
BUT, if I try to access it via the EMP(locally) it tells me that there is no LISTENER, although there is!
Also SQL+ does not allow access, but maybe I don't understand what HOST_NAME to supply.
Question. Since for now, I am using the same machine for the database server as well as the client connectiong to it, do I still want the listener to use tcp? (I also tried nmp and it didn't help.)
Oh, the administration tool does show that the database is UP and running.
I am willing to UN-INSTALL and erase every iota of the previous installs. (Please tell me how.)
Can you please tell me what to watch out for when installing again?
Do I need to reintall to get it straight?
Thank you all in advance.
-NatThank you.
I have since re-installed, this time allowed it to create a general-purpose database, and all is well. I can now access both, the gp database and the database I am designing/learning/training.
Thanks again.
-Nat -
How to Create a database copy and specify the source database.
Hello,
In my dag environment I would like to create a new database copy and specify the source. My company has database copies in 2 locations. Instead of transferring the data from one location to the other, I would like to specify the source be the copy that is
in the same location.
Thank you,
~MarkHi,
We can create a mailbox database, then run EMC and EMS to create a database copy.
More details about Add a Mailbox Database Copy, for your reference:
https://technet.microsoft.com/en-us/library/dd298080(v=exchg.141).aspx
Note: please pay attention to Prerequisites section, for example:
1. The specified Mailbox server must not already host a copy of the specified mailbox database.
2. The server hosting the specified database and the server that will host the database copy must both be in the same database availability group (DAG). The DAG must also have quorum and be healthy.
Thanks
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Allen Wang
TechNet Community Support -
Cannot Adding Mailbox Server for Database Copy for Exchange 2013 SP1
Before I upgraded to 2013 SP1 everything works find but after I upgrade to SP1 I cannot add database copy. the details are...
I have 2 sites
Site 1 : 4 Mailboxes (Mailbox01,Mailbox02,Mailbox03,Mailbox04) + 2 CAS
Site 2 : 2 Mailboxes (Mailbox05,Mailbox06) + 2 CAS (just for standby site)
So I have 2 DAG group (6 Mailboxes separate to 3 Mailboxes for 1 DAG group Mailbox01,Mailbox02,Mailbox05 for DAG1 and Mailbox03,Mailbox04,Mailbox06 for DAG2)
After I upgrade Exchange 2013 to SP1 , I try to create new database on Mailbox01 and after that I try to add mailbox02 and mailbox05 to database copy of new database that I created.
"Mailbox05 can added to be database copy but Mailbox02 cannot add database copy for it , Error "Network path not found" occur" but Im very sure that path is the same for each mailbox database server.
so I try to create new database on Mailbox 03 and add database copy on mailbox04 and mailbox06.... the result is the same only Mailbox06 can add mailbox copy of database.
It look like I cannot have 2 mailbox in site 1 for database copy of each new database (I already try to create new database on Mailbox 02 and add database copy on mailbox01 and mailbox05 , the result is only mailbox05 can be database copy of database).
Please help me to fix this out.Hi,
I recommend you check if the Remote Registry service is running on Mailbox01, Mailbox02, Mailbox03 and Mailbox04. If not, please start it and then add mailbox database copy to check the result.
Best regards,
Belinda
Belinda Ma
TechNet Community Support -
MSSQL Homogeneous System Copy : SAPINST cannot connect to default database
Hello.
We want to perform a homogeneous system copy, following Note 151603.
We have attached the source DB (RP1) to the destination DB (RD4) following the above mentioned Note.
Now, logged to the server as DOMAIN\rd4adm , we want to execute the SAPINST, as indicated in the Note 683447, but when giving the password for user rd4adm we get a pop up
Cannot connect to R3SVIL\RD4 [SQL Server]Cannot open user default database. Login failed.
R3SVIL is the server. Login is done with windows authentication (connected as domain\rd4adm)
We cannot find a Note descibing this issue and how to fix it, must be something with user : does anybody have suggestion or solution?
Thanks a lot,
DinoHi,
did you apply SAP note 551915 - R/3 won't start after database restore or database copy
also check Note 806925 - SQL Error 4064: Cannot open user default database
regards,
kaushal -
I am a new iPad user. I cannot figure out how to copy and paste from a website to a pages document, and vice versa. Any ideas?
Long press on the text you would like to select (tapping and holding) and then release after the magnifying glass shows up. This will select a single word. Then use the blue dots and drag them to select a region of test. Then press "copy". Open pages, and long press and release where you would like to paste. Then select "paste". That should paste the text.
If the text doesn't select within the browser, it might be an uncopyable format. Like if the text was within an image, naturally you would be unable to select it. The only thing to do there is long press the image and selecting "save image", adding it to your camera roll. Then you could insert the image within pages. -
Hi,
I am trying to add a mailbox database copy from server1 to server2. Every time after seeding the status of the second copy is shown as 'Failed'. In the event log i can see one error message as given below :
The required log file 374413 for BInew\EX02 is missing on the active copy. If you removed the log file, please replace it. If the log file is lost, the database copy will need to be reseeded using Update-MailboxDatabaseCopy.
I have tried reseeding many times both from console and shell.
Update-MailboxDatabaseCopy -Identity "Binew\EX02" -DeleteExistingFiles
Is this the reason for the replication getting failed.I have never deleted any log file from server1.
Please help!Hello,
You may run the following cmdlets one by one:
Suspend-MailboxDatabaseCopy <databaseName>\<ReplicaServerName>
Update-MailboxDatabaseCopy <databaseName>\<ReplicaServerName> -SourceServer <ActiveServerName> -DeleteExistingFiles:$True
Resume-MailboxDatabaseCopy <databaseName\<ReplicaServerName>
Regards from ExchangeOnline.in|Windows Administrator Area | Skype:[email protected] -
Good afternoon
I currently operate a two node DAG in our primary site supporting one mailbox database. I plan to introduce a third DAG node in our datacenter which is in a different Active Directory site. Both current DAG members replicate over a dedicated replication
network to keep the traffic separate from the MAPI traffic. The third DAG member will also have a dedicated replication network adapter (of course, on a different subnet). Ideally I would like to seed the database at a time of my choosing, rather than at the
moment I add the mailbox database copy (I know how to achieve this), but I would like to specify which network the data replicates over.
According to the following (see below link) under the 'Seeding and Networks' section as my two DAG members will be on different subnets in different sites Exchange will make the decision to use the MAPI network adapters of the target and source server.
'If the source server and target server are on different subnets, even if a replication network that contains those subnets has been configured, the client (MAPI) network will be used for seeding.'
http://technet.microsoft.com/en-us/library/dd335158%28v=exchg.150%29.aspx
Am I able to force Exchange to use the replication network adapters of both source and target server when I initiate the seeding process? I have a 200+ GB mailbox database that will need to replicate over a 100Mbps internet connection to our secondary
site and I would like to keep that traffic to the replication network I have configured.
Any insight would be helpful.Hi,
If you want to specify the networks for seeding, you can use the
Network parameter when running the
Update-MailboxDatabaseCopy cmdlet and specify the DAG networks that you want to use.
If you don't use the Network parameter, then the system uses the following default behavior for selecting a network to use for the seeding operation:
If the source server and target server are on the same subnet and a replication network has been configured that includes the subnet, the replication network will be used.
If the source server and target server are on different subnets, even if a replication network that contains those subnets has been configured, the client (MAPI) network will be used for seeding.
If the source server and target server are in different datacenters, the client (MAPI) network will be used for seeding.
So please use the Update-MailboxDatabaseCopy cmdlet with
NetWork parameter to specify which DAG network should be used for seeding.
Best regards,
If you have feedback for TechNet Subscriber Support, contact
[email protected]
Belinda Ma
TechNet Community Support -
Copy whole schema to new database
Hi...what is ther best way to copy whole schema (25GB) to new database.
ThanksHello,
Best way is to use either conventional export/import or datapump.
exp system/password owner=userA file=userA.dmp log=userA.log
Note: Make sure tablespace, any special roles or db-link exists before importing or cloning schema
imp system/password fromUser=userA toUser=userA file=userA.dmp log=userAimport.logSee following link for more infomation and examples to use datapump
http://www.oracle-base.com/articles/10g/OracleDataPump10g.php
Regards
OrionNet -
Cannot add mailbox database copy to DR site - .edb file not getting created
I have a DR site setup that I want copies of 4 of my mailbox databases. 3 of the mailbox databases copied over successfully but the last and largest one which is really not that large 69Gbs keeps failing when i Update the database copy. Seems
to not be creating the .edb file. Is there another way to get the .edb file over to the server, possibly manually copying it then doing and update database copy? I have my backups turned off on all the servers that have the mailbox role on it now
thinking that was causing some issues with the database copy? Any suggestions is appreciated, thanks.
Michael DuhonYes manually copy the edb file and paste them in the DR server . Then try to update with for the incremental of database copy. Verify the database is clean shutdown that you are moving to the DR site.
What error message it throws when you performing update the database copy
Exchange Queries -
Moving the mailbox database copy from one exchange server to another exchange server 2010 DAG
Hello Team
is it possible to the move the passive copy of database and logs from one server to another exchange server in the same DAG with out removing and deleting the mailbox database copies in exchange 2010
normaly procedure is
Remove the mailbox database copies and manually delete the .edb files and logs from the physical location and re-add the mailbox database copy to the new server in the DAG.
is that any way to achieve to move the passive database copy to another exchange 2010 server in the same DAG ?From your note, you appear to have a two-member DAG (with a server hosting your active database, and a second hosting the passive copy), and you want to move your passive database copy from the current passive server to another. Your note
about what "the normal procedure is" isn't 100% correct - there are many ways to handle this task, and all can be considered "normal". Why not just add the third server to the DAG and
add a database copy on that third server? Once it is fully seeded, you can remove the current passive copy. This way, you never lose your redundancy.
Yes i can add the third and fourth serve in DAG , but i cannot add the mailbox database copies to the 3rd and 4th mailbox server in DAG as am using RTM version of exchange 2010 which is allowing to have only 5 database inclding mailbox datbase copies
and also currently my lab setup is two member dag (with a server hosting your active database,
and a second hosting the passive copy) in the same site named SITE A
and recently i have created new SITE B and included the 3rd and 4th DAG members in the same DAG
i want the mailbox database copies from the mailbox server database in SITE A to
Mailbox server database in SITE B as passive copy
That is why i want to move the mailbox database without deleting / removing it manually
Hope you understand my situation! -
Problem in new database creation with the help of online backup
Dear dba's
i am using oracle 11gR2 database in windows server 2003. database is running in ARCHIVE LOG mode.
i have taken an online backup of all datafile,controlfile and spfile.Then i crated folders in all the locations as required for new database.
then i registerd the service of new database named as 'newdb' by
oradim -NEW -SID newdb
then i created a password file manually in 'oracle_home\database' location.
i created a new contolfile named as controlfile_01.ctl. the content of controlfile as follows
STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "NEWDB" NORESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 (
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\ONLINELOG\O1_MF_1_7FK0XG7B_.LOG',
'D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\NEWDB\ONLINELOG\O1_MF_1_7FK0XHWB_.LOG'
) SIZE 50M,
GROUP 2 (
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\ONLINELOG\O1_MF_2_7FK0XKB8_.LOG',
'D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\NEWDB\ONLINELOG\O1_MF_2_7FK0XM0Z_.LOG'
) SIZE 50M,
GROUP 3 (
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\ONLINELOG\O1_MF_3_7FK0XNOZ_.LOG',
'D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\NEWDB\ONLINELOG\O1_MF_3_7FK0XOWB_.LOG'
) SIZE 50M
DATAFILE
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_SYSTEM_7FK0SKN0_.DBF',
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_SYSAUX_7FK0SKPG_.DBF',
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_UNDOTBS1_7FK0SKTC_.DBF',
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_USERS_7FK0SKWB_.DBF',
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_EXAMPLE_7FK0Z5LK_.DBF',
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\MARSH.DBF',
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\JOMARSH.DBF'
CHARACTER SET AL32UTF8
the control file path was registered in pfile also.
then i brought the database to nomount stage.
the problem is when i try to mount database it shows following error. anyone can help me to over come from this issue????????
SQL> startup pfile='D:\app\Administrator\product\11.1.0\db_1\database\INITnewdb.ora' nomount;
ORACLE instance started.
Total System Global Area 535662592 bytes
Fixed Size 1334380 bytes
Variable Size 301990804 bytes
Database Buffers 226492416 bytes
Redo Buffers 5844992 bytes
SQL> ALTER DATABASE MOUNT;
ALTER DATABASE MOUNT
ERROR at line 1:
ORA-00205: error in identifying control file, check alert log for more info
the alert massage is:
ORA-00210: cannot open the specified control file
ORA-00202: control file: 'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\CONTROLFILE\CONTROLFILE_01.CTL'
ORA-27048: skgfifi: file header information is invalid
OSD-04001: invalid logical block size (OS 1413563730)
Fri Dec 09 13:11:59 2011
Checker run found 1 new persistent data failures
ORA-205 signalled during: ALTER DATABASE MOUNT...
Thanks & Regards,
John Marshal.AHi;
Error: ORA 205
Text: error in identifying control file <name>
Cause: The system could not find a control file of the specified name and
size.
Action: Either
Check that the proper control filename is referenced in the
CONTROL_FILES initialization parameter in the initialization parameter
file and try again.
When using mirrored control files, that is, more than one control file
is referenced in the initialization parameter file, remove the control
filename listed in the message from the initialization parameter file
and restart the instance.
If the message does not recur, remove the problem control file from
the initialization parameter file and create another copy of the
control file with a new filename in the initialization parameter file.
Regard
Helios -
Mailbox Database Copy Status Failed
We have 2 Exchange 2010 servers. We run a DAG. Recently I have noticed that database copy DB2 which is located on Exch-1 is showing "Failed". Database copy DB1 which is located on Exch-2 is showing Healthy. I searched online
for information regarding the issue with the failed database copy. I found information that led me to run these commands.
Suspend-MailboxDatabaseCopy -Identity “Mailbox Database XXXXX\Server Name”
Update-MailboxDatabaseCopy -Identity “Mailbox Database XXXXX\Server Name” -DeleteExistingFiles
It went thru the seeding process and completed but the database copy still shows "Failed". Copy Q Length is 19. I have refreshed the console. What else do I need to do to correct this? I did recently shut down Exch-2 server
for maintenance. thanksHi,
It's glade to hear the good news. Thanks for your updating.
Best regards,
Belinda
Belinda Ma
TechNet Community Support
Maybe you are looking for
-
Jusitification of IF statement in code
Hi, I am working on a code win which i have to display that if the storage location is scrap i.e.(SC01,SC02,SC03,SC04) then it will display the data other wise it will make MGEIG EQ 0. i am facing the problem at if statement where i had mentioned th
-
HHi all, I have to to possession of a apple imac G4, I'm connected to net as safari finds things but when I click on site nothing happens, when I click on iTunes on desk top it asks for a Internet connection but it's there as safari wouldn't find sit
-
The entire webpage seems empty and colorless. When I roll over a square or something that is empty, I get the "hand" as if there is something in there that I should click on. All the pull down menus are transparent and hard to read against the backgr
-
I followed all the directions to find this but it is just not there. Is there a setting in about: that needs to be changed? I just moved up from the beta track to the aurora track today to see if that works. thanks, fred
-
YUI Menu Help, menu greyed out
Hi, I love the look of YUI Menu, unfortunately, Menu item 2 continues to be greyed out and not functional. I've tried reloading it and still get the same behavior. help??