8.3.7.1 Running patchmgr (and dbnodeupdate Orchestration) Using sudo
You can run patchmgr (which is packaged in dbserver.patch.zip) using sudo to perform any of patchmgr's functionalities, such as patching cells, patching RDMA Network Fabric switches, or orchestrating dbnodeupdate.sh execution.
Patchmgr is packaged in dbserver.patch.zip. Perform the following steps to set up the /etc/sudoers file for running patchmgr using sudo:
Note:
- Patchmgr expects root SSH equivalence on all database nodes that will be updated, even when run using
sudo. - The above setup requires that the entire contents of
/u01/stage/patch/dbserverpatchbe owned byroot. - If you update
dbserver.patch.zip, then you must place the new version in the same location as specified bysudoers.
To verify that the setup is correct, run patchmgr in prereq check mode as the oracle user:
[oracle]$ cd /u01/stage/patch/dbserverpatch/
[oracle]$ sudo ./patchmgr --dbnodes dbgroup --precheck \
--repo http://my-yum-repo/yum/EngineeredSystems/exadata/dbserver/23.1.8.0.0/base/x86_64/ \
--target_version 23.1.8.0.0.231109
Parent topic: Using sudo When Performing Software Updates