如果使用动态登录横幅、则适用于Oracle的SnapCenter插件备份和克隆工作流将失败
适用场景
适用于Oracle的SnapCenter插件(SCO)
问题描述
如果登录横幅包含动态值、则SCO非root用户备份和克隆将失败。
将SnapCenter从4.7升级到5.0P1后、备份期间发现数据库失败、并显示以下错误。
Discovery failed for object <database name> with error PL-SCO-20006: Discovery of database files failed for database <database name> on host <host name> with error Operation Exception occurred during oracle database connection, reason: Unexpected Operation occurred.
克隆故障日志:
DEBUG qtp1172910505-27 c.n.c.e.AbstractShellExecutor - EXE-00000: Executing shell command:
0:/bin/sh -c export LC_ALL=C; sudo /opt/NetApp/snapcenter/spl/bin/sc_command_executor oracle /bin/sh -c "'export ORACLE_HOME=/u01/app/oracle19/product/19.3.0/db_home1; /u01/app/oracle19/product/19.3.0/db_home1/bin/orabaseconfig'"
1:export LC_ALL=C; sudo /opt/NetApp/snapcenter/spl/bin/sc_command_executor oracle /bin/sh -c "'export ORACLE_HOME=/u01/app/oracle19/product/19.3.0/db_home1; /u01/app/oracle19/product/19.3.0/db_home1/bin/orabaseconfig'"
2024-10-23T01:59:54.0000307-05:00 DEBUG Execution Monitor Thread [export LC_ALL=C; sudo /opt/NetApp/snapcenter/spl/bin/sc_command_executor oracle /bin/sh -c "'export ORACLE_HOME=/u01/app/oracle19/product/19.3.0/db_home1; /u01/app/oracle19/product/19.3.0/db_home1/bin/orabaseconfig'"] c.n.c.e.ShellResult - EXE-00001: Shell result [0:00:00.146] (Exit Value: 0):
Welcome to Red Hat Enterprise Linux Server release 7.9 (Maipo) (3.10.0-1160.119.1.el7.x86_64).
System information as of: Wed Oct 23 01:59:54 CDT 2024
System Load: 0.26, 0.15, 0.14 | System Uptime: 37 days 17 hours 17 min 41 sec
Memory Usage: 6.9% | Swap Usage: 0.0%
Usage On /: 4.7G/17G | Access Rights on /: rw
Local Users: 2 | Whoami: oracle
Processes: 731 | Zombies: 0
Interface | MAC Address | IP Address
ens192 | 00:50:56:ad:c3:44 | 10.100.50.17/24
/u01/app/oracle19/product/19.3.0/db_home1
2024-10-23T01:59:54.0000307-05:00 DEBUG qtp1172910505-27 c.n.o.c.c.NonRootConfiguration - Oracle owner : oracle
2024-10-23T01:59:54.0000308-05:00 DEBUG qtp1172910505-27 c.n.o.c.c.NonRootConfiguration - Filtered string :
/u01/app/oracle19/product/19.3.0/db_home1
2024-10-23T01:59:54.0000308-05:00 DEBUG qtp1172910505-27 c.n.o.c.p.UnixOraclePlatform - /u01/app/oracle19/product/19.3.0/db_home1 is different from
/u01/app/oracle19/product/19.3.0/db_home1. Oracle home is in read-only mode