om适配共享存储dorado模式(主集群)
This commit is contained in:
@ -157,6 +157,10 @@ class DN_OLAP(Kernel):
|
||||
" --socketpath=\"{}\"".format(
|
||||
"+{},+{}".format(vgname, pri_vgname), cfg_context, inst_id,
|
||||
"UDS:{}/.dss_unix_d_socket".format(dss_home))
|
||||
if (self.dorado_config != "" and self.instInfo.instanceType == DefaultValue.MASTER_INSTANCE):
|
||||
cmd += " -g %s" % self.dorado_config
|
||||
tmpDict3 = {}
|
||||
tmpDict3["xlog_lock_file_path"] = "'%s/redolog.lock'" % self.instInfo.datadir
|
||||
self.logger.debug("Command for initializing database "
|
||||
"node instance: %s" % cmd)
|
||||
status, output = CmdUtil.retryGetstatusoutput(
|
||||
@ -167,6 +171,8 @@ class DN_OLAP(Kernel):
|
||||
# set ssl to DB nodes.
|
||||
dnGucParas = self.getDnGUCDict()
|
||||
self.setGucConfig(dnGucParas)
|
||||
if (self.dorado_config != "" and self.instInfo.instanceType == DefaultValue.MASTER_INSTANCE):
|
||||
self.setGucConfig(tmpDict3)
|
||||
self.copyAndModCertFiles()
|
||||
|
||||
def getInstanceNodeName(self):
|
||||
|
Reference in New Issue
Block a user