


 



<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docwiki.cisco.com/w/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docwiki.cisco.com/w/index.php?title=Cisco_Unified_MeetingPlace_Release_8.0_--_Configuring_the_SQL_Server_for_the_Cisco_Unified_MeetingPlace_Web_Server&amp;feed=atom&amp;action=history</id>
		<title>Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docwiki.cisco.com/w/index.php?title=Cisco_Unified_MeetingPlace_Release_8.0_--_Configuring_the_SQL_Server_for_the_Cisco_Unified_MeetingPlace_Web_Server&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Cisco_Unified_MeetingPlace_Release_8.0_--_Configuring_the_SQL_Server_for_the_Cisco_Unified_MeetingPlace_Web_Server&amp;action=history"/>
		<updated>2013-05-24T16:09:55Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Cisco_Unified_MeetingPlace_Release_8.0_--_Configuring_the_SQL_Server_for_the_Cisco_Unified_MeetingPlace_Web_Server&amp;diff=31205&amp;oldid=prev</id>
		<title>MeetingPlace Moderator: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Cisco_Unified_MeetingPlace_Release_8.0_--_Configuring_the_SQL_Server_for_the_Cisco_Unified_MeetingPlace_Web_Server&amp;diff=31205&amp;oldid=prev"/>
				<updated>2010-07-02T16:54:52Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 16:54, 2 July 2010&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>MeetingPlace Moderator</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Cisco_Unified_MeetingPlace_Release_8.0_--_Configuring_the_SQL_Server_for_the_Cisco_Unified_MeetingPlace_Web_Server&amp;diff=31204&amp;oldid=prev</id>
		<title>MeetingPlace Moderator: /* Preparing the Current Cisco Unified MeetingPlace Web Server */</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Cisco_Unified_MeetingPlace_Release_8.0_--_Configuring_the_SQL_Server_for_the_Cisco_Unified_MeetingPlace_Web_Server&amp;diff=31204&amp;oldid=prev"/>
				<updated>2010-06-29T19:14:39Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Preparing the Current Cisco Unified MeetingPlace Web Server&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Main page:'''  [[Cisco Unified MeetingPlace, Release 8.0]]&lt;br /&gt;
&lt;br /&gt;
'''Back to:'''  [[Cisco Unified MeetingPlace Release 8.0 -- Configuration|Configuration]]&lt;br /&gt;
&lt;br /&gt;
'''Back to:'''  [[Cisco Unified MeetingPlace Release 8.0 -- Maintenance|Maintenance]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note: '''	This topic does ''not'' apply to deployments in which users schedule meetings from the Cisco WebEx site. For information about Cisco WebEx integration deployments, see the ''Planning Guide for Cisco Unified MeetingPlace'' at http://docwiki.cisco.com/wiki/Cisco_Unified_MeetingPlace%2C_Release_8.0_--_Planning_Your_Deployment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note: '''	The SQL commands and operations described in this section are provided only for your convenience and should not be treated as definitive reference. For additional details about these commands and operations, search the Microsoft Knowledgebase or download the free Microsoft SQL Server 2000 Online Help package from Microsoft. &lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Accessing Information on the SQL Server Database|Accessing Information on the SQL Server Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#How to Create and Use a Least-Privileged SQL Account for the Web Server|How to Create and Use a Least-Privileged SQL Account for the Web Server]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Restoring the Cisco Unified MeetingPlace Web Server After Boot Failure|Restoring the Cisco Unified MeetingPlace Web Server After Boot Failure]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#How to Change and Apply a New SQL Password to the Cisco Unified MeetingPlace Web Server Software|How to Change and Apply a New SQL Password to the Cisco Unified MeetingPlace Web Server Software]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#How to Manage the SQL Database Size|How to Manage the SQL Database Size]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#How to Back Up and Restore MPWEB SQL Database|How to Back Up and Restore MPWEB SQL Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#How to Detach and Attach the MPWEB SQL Database|How to Detach and Attach the MPWEB SQL Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#How to Replace a Cisco Unified MeetingPlace Web Server and Retain the SQL Database|How to Replace a Cisco Unified MeetingPlace Web Server and Retain the SQL Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Updating the Indices on the SQL Database|Updating the Indices on the SQL Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#How to Use a Custom TCP Port for the SQL Server Connection|How to Use a Custom TCP Port for the SQL Server Connection]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Relocating the Database|Relocating the Database]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Accessing Information on the SQL Server Database ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Use the Database administration page to access information on the SQL Server database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Before You Begin =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using a remote SQL server, make sure that the time on SQL server is synchronized with the Cisco Unified MeetingPlace Application Server and Web Server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Sign in to the Cisco Unified MeetingPlace web user portal. &lt;br /&gt;
# Select '''Admin'''. &lt;br /&gt;
# Select '''Database'''. &lt;br /&gt;
# Select a database command. &lt;br /&gt;
# Select '''Submit'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Create and Use a Least-Privileged SQL Account for the Web Server  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, the Cisco Unified MeetingPlace Web Server software installer suggests using the SQL built-in sa administrator account as the SQL Server user name. Often, a strong password for the sa account is sufficiently secure to protect your system from unauthorized access. However, if you do not want to continue to use a SQL account that has full administration rights after the installation is complete, you can create a SQL account with minimal privileges that is dedicated for use withCisco Unified MeetingPlace, and configure the Web Server to use this account.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Complete the following procedures in the order shown to create and use a least-privileged SQL account:&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Creating a Least-Privileged SQL Account for the Web Server|Creating a Least-Privileged SQL Account for the Web Server]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Updating SQL Account Access from the MeetingPlace Gateway Configurations Utility|Updating SQL Account Access from the MeetingPlace Gateway Configurations Utility]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating a Least-Privileged SQL Account for the Web Server  ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Caution! '''	If you choose to create a SQL account that is dedicated for use with Cisco Unified MeetingPlace, ensure that it meets all the specified database role requirements in this procedure. Failure to do so can cause a database connection failure between the Web Server software and the SQL Server and result in a total outage or broken features. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note: '''	If Cisco TAC determines that your SQL account does not meet requirements, you will be asked to reconfigure your SQL account and to delete any existing Cisco Unified MeetingPlace Web Server software database so that a new database can be created once the account problem is remedied.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Open the SQL Server Enterprise Manager and create a new login: &lt;br /&gt;
## On the Start menu, select '''Programs &amp;gt; SQL Server 2000 &amp;gt; Enterprise Manager'''. &lt;br /&gt;
## Select a server group to expand it, then select the name of a server. &lt;br /&gt;
## Select '''Security &amp;gt; New Login'''.  &lt;br /&gt;
#: The SQL Server Login Properties window displays.&lt;br /&gt;
# Enter a name for the login on the General tab. &lt;br /&gt;
# Select '''SQL Server Authentication'''. &lt;br /&gt;
# Enter a password for the account. &lt;br /&gt;
# Select '''MPWEB''' from the Database drop-down menu to set the MPWEB database as the default database. &lt;br /&gt;
# Select the '''Database Access''' tab. &lt;br /&gt;
# Specify the database roles for the MPWEB database: &lt;br /&gt;
## Check the '''MPWEB''' database in the Databases table. &lt;br /&gt;
## Check the boxes for the following roles in the Database Roles table: &lt;br /&gt;
##* db_datareader&lt;br /&gt;
##* db_datawriter&lt;br /&gt;
##* db_ddladmin&lt;br /&gt;
# Repeat Step 7 for each additional MPWEB slave database.  &lt;br /&gt;
#: The slave databases have names that begin with &amp;quot;MPWEB_&amp;quot;. Depending on your deployment, your SQL Server will have either one or two slave databases.&lt;br /&gt;
# Select''' OK''' to complete the account configuration.&lt;br /&gt;
&lt;br /&gt;
=== Updating SQL Account Access from the MeetingPlace Gateway Configurations Utility ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MeetingPlace Gateway Configurations utility allows you to update the Web Server with the least-privileged SQL login account that you have already created. It does not create a SQL Server login or update the SQL Server for you.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Before You Begin =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Change the username and password on SQL Server. See the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Creating a Least-Privileged SQL Account for the Web Server|Creating a Least-Privileged SQL Account for the Web Server]] for instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Stop the Cisco Unified MeetingPlace Web Master Service. &lt;br /&gt;
# Open the MeetingPlace Gateway Configurations utility. &lt;br /&gt;
# Select the '''Web Server''' tab. &lt;br /&gt;
# Enter the hostname or IP address of the SQL Server that you want to update in the Server field.  &lt;br /&gt;
#: Enter '''local''' for a local server.&lt;br /&gt;
# Enter the username and password that you applied to the SQL Server. &lt;br /&gt;
# Select '''OK'''. &lt;br /&gt;
# Start the Cisco Unified MeetingPlace Web Master Service. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Related Topics =====&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service#Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service|Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service]] module&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the Cisco Unified MeetingPlace Gateway System Integrity Manager#Configuring the Cisco Unified MeetingPlace Gateway System Integrity Manager|Configuring the Cisco Unified MeetingPlace Gateway System Integrity Manager]] module&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Restoring the Cisco Unified MeetingPlace Web Server After Boot Failure ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Information in the Cisco Unified MeetingPlace Web Server software SQL database is replicated from the Cisco Unified MeetingPlace Application Server. As changes occur in the Application Server database, the SQL database is updated in real-time. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each time the Web Server boots up, it compares the Application Server hostname that it has stored in the SQL database with that configured in the Gateway SIM. If the hostnames match, any changes that occur in the Application Server database are replicated to the SQL database in real-time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the hostnames do not match, the Web Server will consider the Application Server to have changed and fail to boot up. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note: '''	The hostname in the SQL database is the value you entered when you installed the Web Server software. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Before You Begin =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Complete this procedure if you cannot start the Cisco Unified MeetingPlace Web Server because you changed the value of the hostname in the Gateway SIM.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Restrictions =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This procedure is strictly limited to the situation where the database on the Cisco Unified MeetingPlace Application Server is the same as the database on the Cisco Unified MeetingPlace Web Server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Caution! '''	Misuse of this procedure in any other situations will cause database corruption and subsequent Cisco Unified MeetingPlace Web Server software functional failures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Stop the Cisco Unified MeetingPlace Web Master Service. &lt;br /&gt;
# Verify that all Cisco Unified MeetingPlace services are shut down on the Web Server, including the IIS Admin Service and WWW Publishing Service. &lt;br /&gt;
# Open Enterprise Manager and navigate to the \Databases folder.  &lt;br /&gt;
# Select and expand the '''MPWEB''' database. &lt;br /&gt;
# Select '''Tables '''from the left pane. &lt;br /&gt;
# Right-click '''System''' in the right pane. &lt;br /&gt;
# Select '''Open Table &amp;gt; Return All Rows'''. &lt;br /&gt;
# Change the value in the HostName column to the desired value.  &lt;br /&gt;
# Start the Cisco Unified MeetingPlace Web Master Service or reboot the server. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Related Topics =====&lt;br /&gt;
* If the hostnames on the SQL Server and the Gateway SIM do not match because the Application Server has changed, see [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the Cisco Unified MeetingPlace Gateway System Integrity Manager#Changing the Cisco Unified MeetingPlace Application Server Connection Configured in the Gateway SIM|Changing the Cisco Unified MeetingPlace Application Server Connection Configured in the Gateway SIM]] in the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server|Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server]] module.&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service#Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service|Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service]] module&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Change and Apply a New SQL Password to the Cisco Unified MeetingPlace Web Server Software  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Complete the following tasks in the order shown to change the SQL password and apply the new password to the Cisco Unified MeetingPlace Web Server software:&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Changing the SQL Password If You Know the Old Password|Changing the SQL Password If You Know the Old Password]] or&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Changing the SQL Password if You Do Not Know the Old Password|Changing the SQL Password if You Do Not Know the Old Password]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Applying the New SQL Password to the Cisco Unified MeetingPlace Web Server Software|Applying the New SQL Password to the Cisco Unified MeetingPlace Web Server Software]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Changing the SQL Password If You Know the Old Password ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Before You Begin =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you do not know the old password, proceed to the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Changing the SQL Password if You Do Not Know the Old Password|Changing the SQL Password if You Do Not Know the Old Password]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Stop the Cisco Unified MeetingPlace Web Master Service. &lt;br /&gt;
#:'''Caution! '''	Changing the SQL Server account password while the Web Master Service is running will result in an immediate outage. Stop the service before continuing with the password change procedure.&lt;br /&gt;
# Open Enterprise Manager. &lt;br /&gt;
# Expand the Security folder. &lt;br /&gt;
# Select '''Logins'''.  &lt;br /&gt;
#: A list of accounts displays on the right.&lt;br /&gt;
# Double-click the SQL account that you want to change. &lt;br /&gt;
# Change the password in the configuration window.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Related Topics =====&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service#Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service|Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service]] module &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== What to Do Next =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Proceed to the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Applying the New SQL Password to the Cisco Unified MeetingPlace Web Server Software|Applying the New SQL Password to the Cisco Unified MeetingPlace Web Server Software]].&lt;br /&gt;
&lt;br /&gt;
=== Changing the SQL Password if You Do Not Know the Old Password ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Before You Begin =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you do know the old password, complete the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Changing the SQL Password If You Know the Old Password|Changing the SQL Password If You Know the Old Password]] instead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Stop the Cisco Unified MeetingPlace Web Master Service. &lt;br /&gt;
#:'''Caution! '''	Changing the SQL Server account password while the Web Master Service is running will result in an immediate outage. Stop the service before continuing with the password change procedure.&lt;br /&gt;
# Open a DOS command window.  &lt;br /&gt;
# Sign in to SQL Server by entering '''C:\osql -E''''' nt_acct'', where ''nt_acct'' is NT account that has access right to the server. &lt;br /&gt;
# Change the password by entering '''sp_password null, '''''new_pwd''''', sa''', where '''null''' represents the password that you do not know and ''new_pwd'' is the new sql password. &lt;br /&gt;
# Enter '''go'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Example: Changing the SQL Password by Using osql =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This example shows the osql commands executed to sign in to osql by using the NT account mpadmin and to change the SQL account SA password from some unknown value to new_pwd. &lt;br /&gt;
: &amp;lt;tt&amp;gt; C:\&amp;gt;osql -E mpadmin &amp;lt;/tt&amp;gt;&lt;br /&gt;
: &amp;lt;tt&amp;gt; 1&amp;gt;	sp_password null, new_pwd, sa &amp;lt;/tt&amp;gt;&lt;br /&gt;
: &amp;lt;tt&amp;gt; 2&amp;gt;  go &amp;lt;/tt&amp;gt;&lt;br /&gt;
: &amp;lt;tt&amp;gt; Password changed &amp;lt;/tt&amp;gt;&lt;br /&gt;
: &amp;lt;tt&amp;gt; 1&amp;gt; exit &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Related Topics =====&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service#Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service|Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service]] module &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== What to Do Next =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Proceed to the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Applying the New SQL Password to the Cisco Unified MeetingPlace Web Server Software|Applying the New SQL Password to the Cisco Unified MeetingPlace Web Server Software]].&lt;br /&gt;
&lt;br /&gt;
=== Applying the New SQL Password to the Cisco Unified MeetingPlace Web Server Software  ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Before You Begin =====&lt;br /&gt;
* Ensure that the username and password information that you will provide exists on the SQL Server and that the proper database access rights are assigned. &lt;br /&gt;
: See the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Creating a Least-Privileged SQL Account for the Web Server|Creating a Least-Privileged SQL Account for the Web Server]] for more information.&lt;br /&gt;
* Verify that the Cisco Unified MeetingPlace Web Master Service is stopped on the Web Server, including IIS Admin and WWW Publishing services.&lt;br /&gt;
*:'''Caution! '''	You cannot create or change the username or password on the SQL Server in the Web Server tab. This tab only supplies the Cisco Unified MeetingPlace Web Server software with the proper SQL database login information.&lt;br /&gt;
* Complete either the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Changing the SQL Password If You Know the Old Password|Changing the SQL Password If You Know the Old Password]] or the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Changing the SQL Password if You Do Not Know the Old Password|Changing the SQL Password if You Do Not Know the Old Password]]. You will need this information for Step 3 of this procedure.&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Open the Cisco Unified MeetingPlace Gateway Configurations utility. &lt;br /&gt;
# Select the '''Web Server''' tab. &lt;br /&gt;
# Change the old SQL password to the new SQL password. &lt;br /&gt;
# Select '''Apply'''. &lt;br /&gt;
# Select '''OK'''. &lt;br /&gt;
# Restart the Cisco Unified MeetingPlace Web Master Service. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Related Topics =====&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service#Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service|Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service]] module &lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the Cisco Unified MeetingPlace Gateway System Integrity Manager#Configuring the Cisco Unified MeetingPlace Gateway System Integrity Manager|Configuring the Cisco Unified MeetingPlace Gateway System Integrity Manager]] module&lt;br /&gt;
&lt;br /&gt;
== How to Manage the SQL Database Size ==&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Modifying the SQL Database Properties to Manage Database Size|Modifying the SQL Database Properties to Manage Database Size]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Examples: Modifying the SQL Database Properties to Manage Database Size|Examples: Modifying the SQL Database Properties to Manage Database Size]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Modifying the SQL Database Properties to Manage Database Size ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MPWEB database that the Cisco Unified MeetingPlace Web Server software creates is comprised of two files: MPWEB.mdf and MPWEB.ldf. The MDF file contains the actual data, while the LDF contains changes (both the content and timing) made to that data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On a SQL server that has been actively and properly managed through regular database backup, this LDF file (also called Transaction Log) remains a reasonable size. However, if the SQL database has not been backed up in a while, this transaction log may become very large.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To help prevent the file from growing too large, configure the following three properties for the MPWEB database:&lt;br /&gt;
* Recovery = Simple&lt;br /&gt;
* Torn Page Detection = On&lt;br /&gt;
* Auto Shrink = On&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Caution! '''	This procedure applies only to the MPWEB database. Do not apply this procedure to any MPWEB slave database (these databases have names that begin with &amp;quot;MPWEB_&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Open a DOS command window.  &lt;br /&gt;
# Sign in to the SQL Server by entering''' C:\osql -U''' ''userid'' '''-P''' ''password'', replacing ''userid'' and ''password'' with the applicable value. &lt;br /&gt;
# See the current properties of the database. &lt;br /&gt;
## Enter '''sp_helpdb MPWEB'''. &lt;br /&gt;
## Enter '''go'''. &lt;br /&gt;
# Modify properties. &lt;br /&gt;
## Enter '''alter database mpweb set auto_shrink on, recovery simple, torn_page_detection on'''. &lt;br /&gt;
## Enter '''go'''. &lt;br /&gt;
# If you are low on disk space because the database file is already large, force an immediate database shrink and remove empty space in the database files by''' '''entering''' dbcc shrinkdatabase ('mpweb', '''''percent''''')'''. where ''percent ''is the amount of free space that you want to allow. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Related Topics =====&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Examples: Modifying the SQL Database Properties to Manage Database Size|Examples: Modifying the SQL Database Properties to Manage Database Size]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Examples: Modifying the SQL Database Properties to Manage Database Size ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the following examples, the output is displayed for each command that is used in the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#How to Manage the SQL Database Size|How to Manage the SQL Database Size]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Viewing Current Database Properties''' ''' =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this example, Recovery Mode is set to FULL and Torn Page Detection and Auto Shrink are not configured on this database.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; sp_helpdb MPWEB &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; name         db_size       owner        dbid    created         status   &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; compatibility_level &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; MPWEB    1254.00 MB    sa           5       Oct 16 2003 &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Status=ONLINE, Updateability=READ_WRITE, UserAccess=MULTI_USER, Recovery=FULL, &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Version=539, Collation=SQL_Latin1_General_CP1_CI_AS, SQLSortOrder=52, &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; IsAutoCreateStatistics, IsAutoUpdateStatistics &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Modifying Database Properties =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; alter database mpweb set auto_shrink on, recovery simple, torn_page_detection on &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; sp_helpdb MPWEB &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; name         db_size       owner        dbid    created         status    &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; compatibility_level &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; MPWEB   1254.00 MB    sa            5       Oct 16 2003 &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Status=ONLINE, Updateability=READ_WRITE, UserAccess=MULTI_USER, Recovery=SIMPLE, &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Version=539, Collation=SQL_Latin1_General_CP1_CI_AS, SQLSortOrder=52, IsAutoShrink, &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; IsTornPageDetectionEnabled, IsAutoCreateStatistics, IsAutoUpdateStatistics &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Decreasing File Size =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this example, the size of the files are decreased in the MPWEB database to allow 10 percent free space in the files of MPWEB.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; dbcc shrinkdatabase ('mpweb', 10) &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; DbId   FileId CurrentSize MinimumSize UsedPages   EstimatedPages &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;  ------ ------ ----------- ----------- ----------- -------------- &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;       5      2        2912        1280        2912           1280 &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; (1 row affected) &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; DBCC execution completed. If DBCC printed error messages, contact your system &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; administrator. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Related Topics =====&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#How to Manage the SQL Database Size|How to Manage the SQL Database Size]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Back Up and Restore MPWEB SQL Database ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Complete the following procedures in the order shown to back up and restore the MPWEB database:&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Creating a Backup File by Exporting the MPWEB Database|Creating a Backup File by Exporting the MPWEB Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Examples: Exporting the MPWEB Database to Create a Backup File|Examples: Exporting the MPWEB Database to Create a Backup File]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Restoring the Database|Restoring the Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Examples: Restoring the Database|Examples: Restoring the Database]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating a Backup File by Exporting the MPWEB Database ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This backup file can be restored only on a SQL Server 2000 with equivalent or later service pack installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Export the MPWEB database. &lt;br /&gt;
#* To export the MPWEB database to create a backup copy while the Cisco Unified MeetingPlace Web Master Service is running (as part of a daily backup procedure, for example), proceed to Step 2. &lt;br /&gt;
#: or&lt;br /&gt;
#* To export the MPWEB database so that it can be imported on another SQL Server that can continue operations for this Cisco Unified MeetingPlace Web Server, stop the Cisco Unified MeetingPlace Web Master Service and wait for all of the Cisco Unified MeetingPlace services, IIS Admin service, and World Wide Web publishing service to cease.&lt;br /&gt;
# Access the SQL Server. &lt;br /&gt;
#* If the SQL Server that is hosting the MPWEB database runs on the Cisco Unified MeetingPlace Web Server, access the command prompt.&lt;br /&gt;
## Select '''Start &amp;gt; Run'''. &lt;br /&gt;
## Enter '''cmd'''. &lt;br /&gt;
#: or&lt;br /&gt;
#* If the SQL Server hosting the MPWEB database runs on a separate (remote) Windows server, locate that Windows server and sign in.&lt;br /&gt;
#: '''Note: '''	If you cannot sign in to the applicable Windows server, then sign in to any Windows-based workstation or server on the network that has a valid installation of SQL Server Client tools, including the osql command, so that you can connect remotely to the SQL Server. &lt;br /&gt;
# Connect to SQL Server by using osql with the SA account and the appropriate password. &lt;br /&gt;
#* Enter '''osql -U sa -S''' ''servername'', where ''servername'' is the Windows server name.&lt;br /&gt;
#* If the SQL Server runs locally, you can omit the option -S ''servername''.&lt;br /&gt;
#* If you are not allowed to connect to this SQL Server as sa, connect by using an account with enough privileges to back up a database.&lt;br /&gt;
# Select a fully qualified path and filename for your database export. &lt;br /&gt;
#: '''Note: '''	If you are connected to the SQL Server by running osql on a remote workstation or server, this path must be valid on the Windows server that hosts SQL Server, not on your local workstation.&lt;br /&gt;
# Export the database. &lt;br /&gt;
## Enter''' backup database MPWEB to disk''' = ''''''fullyqualifiedpath''''''', where '''''fullyqualifiedpath''''' is the location that you chose in Step 4. &lt;br /&gt;
## Enter '''go'''. &lt;br /&gt;
# Review the informational messages to confirm that the operation is successful. &lt;br /&gt;
# If you upgraded from Release 7.0 to Release 8.0: &lt;br /&gt;
## Determine the slave database name(s) on your SQL Server. &lt;br /&gt;
##* Enter '''select name from sysdatabases where name like 'MPWEB%''''.&lt;br /&gt;
##* Enter '''go'''.&lt;br /&gt;
##: The results should include either one or two slave databases.&lt;br /&gt;
## Back up the slave database(s). &lt;br /&gt;
##* Enter '''backup database [MPWEB_'''''XX'''''] to disk = 'C:\temp\mpweb_'''''XX'''''.dat'''', where ''XX'' are the digits of the first slave database and brackets enclose the database name.&lt;br /&gt;
##* Enter '''go'''.&lt;br /&gt;
## Repeat Step 7.2. for the second slave database, if applicable. &lt;br /&gt;
# Enter '''exit''' to exit osql. &lt;br /&gt;
# Save the mpweb.dat file in a safe location, for example, on a tape or network drive on another server. &lt;br /&gt;
#: If you upgraded from Release 7.0 to Release 8.0, then also save your mpweb_''XX''.dat files in a safe location.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Related Topics =====&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Examples: Exporting the MPWEB Database to Create a Backup File|Examples: Exporting the MPWEB Database to Create a Backup File]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== What to Do Next =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Proceed to the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Restoring the Database|Restoring the Database]].&lt;br /&gt;
&lt;br /&gt;
=== Examples: Exporting the MPWEB Database to Create a Backup File ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the following examples, the output is displayed for each command that is used in the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Creating a Backup File by Exporting the MPWEB Database|Creating a Backup File by Exporting the MPWEB Database]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Connecting to the SQL Server =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; C:&amp;gt; osql -U sa -S SERVERNAME &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Password: &amp;lt;password&amp;gt; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Exporting to the Database =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; backup database MPWEB to disk = 'C:\temp\mpweb.dat' &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Viewing Informational Messages =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Processed 616 pages for database 'MPWEB', file 'MPWEBData' on file 1. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Processed 3 pages for database 'MPWEB', file 'MPWEBLog' on file 1. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; BACKUP DATABASE successfully processed 619 pages in 1.709 seconds (2.962 MB/sec) &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Determining the Slave Database Name =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this example, the name of the slave database is MPWEB_E22AF0EC-805F-45D4-8F76-FB0C6378A5EC-1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; select name from sysdatabases where name like 'MPWEB%' &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; --------------------------------------------------- &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; name                 &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; [char              ] &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; -------------------------------------------- &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; MPWEB                &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; MPWEB_E22AF0EC-805F-45D4-8F76-FB0C6378A5EC-1 &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Backing Up the Slave Database =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; backup database [MPWEB_E22AF0EC-805F-45D4-8F76-FB0C6378A5EC-1] to disk = &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 'C:\temp\mpweb_E22AF0EC-805F-45D4-8F76-FB0C6378A5EC-1.dat' &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Exiting osql  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; exit &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; C:&amp;gt; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Restoring the Database ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Before You Begin =====&lt;br /&gt;
* You must have a database backup file called mpweb.dat.&lt;br /&gt;
: If you upgraded from Release 7.0 to Release 8.0, then you may also have one or more database backup files called mpweb_''XX''.dat.&lt;br /&gt;
* The database backup file(s) must have been exported with the backup database command from a SQL Server release that is earlier or equal to the release of the SQL Server to which you want to import the database. See the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Creating a Backup File by Exporting the MPWEB Database|Creating a Backup File by Exporting the MPWEB Database]] for instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Access the SQL Server. &lt;br /&gt;
#* If the SQL Server that hosts the MPWEB database runs on the Cisco Unified MeetingPlace Web Server, access the command prompt.&lt;br /&gt;
## Select '''Start &amp;gt; Run'''. &lt;br /&gt;
## Enter '''cmd'''. &lt;br /&gt;
#: or&lt;br /&gt;
#* If the SQL Server hosting the MPWEB database runs on a separate (remote) Windows server, locate that Windows server and sign in.&lt;br /&gt;
#: '''Note: '''	If you cannot sign in to the separate (remote) Windows server, then sign in to any Windows-based workstation or server on the network that has a valid installation of SQL Server Client tools including the osql command, so you can connect remotely to the SQL Server. &lt;br /&gt;
# Connect to SQL Server by using osql with the SA account and the appropriate password. &lt;br /&gt;
#* Enter '''osql -U sa -S''' ''servername'', where ''servername'' is the Windows server name.&lt;br /&gt;
#* If the SQL Server runs locally, you can omit the option -S ''servername''.&lt;br /&gt;
#* If you are not allowed to connect to this SQL Server as SA, connect by using an account with enough privileges to back up a database.&lt;br /&gt;
# Check if a database called MPWEB exists on this server. &lt;br /&gt;
## Enter '''select name from sysdatabases where name like 'MPWEB%''''. &lt;br /&gt;
## Enter '''go'''.  &lt;br /&gt;
# If a MPWEB database exists, verify that no Cisco Unified MeetingPlace Web Server is currently using this database. &lt;br /&gt;
# (Optional) If one or multiple Cisco Unified MeetingPlace Web Servers are using the database, complete the following: &lt;br /&gt;
## Sign in as an administrator on each server. &lt;br /&gt;
## Stop the Cisco Unified MeetingPlace Web Master Service. &lt;br /&gt;
## Wait for all the Cisco Unified MeetingPlace services, the IIS Admin service, and the World Wide Web publishing service to stop. &lt;br /&gt;
## Enter''' drop database MPWEB '''to drop the database. &lt;br /&gt;
## Enter '''go'''.  &lt;br /&gt;
# Before you import your MPWEB database to SQL Server, find out which database physical files are associated with this MPWEB database. &lt;br /&gt;
## Enter '''restore filelistonly from disk = 'C:\temp\mpweb.dat''''. &lt;br /&gt;
## Enter '''go'''. &lt;br /&gt;
# Verify the installation folder of the SQL Server where you want to restore this database and check the physical location of the SQL Server master database. &lt;br /&gt;
## Enter '''sp_helpfile master'''. &lt;br /&gt;
## Enter '''go'''. &lt;br /&gt;
#: '''Note: '''	Unless you have a specific reason to restore your MPWEB database to another disk location, such as for performance and tuning or data recovery, we recommend that you restore the MPWEB database to the default Data folder of this SQL Server installation.&lt;br /&gt;
# Restore your database and relocate the database physical files to the correct location. &lt;br /&gt;
## Enter '''restore database MPWEB from disk = 'C:\temp\mpweb.dat' with move 'MPWEBData' to 'D:\MSSQLServer\Data\MPWEB.MDF', move 'MPWEBLog' to 'D:\MSSQLServer\Data\MPWEB.LDF''''. &lt;br /&gt;
## Enter '''go'''. &lt;br /&gt;
#: '''Note: '''	You must use the '''with move''' clause to successfully restore the database because the database backup file contains physical file locations that are not valid for this SQL Server installation.&lt;br /&gt;
# Ensure that the operation was successful by reviewing the informational messages. &lt;br /&gt;
# If you upgraded from Release 7.0 to Release 8.0, then repeat Step 8 and Step 9 for each slave database to restore the MPWEB_XX slave database files.  &lt;br /&gt;
# Enter '''exit''' to exit osql.&lt;br /&gt;
&lt;br /&gt;
===== Related Topics =====&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Examples: Restoring the Database|Examples: Restoring the Database]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Examples: Restoring the Database ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the following examples, the output is displayed for each command that is used in the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Restoring the Database|Restoring the Database]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Connecting to SQL Server  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; C:&amp;gt; osql -U sa -S SERVERNAME &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Password: password &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Checking if the MPWEB Database Exists =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; select name from sysdatabases where name = 'MPWEB' &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; name &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; ----------------------------------------------------- &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; MPWEB &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Dropping the Database  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; drop database MPWEB &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Deleting database file 'D:\MSSQLServer\Data\MPWEB.LDF'. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Deleting database file 'D:\MSSQLServer\Data\MPWEB.MDF'. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Checking Associated Files =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this example, the MPWEB database was exported from a MSDE 2000 server. The default `Data' folder for this server is D:\MSSQLServer\Data, and the MPWEB database was created with one data file (logical name = `MPWEBData', physical name = D:\MSSQLServer\Data\MPWEB.mdf) and one log file (logical name = `MPWEBLog', physical name = D:\MSSQLServer\Data\MPWEB.ldf).&lt;br /&gt;
: &amp;lt;tt&amp;gt; 1&amp;gt; restore filelistonly from disk = 'C:\temp\mpweb.dat' &amp;lt;/tt&amp;gt;&lt;br /&gt;
: &amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
: &amp;lt;tt&amp;gt; --------------------------------------------------- &amp;lt;/tt&amp;gt;&lt;br /&gt;
: &amp;lt;tt&amp;gt; LogicalName PhysicalName            Type  FileGroupName Size          MaxSize               &amp;lt;/tt&amp;gt;&lt;br /&gt;
: &amp;lt;tt&amp;gt; ----------- ------------------------ ------ ------------- -------------- &amp;lt;/tt&amp;gt;&lt;br /&gt;
: &amp;lt;tt&amp;gt; --------------------- &amp;lt;/tt&amp;gt;&lt;br /&gt;
: &amp;lt;tt&amp;gt; MPWEBData  D:\MSSQLServer\Data\MPWEB.mdf D     PRIMARY &amp;lt;/tt&amp;gt;&lt;br /&gt;
:: &amp;lt;tt&amp;gt;     2490368.000000 35184372080640.000000 &amp;lt;/tt&amp;gt;&lt;br /&gt;
: &amp;lt;tt&amp;gt; MPWEBLog   D:\MSSQLServer\Data\MPWEB.ldf L     NULL &amp;lt;/tt&amp;gt;&lt;br /&gt;
:: &amp;lt;tt&amp;gt;     1310720.000000 35184372080640.000000 &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Verifying Folder Installation and Location of SQL Database =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this example, SQL Server (version 2000) was installed in D:\MSSQLServer, and the default 'Data' folder is D:\MSSQLServer\data. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; sp_helpfile master &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; name        filename        filegroup        size              maxsize            growth     &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; usage &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; ---------------------------------------------------------------------- &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; master &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;        D:\MSSQLServer\data\master.mdf &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;        PRIMARY &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;       15744 KB           Unlimited          10%                data only &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Restoring the MPWEB Database by Using the Move Clause =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this example, additional running upgrade step messages are displayed because the database backup file was created by an earlier version of SQL Server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; restore database MPWEB from disk = 'C:\temp\mpweb.dat' with move 'MPWEBData' to &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 'D:\MSSQLServer\Data\MPWEB.MDF', move 'MPWEBLog' to 'D:\MSSQLServer\Data\MPWEB.LDF' &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Processed 216 pages for database 'MPWEB', file 'MPWEBData' on file 1. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Processed 1 pages for database 'MPWEB', file 'MPWEBLog' on file 1. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Converting database 'MPWEB' from version 515 to the current version 539. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Database 'MPWEB' running the upgrade step from version 515 to version 524. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Database 'MPWEB' running the upgrade step from version 524 to version 525. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Database 'MPWEB' running the upgrade step from version 525 to version 526. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Database 'MPWEB' running the upgrade step from version 526 to version 527. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Database 'MPWEB' running the upgrade step from version 527 to version 528. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Database 'MPWEB' running the upgrade step from version 528 to version 529. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Database 'MPWEB' running the upgrade step from version 529 to version 530. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Database 'MPWEB' running the upgrade step from version 530 to version 531. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Database 'MPWEB' running the upgrade step from version 531 to version 532. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Database 'MPWEB' running the upgrade step from version 532 to version 533. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Database 'MPWEB' running the upgrade step from version 533 to version 534. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Database 'MPWEB' running the upgrade step from version 534 to version 535. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Database 'MPWEB' running the upgrade step from version 535 to version 536. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Database 'MPWEB' running the upgrade step from version 536 to version 537. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Database 'MPWEB' running the upgrade step from version 537 to version 538. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Database 'MPWEB' running the upgrade step from version 538 to version 539. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; To achieve optimal performance, update all statistics on the 'MPWEB' database by running &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; sp_updatestats. &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; RESTORE DATABASE successfully processed 217 pages in 0.428 seconds (4.136 MB/sec). &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Restoring the MPWEB Slave Database  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; restore database [MPWEB_E22AF0EC-805F-45D4-8F76-FB0C6378A5EC-1] from disk = &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 'C:\temp\mpweb_E22AF0EC-805F-45D4-8F76-FB0C6378A5EC-1.dat' with move &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 'MPWEB_E22AF0EC-805F-45D4-8F76-FB0C6378A5EC-1Data' to &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 'D:\MSSQLServer\Data\MPWEB_E22AF0EC-805F-45D4-8F76-FB0C6378A5EC-1.MDF', move &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 'MPWEB_E22AF0EC-805F-45D4-8F76-FB0C6378A5EC-1Log' to &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 'D:\MSSQLServer\Data\MPWEB_E22AF0EC-805F-45D4-8F76-FB0C6378A5EC-1.LDF' &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Exiting osql  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; exit &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; C:&amp;gt; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Detach and Attach the MPWEB SQL Database ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This document forms part of the process for relocating the Cisco Unified MeetingPlace Web Server (MPWEB) database to a dedicated Microsoft SQL Server instance. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For performance and management reasons, you may choose to relocate the MPWEB SQL database to a standalone instance of Microsoft SQL Server. For SQL server requirements for a remote (off box) SQL installation, see the ''System Requirements for Cisco Unified MeetingPlace''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Complete the following procedures in the order shown to detach and attach the MPWEB SQL database:&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Detaching the Database|Detaching the Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Examples: Detaching the Database|Examples: Detaching the Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Attaching the Database|Attaching the Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Examples: Attaching the Database|Examples: Attaching the Database]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Detaching the Database ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You must detach the MPWEB database with the sp_detach_db command from a SQL Server release that is earlier or equal to the release of the SQL Server to which you want to import the database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Sign in to the Cisco Unified MeetingPlace web user portal. &lt;br /&gt;
# Select '''Admin'''. &lt;br /&gt;
# Stop the Cisco Unified MeetingPlace Web Master Service. &lt;br /&gt;
# Wait for all Cisco Unified MeetingPlace services, including the IIS Admin service and World Wide Web Publishing service, to stop. &lt;br /&gt;
# Access the SQL Server. &lt;br /&gt;
#* If the SQL Server hosting the MPWEB database runs on the Cisco Unified MeetingPlace Web Server, access the command prompt:&lt;br /&gt;
## Select '''Start &amp;gt; Run'''. &lt;br /&gt;
## Enter '''cmd'''. &lt;br /&gt;
#: or &lt;br /&gt;
#* If the SQL Server hosting the MPWEB database runs on a separate (remote) Windows server, locate that Windows server and sign in. &lt;br /&gt;
#: '''Note: '''	If you cannot sign in to the separate (remote) Windows server, then sign in to any Windows based workstation or server on the network that has a valid installation of SQL Server Client tools, including the osql command, so that you can remotely connect to the SQL Server. &lt;br /&gt;
# Connect to SQL Server by using osql with the SA account and the appropriate password.  &lt;br /&gt;
#* If the SQL Server runs locally, you can omit the '''-S''' ''servername'' option.&lt;br /&gt;
#* If you are not allowed to connect to this SQL Server as SA, connect by using an account that has enough privileges to backup a database.&lt;br /&gt;
# Access the MPWEB database.  &lt;br /&gt;
## Enter '''use mpweb'''. &lt;br /&gt;
## Enter '''go'''. &lt;br /&gt;
# Display a list of the database files.  &lt;br /&gt;
## Enter '''sp_helpfile'''. &lt;br /&gt;
## Enter '''go'''. &lt;br /&gt;
# Access the SQL Server master database.  &lt;br /&gt;
## Enter '''use master'''. &lt;br /&gt;
## Enter '''go'''.  &lt;br /&gt;
# Detach the MPWEB database.  &lt;br /&gt;
## Enter '''sp_detach_db 'MPWEB'''. &lt;br /&gt;
## Enter '''go'''. &lt;br /&gt;
# Decide what you should do with the physical files that you identified in Step 8.  &lt;br /&gt;
#: These files constitute your detached database. For example, you can archive these files or use them to attach the associated MPWEB database to another SQL Server.&lt;br /&gt;
# Determine the slave database name(s) on your SQL Server.  &lt;br /&gt;
## Enter '''select name from sysdatabases where name like 'MPWEB%'''. &lt;br /&gt;
## Enter '''go'''. &lt;br /&gt;
# (Optional) If you upgraded from Release 7.0 to Release 8.0, then repeat Step 7 through Step 11 to detach each additional database named MPWEB_''XX'', replacing the database name MPWEB with MPWEB_''XX''.  &lt;br /&gt;
#: '''Note: '''	The databases are logically linked; therefore, if you want to archive the detached MPWEB database, you must do the same for each MPWEB_''XX'' database. If you want to reattach the MPWEB database to another SQL Server, you must also reattach the MPWEB_''XX'' database(s). &lt;br /&gt;
# Enter '''exit''' to exit osql.&lt;br /&gt;
&lt;br /&gt;
===== Related Topics =====&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Examples: Detaching the Database|Examples: Detaching the Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service#Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service|Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service]] module &lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Relocating the Database|Relocating the Database]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Examples: Detaching the Database ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the following examples, the output is displayed for each osql command that is used in the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Detaching the Database|Detaching the Database]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Connecting to SQL Server  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; C:&amp;gt; osql -U sa -S SERVERNAME &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Password: password &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Accessing the MPWEB Database =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; use mpweb &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Displaying a List of Database Files =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this example, the database MPWEB relies on two physical files: C:\MSSQL2K\Data\MPWEB.mdf and C:\MSSQL2K\Data\MPWEB.ldf.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; sp_helpfile &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; name         fileid    filename                   filegroup size   maxsize  growth usage     &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; ------------- ---------- --------------------------- --------- ------- --------- ------- &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; --------- &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; MPWEBData             1 C:\MSSQL2K\Data\MPWEB.mdf   PRIMARY   &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2432 KB Unlimited 1024 KB data only &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; MPWEBLog              2 C:\MSSQL2K\Data\MPWEB.ldf   NULL      &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1280 KB Unlimited 10%    log only &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Accessing the SQL Server Master Database  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; use master &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Detaching the MPWEB Database =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; sp_detach_db 'MPWEB' &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Determining the Slave Database Name  =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this example, the name of the slave database is MPWEB_E22AF0EC-805F-45D4-8F76-FB0C6378A5EC-1. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; select name from sysdatabases where name like 'MPWEB%' &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; --------------------------------------------------- &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; name                 &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; [char              ] &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; --------------------------------------------  &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; MPWEB_E22AF0EC-805F-45D4-8F76-FB0C6378A5EC-1 &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Exiting osql  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; exit &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; C:&amp;gt; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Related Topics =====&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Detaching the Database|Detaching the Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Attaching the Database|Attaching the Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Relocating the Database|Relocating the Database]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Attaching the Database ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ensure that you have a valid detached MPWEB database, usually two files named MPWEB.mdf (data file) and MPWEB.ldf (log file) though file names may vary. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Access the SQL Server. &lt;br /&gt;
#* If the SQL Server to which you want to attach your MPWEB database runs on the Cisco Unified MeetingPlace Web Server, access the command prompt. &lt;br /&gt;
## Select '''Start &amp;gt; Run'''. &lt;br /&gt;
## Enter '''cmd'''. &lt;br /&gt;
#: or&lt;br /&gt;
#* If the SQL Server runs on a separate (remote) Windows server, locate that Windows server and sign in.&lt;br /&gt;
#: '''Note: '''	If you cannot sign in to that Windows server, then sign in to any Windows-based workstation or server on the network that has a valid installation of SQL Server Client tools, including the osql command, so that you can remotely connect to the SQL Server. &lt;br /&gt;
# Connect to SQL Server by using osql.  &lt;br /&gt;
#* Enter''' osql -U sa -S''' ''server-name'', where ''server-name'' is the Windows SQL Server to which you want to attach the MPWEB database.&lt;br /&gt;
#* If the SQL Server runs locally, you can omit the -S'' server-name'' option.&lt;br /&gt;
# Enter your password for the appropriate SA account. &lt;br /&gt;
#: '''Note: '''	If you are not allowed to connect to this SQL Server as SA, connect by using an account that has enough privileges to attach a database.&lt;br /&gt;
# Determine if a database named MPWEB already exists on this server.  &lt;br /&gt;
## Enter '''select name from sysdatabases where name = 'MPWEB''''. &lt;br /&gt;
## Enter '''go'''. &lt;br /&gt;
# If no MPWEB database exists, proceed to Step 6. &lt;br /&gt;
#: or&lt;br /&gt;
#: If a MPWEB database exists, ensure that it is not being used by an existing Cisco Unified MeetingPlace Web Server. &lt;br /&gt;
#: '''Note: '''	You cannot attach a MPWEB database to this SQL Server if an active MPWEB database exists already. Before you proceed, you must detach the existing MPWEB database by completing the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Detaching the Database|Detaching the Database]].&lt;br /&gt;
# To verify the installation folder of the SQL Server to which you want to restore this database, check the physical location of the SQL Server master database. &lt;br /&gt;
## Enter '''sp_helpfile master'''. &lt;br /&gt;
## Enter '''go'''.  &lt;br /&gt;
#: '''Note: '''	Unless you have a reason to restore your MPWEB database to another disk location, such as for performance and tuning or data recovery reasons, we recommend that you restore the database to the default data folder of this SQL Server installation.&lt;br /&gt;
# Copy the MPWEB.mdf and MPWEB.ldf files under the data folder that you identified in Step 6. &lt;br /&gt;
# Attach the MPWEB database.  &lt;br /&gt;
## Enter '''sp_attach_db 'MPWEB',''''''data path'''''\MPWEB.mdf',''''''data path'''''\MPWEB.ldf''''. &lt;br /&gt;
## Enter '''go'''. &lt;br /&gt;
# (Optional) If you upgraded from Release 7.0 to Release 8.0, and you have a valid set of files for MPWEB_''XX'' slave database(s), then repeat Step 4 through Step 8 for each slave database, replacing MPWEB with MPWEB_''XX'' to attach that database. &lt;br /&gt;
# Enter '''exit''' to exit osql. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Related Topics =====&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Examples: Attaching the Database|Examples: Attaching the Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Detaching the Database|Detaching the Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Relocating the Database|Relocating the Database]]&lt;br /&gt;
&lt;br /&gt;
=== Examples: Attaching the Database ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the following examples, the output is displayed for each osql command that is used in the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Attaching the Database|Attaching the Database]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following examples use the files MPWEB.mdf and MPWEB.ldf:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Connecting to SQL Server  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; C:&amp;gt; osql -U sa -S SERVERNAME &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Password: password &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Checking if the MPWEB Database Exists =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; select name from sysdatabases where name = 'MPWEB' &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; name &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; ----------------------------------------------------- &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; (0 row affected) &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Checking the Physical Location of the SQL Server Master Database =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this example, SQL Server Version 2000 is installed in C:\MSSQL2K, and the default data folder is C:\MSSQL2K\data. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; sp_helpfile master &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; name filename filegroup size maxsize growth usage &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; ---------------------------------------------------------------------- &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; master &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;        C:\MSSQL2K\data\master.mdf &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;        PRIMARY &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;        15744 KB           Unlimited 10% data only &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Attaching the MPWEB Database =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; sp_attach_db 'MPWEB','data path\MPWEB.mdf','data path\MPWEB.ldf' &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 2&amp;gt; go &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Sample Output for Exiting osql  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; 1&amp;gt; exit &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; C:&amp;gt; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Related Topics =====&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Detaching the Database|Detaching the Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Attaching the Database|Attaching the Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Relocating the Database|Relocating the Database]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Replace a Cisco Unified MeetingPlace Web Server and Retain the SQL Database ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
During installation, a MPWEB database is tied to a specific Cisco Unified MeetingPlace Web Server through a unique GUIDWebID that is generated by the Cisco Unified MeetingPlace Web Server software installer. This GUIDWebID is stored in the registry and SQL database. Therefore, if you want to transfer the MPWEB SQL database from the old server to a new server, the new server must use the same GUIDWebID as the old server. This requires preparing the following three components from the old server to the new server:&lt;br /&gt;
* The whole \MPWEB\Meetings folder (including all sub-folders) in zipped or unzipped format.&lt;br /&gt;
* The GUIDS.reg file with modifications to add the GUIDWebID and the mpweb slave database filename information. The GUIDS.reg file, as well as the GUIDWebID and DBName registry values, come from the old server. &lt;br /&gt;
* A backup of the MPWEB database and mpweb slave database(s) from the old server. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Complete the following procedures in the order shown to replace an existing Cisco Unified MeetingPlace Web Server with a new server and retain the data of past meetings so that they are accessible from the new server: &lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Preparing the Current Cisco Unified MeetingPlace Web Server|Preparing the Current Cisco Unified MeetingPlace Web Server]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Installing the Replacement Cisco Unified MeetingPlace Web Server|Installing the Replacement Cisco Unified MeetingPlace Web Server]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Building the Replacement Cisco Unified MeetingPlace Web Server|Building the Replacement Cisco Unified MeetingPlace Web Server]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Preparing the Current Cisco Unified MeetingPlace Web Server ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Stop the Cisco Unified MeetingPlace Web Master Service and the Gateway SIM service. &lt;br /&gt;
# Detach this Cisco Unified MeetingPlace Web Server from the Cisco Unified MeetingPlace Application Server. &lt;br /&gt;
## Open the Gateway SIM Agent. &lt;br /&gt;
## From the Gateway SIM tab, write down the hostname or IP address of the Cisco Unified MeetingPlace Application Server for future reference. &lt;br /&gt;
##: '''Note: '''	You must use the same server reference when you install the new Cisco Unified MeetingPlace Web Server. If the Application Server is specified as a hostname, you will enter that same hostname; if it is specified as an IP address, you will use an IP address later.&lt;br /&gt;
## Select '''Delete Unit''' to detach this Web Server from the Application Server.  &lt;br /&gt;
# Make a copy of the entire \MPWEB\Meetings folder and its contents. &lt;br /&gt;
# Make a copy of the GUIDS.reg file.  &lt;br /&gt;
#: You can find this file where the Cisco Unified MeetingPlace Web Server software files are stored.&lt;br /&gt;
# Open regedit and obtain the registry values for GUIDWebID and DBName. &lt;br /&gt;
&lt;br /&gt;
'''Caution! '''	Ensure that the registry values are correct. Compare the values that you obtained in Step 5 against what you enter in Step 6.&lt;br /&gt;
# Open GUIDS.reg in a text editor and add the GUIDWebID and DBName registry paths and key values. &lt;br /&gt;
# Save the file with these changes.  &lt;br /&gt;
# Make a backup of the MPWEB database and the mpweb slave database(s).  &lt;br /&gt;
# Copy the GUIDS.reg and the MPWEB backup to the new server.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Related Topics =====&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service#Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service|Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service]] module&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the Cisco Unified MeetingPlace Gateway System Integrity Manager#Configuring the Cisco Unified MeetingPlace Gateway System Integrity Manager|Configuring the Cisco Unified MeetingPlace Gateway System Integrity Manager]] module&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#How to Back Up and Restore MPWEB SQL Database|How to Back Up and Restore MPWEB SQL Database]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== What to Do Next =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Proceed to the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Installing the Replacement Cisco Unified MeetingPlace Web Server|Installing the Replacement Cisco Unified MeetingPlace Web Server]].&lt;br /&gt;
&lt;br /&gt;
=== Installing the Replacement Cisco Unified MeetingPlace Web Server ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Replacement installations of the Cisco Unified MeetingPlace Web Server software must match the version that was running on the old server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Before You Begin =====&lt;br /&gt;
* Run GUIDS.reg on the new server to add the following four keys in to the registry: GUID IDs for Site, System, Web, and mpweb slave db filename. To run GUIDS.reg, right-click GUIDS.reg, then select '''merge'''.&lt;br /&gt;
* Have the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Preparing the Current Cisco Unified MeetingPlace Web Server|Preparing the Current Cisco Unified MeetingPlace Web Server]] available to assist you with this procedure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Install the Cisco Unified MeetingPlace Web Server software. &lt;br /&gt;
# Reboot the server when you are prompted at the end of the installation.  &lt;br /&gt;
#: After the initial reboot, the installation program continues and may reboot a few more times to complete the installation.&lt;br /&gt;
# When prompted for the Cisco Unified MeetingPlace Application Server information, enter the hostname or IP address of the Application Server from which you detached the Web Server. &lt;br /&gt;
# After the installation completes, verify that the Cisco Unified MeetingPlace Web Server software is functional. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Related Topics =====&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Installing the Cisco Unified MeetingPlace Web Server Software#Installing the Cisco Unified MeetingPlace Web Server Software|Installing the Cisco Unified MeetingPlace Web Server Software]] module &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== What to Do Next =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Proceed to the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Building the Replacement Cisco Unified MeetingPlace Web Server|Building the Replacement Cisco Unified MeetingPlace Web Server]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Building the Replacement Cisco Unified MeetingPlace Web Server ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Before you Begin =====&lt;br /&gt;
* Verify that the release of Cisco Unified MeetingPlace Web Server software that is installed on the new server is either the same or later than the release installed on the old server. &lt;br /&gt;
* Know how to use Enterprise Manager or the osql drop database command.&lt;br /&gt;
: See the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Restoring the Database|Restoring the Database]] for more information about the osql command.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Stop the Cisco Unified MeetingPlace Web Master Service. &lt;br /&gt;
# Use Enterprise Manager or the osql drop database command to delete the MPWEB SQL database. &lt;br /&gt;
#: This database was created automatically during the Cisco Unified MeetingPlace Web Server software installation.&lt;br /&gt;
# Use either Enterprise Manager or the osql restore database command to restore the old MPWEB database on to the new server. &lt;br /&gt;
# Delete all contents in the \MPWeb\Meetings\ folder. &lt;br /&gt;
# Restore all the files from the old server in to \MPWeb\Meetings folder. &lt;br /&gt;
# Reboot the server or restart the Cisco Unified MeetingPlace Web Master Service. &lt;br /&gt;
# Update the Cisco Unified MeetingPlace Web Administration page. &lt;br /&gt;
## Sign in to the Cisco Unified MeetingPlace web user portal with a system administrator profile. &lt;br /&gt;
## Select '''Admin'''. &lt;br /&gt;
## Select '''Web Server'''. &lt;br /&gt;
## Update appropriate fields, such as the Web Server Hostname. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Related Topics =====&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring Security Features for the Cisco Unified MeetingPlace Web Server#Changing the Web Server Hostname From an IP Address to a Hostname|Changing the Web Server Hostname From an IP Address to a Hostname]] in the [[Cisco Unified MeetingPlace Release 8.0 -- Configuring Security Features for the Cisco Unified MeetingPlace Web Server#Configuring Security Features for the Cisco Unified MeetingPlace Web Server|Configuring Security Features for the Cisco Unified MeetingPlace Web Server]] module&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Quick Start Configuration for Cisco Unified MeetingPlace Web User Portal for Scheduling and Joining Meetings#Setting Your Web Server Options|Setting Your Web Server Options]] in the [[Cisco Unified MeetingPlace Release 8.0 -- Quick Start Configuration for Cisco Unified MeetingPlace Web User Portal for Scheduling and Joining Meetings#Quick Start Configuration for Cisco Unified MeetingPlace Web User Portal for Scheduling and Joining Meetings|Quick Start Configuration for Cisco Unified MeetingPlace Web User Portal for Scheduling and Joining Meetings]] module&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service#Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service|Stopping, Starting, or Restarting the Cisco Unified MeetingPlace Web Master Service]] module&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Updating the Indices on the SQL Database ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SQL database needs regular maintenance. If the SQL database is running slowly, or if the SQL database is running on a remote SQL server, then you should run this procedure on a nightly or weekly basis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure  =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Launch SQL Enterprise manager.  &lt;br /&gt;
# Select the Cisco Unified MeetingPlace Web Server software database, which is named something similar to MPWEB_&amp;lt;GUID_ID&amp;gt;_&amp;lt;Location&amp;gt;. &lt;br /&gt;
#: &amp;lt;Location&amp;gt; can be either 1 or 2, depending on whether this is an internal or an external Web Server.&lt;br /&gt;
# Select '''Tools &amp;gt; Wizards''' from the menu options at the top of the window.  &lt;br /&gt;
# Expand on the Management option. &lt;br /&gt;
# Select '''Database Maintenance Plan Wizard'''.  &lt;br /&gt;
# Select '''Next''' on the Welcome to the Database Maintenance Plan Wizard page.  &lt;br /&gt;
# Select the database on the Select Database page. &lt;br /&gt;
# Select '''Next'''.  &lt;br /&gt;
# Check '''Reorganize data and index pages''' on the Update Data Optimization Information page. &lt;br /&gt;
# Select '''Next'''.  &lt;br /&gt;
# (Optional) Change the schedule on which this maintenance procedure runs.  &lt;br /&gt;
# Select '''Next''' on the Database Integrity Check page.  &lt;br /&gt;
# Uncheck '''Backup the database''' on the Specify the database backup plan page.  &lt;br /&gt;
# Select '''Next'''.  &lt;br /&gt;
# Select '''Next''' on the following pages: &lt;br /&gt;
#* Specify backup disk directory page&lt;br /&gt;
#* Specify the transaction log backup plan page&lt;br /&gt;
#* Reports to generate page&lt;br /&gt;
#* Maintenance Pan History page&lt;br /&gt;
# Select '''Finish '''on the Completing the maintenance plan wizard page. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Use a Custom TCP Port for the SQL Server Connection ==&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Customizing the SQL Port for the Local SQL Database|Customizing the SQL Port for the Local SQL Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Customizing the SQL Port for the Remote SQL Database|Customizing the SQL Port for the Remote SQL Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Switching from the Local Database to the Remote Database on the Custom Port|Switching from the Local Database to the Remote Database on the Custom Port]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Customizing the SQL Port for the Local SQL Database ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# In the SQL server network utility, perform the following:  &lt;br /&gt;
#: '''Note: '''	To perform this operation in SQL Server 2005, use the SQL Server Configuration Manager tool. &lt;br /&gt;
## Select '''TCP'''.  &lt;br /&gt;
## Select '''Properties'''  &lt;br /&gt;
## Change the default port from 1433 to the desired port.  &lt;br /&gt;
## Select '''OK'''.  &lt;br /&gt;
# Stop the SQL server.  &lt;br /&gt;
# Start the SQL server.  &lt;br /&gt;
# Edit the registry:  &lt;br /&gt;
## Go to HKEY_LOCAL_MACHINE\SOFTWARE\Latitude\ODBC.  &lt;br /&gt;
## Create a registry key of type DWORD named '''SlaveDBPort'''.  &lt;br /&gt;
## Set the created entry to your desired value for the port.  &lt;br /&gt;
# Restart the Cisco Unified MeetingPlace Web Master Service. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Customizing the SQL Port for the Remote SQL Database  ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Install the Cisco Unified MeetingPlace Web Server software as usual, choosing remote database (this will install with the default port, 1433).  &lt;br /&gt;
# Use the SQL server network utility to change the port on the remote database:  &lt;br /&gt;
#: '''Note: '''	To perform this operation in SQL Server 2005, use the SQL Server Configuration Manager tool. &lt;br /&gt;
## Select '''TCP'''.  &lt;br /&gt;
## Select '''Properties'''. &lt;br /&gt;
## Change the default port from 1433 to the desired port.  &lt;br /&gt;
## Select '''OK'''.  &lt;br /&gt;
# Stop the SQL server.  &lt;br /&gt;
# Start the SQL server.  &lt;br /&gt;
# Edit the registry:  &lt;br /&gt;
## Go to HKEY_LOCAL_MACHINE\SOFTWARE\Latitude\ODBC.  &lt;br /&gt;
## Create a registry key of type DWORD named '''SlaveDBPort'''.  &lt;br /&gt;
## Set the created entry to your desired value for the port.  &lt;br /&gt;
# Select '''Start &amp;gt; Programs &amp;gt; Administrative Tools &amp;gt; Open Data Sources (ODBC)'''.  &lt;br /&gt;
# Select '''System DSN'''.  &lt;br /&gt;
# Select '''MPWEB'''.  &lt;br /&gt;
# Select '''Configure'''.  &lt;br /&gt;
# Select '''Next''' on the Microsoft SQL Server DSN Configuration screen.  &lt;br /&gt;
# Select '''Client Configuration'''.  &lt;br /&gt;
# Uncheck '''Dynamically determine port box'''.  &lt;br /&gt;
# Enter your custom port number.  &lt;br /&gt;
# Select '''OK'''.  &lt;br /&gt;
# Close '''ODBC'''.  &lt;br /&gt;
# Restart the Cisco Unified MeetingPlace Web Master Service.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Switching from the Local Database to the Remote Database on the Custom Port  ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Procedure =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Start with the local database on default port 1433.  &lt;br /&gt;
# Stop the Cisco Unified MeetingPlace Web Master Service.  &lt;br /&gt;
# Use the SQL server network utility to change the port on the remote database:  &lt;br /&gt;
#: '''Note: '''	To perform this operation in SQL Server 2005, use the SQL Server Configuration Manager tool. &lt;br /&gt;
## Select '''TCP'''.  &lt;br /&gt;
## Select '''Properties'''  &lt;br /&gt;
## Change the default port from 1433 to the desired port.  &lt;br /&gt;
## Select '''OK'''.  &lt;br /&gt;
# Stop the SQL server.  &lt;br /&gt;
# Start the SQL server.  &lt;br /&gt;
# Edit the registry:  &lt;br /&gt;
## Go to HKEY_LOCAL_MACHINE\SOFTWARE\Latitude\ODBC.  &lt;br /&gt;
## Create a registry key of type DWORD named '''SlaveDBPort'''.  &lt;br /&gt;
## Set the created entry to your desired value for the port.  &lt;br /&gt;
# Select '''Start &amp;gt; Programs &amp;gt; Administrative Tools &amp;gt; Open Data Sources (ODBC)'''.  &lt;br /&gt;
# Select '''System DSN'''.  &lt;br /&gt;
# Select '''MPWEB'''.  &lt;br /&gt;
# Select '''Configure'''.  &lt;br /&gt;
# Change the &amp;quot;Which SQL server do you want to connect to&amp;quot; field to the remote SQL server name.  &lt;br /&gt;
# Select '''Next''' on the Microsoft SQL Server DSN Configuration screen.  &lt;br /&gt;
# Select '''Client Configuration'''.  &lt;br /&gt;
# Uncheck '''Dynamically determine port box'''.  &lt;br /&gt;
# Enter your custom port number.  &lt;br /&gt;
# Select '''OK'''.  &lt;br /&gt;
# Close '''ODBC'''.  &lt;br /&gt;
# On the web server, open the MeetingPlace Gateway Configuration utility.  &lt;br /&gt;
# Select '''Web Server'''.  &lt;br /&gt;
# Change the database name from (local) to remote database.  &lt;br /&gt;
# Enter the user name and password for the remote database.  &lt;br /&gt;
# Select '''Apply'''. &lt;br /&gt;
# Select '''OK'''. &lt;br /&gt;
# Start the Cisco Unified MeetingPlace Web Master Service. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Relocating the Database ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may want to relocate the database and put the Cisco Unified MeetingPlace Web Server software and databases on separate servers, for example, if your Web Server is running out of disk space, or for performance or backup considerations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note: '''	Do not uninstall the local SQL Server if you are using remote SQL Server 2005. If, however, you are using remote SQL Server 2000, then you may choose to uninstall the SQL Server software and delete the MPWEB SQL database files from the Cisco Unified MeetingPlace Web Server. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Detach the MPWEB SQL databases on the existing (for example, local) SQL Server. &lt;br /&gt;
# Attach the MPWEB SQL databases to the new (for example, remote) SQL Server.  &lt;br /&gt;
# On the Web Server, change the Database Connection settings to point to the new (in this example, remote) SQL Server:  &lt;br /&gt;
## Double-click the orange door icon in the System Tray.  &lt;br /&gt;
## Click '''Web Server'''.  &lt;br /&gt;
## Enter the remote SQL server name in the Server field.  &lt;br /&gt;
## Enter the new Username and Password.  &lt;br /&gt;
## Click '''OK'''.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Related Topics =====&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Detaching the Database|Detaching the Database]]&lt;br /&gt;
* [[Cisco Unified MeetingPlace Release 8.0 -- Configuring the SQL Server for the Cisco Unified MeetingPlace Web Server#Attaching the Database|Attaching the Database]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Configuration Information for Cisco Unified MeetingPlace Release 8.0]]&lt;/div&gt;</summary>
		<author><name>MeetingPlace Moderator</name></author>	</entry>

	</feed>