biemond / biemond-oradb

Puppet Oracle Database Module
Apache License 2.0
59 stars 113 forks source link

Hung on lsinv check by 2 processes simultaneously #264

Open rujim opened 4 years ago

rujim commented 4 years ago

Hi Edwin, I create a Puppet class to apply PSUs by biemond-oradb module: oradb::opatch { 'PSU_update_grid1': ensure => present, oracle_product_home => $_grid_home, patch_file => "p${_psu_grid_major}_121020_Linux-x86-64.zip", patch_id => $_psu_grid_major, bundle_sub_folder => $_psu_grid_minor1, bundle_sub_patch_id => $_psu_grid_minor1, clusterware => true, use_opatchauto_utility => true, ocmrf => false, user => 'grid', group => 'oinstall', download_dir => $_download_dir, puppet_download_mnt_point => "${_repo_host}/PSUs", require => Oradb::Opatchupgrade['p6880880_grid_opatch_upgrade'], }

I create a new db host from 12.1.0.2 install binaries (for Grid linuxamd64_12102_grid*.zip) and apply up-to-date PSUs.

Please, help me to fix the following issue during my opatch process: [root@us01vllxdbdev42 AKA lx-dev4-oradb02 ~]# ps -ef | grep inv root 52869 3038 0 09:46 pts/0 00:00:00 su - grid -c /opt/bt/grid-12c/12.1/grid/OPatch/opatch lsinventory -patch_id -oh /opt/bt/grid-12c/12.1/grid -invPtrLoc /etc/oraInst.loc grid 52870 52869 0 09:46 ? 00:00:00 -bash -c /opt/bt/grid-12c/12.1/grid/OPatch/opatch lsinventory -patch_id -oh /opt/bt/grid-12c/12.1/grid -invPtrLoc /etc/oraInst.loc

I need to kill one of these processes to continue to apply PSU.

Thx in advance for any help! Ruslan