Creating a service; What must be included in tnsnames.ora and JDBC url?

DB version: 11.2.0.2
Operating system platform: Solaris 10

We have a 2 RAC node.
DB name   = mbsprd
Instance1  = mbsprd1
Instance2  = mbsprd2
I want 1 Instance (mbsprd1) to use for our OLTP and Instance 2 (mbsprd2) application to use for another nature DSS request.

According to the syntax
srvctl add service -d <dbname> -s <ServiceName> -r <Preferred Instance> -a <Available Instance>
I create 2 services

-Creation of a service called OLTP
srvctl add service -d mbsprd -s OLTP  -r mbsprd1 -a mbsprd2
-Creation of a service called DSS
srvctl add service -d mbsprd -s DSS  -r mbsprd2 -a mbsprd1
-Start services
srvctl start service -d mbsprd -s OLTP

srvctl start service -d mbsprd -s DSS
I guess the above steps are sufficient to set up a service on the side server.

I would like to know what needs to be done on the client side.

Currently the file tnsnames.ora and JDBC url used by our clients are listed below. What needs to be added to the file URL and jdbc tnsnames.ora to start to use the services configured above?
-- SCAN based TNS entry 
mbsprd =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (COMMUNITY = tcp.world)
        (PROTOCOL = TCP)(Host = p148149-scan.tpam.net) (Port = 36964))
    )
    (CONNECT_DATA =
      (SERVER       = DEDICATED)
      (SERVICE_NAME = mbsprd)
      (FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC))
    )
  )

-- TNS entry based on local listener 
-- Instance 1
mbsprd1 =
(DESCRIPTION =
   (ADDRESS_LIST =
   (ADDRESS =(PROTOCOL = TCP)(HOST = hsolarp148-vip)(PORT = 36973))
   )
   (CONNECT_DATA =
         (SERVICE_NAME = mbsprd)
         (INSTANCE_NAME = mbsprd1)
       )
 )

-- Instance 2
-- TNS entry based on local listener 
mbsprd2 =
(DESCRIPTION =
   (ADDRESS_LIST =
   (ADDRESS =(PROTOCOL = TCP)(HOST = hsolarp149-vip)(PORT = 36973))
   )
   (CONNECT_DATA =
         (SERVICE_NAME = mbsprd)
         (INSTANCE_NAME = mbsprd2)
       )
 )
Entry for RAC JDBC
jdbc:oracle:thin:@p148149-scan.tpam.net:36964:mbsprd
-Another version used by some clients, because the above had "some problems".
jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=p148149-scan.tpam.net) (PORT=36964))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=mbsprd)(FAILOVER_MODE =(TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 10))))
OLTP =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = p148149-scan.tpam.net)(PORT = your_port_number))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = OLTP)
    )
  )
DSS =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = p148149-scan.tpam.net)(PORT = your_port_number))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = DSS)
    )
  )

Entry for RAC JDBC

JDBC:Oracle:thin:@p148149-scan.tpam.NET:36964:SERVICE_NAME

JDBC:Oracle:thin:@new_tns_entry_description (if you do not want to connect to the database with particular service)

Try this and let us know about problems,

Tags: Database

