Oracle Management Database in Grid Infrastructure: -MGMTDB

Oracle,

Why? Why is is now mandatory to have the cluster management database as an Oracle CDB, with a PDB having the same name as the cluster? It’s not that I object to having another 1GB of memory lost to this DB, and up to 10GB of disk in the initial ASM Disk Group. It’s this:

You have called it -MGMTDB

That means I now have directories all over my Linux / Unix structure called “-MGMTDB”. Directories I may want to look in, to view a log to discovery why the “-MGMTDB” failed to create on install.

That leading , that MINUS . That’s the problem. THAT! WHY? I can’t use normal commands any more! It thinks the “-” is a switch and fails, unless I neutralise the “-” with a “–” prefix.

[oracle@vi-t5-oradev02 X]$ ls -l
total 4
drwxrwxr-x 2 oracle oracle 4096 Jul 20 12:39 -MGMTDB
[oracle@vi-t5-oradev02 X]$ cd -MGMTDB
bash: cd: -M: invalid option
cd: usage: cd [-L|-P] [dir]

[oracle@vi-t5-oradev02 X]$ cd "-MGMTDB"
bash: cd: -M: invalid option
cd: usage: cd [-L|-P] [dir]

[oracle@vi-t5-oradev02 X]$ cd *
bash: cd: -M: invalid option
cd: usage: cd [-L|-P] [dir]

[oracle@vi-t5-oradev02 X]$ cd -- -MGMTDB

Finally!

SO, why wasn’t it a plus, like +ASM. That was OK.

3 Responses to Oracle Management Database in Grid Infrastructure: -MGMTDB

  1. Pingback: Oracle on 4096 (4k) sector disks don’t work (ish) | Neil Chandler's DBA Blog

  2. Pingback: OEM and monitoring the -MGMTDB GMIR Database | Neil Chandler's DBA Blog

  3. Paul says:

    Hi Neil
    ./-MGMTDB will also work.
    Cheers
    Paul

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: