How Config Network Service by script? for example the response file

I created a batch for DB creation using DBCA silent.

I want to add a script to create also the Networking Service after.

I was told that it can be done with the answer file.

Is a response file script also which can be run after the DBCA scripts?

Where can I find a manual with the available commands so I can produce what I need?

On the internet, I don't find as silent examples of the DB instalation.

EDIT

Operating system is Windows 7 Oracle 11.2.0.1

I want to create the Network Service that will add these lines to the tsnames.ora.

DBNAME =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST = wsName) (PORT = 1521))

(CONNECT_DATA =

(SERVICE_NAME = dbname)

)

)

on the client and the server.
How can I automatically via a batch script, to add it to the DBCA scripts after creation?

I was told once to atopic that this could be done via a response file.

I provided the Correct found answer on this subject since then.

The 1st solution to set up a NetService via a custom command script, adding the data you need as if it was a BAD IDEA.

1. you can not guranaty the correct paths if you plan the planting in an API with a lot of end users.

2. the 1st time, you set up a network service, it must be set to cause netca (network Assistant) 1st the tnsnames.ora is not exiswt at all.

THE OFFICIAL is to run from a shell in silent mode netca and feed it with values from a response file, either online as parameters

I copy paste the solution I wrote on a separate thread

https://forums.Oracle.com/thread/2559659

The scenario is to set up a typical network Service without using the interface graphics, but instantly with a command from the shell.

Scenario took place on Oracle 11.2 g on Windows 7

Level of Description: Noob

1. you can open of Network Setup Wizard, of the hull directly by entering its name "netca.

Info: netca is an actaully of batch file calling several "elements". Located in the \bin folder of the directory of Instalation Oracle (Client and server time)

the patrh of the \bin folder, where is the netca is included in the widnows PATH environment variable. So when you enter netca there and run it.
           https://en.Wikipedia.org/wiki/path _ (variable)

ATTENTION: If you have the path of the directory before the path of the Client Server, the server netca will run instead

2. on a typical NetService we re Protocol, host, Port, DatabaseName and the name of the service itself to identify it.

-Silent option along a response file gives the possibility of is not interact at all with the GUI as all values will be filled with the answer file that will point us

3. you can find an example of response file to the ORACLE_HOME\inventory\response\ called netca.rsp. It contains all the possible parameters, you can pass, so that you can choose that you need.

For our scenario, the final answer file will look like this.

[oracle.net.ca]

INSTALL_TYPE = ""custom"

NAMING_METHODS = {"TNSNAMES"}

NSN_NUMBER = 1

NSN_NAMES = {'DBNAME'}

