Use the SharePoint Products Configuration Wizard to Prepare the Replica

The following procedure is the recommended method for configuring the Replica server in SharePoint Server standalone deployments. The SharePoint Products Configuration wizard configures the services and service applications automatically on the Replica server and creates a default web application on port 80. Before you begin, go to Microsoft TechNet to read information about how to change the administrative site port. You should also obtain the following information:

Note: Do not perform the "disconnect from farm" procedure to reconfigure SharePoint servers auto-configured as Replicas for use in new Arcserve Continuous Availability scenarios. Disconnecting an auto-configured Replica can also cause the Master server in the old scenario to disconnect from the farm. Instead, delete the following registry key:

After you delete the registry key, you may safely perform the disconnect from farm procedure using the Configuration Wizard.

To use the SharePoint Products Configuration Wizard to prepare the Replica

  1. On the Replica server, launch the SharePoint Products Configuration Wizard from the Windows Start menu.
  2. Complete the wizard screens. After configuration, use the PowerShell or STSADM tool to change the administrative site port on the Replica to match the one on the Master.
  3. For PowerShell, enter:
  4. set-SPCentralAdministration -Port <PortNumber>

  5. When you are prompted to confirm the action, press Y for yes.
  6. Usually SharePoint uses high port numbers for central management. If you try to change the port to above 32767 then set-SPCentralAdministration fails to change the port and shows the "invalid port" error. For more information about this, see http://technet.microsoft.com/en-us/library/cc288247.aspx
  7. The stsadm allows to change the port and then the choice is to use thestsadm -o setadminport –port command.
  8. For STSADM, enter:
  9. stsadm -o setadminport -port <PortNumber>
  10. The command line interface returns the message, Operation completed successfully.
  11. Launch SharePoint 2010 Central Administration on the Replica. Click Configure Alternate Access Mappings and then click Edit Public URLs. Change the public URL on the Replica to match the one on the Master.
  12. Create the web applications on the Replica using the same display names, headers, and ports as the Master.
    • From SharePoint 2010 Central Administration, click Manage web applications.
    • Click New.
    • Enter the same display names, headers, and ports used on the Master server to create web applications.
    • Click Manage content databases.
    • Click Add a content database.
    • On replica, WSS_Content Database guides are different (at least it will be always different for the default web application on port 80 that was created by the SharePoint configuration wizard). You need to add a new database matching the master name and delete the existing database using SharePoint Web Application Management, Manage Content Database. For more information, see http://msdn.microsoft.com/en-us/library/cc668750(v=vs.100).aspx
    • If you do not delete the old database, then the associated web application will have two databases and can have various implications. If you delete the database from SQL, SharePoint would not be aware of that and will still show the database as a web content DB. So, delete it using the instructions above.
    • Enter the same database name for each content database used on the Master server.
  13. Create and run your HA scenarios to protect the standalone deployment.
  14. Note: SharePoint stand-alone server uses SQL Express Edition that installs SQL instance with TCP/IP disabled. RHA scenario does not work if TCP/IP is disabled. You need to enable it on both master and replica.

Next Steps: