Is it possible to rename MSSQL Instance Name

Hi everyone,
I have two sql instances installed in two node failover cluster mode, i want to rename one of my sql instance, is it possible to change instance name ,
if possible please suggest the way how i can rename the instance name. 

Hello,
Please read the following article.
https://msdn.microsoft.com/en-us/library/ms178083.aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com

Similar Messages

  • Rename asm instance name

    Hi gurus,
    i just install RAC (11.2.0.3 both instances) into linux 5.2
    I don't know why but node 1 has ASM2 and node 2 has ASM1. How can i change it to node 1 --> +asm1 and node 2 --> asm2?
    I only found that document in google:
    http://blog.csdn.net/tianlesoftware/article/details/6359415
    but not sure if i should do "srvctl remove asm -n <node name>" is it ok?
    another issue is that each instance has his own spfile in filesystem instead asm, how can i combine both?
    thanks

    hi mseberg,
    i checked this web but i haven't the asm parameters
    ASMn.instance_number
    ASMn.asm_diskgroups
    in the pfile.
    i found a new information looking at google :
    # crsctl modify res ora.asm -attr "GEN_USR_ORA_INST_NAME@SERVERNAME(hostname)"=ASM_SID
    soon as why can try it i post if it worked.
    If someone have any information or idea, he is welcome
    Edited by: Me_101 on 05-nov-2012 8:33

  • Is it possible to change InfoCube technical name/rename it?

    Is it possible to change InfoCube technical name/rename it?
    Thank you,
    AG

    I think no possibility to rename the technical name since it's such a 'key field'.
    if not in production yet and no data and the 'afterward' not too much (reporting related,multiprovider), you may consider to copy the cube to the name you want, then copy update rules (this can be easy done), and copy queries.
    Hope it helps.
    Regards

  • Instance Name Change

    Is it possible to rename the instance of timesten without uninstalling TT software and installing with a new instance? I want to avoid uninstall and install of TT Software but change the instance name.
    Regards,
    Priya

    Chris,
    Can you explain what you mean by data manager library?? are you telling the files in timesteninstance/lib will have installed instance name written in the library files ie .so and .jar?
    Regards,
    Priya

  • Problem with OAS Instance Name y Host Name to create trial ssl certificate

    Hi, everyone
    I have a problem when creating a trial ssl certificate from Verisign page, affer a live assistance, that page rejected my CSR generated from OAS, saying thay my common name has invalid characters.
    My Oracle Application Server installation name: Instance.HostName is:
    IAS_IND01.ind-internet
    So, Verisign told me this name can't contain "_" or "-" characters for example.
    I need to know if it's possible to change the instance name and if OAS host name changes also if i change server's host name.
    I wouldn't like to reinstall all over again.
    Please help.
    Regards
    David

    Hi,
    No your AS server will not automatic. even if you change your host name.
    If U 'll try to change your host name, be carefull when U 'll try to start you AS instacne
    it ' not start anymore , AS user hosts fill to get full quallified name of your host.
    U 've two choices
    -1 delete your AS, then change your hosts name, then new installtion of AS
    2- If U 've exprience with AS, just breng your AS down, change your hosts name,
    U 'll need to do some changes in your AS, just read admininstrator Guide.
    Cheers,
    Hamdy

  • Powershell to get instance name

    Hi,
    Not sure whether this is the forum to ask.I have a list of servers names and i need to get the instance names in below format.
    SERVERNAME\INSTANCE1
    The o/p of the script actually shows Servername,MSSQL$Instance name..Anyway to tweak this to SERVERNAME\INSTANCE1?
    $servers = get-content "C:\SQLCheck\machinelist.txt"
    $logfile = "C:\SQLCheck\sql-instances.txt"
    $logerrs = "C:\SQLCheck\sql-failures.txt"
    Echo "Server, Instance" >> $logfile
    ForEach ($server in $servers) {
    $instances = Get-WmiObject -ComputerName $server win32_service | where {$_.name -like "MSSQL*"}
    if (!$?) {
    Echo "$server - No SQL instance found" >> $logerrs
    Echo "$server - No SQL instance found"
    Else {
    ForEach ($instance in $instances) {
    if (($instance.name -eq "MSSQLSERVER") -or ($instance.name -like "MSSQL$*")) {
    Echo "$server\$instance.name" >> $logfile
    Echo "$server, $($instance.name)"
    Best Regards, Arun http://whynotsql.blogspot.com/

    Hi,
    Use the sqlcmd -L command:
    $SqlCmd = "sqlcmd -L "
    Invoke-Expression $SqlCmd
    sqlcmd Utility
    http://technet.microsoft.com/en-us/library/ms162773.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Renaming the technical name

    HI,
    Is it possible to rename the technical name of the query?  If yes, how to rename it? 
    I am trying to rename it using save as and deleting the previous query.  Is there any option without using save as u can rename the technical name of the query?
    Regards
    Prasad

    Hi Prasad,
    I don't think change the technical name of the existing querry. But you can do save as the existing query with the desired technical nbame and then can delete the old query.
    Hope this helps.
    Regards,
    Reddy

  • Possible: renaming files - folder names as variables.

    Here's a bit of background - I have a rather extensive MP3 collection (all legal - I work for an independent music magazine in my spare time) - it's approx 7,000 files big now.
    I have them all stored in folders as follows:
    c:\SAMag\MP3's\Albums (and here comes the tricky bit...)
    EITHER
    \Artist Name Here - Album Title\<.MP3 files here> (No artist names contain a '-' so this is the seperator)
    OR
    \Artists Name Here\Albums Title One\<.MP3 files here>
    \Artists Name Here\Albums Title Two\<.MP3 files here>
    \Artists Name Here\Albums Title Three\<.MP3 files here> (Where there are more than one albums to an artist)
    Playing these files is a nightmare as they all have different naming conventions and odd ID tags. I want to remove all ID tags and rename them to have meaningful file names (so that WinAmp displays a decent, non-confusing, name).
    I would like:
    "<artist name> - <song title> (<album title> - <#>)"
    So, basically - is it possible to rename files in Java. Specifically: using the folder names that they are contained in as variables to put in this name?
    Thanks for any help people!

    Thanks for that.
    I'm pretty new to this whole Java thing (even though
    I've been attempting to do it for a while!) so was
    wondering if you could point me in the right
    direction.
    That is exactly what I did though.
    Do you have the javadocs? If so then you look up java.io.File and read the methods in it.
    Here is the online link....
    http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html

  • Steps to rename RAC E-biz instance name.

    Hi,
    I have a RAC ORacle Apps R12 database on 2 nodes namele .36 server and .37 server.
    I have changed this database name using metalink doc id Changing DBNAME and DBID of RAC Database Using NID [ID 464922.1]
    where i have only changed the database name and not DBID
    But after following above ID only DB name ot changed and not the instance name.Now i also want to change the instance name.
    So,what steps should be followed to do it.
    and after changing instance name,do we need to run autoconfig on database and application..
    Please help as this is urgent.
    Regards,
    Clover support.

    Hi;
    Please see:
    How to Rename Database/Change DB_NAME or ORACLE_SID/Instance Name [ID 15390.1]
    Also see:
    Rename RAC-Instances in 11.2.0.2
    Regard
    Helios

  • Is it possible to rename an OracleAS instance

    Hello,
    our OracleAS instance name is "CustomerName_Version.host.domain".
    Now we found a potential problem when keeping this name structure.
    When we change Patchrelease or Version, the instance name should also be changed.
    For that we woul like change the existing instance name to "CustomerName.host.domain".
    Is this possible, if yes, how?
    Thank you in advance.
    Regards
    Frank

    Hallo Frank,
    I don't know how to change instance names, but I'm curious to know what "potential problems" you see, if it's not changed? The instance name isn't directly beeing used anywhere.
    Martin

  • Is it possible to have 2 instances with the same name but different edition in the same server?

    Hi everybody!
    I have in a little trouble ....
    *** Scenario.
    Oracle Enterprise Edition 11gr2 over Oracle Solaris 11
    3 instances: PROD, QA, DEV
    1 ASM instance
    Listener ports: 1520, 1530 & 1540
               Those are production system
    *** The problem:
    Customer can't pay Oracle EE, they want to change to Oracle Std One
    Limitations:
    I cant have a similar system to test.
    *** My idea:
    Install Oracle Std One, in the same path:
    /u01/app/oracle/product/11.2.0/db          <-- EE
    /u01/app/oracle/product/11.2.0/db_one   <-- Std Ed One
    ASM:
    /u01/app/11.2.0/grid          <-- EE                    +ASM
    /u01/app/11.2.0/grid_one   <-- Std Ed One        +ASM1
    Create databases:
    Asign similar disks to +ASM1
    Create DGs on +ASM1
    Create databases: PROD, QA, DEV for Std Ed one
    - is it posible that they have same instance name?
    - if not, i suppose create as: PROD1, QA1, DEV1
    Configure Listener port : 1521, 1531 & 1541
    Migration technique:
    Create Tablespaces, schemas
    Lock users in EE
    down listener: 1520, 1530 & 1540
    Import data of final users in a window maintanance
    configure and up listener: 1521, 1531 & 1541
    Customer should test access and apps in new
    Please tell me if my Idea is reallistic, all comments are going to be very apreciated.

    sol.beach
    I suppose end customer use a port per database in order to separate in a logical way the access to the databases,
    i mean PROD, QA & DEV has the same users.
    Hemant K Chitale
    1. I've seen physical servers with 3 ASM instances: +ASM1, +ASM2, +ASM3
       on Solaris & Oracle 10g, I suppose is posible on 11g
    2. The sever has occupied 2  sockets (2 physical CPU), so I can use Oracle Standard Ed One.
    JohnWatson2
    Thanks for your comments.
    WadhahDaouehi
    1. - You cannot run two ASM instance simultaneously on one Server, but you can run many Oracle database simultaneously
          on the same server which they use the ASM as storage type.
      As a mentioned to  Hemant K Chitale, I've seen a system with several instances running
      About
         "you can run many Oracle database simultaneously on the same server which they use the ASM as storage type."
      I'm not sure if i can use the same ASM which is part of a current Enterprise Ed over the new installation with Oracle Std Ed One.
    2. - Why you want the same instance name?
    If it is about the service name, which has by default the same instance name, just you can create a different instance name
    and create the service name with the name that you wish.
    SQL> alter system set service_names='instance_name';
    Is a similar name, not the same
    PROD, QA & DEV
    PROD1, QA1 & DEV1
    I consider add "1" at the end to refer "Oracle Standar Ed One"
    But I agree with you, i can customize throught service_name.
    Regards,
    Abraham Mtz.

  • Change Instance Name

    Is it possible to change the name of an Middle-Tier Instance and/or the Infrastructure Instance after installation of 10gAS 904?
    Bob

    You have changed hostname(servername) you can follow below:
    you have to rename SQL server hostname:
    sp_dropserver <old_name\instancename>;
    GO
    sp_addserver <new_name\instancename>, local;
    GO
    Restart the SQL Server services.
    http://www.mssqltips.com/sqlservertip/2525/steps-to-change-the-server-name-for-a-sql-server-machine/
    You cant change installed instance name of SQL, so SQL instance will be CON.
    Understand you may have CON as database but your instance name is also CON. Thats why you are seeing MSSQL$CON. 
    CON was select as instance name when performing SQL installation. 
    There is no command to rename an instance. You will need to install a new instance with name REX side by side, move the databases by whichever method you'd like (backup & restore would be fine) and drop the previous instance or have 2 instance running.

  • How to rename voting disk name in oracle clusterware 11gr2

    Hi:
    I need change the name of voting disk at os level, original name is /dev/rhdisk20, I need rename to /dev/asmocr_vote1 (unix AIX), the voting disk is locate in ASM diskgroup +OCR.
    Initial voting disk was: /dev/rhdisk20 in diskgroup +OCR
    #(root) /oracle/GRID/11203/bin->./crsctl query css votedisk
    ## STATE File Universal Id File Name Disk group
    1. ONLINE a2e6bb7e57044fcabf0d97f40357da18 (/dev/rhdisk20) [OCR]
    I createt a new alias disk name:
    #mknod /dev/asmocr_vote01 c 18 10
    # /dev->ls -lrt|grep "18, 10"
    brw------- 1 root system 18, 10 Aug 27 13:15 hdisk20
    crw-rw---- 1 oracle asmadmin 18, 10 Sep 6 16:57 rhdisk20 --> Old name
    crw-rw---- 1 oracle asmadmin 18, 10 Sep 6 16:59 asmocr_vote01 ---> alias to old name, the new name.
    After change votingn disk unix name, the cluster doesn't start, voting disk is not found by CRSSD.
    -STEPS to start clusterware after changing the OS voting disk name are:
    1- stop al nodes:
    #crsctl stop crs -f (every node)
    Work only in one node (node1, +ASM1 instance):
    2- Change asm_diskstring in init+ASM1.ora:
    asm_diskstring = /dev/asm*
    3- change disk unix permiss:
    # /dev->ls -lrt|grep "18, 10"
    brw------- 1 root system 18, 10 Aug 27 13:15 hdisk20
    crw-rw---- 1 root system 18, 10 Sep 6 16:59 asmocr_vote01
    crw-rw---- 1 oracle asmadmin 18, 10 Sep 6 17:37 rhdisk20
    #(root) /dev->chown oracle:asmadmin asmocr_vote01
    #(root) /dev->chown root:system rhdisk20
    #(root) /dev->ls -lrt|grep "18, 10"
    brw------- 1 root system 18, 10 Aug 27 13:15 hdisk20
    crw-rw---- 1 oracle asmadmin 18, 10 Sep 6 16:59 asmocr_vote01 --> new name only have oracle:oinstall
    crw-rw---- 1 root system 18, 10 Sep 6 17:37 rhdisk20
    4-start node in exclusive mode:
    # (root) /oracle/GRID/11203/bin->./crsctl start crs -excl
    CRS-4123: Oracle High Availability Services has been started.
    CRS-2672: Attempting to start 'ora.mdnsd' on 'orarac3intg'
    CRS-2676: Start of 'ora.mdnsd' on 'orarac3intg' succeeded
    CRS-2672: Attempting to start 'ora.gpnpd' on 'orarac3intg'
    CRS-2676: Start of 'ora.gpnpd' on 'orarac3intg' succeeded
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'orarac3intg'
    CRS-2672: Attempting to start 'ora.gipcd' on 'orarac3intg'
    CRS-2676: Start of 'ora.cssdmonitor' on 'orarac3intg' succeeded
    CRS-2676: Start of 'ora.gipcd' on 'orarac3intg' succeeded
    CRS-2672: Attempting to start 'ora.cssd' on 'orarac3intg'
    CRS-2672: Attempting to start 'ora.diskmon' on 'orarac3intg'
    CRS-2676: Start of 'ora.diskmon' on 'orarac3intg' succeeded
    CRS-2676: Start of 'ora.cssd' on 'orarac3intg' succeeded
    CRS-2672: Attempting to start 'ora.ctssd' on 'orarac3intg'
    CRS-2672: Attempting to start 'ora.drivers.acfs' on 'orarac3intg'
    CRS-2679: Attempting to clean 'ora.cluster_interconnect.haip' on 'orarac3intg'
    CRS-2681: Clean of 'ora.cluster_interconnect.haip' on 'orarac3intg' succeeded
    CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'orarac3intg'
    CRS-2676: Start of 'ora.ctssd' on 'orarac3intg' succeeded
    CRS-2676: Start of 'ora.drivers.acfs' on 'orarac3intg' succeeded
    CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'orarac3intg' succeeded
    CRS-2672: Attempting to start 'ora.asm' on 'orarac3intg'
    CRS-2676: Start of 'ora.asm' on 'orarac3intg' succeeded
    CRS-2672: Attempting to start 'ora.crsd' on 'orarac3intg'
    CRS-2676: Start of 'ora.crsd' on 'orarac3intg' succeeded
    5-check votedisk:
    # (root) /oracle/GRID/11203/bin->./crsctl query css votedisk
    Located 0 voting disk(s).
    --> NO VOTING DISK found
    6- mount diskgroup of voting disk (+OCR in this case) in +ASM1 instance:
    SQL> ALTER DISKGROUP OCR mount;
    7-add votedisk belongs diskgroup +OCR:
    # (root) /oracle/GRID/11203/bin->./crsctl replace votedisk +OCR
    Successful addition of voting disk 86d8b12b1c294f5ebfa66f7f482f41ec.
    Successfully replaced voting disk group with +OCR.
    CRS-4266: Voting file(s) successfully replaced
    #(root) /oracle/GRID/11203/bin->./crsctl query css votedisk
    ## STATE File Universal Id File Name Disk group
    1. ONLINE 86d8b12b1c294f5ebfa66f7f482f41ec (/dev/asmocr_vote01) [OCR]
    Located 1 voting disk(s).
    8-stop node:
    #(root) /oracle/GRID/11203/bin->./crsctl stop crs –f
    8-start node:
    #(root) /oracle/GRID/11203/bin->./crsctl start crs
    10- check:
    # (root) /oracle/GRID/11203/bin->./crsctl query css votedisk
    ## STATE File Universal Id File Name Disk group
    1. ONLINE 86d8b12b1c294f5ebfa66f7f482f41ec (/dev/asmocr_vote01) [OCR]
    Vicente.
    HP.
    Edited by: 957649 on 07-sep-2012 13:11

    There is no facilty to rename a column name in Oracle 8i. This is possible from Oracle 9.2 version onwards.
    For you task one example given below.
    Example:-
    Already existed table is ITEMS
    columns in ITEMS are ITID, ITEMNAME.
    But instead of ITID I want ITEMID.
    Solution:-
    step 1 :- create table items_dup
    as select itid itemid, itemname from items;
    step 2 :- drop table items;
    step 3 :- rename items_dup to items;
    Result:-
    ITEMS table contains columns ITEMID, ITEMNAME

  • Why Task Instance Name is messed up?

    I kicked off a customized task from console, the task was completed successfully, however, the task instance name displayed on page "Server Tasks ---> All Task" is messed up as following
    TASK7F2DB676E49A6D04:-395D12E7:11989A5891E:-7F0F
    What is the possible problem?
    Have a good one

    first define some variable:
    <Variable name='taskName'>
          <invoke name='getName'>
                   <invoke name='getDefinitionRef'>
                          <invoke name='getTask'>
                                <ref>WF_CONTEXT</ref>
                            </invoke>
                     </invoke>
            </invoke>
      </Variable>now you call rename task workflow application:
    <Activity id='3' name='Rename Task' hidden='true'>
           <Variable name='newTaskName'/>
                    <Action id='0' name='set task name'>
                        <expression>
                            <set name='newTaskName'>
                                <concat>
                                    <ref>taskName</ref>
                                    <s> </s>
                                    <ref>WF_CASE_OWNER</ref>
                                    <s> (</s>
                                    <invoke name='format'>
                                        <new class='java.text.SimpleDateFormat'>
                                            <s>yyyyMMdd HH:mm:ss</s>
                                        </new>
                                        <new class='java.util.Date'/>
                                    </invoke>
                                    <s>)</s>
                                </concat>
                            </set>
                  </expression>
        </Action>
        <Action id='1' process='Rename Task'>
                <Argument name='name'>
                            <ref>newTaskName</ref>
                </Argument>
                <Argument name='makeUnique' value='true'/>
        </Action>thats it.

  • Restore an RMAN backup to a new db instance name.

    I have a old copy of an RMAN backup of a production database from 2 months ago. I want to restore it to a new instance name. The backup no longer shows in the RMAN backup listing from the control file of the current production system.
    The backup I have does have the control file as well as the other backup pieces, Is there a procedure to restore this to a new instance since the backup is no longer in the current production control file?
    I have used the duplicate command of RMAN and have successfully restored databases to a new instance name by using the newname option.
    But the backups were always in the control file.
    Can this be done? If so, how?

    You need to restore the controlfile first and copy it into all locations where init.ora specify them. then startup mount, and 'rman / target' will give you access to the old contents of the controlfile at that time.. If the rest of the back is on tape, you need to restore the rman backupset first to disk on same location specified in the backupsets paths. same for the archivelogs.
    Then you can decide to go for a duplicate database to target <newname> or a restore DB (must have the same name). but was the DB a cold backup ? then remember than Rman does not takes the redo logs, so that your shutdown before must be clean (shutdown immediate at most). If it is an hot you may need need to dump the arc and possible do a recover manual (case you forgot to put the arcchives or the archives names is not the same in the init.ora than original for you include the db name in it).
    In that case the archive logs may be renamed to what ever is in the init.ora. and there are many others possbilities. you did not specified enough data on the backup

Maybe you are looking for

  • Why does my cursor jump from photoshop window to the file window im working on

    I started experiencing this following problem when I upgraded my macbook pro to Lion OS When I open PhotoShop CS4, I open a new file and the window appears so I could start working, but then I move the cursor to the white or "gray and white checker"

  • How to set optimum buffer size when burning CDs?

    There is a drop-down menu in the CD burning dialogue box with a choice of six buffer sizes. How does one determine the optimum size? Is this size related to the burning speed? Please help. Thanks, cobaltgreen

  • GT70 won't turn on anymore

    After suddenly turning itself off last night while running a benchmark, my notebook won't turn on amymore. At the time it was running on mains power without battery in. Ive tried disconnecting everything and then  running on battery and was unsuccess

  • Mavericks update, MacBook Pro, short cut buttons not functioning to

    After recently installing the OSX mavericks 10.9.3 the shortcut buttons at the top of my keyboard are either not working or are not functioning with the correct button. I checked through the system preferences and found nothing to help me. What can I

  • Populating an idoc

    hi all, my requirement is as follows: i have to fetch data from an excel sheet to the sap system for the creation of business partners. this has to be done using idocs.i am new to idocs.till now i have been able to fetch data into an internal ttable