111
This commit is contained in:
parent
def13c8188
commit
4c801a9106
|
@ -357,9 +357,9 @@ Oraclephysics_pwd = '123456'
|
||||||
Oraclephysics_root_user= 'root'
|
Oraclephysics_root_user= 'root'
|
||||||
|
|
||||||
#oracle_ physics12c备份与恢复
|
#oracle_ physics12c备份与恢复
|
||||||
DBHostIP_lin_12c = '10.18.32.162'
|
DBHostIP_lin_12c = '10.10.29.144'
|
||||||
DBUser_12c = 'system' #oracle数据库用户名
|
DBUser_12c = 'test' #oracle数据库用户名
|
||||||
DBPwd_12c = '111111' #oracle数据库密码
|
DBPwd_12c = 'test123' #oracle数据库密码
|
||||||
DBInstance_lin_12c = DBHostIP_lin_12c+':1521/orcl'
|
DBInstance_lin_12c = DBHostIP_lin_12c+':1521/orcl'
|
||||||
Oracle_HostName_lin_12c = 'oracle12c_physics'
|
Oracle_HostName_lin_12c = 'oracle12c_physics'
|
||||||
Oracle_Instance_lin_12c = 'orcl'
|
Oracle_Instance_lin_12c = 'orcl'
|
||||||
|
|
|
@ -425,7 +425,7 @@ Oracle归档日志备份
|
||||||
...
|
...
|
||||||
... 变量: ${Oracle_TableName1}表名 | ${DBInstance_lin} 实例名
|
... 变量: ${Oracle_TableName1}表名 | ${DBInstance_lin} 实例名
|
||||||
log 连接数据库
|
log 连接数据库
|
||||||
Connect To Database Using Custom Params cx_Oracle '${DBUser_12c}','${DBPwd_12c}','${DBInstance_lin}'
|
Connect To Database Using Custom Params cx_Oracle 'c##unary','111','${DBInstance_lin}'
|
||||||
${rowcount} Row Count select * from user_tables where table_name=upper('${Oracle_TableName1}')
|
${rowcount} Row Count select * from user_tables where table_name=upper('${Oracle_TableName1}')
|
||||||
Run Keyword If ${rowcount} >= 1 Execute Sql String drop table ${Oracle_TableName1}
|
Run Keyword If ${rowcount} >= 1 Execute Sql String drop table ${Oracle_TableName1}
|
||||||
Disconnect From Database
|
Disconnect From Database
|
||||||
|
|
|
@ -5,6 +5,8 @@ Variables ../../../../../../../Config/DPM/DPM_config.py
|
||||||
|
|
||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
00_TEST
|
00_TEST
|
||||||
|
创建Oracle数据表_12c ${Oracle_TableName1} ${DBInstance_lin_12c}
|
||||||
|
|
||||||
|
|
||||||
01_Oracle完全备份与恢复-挂载-非加密压缩重删
|
01_Oracle完全备份与恢复-挂载-非加密压缩重删
|
||||||
[Documentation] 1.创建Oracle数据表
|
[Documentation] 1.创建Oracle数据表
|
||||||
|
|
Loading…
Reference in New Issue