This section describes how to remove RPMs from an existing Exalogic VM image. It contains the following topics:
Note:
Exercise caution when removing RPMs from an existing Exalogic VM image. The Exalogic VM image contains application artifacts and critical files in addition to the operating system.
Do not modify or delete the following RPMs outside of an Exalogic release, a patch set update (PSU), or a patch:
compat-dapl
compat-dapl-devel
dapl
dapl-debuginfo
dapl-devel
dapl-devel-static
dapl-utils
ib-bonding
ib-bonding-debuginfo
ibacm
ibsim
ibsim-debuginfo
ibutils
infiniband-diags
infiniband-diags-guest
initscripts
kernel
kernel-devel
kernel-ib
kernel-ib-devel
kernel-uek
kernel-uek-devel
kernel-uek-firmware
kernel-uek-headers
kmod-ovmapi-uek
libibcm
libibcm-debuginfo
libibcm-devel
libibmad
libibmad-debuginfo
libibmad-devel
libibmad-static
libibumad
libibumad-debuginfo
libibumad-devel
libibumad-static
libibverbs
libibverbs-debuginfo
libibverbs-devel
libibverbs-devel-static
libibverbs-utils
libmlx4
libmlx4-debuginfo
libmlx4-devel
libovmapi
librdmacm
librdmacm-debuginfo
librdmacm-devel
librdmacm-utils
libsdp
libsdp-debuginfo
libsdp-devel
mpi-selector
mpitests_openmpi_gcc
mstflint
nfs-utils
ofed-docs
ofed-scripts
openmpi_gcc
opensm
opensm-debuginfo
opensm-devel
opensm-libs
opensm-static
ovm-template-config
ovm-template-config-authentication
ovm-template-config-datetime
ovm-template-config-firewall
ovm-template-config-network
ovm-template-config-ovmm
ovm-template-config-selinux
ovmd
perftest
qperf
qperf-debuginfo
rds-tools
sdpnetstat
srptools
xenstoreprovider
Do not delete the following RPMs, which are necessary for vServers to function in the Exalogic environment. However, you can update these RPMs to latest versions (through yum update, for example) outside of Exalogic releases, PSUs, and patches, to address security or other issues. The following RPMs depend on other RPMs on the system. So exercise caution when removing any RPMs for minimizing or hardening the system.
compat-db
glibc
glibc-common
glibc-devel
expect
glibc-headers
keepalived
libaio-devel
nscd
pexpect
python-simplejson
sysstat
Use the following exclusion list in /etc/yum.conf
for updating the vServer. This exclusion list includes all the RPMs listed in RPMs That Must Not be Modified or Removed.
exclude=compat-dapl* dapl* ib-bonding* ibacm* ibsim* ibutils* infiniband-diags* initscripts* kernel* kmod-ovmapi-uek* libibcm* libibmad* libibumad* libibverbs* libmlx4* libovmapi* librdmacm* libsdp* mpi-selector* mpitests_openmpi_gcc* mstflint* nfs-utils* ofed* openmpi_gcc* opensm* ovm-template-config* ovmd* perftest* qperf* rds-tools* sdpnetstat* srptools* xenstoreprovider*
Note:
modifyjeos
does not work for LVM-based templates. For such templates, use the manual method described in Removing RPMs Manually.
To remove RPMs by using modifyjeos
, complete the following steps: