Replica Import Problems


If the mkreplica –import command fails for any reason other than a code page mismatch (for example, a network outage or not enough disk space), you must rerun the command. If the mkreplica –import command fails because the data code page value of the exporting replica does not match the code page of the existing schema repository at the importing site, you must first reset one of the code page values and then rerun mkreplica –import.

mkreplica can fail during import of the schema repository or during import of the user database.

If mkreplica –import fails during the import of the schema repository, follow these steps:

  1. Delete the vendor databases for the schema repository and user database replica.
  2. Delete the newly created database set name, which is in the format CQMS.clan-name.site-name. Use the following command:
  3. installutil dropdbset CQMS.clan-name.site-name 
  4. Re-create the vendor databases.
  5. Enter the mkreplica –import command.

If mkreplica –import imports the schema repository, but fails during import of the user database, follow these steps:

  1. Delete the vendor databases intended for the user database replicas.
  2. Re-create the vendor databases.
  3. Run the mkreplica –import command again, omitting the repository database options. For example:
  4. multiutil mkreplica -import -clan telecomm -site tokyo -user masako -p secret 
    -database cq_userdb -vendor SQL_SERVER -dbologin juseradmin secret 
    -rwlogin juseradmin secret