add support upgrade for dss

This commit is contained in:
chentingting
2023-02-21 15:43:33 +08:00
parent a1a28f5cc7
commit a1cf7f3332
20 changed files with 585 additions and 131 deletions

View File

@ -144,7 +144,7 @@ class DN_OLAP(Kernel):
if self.paxos_mode:
cmd += " -c"
elif self.dss_mode:
if not Dss.check_dss_exist():
if not DssConfig.check_process_exist('dssserver'):
raise Exception('The dssserver process does not exist.')
vgname = EnvUtil.getEnv('VGNAME')
dss_home = EnvUtil.getEnv('DSS_HOME')