NSN_SERVICE = {'testII"}

NSN_PROTOCOLS = {'TCP; PCNAME; 1521 "}

So now you simply enter netca responsefile option along the pat of the answer file with the silent command to power entry

NETCA/Silent /responsefile /C:\oracle\product\11.2.0\dbhome_1\inventory\response\mynetca.rsp

So simple

Tags: Database

Similar Questions

  • How to make multiple "BOLD" text, for example the positions of the scene, or the names of the characters?

    How to make multiple "BOLD" text, for example the positions of the scene, or the names of the characters?

    You can do this by changing the model of the document.

    Open the document, go to Edition-> model. A dialog box will launch that will have some element types on the left and its properties on the right.

    Select Heading (or Character name) stage left. On the right, go to the 'Text' tab and click on the "BOLD" checkbox.

    Press OK.

    I hope this helps.

    See you soon,.

    Sunny

  • Can I use the word icon to identify a type of file on my site? (for example, the PDF file/PDF icon) If Yes, what icon should be used.

    This is a legal question...

    Hello mica33,

    Thank you for visiting the Microsoft answers community.

    Grzegorz provided the information I think you are looking for, but I see he's looking a little differently as a result of the remark. Note: Microsoft does not allow the use of its icons in advertising, in books and other printed matter, on clothing or other promotional items, and online Web sites, software applications, in television programs, in commercials, in movies or on video tape. Icons should not be used as 'work' or design elements.

    Although a certain way, it can be allowed, but I would contact the legal department before taking a decision.

    Hope this helps Chris.H
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How oracle 10.2.0.5 Patch using the response file

    Hello

    OS linux
    Oracle 10g DB

    my project team plans for oracle 10.2.0.5 PSU upgrade on top of oracle 10.2.0.4 on Linux platform.
    can someone share how to make PSU installation using the .rsp file...

    Thank you
    Sam.

    Comment of those who, like like below in the .rsp file and try it.

    #MYORACLESUPPORT_USERNAME
    #MYORACLESUPPORT_PASSWORD

    . / runInstaller-silent - responsefile /ora/Disk1/response/patchset.rsp DECLINE_SECURITY_UPDATES = TRUE

  • How to scan to a computer, for example, provide a file can I send an email?

    1. name and number: HP Photosmart C7280 all-in-One printer Fax Copier Scanner

    2. installed OS: Windows 7 64-bit

    3. error message: no Scan option (refer to the device documentation for troubleshoot) don't get on the LCD of the printer after I press menu followed by Scan to Scan to computer

    4. all changes made to your system until the problem occurred: I have not tried to do this function since I upgraded from Vista to Windows 7 form, then yes a chang was made.

    5. in the title of the topic, include a brief and accurate description of the problem and your product information (e.g., the product name of your laptop, laptop computer, printer or other device, etc.): I have desktop computer is a HP Pavilion m9040n

    I hope to hear from someone soon with a solution.

    Thank you

    Richard Sandige

    You must reinstall the software and drivers on HP website.  Try now.

  • How to download Service Pack 3 for xp

    How to download Service Pack 3 for xp. When I go to windows update, page will not appear.  Says I need sp3 for xp.  good luck finding that.  the only one I found was for the networks.

    Downloaded from third party. All right.

  • How can I set up Vista so that the PC does not switch to another window (for example the Spy Sweeper alerts) while I am playing a game?

    How can I set up Vista so that the PC does not switch to another window (for example the Spy Sweeper alerts) while I am playing a game?

    Vista is not in control of this technique. Spy Sweeper needs to have an option to control that. If this isn't the case, then it is badly programmed. Flight of focus (go to another window) when it is actually needed is a big no-no for the design. I find this option, if I were you :)

  • How can I expand the sidebar of Windows so that for example the photos are a bit larger?

    How can I expand the sidebar of Windows so that for example the photos are a bit larger?

    You can use your mouse to drag the sidebar of windows...

    Windows Sidebar: Frequently asked questions

  • How can I increase the font size on, for example, the CNN page? The type is so small!

    How can I increase the font size on, for example, the CNN page? The type is so small!

    Hello

    You can increase the size of the Web page in IE 8, look down to the bottem of IE on the right side and click on where it says 100%

    This will increase the size of the page.

    Slan go foill, Paul

  • How to install Service Pack 1 for Windows Vista?

    Please can someone help me on how to install service pack 1 for vista. I have tried almost everything, but no matter what I try it givng custody me of error codes. When I tried with automatic updates, it says download 0% done but no matter how long I leave it still says 0% done. I want it only on cos I bought the game and it does not load and when I checked for solutions it says I have to install service pack 1, which is impossible.when I won't to updates, it shows me it's there but it won't install it. I also tried tried to install with 5 independent languages, I think it was called and said, but when he got to the end I got another error code my computer came 7201 laptop computer and put aside this 1 problem everything works fine also I just bought this for £79.99 fom a 2nd hand shop have I got it for a bargain or I haven't paid on the side im guessing it is a good deal but I know very few calculates and im not big on their use

    original title: VISTA SERVICE PACK 1 PROBS

    Hello

    wrong forum for your question

    and when repost you it give error code when you use the stand-alone SP1 download

    This article explains how to troubleshoot problems when you install a service pack for Windows Vista or Windows Server 2008.

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

    Use this forum link for all questions related to Windows Vista SP1, Windows Vista SP2 and Windows Server 2008 SP2 below.

    http://social.technet.Microsoft.com/forums/en/itprovistasp/threads

    or repost in the Windows Update forum link below

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-windows_update?page=1&tab=all

  • How to run a script for all the images in a folder?

    How to run a script for all the images in a folder?

    You can assign your script to an action, then use processor by batch or image with the option apply to all subfolders.

  • Firefox does not display some things, for example the box for this text, but only on a logon - how to fix?

    Firefox does not appear certain things. For example, the area around the text, the above options (bold, italic, type inserting a link - I can see what they are just by moving the mouse pointer in the approximate area and reading the small text that appears). Other things, that it does not appear - the word 'Google' when I opened the page of search engine, icons in eBay. On eBay, when I log in, the words "sign in" appear as 2 different fonts superimposed on one another, both in black. In Internet Explorer, it appears as white text on a blue background and is quite readable. Now that this description has reached the length where the scroll box is needed, the scroll box appeared, but there is still no box around the text. Underneath, there is a box to a drop down menu ("what happened"), but not for "began when this" or "troubleshooting information. I don't know where to put the cursor to find these areas because it turns into a bar I when I'm in the right place. The really funny thing is: only, it has that way about my logon - works of fine wife! (Work that one!) It all started when I was running version 3.8.5 (I think it was). I downloaded version 4 hoping he could solve the problem, but it didn't. I uninstalled and reinstalled, but the problem is still there. I have several months now (I think - at least 2 months) while the computer was turned off and rebooted several times, without effect.

    Looks like a broken profile. Back up your bookmarks, create a new profile , and then import your bookmarks back in. Let me know if you need additional assistance.

    Thank you!
    handsomeorlandoman

  • Can I share a link to a document (for example, a .pdf file) for anyone to view and/or download?

    Can I share a link to a document (for example, a .pdf file) for anyone to view and/or download on iCloud drive?  I currently do with Copy.com and Dropbox.  If so, how.

    Post edited by: mac710

    iCloud drive does not have this capability. You must continue to use Dropbox or Copy.com.

  • Windows XP (SP3) refuses to allow the addition of "Network Service" as a user of the service DCOM.

    DCOM error 1016 Windows XPx32

    Several solutions, all virtually identical to this question:

    Machine default permission settings grant Local Activation permission for the application server COM with the CLSID
    {A4199E55-EBB9-49E5-AF1A-7A5408B2E206}
    the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20). This security permission can be modified using the Component Services administrative tool.

    However, the error persists;  Windows XP (SP3) refuses to allow the addition of "Network Service" as a user of the service DCOM.  The question was supposed to be fixed in a service pack, patches, etc., but he persists.  This despite the change permissions to allow that user permissions in HKCR | CLSID. {"clsid :} or HKLM\Software\Classes\AppID.

    Now what?

    Hi Ronegade,

    I suggest that you follow the steps in the article mentioned below.

    The event 10016 may be logged in the system log on a computer that is running Windows XP Professional x 64

  • Pages under a template (for example the portfolio)

    Hello, I hope someone can help me!

    I do not understand how the pages are displayed as, for example, the portfolio page:

    If I have 3 pages under the portfolio:

    people (tes1)

    nature (test2)

    cars (criterion 3)

    So far, I can manage (see attachment)

    (This is just to test not a real site ;-))

    But, how can I see in my browser?

    I can't find something tutorail on this operation, I am lost!

    Thank you for your help.

    Knipsel.JPG

    Double post

    An answer Please help me understand the submenu

Maybe you are looking for