patchmgr commands for Exadata

31 commands, grouped by what they do.

Check status and configuration

  • ./patchmgr --roceswitches switches.lst --apply-config --log_dir /tmp/

    Applies golden configuration settings to Exadata RoCE Network Fabric switches listed in a switch file. This changes switch configuration and belongs in a controlled network-fabric maintenance procedure.

    Dangerous

  • ./patchmgr -cells ~/cell_group -cleanup

    Runs patchmgr cleanup for the Exadata storage cells listed in the cell group file after a documented storage-cell update workflow. It removes temporary patching content and patchmgr state; it is not a normal health-check command.

    Caution

  • patchmgr -cells <CELLS_FILE> -cleanup

    Removes patchmgr working files and staged patch content from the storage cells listed in CELLS_FILE after a patch run completes. State-changing housekeeping on the cells, but does not roll back or re-apply the image.

    Caution

  • ./patchmgr --dbnodes dbs_group --backup --repo /var/stage/

    Runs patchmgr backup mode for Exadata database nodes using a DB node group file and repository path. Use it as part of a documented Exadata database-node patching workflow before higher-risk patch actions.

    Dangerous

  • ./patchmgr -cells ~/cell_group -reset_force

    Runs patchmgr reset_force for Exadata storage cells before cleanup in the documented storage-server update workflow. This is a maintenance recovery/control operation, not a normal health check.

    Dangerous

Collect diagnostics

  • patchmgr -roceswitches switches.lst -verify-config -log_dir /u01/stage/ROCE

    Runs patchmgr against the RoCE (RDMA over Converged Ethernet) switches listed in switches.lst in verify-config mode, checking that each switch's configuration matches the expected golden config. Read-only validation; reports mismatches and logs to the given directory without changing the switches.

    Read only

  • ./patchmgr --roceswitches switches.lst --verify-config --log_dir <log_directory>

    Verifies golden configuration state for Exadata RoCE Network Fabric switches listed in a switch file. Use it to validate switch configuration before or after apply-config work without applying changes.

    Caution

Create and change

  • ./patchmgr --dbnodes dbs_group --live-update-list-outstanding-work --log_dir auto

    Displays outstanding Exadata Live Update work scheduled for database nodes in the target group. The source row had a line-wrapped option; this record keeps the documented option spelling.

    Read only

