|
|
|
@ -80,7 +80,7 @@ public class OracleExtractServiceImpl implements IOracleExtractService {
|
|
|
|
|
oracleExtract.createDBLink(conn, collectOracle); //创建dblink
|
|
|
|
|
oracleExtract.createTableSpace(conn, collectOracle, oracleModel); //创建表空间
|
|
|
|
|
oracleExtract.createUser(conn, collectOracle, oracleModel);//创建用户并授权
|
|
|
|
|
oracleExtract.extractColleDB(conn, collectOracle);//执行抽取
|
|
|
|
|
oracleExtract.extractColleDB(conn, collectOracle, oracleModel);//执行抽取
|
|
|
|
|
// client.updateOrAddReplicasLabelById(collectOracle.getName(), "isExtract", "2"); //更新oracle汇总状态,0标示为未汇总,1标示汇总中,2标示汇总完成
|
|
|
|
|
cmd = "kubectl label --overwrite rc "
|
|
|
|
|
+ replicasName + " isExtract=2";
|
|
|
|
|