Instead, use the following steps to update system metadata that is stored in sys.servers and reported by the system function @@SERVERNAME.



Similar documents
Tech Note 743 Configuring Reporting Services 2008 Configuration for a New Host Name in Windows 2008 R2

This tech note will explain how to use the following parameters in Configurator General Parameters.

Tech Note 847 Installing Wonderware Information Server (WIS) on the Windows Server Window 7 64 and 32-bit Operating System

Tech Note 1010 SQL Server Authentication and ArchestrA Network Account Restrictions When Installing Wonderware Historian

Tech Note 782 Installing Remote Desktop Services on Windows 2008 Server R2 for Wonderware Products

Tech Note 338 How to Change the ActiveFactory Reporting Website Default Install Location

Migrating QI 8.0 Admin and Process Databases from Microsoft Access to Microsoft SQL Server

Tech Note 782 Installing Remote Desktop Services on Windows 2008 Server R2 for Wonderware Products

Enabling Cross-Machine Distributed Transactions (via MSDTC)

Tech Note 751 Installing InBatch Report Contents for Wonderware Information Server (WIS)

How To Migrate Qi Analyst To A New Database On A Microsoft Access (Windows) From A New Version Of Qi.Io To A Newer Version Of A New Qi 8.0 (Windows 7.3

Tech Note 920 Resolving Disabled ActiveFactory Reporting Website for Wonderware System Platform R2

Introduction. Application Versions. Assumptions. Delete $$ExportTempFolders. Tech Note 930 Wonderware System Platform Clean-up Guide

Introduction. Notes. Important Considerations. Application Versions. Assumptions. 8/22/13 Setting Up Historian Servers for Tier-2 Summary Replication

Introduction. Application Versions. Installing Virtual SMTP Server. Tech Note 692 Using Virtual SMTP Server for SCADAlarm Notifications

This Tech Note provides step-by-step procedures to install Microsoft SQL Server 2012 on a 32- or 64-bit Operating System.

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Tech Note 868 Troubleshooting Wonderware Software Resource Issues with Performance Monitor

Tech Note 663 HMI Reports: Creating Alarm Database (WWALMDB) Reports

Introduction. Tech Note 884 Setting Up Historian Servers for Tier-2 Summary Replication

Tech Note 551 Configuring SQLMail or Database Mail for the Historian Event

Tech Note 1042 Solving Historian Memory Issue with SQL Server MemToLeave Configuration

This Tech Note describes working with Microsoft Reporting Services in order to publish InBatch Reports to Wonderware Information Server.

Note: This Tech Note was formerly titled Installing Microsoft SQL Server 2008 for Wonderware Historian v10.0.

Note: Not all messages in the log are indicative of a problem. Contact Technical Support if questions arise.

How To Write A Summary On A Historyorian Server

Communication to End Device Going In and Out of Slow Poll Mode

Introduction. Configuration: Entity and OCO Modeling. Application Version: OCO General Configuration

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

8/22/13 Configuring Windows SharePoint Services for PEM v1.0 to Work with SuiteVoyager v2.6

Tech Note 882 Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler

1. Under Application Objects, open the $Tank object and then open the $TankDisplay as shown in Figure 1 (below).

Tech Note 882 Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler

Introduction. Symbol Script Timeout Setting. Sample MES Custom Code in Symbol Script. Application Versions. Sample Code

Introduction. Issues. Symptoms. Application Versions. Case 1: Deploy an ArchestrA Object - UDO4DevUsers_001_001 - Has Error Messages

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Industrial Application Server Redundancy: Troubleshooting Guidelines

Part I: Setting up Bristol Babcock's OPC Server

Introduction. Back Up the Runtime Database. Application Versions

To allow SQL Server Agent to trigger when a report is executed, we need to provide a set of report group types.

Tech Note 612 Upgrading DLL Version Mismatches Between CBM Solution and System Platform

Tech Note 400 Configuring Remote Connections for Windows 2000/2003/XP

Tech Note 912 Using Alternate TCP Port Numbers with Modbus Ethernet DAServer

This Tech Note provides detailed guidelines and options for defragmenting and maintaining your production databases.

Tech Note 813 Troubleshooting Wonderware Information Server (WIS) Part Four: Client License Release

Tech Note 957 Creating Custom Password Entry on Intermec-Supported Handhelds

Tech Note 1035 Moving the Historian Runtime Database to Another Machine Using SQL Server 2012

Introduction. Application Versions. Compatibility and System Requirements. Firewall and DCOM Settings

Tech Note 905 Troubleshooting Wonderware Information Server (WIS) Part Six: ArchestrA Graphics No Live-Data

Using Network Application Development (NAD) with InTouch

This Tech Note describes modem connections using DAServers and provides some guidelines on how to make the modem connection work.

WHITE PAPER: ENTERPRISE SOLUTIONS. Symantec Backup Exec Continuous Protection Server Continuous Protection for Microsoft SQL Server Databases

8/22/13 Configuring the SST5136SD PCI Card Using the New SSTDHP IO Server V8.1 or the DASDHPlus Server

8/23/13 Configuring SIDirect DAServer to Communicate with S7 PLC Over TCP Connection

SQM. Maintaining Microsoft SQL for Broadcast Engineers. Training Course Outline

Implementing the system using these guidelines should improve your system performance for a large database while your database grows in size.

Tech Note 652 Changing an ArchestrA Symbol's Custom Property Expression or Reference in Runtime

The Project Management Software for Outlook, Web and Smartphone

Security Settings for Wonderware Products

Wonderware Historian Client Installation Guide. Invensys Systems, Inc.

Designing a Data Solution with Microsoft SQL Server 2014

Tech Note 53 Configuring the Siemens SINEC H1 CP1413 for Windows NT

Veritas Cluster Server Database Agent for Microsoft SQL Configuration Guide

Troubleshooting Failover in Cisco Unity 8.x

Implementing a Microsoft SQL Server 2005 Database

Course Syllabus. Maintaining a Microsoft SQL Server 2005 Database. At Course Completion

Project management - integrated into Outlook

High Availability for Microsoft SQL Server Using Double-Take 4.x

Tech Note 213 Finding Memory Leaks in Windows 95/98/98SE Using System Monitor

FUSION Installation Guide

MS 20465C: Designing a Data Solution with Microsoft SQL Server

SQL Server 2008 Express - Installation Guide

SQL Server Database Administrator s Guide

Installation Guide for Microsoft SQL Server 2008 R2 Express. October 2011 (GUIDE 1)

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

NCD ThinPATH Load Balancing Startup Guide

Keep SQL Service Running On Replica Member While Replicating Data In Realtime

Using DBMoto 7 in a Microsoft Windows Cluster

High Availability for Microsoft SQL Server 7.0 Using Double-Take

CA XOsoft Replication for Windows

EXPRESSCLUSTER X for Windows Quick Start Guide for Microsoft SQL Server Version 1

Version 3. Installation Guide for SQL Server 2005 Express Edition. Copyright 2011 Teclink Development Ltd. All rights reserved.

SQL Server AlwaysOn Deep Dive for SharePoint Administrators

vcenter Configuration Manager Backup and Disaster Recovery Guide VCM 5.3

VMware vcenter Configuration Manager Backup and Disaster Recovery Guide vcenter Configuration Manager 5.7

Computer Visions Course Outline

Installing and Configuring Microsoft SQL Server 2012 Express PI AF

Enabling Remote Management of SQL Server Integration Services

SQL Server 2008 R2 Express Edition Installation Guide

A SURVEY OF POPULAR CLUSTERING TECHNOLOGIES

QUANTIFY INSTALLATION GUIDE

Explain how to prepare the hardware and other resources necessary to install SQL Server. Install SQL Server. Manage and configure SQL Server.

Exam : Upgrade: Transition Your MCITP SQL Server 2005 DBA to MCITP SQL Server Title : Version : Demo

Exploring AlwaysOn Failover Cluster Instances

ImageNow Cluster Resource Monitor

Sage HRMS 2014 Sage Employee Self Service Tech Installation Guide for Windows 2003, 2008, and October 2013

Transcription:

Tech Note 742 Renaming a Computer that Hosts a Stand-Alone SQL Server Instance All Tech Notes, Tech Alerts and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information. Topic#: 002517 Created: November 2010 Introduction When you change the name of the computer that is running SQL Server, the new name is recognized during SQL Server startup. You do not have to run Setup again to reset the computer name. Instead, use the following steps to update system metadata that is stored in sys.servers and reported by the system function @@SERVERNAME. Application Versions Windows Server 2008 R2 Microsoft SQL Server 2008 SP1 Updating System Metadata Update system metadata to reflect computer name changes for remote connections and applications that use @@SERVERNAME, or that query the server name from sys.servers. Note: The following steps cannot be used to rename an instance of SQL Server. They can be used only to rename the part of the instance name that corresponds to the computer name. For example, you can change a computer named VMK6432 that hosts an instance of SQL Server named Instance1 to another name, such as VMK6432New. However, the SQL Server instance part of the name (Instance1), will remain unchanged. In this example, the \\ComputerName\InstanceName will be changed from \\VMK6432\Instance1 to \\VMK6432New\Instance1. Before you begin the renaming process, review the following information: When an instance of SQL Server is part of a SQL Server failover cluster, the computer renaming process differs from a computer that hosts a stand-alone instance. SQL Server does not support renaming computers that are involved in replication, except when you use log shipping with replication. The secondary computer in log shipping can be renamed if the primary computer is permanently lost. For more information, see Replication and Log Shipping in SQL Books online. When you rename a computer that is configured to use database mirroring, you must turn off database mirroring before the renaming operation. Then, re-establish database mirroring with the new computer name. Metadata for database mirroring will not be updated automatically to reflect the new computer name. Use the following steps to update system metadata. Users who connect to SQL Server through a Windows group that uses a hard-coded reference to the computer name might not be able to connect to SQL Server. This can occur after the rename if the Windows group specifies the old computer name. To ensure that such Windows groups have SQL Server connectivity following the renaming operation, update the Windows group to specify the new computer name.

Assumptions This Tech Note assumes the following: SQL Server is installed locally as the default instance. The SQL Server database Engine has accepted the new name. SQL Server 2008 x86 is locally installed. Windows 2008 R2 is locally installed. Renaming a SQL Server Database Engine You can connect to SQL Server by using the new computer name after you have restarted SQL Server. To ensure that @@SERVERNAME returns the updated name of the local server instance, you should complete either of the following procedures. The procedure you use depends on whether you are updating a computer that hosts a default or named instance of SQL Server. Figure 1 (below) shows that the Host name is correct, but running SELECT @@SERVERNAME AS 'Server Name' returns the old server name. The New Server Name should return VMK6432New. FiGure 1: MicrOsOft SQL Server ManaGement StuDiO QuerY To rename a computer that hosts a stand-alone instance of SQL Server Run the following Stored Procedures:

sp_dropserver <old_name> sp_addserver <new_name>, local To rename a computer that hosts a named instance of SQL Server, Run the following Stored Procedures: Example sp_dropserver <'old_name\instancename'> sp_addserver <'new_name\instancename'>, local To rename a computer that hosts a default instance of SQL Server Run the following Stored Procedures (Figure 2 below). sp_dropserver VMK6432New sp_addserver VMK6432New, local FiGure 2: MicrOsOft SQL Server ManaGement StuDiO QuerY Restart the SQL Server (MSSQLSERVER) service (Figure 3 below).

FiGure 3: Server ManaGer Services As a result of the Host running SELECT @@SERVERNAME AS 'Server Name' statement the current server name is returned (Figure 4 below). FiGure 4: MicrOsOft SQL Server ManaGement StuDiO QuerY K. Nourbakhsh

Tech Notes are published occasionally by Wonderware Technical Support. Publisher: Invensys Systems, Inc., 26561 Rancho Parkway South, Lake Forest, CA 92630. There is also technical information on our software products at Wonderware Technical Support. For technical support questions, send an e-mail to support@wonderware.com. Back to top 2010 Invensys Systems, Inc. All rights reserved. No part of the material protected by this copyright may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying, recording, broadcasting, or by anyinformation storage and retrieval system, without permission in writing from Invensys Systems, Inc. Terms of Use.