之前卸载12.1的GI再安装19.9的GI,在创建asmdisk的时候报错:
ORA-15137: The ASM cluster is in rolling patch state. Case 1. Update the patch level on all nodes, As root user
$ clscfg -patch
Example:
# <grid home>/bin/clscfg -patch clscfg: -patch mode specified clscfg: EXISTING configuration version 5 detected. clscfg: version 5 is 12c Release 1. Successfully accumulated necessary OCR keys. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful.
And validate as root user
$ crsctl query crs softwarepatch
Example:
# <grid home>/bin/crsctl query crs softwarepatch Oracle Clusterware patch level on node host01 is [1964077727].
# <grid home>/bin/crsctl query crs softwarepatch Oracle Clusterware patch level on node host02 is [1964077727].
If both were at same level,stop rolling patch mode from one of the node as root user
$ crsctl stop rollingpatch
Then startup the cluster and create asm diskgroup.
Example:
# <grid home>/bin/crsctl stop rollingpatch CRS-1161: The cluster was successfully patched to patch level [1964077727].
Case 2. Apply the same patch on other node, then proceed to drop/create diskgroup.