Patch and upgrade

  • ./patchmgr -cells ~/cell_group -patch_check_prereq -log_dir <log-dir>

    Runs patchmgr in prerequisite-check mode against the storage cells listed in the cell_group file, verifying they are ready for a cell image update without applying anything. Read-only validation step; it inspects cell state and writes results to the log directory.

    Read only

  • patchmgr -cells ~/cell_group -patch_check_prereq -rolling

    Runs patchmgr's prerequisite check (no apply) against the storage cells listed in cell_group, validating readiness for a rolling cell update. Read-only precheck: it inspects cell state and reports blockers but does not patch or restart anything.

    Read only

  • ./patchmgr --ibswitches --upgrade --ibswitch_precheck

    Runs patchmgr prerequisite checks for an Exadata InfiniBand switch upgrade. It validates switch readiness before any firmware upgrade action is attempted.

    Caution

  • ./patchmgr --ibswitches ibswitches.lst --downgrade --ibswitch_precheck

    Runs patchmgr prerequisite checks for an Exadata InfiniBand switch downgrade using a switch list file. Use it before any downgrade action to validate target readiness and collect precheck logs.

    Caution

  • ./patchmgr -cells cell_group -patch -log_dir auto

    Runs patchmgr to patch Exadata storage cells in the specified cell group and lets patchmgr choose the log directory automatically. This is the actual storage-cell patch action, not a precheck.

    Dangerous

  • ./patchmgr -cells ~/cell_group -patch -rolling -smtp_from "sender@example.com" -smtp_to "receiver@example.com"

    Runs a rolling patchmgr update against the Exadata storage cells listed in the cell group and sends email notifications during the patch workflow. This is the actual storage-cell patch action, not a prerequisite check.

    Dangerous

  • ./patchmgr --dbnodes dbs_group --upgrade --repo /my/dir/

    Runs patchmgr upgrade mode for Exadata database nodes using the specified group file and patch repository. This is the actual patching action and must be run only within a planned Exadata maintenance workflow.

    Dangerous

  • patchmgr -cells ~/cell_group -patch -rolling &

    Applies the staged cell image patch to the storage cells in cell_group one at a time (rolling), keeping the cluster online while each cell is patched and rebooted; the trailing & runs it in the background. Destructive maintenance that re-images and reboots each cell in turn.

    Dangerous

  • ./patchmgr -cells cell_group -patch_check_prereq

    Runs patchmgr prerequisite checks for Exadata storage-cell patching. Use it before a storage-cell patch operation to validate readiness and collect logs without applying the patch.

    Caution

  • ./patchmgr --roceswitches switches.lst --upgrade [--force] [--log_dir auto]

    Upgrades firmware on Exadata RoCE Network Fabric switches listed in the switch file. The operation is performed one switch at a time but can still disrupt RDMA fabric connectivity during switch reboot or failure conditions.

    Dangerous

  • patchmgr -ibswitches ~/switches.lst -upgrade

    Upgrades the firmware of the Exadata fabric switches listed in switches.lst (RoCE or InfiniBand, depending on the rack) using patchmgr. Destructive maintenance: it reboots and re-images switches, briefly disrupting cluster interconnect/storage network connectivity.

    Dangerous

  • ./patchmgr -cells cell_group -patch -log_dir auto -get log_dir

    Returns the automatically generated patchmgr log directory for a storage-cell patch run using the original cell group. It is used when a later retry must reuse the same log directory after the component list changes.

    Read only

  • ./patchmgr --roceswitches ~/switches.lst --upgrade --log_dir /u01/stage/ROCE

    Runs patchmgr against the RoCE Network Fabric switches listed in switches.lst and performs a firmware or software upgrade. This is a coordinated Exadata maintenance operation from a driving system, not an ad hoc network command.

    Dangerous

  • ./patchmgr -cells ~/cell_group -rollback

    Rolls back a successfully updated Exadata storage server image for the cells listed in the cell group file. This is the actual rollback action and should only follow documented rollback prerequisite checks.

    Dangerous

  • ./patchmgr -cells ~/cell_group -rollback -rolling -log_dir auto

    Rolls back Exadata storage servers one cell at a time while using an automatic patchmgr log directory. This is a high-impact rollback mode used only after rollback prerequisite checks and a maintenance plan are in place.

    Dangerous

  • ./patchmgr --dbnodes dbs_group --rollback

    Runs patchmgr rollback mode for the Exadata database nodes in the specified group. This is a high-impact maintenance action used only when the patch README or Oracle Support directs rollback.

    Dangerous

  • ./patchmgr --ibswitches ibswitches.lst --downgrade [--force] [--unkey]

    Downgrades firmware on Exadata InfiniBand Network Fabric switches listed in the switch file. This is a high-impact switch maintenance action, not a diagnostic check.

    Dangerous

  • ./patchmgr --ibswitches ibswitches.lst --upgrade [--force] [--unkey]

    Upgrades firmware on Exadata InfiniBand Network Fabric switches listed in the switch file. The upgrade is rolling, but switch firmware work can disrupt fabric connectivity if topology or target selection is wrong.

    Dangerous

  • ./patchmgr -cells cell_group -rollback_check_prereq [-rolling]

    Runs prerequisite checks before rolling back Exadata storage-cell patching. Use it to validate cell readiness and collect logs before any rollback action is attempted.

    Caution

  • ./patchmgr --roceswitches switches.lst --downgrade [--unkey] [--force]

    Downgrades firmware on Exadata RoCE Network Fabric switches listed in the switch file. Switch firmware downgrade work can reboot switches and disrupt the RDMA fabric if target selection or topology readiness is wrong.

    Dangerous

  • patchmgr --adminswitches adm_switch --upgrade -log_dir /u01/stage/adm

    Drives patchmgr to upgrade the Exadata Ethernet administration (management) switch(es) listed in adm_switch, logging to the given directory. State-changing firmware upgrade of network infrastructure that interrupts the management network path during the operation.

    Dangerous

  • ./patchmgr --roceswitches switches.lst {--upgrade | --downgrade} --roceswitch-precheck [--force]

    Runs prerequisite checks for Exadata RoCE Network Fabric switch firmware upgrade or downgrade. The source row had a line-wrapped option; this record keeps the documented --roceswitch-precheck spelling.

    Caution

  • ./patchmgr --adminswitches switches.lst --upgrade --adminswitch-precheck

    Runs patchmgr for Exadata administration switches using an admin-switch list file and upgrade precheck mode. It validates switch readiness for a patching workflow before the actual switch upgrade proceeds.

    Caution

Search every command