Automated Network Configuration

To automate network configuration, NetCA uses a response file similar to the one used with the OUI. A NetCA response file is a plain text file.

Using a response file on UNIX is very simple, and very similar to how it's done with OUI. The command is:

10gnetca /silent /responseFile /fully/qualified/filename.rsp
9inetca -silent -responseFile /fully/qualified/filename.rsp

Things are a bit more complicated on Windows, since running NetCA from the command line is apparently not fully supported. If, for example, your ORACLE_HOME directory is C:\oracle\ora10 and your JRE version is 1.4.1, then the NetCA command for both 10g and 9i is:

 C:\oracle\ora10\jre\1.4.1\bin\java.exe -Duser.dir=C:\oracle\ora10\network\jlib - classpath ...

Get Oracle® DBA Automation Quick Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.