Changing database instance name

Hi,
I have oracle database 10g installed on linux.
and now we are aking the databas eto production leve to the www
do we need to change the oracle database name. is there any security reason for it, so outside doesn't need to know from the service name the location of the database. if we have to, then how to do it without affecting any existing processes.
or any other ways to secure the database identity.
any ways to give a alias to the ip address.
any suggestions please.
Thanks,
Philip.

The Oracle documentation contains a lot of security policies. In your case, you should be very cautious about firewall configuration and especially:
If Oracle Database is behind a firewall, then do not, under any circumstances, poke a hole through the firewall. For example, do not leave open port 1521 for Oracle Listener to make a connection to the Internet or vice versa.
Restrict the privileges of the listener, so that it cannot read or write files in the database or the Oracle server address space.
Harden the host operating system by disabling all unnecessary operating system services. Both UNIX and Windows platforms provide a variety of operating system services, most of which are not necessary for most deployments. Such services include FTP, TFTP, TELNET, and so forth. Be sure to close both the UDP and TCP ports for each service that is being disabled. Disabling one type of port and not the other does not make the operating system more secure.
(From http://download-uk.oracle.com/docs/cd/B19306_01/network.102/b14266/policies.htm#i1007433)

Similar Messages

  • Change database instance name from XE to something else

    Does anyone know how to change the database name during the XE installation?

    Just remember, especially if you are coming from the Microsoft SQL Server or the MySQL world ...
    One MySQL or SQL Server database is roughly one Oracle Schema. You can have any number of Schemas in an Oracle database. It may not be necessary to have a different database name, or multiple XE databases.

  • Display Database Instance Name in the System Message

    Greetings,
    I am looking for a way to display the database instance name on each page in the Application Builder. Using the System Message would work for me and I can hard code the instance name, but I was wondering if there is a variable that I can specify that will accomplish the same thing.
    Thanks a lot,
    Larry

    Hi Tony,
    I did find that plug-in during my investigation. Some of the plugins sound interesting but I hesitate to anything to the base APEX install since I am not sure if this will affect supportability from Oracle if something goes wrong later on. Do you know if these plug-ins can be installed/deinstalled without affecting the base APEX install? There is also something called ApexLib which looks interesting. Do people use this? Any idea if it is still supported? I checked the forums and noticed there is not much recent activity. I wonder if it has been abandoned.
    Hi Ashish,
    I do have the application displaying the current environment. I set it up using Page 0 as you suggested. It works great. In fact, I have set up an 'About' page that grabs information from the WWV_FLOWS table which will display information about the current application. Here is my query:
    SELECT ALIAS
         , AUTHENTICATION
         , CREATED_BY
         , to_char(CREATED_ON,'mm/dd/yyyy hh24:mi:ss')
         , DATE_FORMAT
         , DISPLAY_ID
         , FLOW_VERSION
         , ID
         , LAST_UPDATED_BY
         , to_char(LAST_UPDATED_ON,'mm/dd/yyyy hh24:mi:ss')
         , NAME
         , OWNER
         , PUBLIC_USER
      FROM apex_040000.wwv_flows
    where ID = :APP_ID;
    select substr(global_name || '.' ,1,instr(global_name || '.' ,'.') -1)
      into :P999_DATABASE
    from global_name;I use GLOBAL_NAME to get the database SID instead of v$instance so I don't have to grant special privileges on v$instance.
    If you find a way to grab the database SID from a query and put it in the System Message field, please let me know. In the interim, I have hard coded this in the System Message field.
    <span style="padding:10px 20px 10px 20px; font-weight:bolder ;font-size:1.2em; background:#D96E1C;color:white">Development: TheInstanceName</span>Not exactly what I want, but it will get the job done.
    Thanks for all your help,
    Larry

  • How to change the instance name 10.1.3.2

    Hi all,
    I would like to know how I can change the instance name of a existing application server 10.1.3.2.
    Thanks in advance

    Take a backup of the complete ORACLE_HOME, reinstall OracleAS 10.1.3.2 and redeploy your applications will work definetely. Saves you wasting your time on something which might be unsupported.

  • Identical database & instance names in Oracle 11g R2 RAC

    Hi ,
         We are migrating our EBS 11i (11.5.10 CU 2) and oracle 11gr2 (11.2.0.3) database (database only) which is currently on Solaris to Linux. Currently the database is NON-RAC and as a part of the migration we are converting it in to a 5 Node RAC. A lot of third party interfaces connected to this environment are using hard coded database name. Unfortunately due to the project time lines it's impossible to change those applications within the migration timeline. In order to ensure that they don't break we are thinking of keeping one instance name same as database name so those applications can continue to function without any change to their code. We are aware that this would compromise on fail over capabilities for those applications but we are ok with that.
    This what we have in mind: Create 5 PROD instance named as PROD, PROD1,PROD2, PROD3 & PROD4. PROD being the name of the database also. I would like to know:
    1) Is this configuration allowed i.e., is it ok to have one instance with the same name as database?
    2) We will be creating a 5 node Data gaurd environment for this so what will be the impact of such a naming on it?
    3) Since it's an EBS environment will there be any issues with application configuration?   Our application architecture will be as below:
    6 application nodes - Two for concurrent managers, two for forms & web & two external nodes
    The two CM app nodes will be tied to two database instances using Services
    Remaining app nodes will connect to the remaining 3 instances once again using services.
    We will be configuring services using "vip" instead of scan names.
    4) What will be the impact if the node having the instance name same as database name goes down?
    5) Any other areas to worry about with such a configuration say like cluster services, 3rd partyinterfaces/applications?
    Please let me know if you have any idea of such a configuration.
    regards
    pramod

    Brian, rchem & Martin thanks for your responses. Appreciate it much. I was thinking about the service alternative but unfortunately I understand from my customer that their applications have hard coded database (used as a instance name) name. All they are saying is that their applications are using instance name instead of database name without providing much details on how it's being used. I just know that there 180 applications... Oracle & non Oracle based in which the instance name is hard coded, but haven't got answers to my questions on how it's hard coded i.e., is it being pulled from the database using a hard coded query like "select instance_name from v$instance" or is it a part of some variable in the script/application etc., and what it's being used for (later) within the application.  Answers to those question will help in deciding what  should be the right strategy but since I am short of time I thought of this and wanted to know if anybody has implemented or come across a similar architecture.
    I am creating services and using them in my EBS application ifile thereby avoiding SID but agree with you on the node failure part as I haven't tested this new set up yet.
    Martin,
              You are right, they are using the database name as a SID in their application hence the above need.  My cluster version is 11.2.0.4.0 (both Active & Software versions). The source database on solaris is 11.2.0.3 Non RAC, it's going to be upgraded to 11.2.0.4 before conversion/migration hence I have installed & created a 11.2.04 RAC environment as a part of POC/Load testing.
    Regards
    pramod

  • How to change DB & Instance name on RAC

    Hi Experts,
    Can anyone tell me how can i change my database name along with the two instances running on the RAC server?
    Any ideas......
    Regards,
    MB

    You can rename database by creating control file as well , like we use to do in single instance database.
    1) Shutdown node 2
    2) Run following command on node 1
    alter database backup control file to trace ;
    3) shutdown database on node 1
    4) copy trace file created in step 2 to file crctl.sql (say) . Edit crctl.sql and set database name what u want to set.
    5) edit init<sid>.ora and change database name
    6) startup nomount and run crctl.sql
    7) Startup database in both node
    8) Change tnsnames.ora and listener.ora ( if needed)
    9) config srvctl
    srvctl remove database -d <old_database_name>
    srvctl add database -d <new_db_name> -o $ORACLE_HOME
    srvctl add instance -d <new_db_name> -i <instance name on node 1> -n Node1
    srvctl add instance -d <new_db_name> -i <instance name on node 2> -n Node2
    Virag

  • PowerShell Script For Finding Database Instance Names

    G'day
    I am trying to get information on a couple of dozen SQL database servers database instances - long story, but our DBA's do not have complete lists at the moment, and I need to find out this information.
    I have done a bit of work with PowerShell (and love it) version 3, however I do not know many SQL commands and was wondering if someone could point me in the right direction please.
    This is the code I have at the moment:
    Get-Service -ComputerName MSQLULTDBS04 | ?{$_.DisplayName -like "*SQL*"} | Select name,DisplayName,status
    It gets the information on the SQL Server install on the remote server.
    What I am trying to do however is get a list of the databases that are running on this server. Can someone help me out please?

    Hello Scott,
    Please have a look at TechNet ScriptCenter:
    Create Inventory of SQL Server in Network as Html
    It lists also all databases, but of course you need permissions to logon to that SQL Servers.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Enterprise Manager 10g - change database instance.

    I have installed 10g and I have been using the enterprise manager database control web applet to manage my database. I now have the need to manage a second database, but I cannot get the new databse to show up on the login page; the console still displays the original database.
    I am using the following link to connect;
    http://<hostname>.<domain name>:5500/em
    I have tried changing the Oracle_SID and running emctl start dbconsole and emctl start agent but with no luck.
    Any advice for a newbie at this?
    Regards
    Stephen A Hollingdale

    When emctl does not start for me, the easiest way I have found to get EM working again is to drop and re-create the EM repository. I do not Make sure your ORACLE_SID is pointing to the correct instance (I use oraenv).
    Remove EM repository (you will need passwwords for sys, sysman and dbsnmp)-
    emca -deconfig dbcontrol db -repos drop
    Create EM repository-
    emca -config dbcontrol db -repos create
    When you start emctl, it will give you the "new" URL to EM.
    Hope this helps,
    Dan

  • Change database instance on OEM

    hey guys,
    I have 2 databases installed on my computer : orcl and orcl2, when I log into the OEM I'm only able to connect to orcl.
    What should I do in order to connect the other DB with the OEM ?
    Thank you very much

    OEM only can manage a single instance.Isn't it even possible to "switch" the database OEM is currently managing ?
    Either install GRID or install 2 nd copy of OEMI'm aware the GRID solution, but how do I install a second copy of OEM ... ? you mean install all Oracle product again on another volume / directory... ?

  • List all Database/Instance Name

    Hi ,
    I am new to the oracle. I want to Enumerate all the available database (as it is called in the SQL SERVER) mnames or may be instance in the Oracle.
    Can anyboudy help me out in this one..
    Thaks in advance.
    Shatrughan

    In general, there is no way to enumerate the databases that are running on a remote machine without making a lot of potentially incorrect assumptions.
    Getting a list of all the local databases is probably going to require searching the registry for the services. Some of those databases may no longer exist, though.
    If you want to get a list of all the databases you can connect to, you could try parsing the tnsnames.ora file (regrettably, there is no API for this). This doesn't give you 100% of the servers, since there are many other ways to resolve TNS aliases, but it works for the majority of people the majority of the time. This is what most Windows applications will do if they want to pre-fill a list of databases to connect to.
    Justin

  • Confusing with the Global Database Name and Instance Name

    Dear fellow DBA's and Experts,
    Good Day.
    We presently have an existing database registered (on V2 Exadata) with global database name as BIDEV.domainname.com. It has 4 instances viz., BIDEV1 and BIDEV2 which have the same service name as the instance name.
    Last week, on our new X4-2 Exadata, we tried to create a fresh database. While doing so, we entered the details as below in the installer:
    Global Database Name: BIDEV
    SID Prefix: BIDEV
    Service Name: BIDEV.
    Then upon the successful installation of the database, when we query
    1. (SELECT * FROM GLOBAL_NAME), it shows BIDEV as the global database name.
    2.
    SQL> sho parameter service
    NAME                                 TYPE        VALUE
    service_names                        string      BIDEV1
    3. Sho parameter name gives the below details:
    SQL> sho parameter name;
    NAME                                 TYPE        VALUE
    cell_offloadgroup_name               string
    db_file_name_convert                 string
    db_name                              string      BIDEV
    db_unique_name                       string      BIDEV
    global_names                         boolean     FALSE
    instance_name                        string      BIDEV_1
    lock_name_space                      string
    log_file_name_convert                string
    processor_group_name                 string
    service_names                        string      BIDEV1
    Curious to know why it created an instance name as BIDEV_1 instead as BIDEV1.
    Had tried another attempt on our test environment with SID prefix as BIDEV1, then the instance was created with the name as BIDEV1_1.
    Also, would like to know what happen if we give the Global Database Name as BIDEV.domainname.com for installing the same BIDEV database on a different server while the 1st server is still functional.
    Appreciate if someone could throw some light on the above confusion. Any reference material or source to the clarify the doubt.
    Warm Regards,
    Vikram.

    Hi Vikram,
    Your clustered database is not full RAC, it's RAC ONE node database. In RAC ONE node database, instance names are created in that format only (i.e.e dbname_1), I don't know if there is any way we can change it to dbname1. OR if you really want to change the instance name to dbname1 format, then you can convert RAC one node database to Full RAC, then remove instance and add another instance, I hope it would be added in dbname1 format. I have not tested it, test it on your test system first.
    You can find the database type in the output you shared,
    Type: RACOneNode
    Regards,
    Saurabh

  • 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.

  • 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

  • Can we change the Oracle instance name after confoguration.

    Hi,
    Has anyone tried changing the Instance name in Oracle after all the EPM components are configured.
    I mean, after the system is up and running. Do I have to re-configure everything with new instance name?
    If yes, what happens to data that was already there in the schemas?
    Thanks in advance,
    PM

    Try the following
    "On the machine hosting Shared Services, launch EPM System Configurator with the enableRegTask option: Make EPM_ORACLE_HOME/common/config/version_number the current directory and then launch configtool.bat|.sh -enableRegTask."
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Data Guard - Keeping same SID/Instance Name across both sites

    Hello,
    We are working on a project to move the databases from legacy to new servers. The migration plan is to use Data Guard option for our migration strategy. We would like to know followings.
    1) Is it possible to build stand by databases with same instance name of legacy primary instances? If so, how it could be?
    2) If not, we can build stand by database with different instance name (DB_UNIQUE_NAME). Do the switch over and cut off the replication with legacy primary database. Once done, What other alternative do we have to change the instance name same like legacy database instances?
    The ultimate goal is to retain same DB name and instance name in new server with minimum downtime.
    Database - 11.2.0.3.0
    Database Type - Oracle restart and RAC
    O.S. - RHEL 6.3
    The requirement is have same DB name and instance name across sites.
    Primary site - X node
    Primary DB - EODSS
    Primary DB instances - EODSS1, EODSS1
    Standby Site - Y node
    StandBy DB - EODS
    StandBy instances - EODSS1, EODSS1
    Thanks,
    Pankaj
    Edited by: user12025125 on Feb 22, 2013 12:33 PM

    Hello;
    1) Is it possible to build stand by databases with same instance name of legacy primary instances? If so, how it could be?
    Yes. Not sure I understand the second part of the question. I like to think of a standby database and a primary database as the same database in different modes. RMAN treats them as the same. They have the same DBID.
    2) If not, we can build stand by database with different instance name (DB_UNIQUE_NAME). Do the switch over and cut off the replication with legacy primary database. Once done, What other alternative do we have to change the instance name same like legacy database instances?
    It should not matter what the database name is. Almost everything connects using an Alias. I find it easier to use a slightly different name for the Standby because then I know which site I'm working on. What I did was put an S in front of the name on the standby side to keep them apart in my mind. A tnsnames entry can handle the rest. So yes you can do that, but it might be harder to keep track that way.
    ernie =
    (DESCRIPTION =
        (ADDRESS_LIST =
           (ADDRESS = (PROTOCOL = TCP)(HOST = primary.server)(PORT = 1521))
           (ADDRESS = (PROTOCOL = TCP)(HOST = standby.server)(PORT = 1521))
           (CONNECT_DATA =
           (SERVICE_NAME = ernie)
    )Best Regards
    mseberg

Maybe you are looking for