3.执行命令 su - omm ,执行 sh ${BIGDATA_HOME}/om-server/OMS/workspace0/ha/module/hacom/script/status_ha.sh,查询当前HA管理的pms资源状态是否正常(单机模式下面,pms资源为normal状态;双机模式下,pms资源在主节点为normal状态,在备节点为stopped状态。)。 是,执行步骤6。 否,执行步骤4。
3.执行命令 su - omm ,执行 sh ${BIGDATA_HOME}/om-server/OMS/workspace0/ha/module/hacom/script/status_ha.sh ,查询当前HA管理的fms资源状态是否正常(单机模式下面,fms资源为normal状态;双机模式下,fms资源在主节点为normal状态,在备节点为stopped状态。) 是,执行步骤6。 否,执行步骤4。
= '' if inputs_num =6: query_param = sys.argv[5] if ak is None or sk is None: print("请依次传入uri、method、ak、sk、query(可选)的值,如python3 app_token_gen.py uri method ak sk query") sys.exit(1) secret = bytes(sk, 'utf-8') signature_message_template = '''%s %s %