1- On your main Enterprise Manager Repository logon to your emcli utility.
2- Once conected run the sync command:
3 – Now let’s remove the target manually using the emcli command line utility:
Done
1 2 3 4 5 6 7 | [oracle@HOST]$ cd /u00/oms12.0.3/oms/bin [oracle@HOST]$ ./emcli login -username=SYSMAN Enter password:xxxxxxx Login successful |
1 2 3 4 | [oracle@HOST]$ ./emcli sync Synchronized successfully |
1 2 3 4 | [oracle@HOST]$ ./emcli delete_target -name="name.domain:3872" -type="oracle_emd" -delete_monitored_targets Target "name.domain:3872:oracle_emd" deleted successfully |
# wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7The following are the available GPG keys:# gpg --quiet --with-fingerprint ./RPM-GPG-KEY-oracle-0l7The following are the published keys:pub 2048R/EC551F03 2010-07-01 Oracle OSS group (Open Source Software group)
Key fingerprint = 4214 4123 FECF C55B 9086 313D 72F9 7B74 EC55 1F03
pub 1024D/1E5E0159 2007-05-18 Oracle OSS group (Open Source Software group)
Key fingerprint = 99FD 2766 28EE DECB 5E5A F5F8 66CE D3DE 1E5E 0159
sub 1024g/D303656F 2007-05-18 [expires: 2015-05-16]
pub 1024D/B38A8516 2006-09-05 Oracle OSS group (Open Source Software group)
Key fingerprint = 1122 A29A B257 825F 322C 234E 2E2B CDBC B38A 8516
sub 2048g/0042D4F4 2006-09-05 [expires: 2011-09-04]
# rpm --import ./RPM-GPG-KEY-oracle-ol7unzip linuxamd64_12102_database_1of2.zip
unzip linuxamd64_12102_database_2of2.zip
<IP-address> <fully-qualified-machine-name> <machine-name>
127.0.0.1 localhost.localdomain localhost
192.168.0.210 ol6-121.localdomain ol6-121
# yum install oracle-rdbms-server-12cR1-preinstall -y
# yum update
fs.file-max = 6815744
kernel.sem = 250 32000 100 128
kernel.shmmni = 4096
kernel.shmall = 1073741824
kernel.shmmax = 4398046511104
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500
/sbin/sysctl -p
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft nproc 16384
oracle hard nproc 16384
oracle soft stack 10240
oracle hard stack 32768
# From Public Yum or ULN
yum install binutils -y
yum install compat-libcap1 -y
yum install compat-libstdc++-33 -y
yum install compat-libstdc++-33.i686 -y
yum install gcc -y
yum install gcc-c++ -y
yum install glibc -y
yum install glibc.i686 -y
yum install glibc-devel -y
yum install glibc-devel.i686 -y
yum install ksh -y
yum install libgcc -y
yum install libgcc.i686 -y
yum install libstdc++ -y
yum install libstdc++.i686 -y
yum install libstdc++-devel -y
yum install libstdc++-devel.i686 -y
yum install libaio -y
yum install libaio.i686 -y
yum install libaio-devel -y
yum install libaio-devel.i686 -y
yum install libXext -y
yum install libXext.i686 -y
yum install libXtst -y
yum install libXtst.i686 -y
yum install libX11 -y
yum install libX11.i686 -y
yum install libXau -y
yum install libXau.i686 -y
yum install libxcb -y
yum install libxcb.i686 -y
yum install libXi -y
yum install libXi.i686 -y
yum install make -y
yum install sysstat -y
yum install unixODBC -y
yum install unixODBC-devel -y
groupadd -g 54321 oinstall
groupadd -g 54322 dba
groupadd -g 54323 oper
#groupadd -g 54324 backupdba
#groupadd -g 54325 dgdba
#groupadd -g 54326 kmdba
#groupadd -g 54327 asmdba
#groupadd -g 54328 asmoper
#groupadd -g 54329 asmadmin
useradd -u 54321 -g oinstall -G dba,oper oracle
passwd oracle
# Change this
* soft nproc 1024
# To this
* - nproc 16384
SELINUX=permissive
# setenforce Permissive
# service iptables stop
# chkconfig iptables off
mkdir -p /u01/app/oracle/product/12.1.0.2/db_1
chown -R oracle:oinstall /u01
chmod -R 775 /u01
xhost +<machine-name>
# Oracle Settings
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_HOSTNAME=ol6-121.localdomain
export ORACLE_UNQNAME=cdb1
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/12.1.0.2/db_1
export ORACLE_SID=cdb1
export PATH=/usr/sbin:$PATH
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
DISPLAY=<machine-name>:0.0; export DISPLAY
./runInstaller
cdb1:/u01/app/oracle/product/12.1.0.2/db_1:Y
SQL> SELECT dbms_xdb_config.gethttpsport FROM dual;
GETHTTPSPORT
------------
5500
SQL> EXEC dbms_xdb_config.sethttpsport(5500);
PL/SQL procedure successfully completed.
SQL>