HTML Diff
0 added 0 removed
Original 2026-01-01
Modified 2026-03-10
1 <p>Теги: субд, базы данных, oracle, patch, opatch, роллингпатч</p>
1 <p>Теги: субд, базы данных, oracle, patch, opatch, роллингпатч</p>
2 <p>Иногда случается, что<strong>кластер</strong>не сменил статусы по обновлению, новые патчи не ставятся, а команда проверки версии кластера:</p>
2 <p>Иногда случается, что<strong>кластер</strong>не сменил статусы по обновлению, новые патчи не ставятся, а команда проверки версии кластера:</p>
3 crsctl query crs activeversion -f<p>выдаёт примерно такой расклад:</p>
3 crsctl query crs activeversion -f<p>выдаёт примерно такой расклад:</p>
4 Oracle Clusterware active version on the cluster is [12.2.0.1.0]. The cluster upgrade state is [ROLLING PATCH]. The cluster active patch level is [0].<p>Команда остановки<strong>роллингпатча</strong>:</p>
4 Oracle Clusterware active version on the cluster is [12.2.0.1.0]. The cluster upgrade state is [ROLLING PATCH]. The cluster active patch level is [0].<p>Команда остановки<strong>роллингпатча</strong>:</p>
5 <p>выдаёт такую ошибку:</p>
5 <p>выдаёт такую ошибку:</p>
6 CRS-1170: Rejecting rolling patch mode change because the patch has not been applied yet. The software patch level [0] on this node is not the same as the expected patch level [235140162]. CRS-4000: Command Stop failed, or completed with errors.<p>Для решения данной ситуации есть<strong>волшебная команда</strong>:</p>
6 CRS-1170: Rejecting rolling patch mode change because the patch has not been applied yet. The software patch level [0] on this node is not the same as the expected patch level [235140162]. CRS-4000: Command Stop failed, or completed with errors.<p>Для решения данной ситуации есть<strong>волшебная команда</strong>:</p>
7 <p>и после отработки:</p>
7 <p>и после отработки:</p>
8 clscfg: -patch mode specified clscfg: EXISTING configuration version 5 detected. clscfg: version 5 is 12c Release 2. Successfully accumulated necessary OCR keys. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful.<p>запускаем снова остановку<strong>роллингпатча</strong>:</p>
8 clscfg: -patch mode specified clscfg: EXISTING configuration version 5 detected. clscfg: version 5 is 12c Release 2. Successfully accumulated necessary OCR keys. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful.<p>запускаем снова остановку<strong>роллингпатча</strong>:</p>
9 # crsctl stop rollingpatch CRS-1161: The cluster was successfully patched to patch level [235140162]. # crsctl query crs activeversion -f Oracle Clusterware active version on the cluster is [12.2.0.1.0]. The cluster upgrade state is [NORMAL]. The cluster active patch level is [235140162].<p><em>На этом пока всё, следите за новостями и не забывайте оставлять комментарии!</em></p>
9 # crsctl stop rollingpatch CRS-1161: The cluster was successfully patched to patch level [235140162]. # crsctl query crs activeversion -f Oracle Clusterware active version on the cluster is [12.2.0.1.0]. The cluster upgrade state is [NORMAL]. The cluster active patch level is [235140162].<p><em>На этом пока всё, следите за новостями и не забывайте оставлять комментарии!</em></p>
10  
10