Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Is a domain name necessary?

Dudu90Nov 23 2014 — edited Nov 27 2014

Hello,

since a few weeks I try to install an Oracle 12c database and the Oracle Enterprise Manager on a Microsoft Windows Server 2008 R2 VM. Last time I had some issues connecting to the PDB, so I deleted the CDB and started over. Then I couldn't even connect to the CDB.

I chose an easy global name: "WS2014" without any domain name. Whatever I tried, I couldn't connect. So I suspect that the domain name is necessary, isn't it?

Now I created a fake domain name in my hosts file:

192.168.73.2     local.com
192.168.73.128   orcl.local.com   orcl

The new global name is now orcl.local.com, the service name of the CDB is also orcl.local.com (the Installer set it on it's own to this value) and the pdb is pdborcl.local.com.

After opening the PDB (alter pluggable database all open; why do I have to explicitly open them?) I can connect to the CDB and the PDB as well.

So my questions as stated above:

  1. is the domain name necessary, although it's only a fake one I set in the hosts file?
  2. what could have been the problem on my last setup when I chose WS2014 as the global name/service name?
  3. why do I have to run alter pluggable database all open; explicitly?

Thanks in advance!

This post has been answered by unknown-7404 on Nov 23 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 25 2014
Added on Nov 23 2014
2 comments
2,043 views