Oracle Management Database in Grid Infrastructure: -MGMTDB
20/07/2015 3 Comments
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.
Pingback: Oracle on 4096 (4k) sector disks don’t work (ish) | Neil Chandler's DBA Blog
Pingback: OEM and monitoring the -MGMTDB GMIR Database | Neil Chandler's DBA Blog
Hi Neil
./-MGMTDB will also work.
Cheers
Paul
LikeLike