Similar Questions

  • What Microsoft programs in the services tab must be left running for me to do a clean install?

    I want to do a clean install.  On the configuration of the system, on the Services tab, I want to disable Microsoft programs in order to do a clean install.  My question is "what Microsoft programs in the services tab must be left running for me to do a clean install?

    Thank you

    Computer of rod

    Original title: Clean Install

    If you ask the subject a clean boot rather than a clean installation, see this.

    http://support.Microsoft.com/kb/929135

  • I am creating a flyer and must add five photos to document and resize them to scale.  What are the specific steps?

    I am creating a flyer and must add five photos to document and resize them to scale.  What are the specific steps?

    Without seeing your Flyer available, it is difficult to advise you, but if you want to build the room yourself, illustrated above approach shows how to put an image in the layout, position, and resize it.

    Fig 1. Make a selection on the page layout for the position (and possibly cropped) image format

    Fig 2. Open the image and choose the command selection > all followed by Edit > copy

    Fig. 3. Return to the layout and choose Edition > paste special > paste in the image will be probably larger than your selection when pasted into the Flyer.

    Fig 4. Choose Edition > transform > scale the scale tool appears.

    Fig. 5. Drag the frame to adjust it to a corner of the space of the image

    Fig. 6. Hold down the SHIFT key (to preserve proportion) and drag the farthest corner of scale handle diagonally downwards to reduce the size of the image to fit in the area of selection. Then click on the symbol to Commit in the Options bar to produce the result (Fig 7).

    Repeat for each of the other images...

  • How to create a service of simulation of WSDL by Developer J

    Hi all

    I want to create a simulation of WSDL service available through developer of J. The thing is, the WSDL file does not end points associated with it. But, I have a requirement where I need to create a fake service from the WSDL and it must be deployed on the local server to test the object. What is the procedure for creating false service? The WSDL has two operations of application and response, whenever the bpel sends comments to her, the WSDL should return a response.

    Thank you

    Hello

    Create a web project, and then create a new ' Java web service from WSDL... This will generate the service for you in java... Change the code to insert the data from simulation to return... Deploy the web project and should be all that you need...

    See you soon,.
    Vlad

  • 1 error windows must now restart because the plug-and-play service taken end unexpectedly__error 2 - windows must now restart because the DCOM Server process Launcher service put end unexpectedly__

    1 error windows must now restart because the plug-and-play service terminated unexpectedly
    error 2 - windows must now restart because the DCOM server process Launcher service terminated unexpectedly
    -every half an hour or 45 minutes such error comes and restarting the laptop... How to solve this problem...

    Hi nevil.fidelis,
     
     
    This seems to be a common problem, I recommend you to follow the discussions below and check if it helps.

    You can follow the procedure posted by Bindu RMicrosoft support, Moderator on Sunday, 24 January 2010, at 20:04.
    http://social.answers.Microsoft.com/forums/en-us/vistarepair/thread/ea20a793-5fe8-4448-9fa2-c3ef45069b87

    For additional help please refer to the following thread also:
    http://social.answers.Microsoft.com/forums/en-us/vistahardware/thread/aa3373fa-836D-43f2-BCFC-6e566553c818

    You can also check the positions of the TCD in the thread below on
    http://social.answers.Microsoft.com/forums/en-us/vistarepair/thread/0f1a049c-4852-4321-91d7-dc1255f4d7a4
     
    Consider the response posted by Karena R, Moderator Thursday, December 31, 2009 at 01:28
    http://social.answers.Microsoft.com/forums/en-us/vistahardware/thread/aa3373fa-836D-43f2-BCFC-6e566553c818

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • What should I include in a zip file?

    I had some success where I zip my entire repertoire phonegap after I've built for Android and iOS, but now my zippers are too big to download. I really need to include all my plugins and build artifacts? If I do just the www directory, applications do not work. Exactly what should be included in the zip?

    You never shouldn't be including your build artifacts when downloading to PhoneGap Build. However, you should also be aware that PhoneGap Build and the CLI local produce currently projects perfectly compatible, reason why you are having problems downloading whole folder "www." IIRC, this is under development, but that does not help you now.

    Send your PG build must understand the content of your "www" project directory and "config.xml" file in the same directory of your project. In other words, the CLI will put "config.xml" outside of the "www" folder, then PG, build expects the "config.xml" file to the root as well as the rest of your web assets. For example:

    • CLI-project-root /.

      • config. XML
      • www /.
        • index.html
        • js /.
          • index.js
          • etc.
        • etc.
    • BMP-project-root /.
      • config. XML
      • index.html
      • js /.
        • index.js
        • etc.
      • etc.

    Of course, if you have paths in your "config.xml" file (for example, regarding the icons and splash), they are able to break down on PhoneGap build as well, since the paths are relative instead of the "config.xml".

    Also be sure to '-save ' your plugins to "config.xml" when you add it to the CLI so that PhoneGap Build knows to include when you submit your file "config.xml". If you don't do this, you will have to edit 'config.xml' to list the plugins you are using.

    Finally, see the documentation for PhoneGap Build:

    Hope that helps!

  • Host_IEVersionFail and nothing be not loaded. What does that include?

    Host_IEVersionFail and nothing be not loaded. What does that include?

    Please read https://forums.adobe.com/thread/1499014

    -try some steps such as changing browsers and disable your firewall

    -also clear the cache of your browser if you start with a fresh browser

    -check the file hosts for blocked entries https://forums.adobe.com/thread/1912777

    http://myleniumerrors.com/installation-and-licensing-problems/creative-cloud-error-codes-w ip.

    https://helpx.Adobe.com/creative-cloud/KB/creative-cloud-desktop-application-failed.html

    http://helpx.Adobe.com/creative-cloud/KB/failed-install-creative-cloud-desktop.html

    or

    This is an open forum, not Adobe support... below to connect with Adobe personnel to help

    While the forums are open 24/7 you can't contact Adobe support at any time

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • How to create Self Service Portal in Vcenter Orchestrator? times

    Dear team,

    I want to create the Self Service Portal to reset user password in Active Directory in Vcenter Orchestartor. Could someone guide me for this

    Note: I installed Vmware Vcenter Orchestrator 5.5.


    Kind regards

    Odile M

    TechM

    I hope it would be only certain types of admins/helpdesk do PW reset because you must connect to the WebView in order to run the workflow... in any case, you can follow this tutorial for a Webview based in vCO:

    http://www.vcoteam.info/articles/learn-VCO/107-create-a-simple-VCO-self-service-VM-provisioning-Portal-part-3.html

    Regarding the other prerequisites:

    vCO must have the ad plugin installed and configured to use SSL when communicating your AD environment. It is a requirement for users created with passwords and resetting passwords.

    When you get to the step of the tutorial for mapping a workflow, you'll want to use the workflow to "Change password". This is a workflow of library Active Directory that are available after the installation of the plugin AD and the vCenter Orchestrator Server service restarts.

  • Cannot create integration service

    Hi friends,

    Try installing informatica 9.1 with the 7.9.6.4 BIAPPS.

    As part of it while trying to create the service integration once after that the repository service has been created, im getting the error while allowing it as below
    Could not execute action....
    
    The service Is could not be enabled due to the following error:
    
    SF_34004 - Service initialization failed.
    I'm not sure why I get the above error.

    I already have configured informatica 9.1 with BIAPPS 7.9.6.3, but @ that point I have strength find the error in the creation of the service of integration.

    Kindly help me with the issue of the above integration service.

    Thanks in advance.

    Kind regards
    Saro

    Hi Benoit,.

    Thanks for the reply. We changed the mode also exclusive to normal, but so too the strength of the error resolved unless and until what I recorded my repository security services user and he gave the privilege of domain service and repository.

    And now all of a sudden the IS created and activated. I'm not sure the reason behind this Setup with BIAPPS 7.9.6.4

    But while I have configured with BIAPPS 7.9.6.3 I force create any user in the repository under the inorder of security to the favor of integration for Up...

    Still not sure why we need to create the user rep in the security for the EAST to work inorder.

    Now my RS and the IS is in place.

    Kind regards
    Saro

  • EM does not create entry tnsnames.ora with service name orcl11gr2

    Hi all

    I am trying to create a service network with EM Database Control, Net Services Administration link name. On the service name field, under the "Edit Net Service Name" screen, I type in orcl11gr2, and it throws the following error:

    Validation error
    Review and correct the following errors, and then try again:
    Service name - specify a valid service name.

    I wonder what is the additional validation that checks EM. I guess it's to check the number of characters to 8 characters or less.

    In addition, because of this additional validation that is in MS, all entry tnsnames.ora with service name = orcl11gr2, I won't be able to use 'EM to change, as I have the same error.

    But why Oracle implements this additional validation when the same validation is not implemented on other Oracle tools? For example:
    1 dbca allows me to create a database with instance_name greater than 8 characters, and the results of the initialization parameters will be as follows:
    db_name = orcl11gr - truncated to 8 characters
    instance_name = orcl11gr2
    db_unique_name = orcl11gr2
    noms_service = orcl11gr2

    2 oracle Net Manager supports the name of orcl11gr2. The name of the created Service Net, I have no problem connecting to the database.
    3. name of the service orcl11gr2 of listener support

    I am using Oracle 11 g R2 (11.2.0.1.0) for Microsoft Windows (x 64), running on Windows 7.

    Its a known issue fixed 12gc Ms.

    concerning
    Bennett

  • What must I do in order to tap on a photo?  for example, a photo of CD cover? [was: Hello APL users]

    I'm new to Lightroom.  What must I do in order to tap on a photo?  for example, a photo of CD cover?

    Via the print Module, you can use an identity plate, which can be a chart that you created in another program or text that you have selected, coloured and formatted. It can be superimposed on the image, moved and size.

    Instead of printing on paper, you can print to JPEG.

  • Error in creating the Service for the Service of Bussiness name

    Hi friends
    I create a custom for Service of Bussiness Service program that is used to download data from spotbilling to the BCC. The CM_Sbm_Upload service program consists of ID programs CIPBSEGP, CIPMMRDP, CIPTSATP com. When I give it to the bussiness service I get the error message

    Service missing metainfo for "CM_SBM_UPLOAD."


    pls help me solve this problem.

    Thanks and greetings
    Jean Jacques

    Hello

    I have the same error during my development of a maintenance of page service.
    Please check if the cm.jar is correctly deployed in your splservice.ear and also all other deployment directories.
    You can find them in the window out of eclipse after executing the script "Deploy CM".

    When the cm.jar is deployed, check if the annotations are correct.

    My annotations are which looks like this:

    /**
     * Perform Batch Add.
     *
     * @PageMaintenance (secured = false, service = CMIMDIMP,
     *      body = @DataElement (contents = { @DataField (name = CM_SIMULATION)
     *                  , @DataField (name = XML_REQUEST)}),
     *      actions = { "change"
     *            , "read"},
     *      modules = { "foundation"})
     */
    

    To connect to a Service on Page, you must first create a service program and the name of 'service' of the service program must be
    the name of the annotation of service you specified in your Page Maintenance Service, in my case "CMIMDIMP".

    There are no validation when registering the issuance of service, validation occurs when you save the business.

    BTW. JD - gui.exe allows you to decompile the file cm.jar, but you will not see the annotations!
    I use 7 - zip to view the ear file.

  • my battery drains very quickly even when not in service, what should I do to fix that?

    my battery drains very quickly even when not in service, what should I do to fix that?

    Hello rabeeha hafeez robi.

    Thank you for using communities of Apple Support. It is my understanding that your iPhone battery has been draining more than expected. I use my iPhone all day, so I know how important the battery life can be. Surely, I understand your concern, as much as it seems as if the phone is not in use.

    First, I recommend that you check your settings to see what is using your battery life. You can do this by going to settings > battery. In some cases substantive activity of the app may affect the battery life. This means that the battery is used by an application while it is in the background. The link below provides additional information and advice to help maximise your battery performance.
    Batteries - maximize Performance

    See you soon.

  • How to create a new power plan that includes key backlit stop?

    I can't find any setting in the advanced power properties dialog box. Toshiba has provided a power eco plan. It's OK for me except the pilot. So I tried to create a power plan as eco with night light 1 hour not 5 minutes.
    However, this plan does not backlight key off.

    How can I create a new power plan that includes key backlit stop?

    Have you tried to change the power management Windows including power advanced for certain power plan options?
    For example, you can use balanced plan or standby power, change it and that s it.

  • Should what files I include when you deploy my program via an installer

    Hello, this should be pretty easy, I'm not sure the files to include in my program of donations to the next computer.

    I have built the executable file and the installation program and was under the impression that the executable has been integrated into the installer. However the installer is 1 250 KB and the executable is 4 897 KB.

    so I'm not quite sure what files to include when I deploy the program? should I just the installer? the folder to set everything up? I include the executable file as well?

    (I would check on another computer, but I don't have the admin rights)

    Thank you!

    Just distribute the entire Volume folder for the installation program.

Maybe you are looking for

  • Can not pass in the GUID partition scheme.

    I have a 2010 macbook pro under OS X Lion (10.7.5). I bought second hand and it came with a drive hard internal toshiba. When you try to update to El Captain, I received this notification. But when I tried to do, the options button is grayed out. (Ma

  • Burn the disc hangs at about 60%

    Hello Over time disk burn on a DVD hangs at about 68%. Could conclude that my physical drive is inoperable or is this a FCPX problem? Using FCPX on El Capitan on an iMac 2011 16 Gb Thank you

  • many applications perform the battery life of the iphone 6.

    Hello, I use iphone 6, I just want to know that if I use/install Apps from 30-40, this will affect my iPhone battery timing? I have recently install Apps 12-15, the battery is fine now, but if I install more apps in my iPhone, is it's going to make m

  • To install windows live messenger 2011, but he won't. Says I need to install the windows platform.

    Windows Live has been accidentally uninstalled from my computer. I tried to download the new windows live messenger 2011, but he won't. It keeps popping up. http://i242.Photobucket.com/albums/ff26/judo_girl_95/windoowsliveessentials.jpg?t=1294438551

  • Does not work Windows genuine' with a 0x8004fe21 error code

    Separated from this thread. Gerry, I have the same problem described by Joachim and rvc2.  It began with me after KB3004394 has been installed on 10 December.  KB3024777 has been installed on 13 December, but I still get the pop up saying "this compu