{
  "CampusInsight": [
    {
      "1) Upload packages": [
        {
          "mode": "parallel",
          "nodes": [
            {
              "host": "${node_ip_0011}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "_localNETypeList": "min_cluster_first",
                "sub_node_type": "main_fi_fabric"
              }
            },
            {
              "host": "${node_ip_0012}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "_localNETypeList": "min_cluster_second",
                "sub_node_type": "standby_fi_fabric"
              }
            },
            {
              "host": "${node_ip_0013}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "_localNETypeList": "min_cluster",
                "sub_node_type": "fabric_all_service"
              }
            },
            {
              "host": "${node_ip_001{0}}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "_localNETypeList": "min_cluster",
                "sub_node_type": "fabric_rest_service"
              },
              "depends": [
                {
                  "op": ">=",
                  "value": "{0}",
                  "id": "${base_analyzer_node_scale}"
                }
              ],
              "start": 4
            }
          ],
          "cmds": [
            {
              "action": "upload",
              "parameters": [
                {
                  "value": "-src ${hld_package_osmediation.name}"
                },
                {
                  "value": "-dst /root/EasySuite/888"
                }
              ]
            },
            {
              "action": "unzip",
              "path": "/root/EasySuite/888",
              "parameters": [
                {
                  "value": "-o ${hld_package_osmediation.name} -d /root/EasySuite/888/os_mediation > /dev/null 2>&1"
                }
              ]
            },
            {
              "action": "upload",
              "parameters": [
                {
                      "depends": [
                          {
                             "id": "${base_arch_type}",
                             "op": "in",
                             "value": "ARM,arm"
                          },
                          {
                             "id": "${base_os_type}",
                             "op": "in",
                             "value": "EulerOS"
                          }
                      ],
                      "value": "-src ${hld_package_os_patch_euler_arm.name}"
                },
                {
                      "depends": [
                           {
                              "id": "${base_arch_type}",
                              "op": "in",
                              "value": "X86,x86"
                           },
                           {
                             "id": "${base_os_type}",
                             "op": "in",
                             "value": "EulerOS"
                          }
                      ],
                      "value": "-src ${hld_package_os_patch_euler_x86.name}"
                },
                {
                      "depends": [
                          {
                             "id": "${base_arch_type}",
                             "op": "in",
                             "value": "ARM,arm"
                          },
                          {
                             "id": "${base_os_type}",
                             "op": "in",
                             "value": "EulerOS"
                          }
                      ],
                      "value": "-dst /root/EasySuite/888"
                },
                {
                      "depends": [
                           {
                              "id": "${base_arch_type}",
                              "op": "in",
                              "value": "X86,x86"
                           },
                           {
                             "id": "${base_os_type}",
                             "op": "in",
                             "value": "EulerOS"
                          }
                      ],
                      "value": "-dst /root/EasySuite/888"
                }
              ]
            },
            {
              "action": "upload",
              "path": "",
              "parameters": [
                {
                  "value": "-src install_os_patch_pkg.sh"
                },
                {
                  "value": "-dst /root/install_config"
                },
                {
                  "value": "-src_dir plugins/common/scripts"
                }
              ]
            },
             {
              "action": "bash",
              "path": "",
              "parameters": [
                {
                  "value": "-l /root/install_config/install_os_patch_pkg.sh"
                }
              ]
            }
          ]
        },
        {
          "mode": "parallel",
          "nodes": [
            {
              "host": "${node_ip_0011}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}"
            }
          ],
          "cmds": [
            {
              "action": "upload",
              "parameters": [
                {
                  "value": "-src ${hld_package_analyzer.name}"
                },
                {
                  "value": "-dst /root/EasySuite/888"
                }
              ]
            },
            {
              "action": "upload",
              "parameters": [
                {
                  "value": "-src ${hld_package_analyzer.name}${pkg_sign_type}"
                },
                {
                  "value": "-dst /root/EasySuite/888"
                }
              ]
            },
            {
              "action": "upload",
              "parameters": [
                {
                  "value": "-src ${hld_package_analyzer.name}${pkg_sign_verify}"
                },
                {
                  "value": "-dst /root/EasySuite/888"
                }
              ]
            },
            {
              "action": "upload",
              "parameters": [
                {
                  "value": "-src ${hld_package_cloudsop.name}"
                },
                {
                  "value": "-dst /root/EasySuite/888"
                }
              ]
            },
            {
              "action": "upload",
              "parameters": [
                {
                  "value": "-src ${hld_package_cloudsop.name}${pkg_sign_type}"
                },
                {
                  "value": "-dst /root/EasySuite/888"
                }
              ]
            },
            {
              "action": "upload",
              "parameters": [
                {
                  "value": "-src ${hld_package_cloudsop.name}${pkg_sign_verify}"
                },
                {
                  "value": "-dst /root/EasySuite/888"
                }
              ]
            },
            {
              "action": "upload",
              "parameters": [
                {
                  "value": "-src ${hld_package_omp.name}"
                },
                {
                  "value": "-dst /root/EasySuite/888"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "2) Environmental inspection": [
        {
          "mode": "parallel",
          "nodes": [
            {
              "host": "${node_ip_0011}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "_localNETypeList": "min_cluster_first",
                "sub_node_type": "main_fi_fabric"
              }
            },
            {
              "host": "${node_ip_0012}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "_localNETypeList": "min_cluster_second",
                "sub_node_type": "standby_fi_fabric"
              }
            },
            {
              "host": "${node_ip_0013}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "_localNETypeList": "min_cluster",
                "sub_node_type": "fabric_all_service"
              }
            },
            {
              "host": "${node_ip_001{0}}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "_localNETypeList": "min_cluster",
                "sub_node_type": "fabric_rest_service"
              },
              "depends": [
                {
                  "op": ">=",
                  "value": "{0}",
                  "id": "${base_analyzer_node_scale}"
                }
              ],
              "start": 4
            }
          ],
          "cmds": [
            {
              "action": "set_os_timezone",
              "parameters": [
                {
                  "value": "${lld_nodes_os_tzone}"
                }
              ]
            },
            {
              "action": "/root/EasySuite/888/script/python/bin/python",
              "path": "/root/EasySuite/888/script/",
              "type": "interact",
              "parameters": [
                {
                  "value": "launch.pyc processor -i -initparam pre.install.initial"
                }
              ]
            },
            {
              "action": "/root/EasySuite/888/script/python/bin/python",
              "path": "/root/EasySuite/888/script/",
              "type": "interact",
              "input_paras": "os_root_user_pwd,lld_outer_ntp_mmvalue,lld_outer_ntp_mmvalue_bak_1,lld_outer_ntp_mmvalue_bak_2,os_others_user_pwd",
              "check_progress": "bash -l /root/EasySuite/888/script/pyscript/cloud/util/check_progress.sh pre.install.initial",
              "timeout": "1800",
              "parameters": [
                {
                  "value": "launch.pyc processor -i -exec pre.install.initial"
                },
                {
                  "value": "-selectedNetType ${base_scene_choices} -sub_node_type $(sub_node_type) -localNETypeList $(_localNETypeList) -unit ${components}"
                },
                {
                  "value": "-lld_outer_ntp_ip ${lld_outer_ntp_ip} -lld_outer_ntp_ip_1 ${lld_outer_ntp_ip_bak_1} -lld_outer_ntp_ip_2 ${lld_outer_ntp_ip_bak_2}"
                },
                {
                  "value": " -lld_outer_ntp_mode ${lld_outer_ntp_mode} -lld_outer_ntp_mode_1 ${lld_outer_ntp_mode_bak_1} -lld_outer_ntp_mode_2 ${lld_outer_ntp_mode_bak_2}"
                },
                {
                  "value": " -lld_outer_ntp_algorism ${lld_outer_ntp_algorism} -lld_outer_ntp_algorism_1 ${lld_outer_ntp_algorism_bak_1} -lld_outer_ntp_algorism_2 ${lld_outer_ntp_algorism_bak_2}"
                },
                {
                  "value": " -lld_outer_ntp_mmvalue_index ${lld_outer_ntp_mmvalue_index} -lld_outer_ntp_mmvalue_index_1 ${lld_outer_ntp_mmvalue_index_bak_1} -lld_outer_ntp_mmvalue_index_2 ${lld_outer_ntp_mmvalue_index_bak_2}"
                },
                {
                  "value": "-base_arch_type ${base_arch_type}"
                }
              ]
            }
          ]
        },
        {
          "mode": "parallel",
          "nodes": [
            {
              "host": "${node_ip_0011}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "sub_node_type": "main_fi_fabric"
              }
            },
            {
              "host": "${node_ip_0012}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "sub_node_type": "standby_fi_fabric"
              }
            },
            {
              "host": "${node_ip_0013}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "sub_node_type": "fabric_all_service"
              }
            },
            {
              "host": "${node_ip_001{0}}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "sub_node_type": "fabric_rest_service"
              },
              "depends": [
                {
                  "op": ">=",
                  "value": "{0}",
                  "id": "${base_analyzer_node_scale}"
                }
              ],
              "start": 4
            }
          ],
          "cmds": [
            {
              "action": "/root/EasySuite/888/script/python/bin/python",
              "path": "/root/EasySuite/888/script/",
              "type": "interact",
              "input_paras": "os_root_user_pwd",
              "check_progress": "bash -l /root/EasySuite/888/script/pyscript/cloud/util/check_progress.sh pre.install.init_param",
              "timeout": "1800",
              "parameters": [
                {
                  "value": "launch.pyc processor -i -exec pre.install.init_param"
                },
                {
                  "value": "-selectedNetType ${base_scene_choices} -sub_node_type $(sub_node_type)"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "3) Partitioning": [
        {
          "mode": "parallel",
          "nodes": [
            {
              "host": "${node_ip_0011}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "localNETypeList": "min_cluster_first",
                "sub_node_type": "main_fi_fabric"
              }
            },
            {
              "host": "${node_ip_0012}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "localNETypeList": "min_cluster_second",
                "sub_node_type": "standby_fi_fabric"
              }
            },
            {
              "host": "${node_ip_0013}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "localNETypeList": "min_cluster",
                "sub_node_type": "fabric_all_service"
              }
            },
            {
              "host": "${node_ip_001{0}}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "localNETypeList": "min_cluster",
                "sub_node_type": "fabric_rest_service"
              },
              "depends": [
                {
                  "op": ">=",
                  "value": "{0}",
                  "id": "${base_analyzer_node_scale}"
                }
              ],
              "start": 4
            }
          ],
          "cmds": [
            {
              "action": "/root/EasySuite/888/script/python/bin/python",
              "path": "/root/EasySuite/888/script/",
              "type": "interact",
              "check_progress": "bash -l /root/EasySuite/888/script/pyscript/cloud/util/check_progress.sh pre.install.create_vol",
              "timeout": "1800",
              "parameters": [
                {
                  "value": "launch.pyc processor -i -exec pre.install.create_vol"
                },
                {
                  "value": "-localNETypeList $(localNETypeList) -selectedNetType ${base_scene_choices} -sub_node_type $(sub_node_type)"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "4) Install management nodes": [
        {
          "mode": "parallel",
          "nodes": [
            {
              "host": "${node_ip_0011}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "localNETypeList": "min_cluster_first",
                "sub_node_type": "main_fi_fabric"
              }
            }
          ],
          "cmds": [
            {
              "action": "/root/EasySuite/888/script/python/bin/python",
              "path": "/root/EasySuite/888/script/",
              "type": "interact",
              "input_paras": "os_root_user_pwd,lld_outer_ntp_mmvalue,lld_outer_ntp_mmvalue_bak_1,lld_outer_ntp_mmvalue_bak_2,db_login_pwd,cloudsop_pwd,os_others_user_pwd",
              "check_progress": "bash -l /root/EasySuite/888/script/pyscript/cloud/util/check_progress.sh complex.install.installManager",
              "timeout": "7200",
              "parameters": [
                {
                  "value": "launch.pyc processor -i -exec complex.install.installManager"
                },
                {
                  "value": "-localNETypeList $(localNETypeList) -selectedNetType ${base_scene_choices} -sub_node_type $(sub_node_type) "
                },
                {
                  "value": "-lld_netcard_access ${lld_netcard_access} -unit ${components}"
                },
                {
                  "value": "-ARG_LANG ${lld_product_lang}"
                },
                {
                  "value": "-lld_outer_ntp_ip ${lld_outer_ntp_ip} -lld_outer_ntp_ip_1 ${lld_outer_ntp_ip_bak_1} -lld_outer_ntp_ip_2 ${lld_outer_ntp_ip_bak_2}"
                },
                {
                  "value": " -lld_outer_ntp_mode ${lld_outer_ntp_mode} -lld_outer_ntp_mode_1 ${lld_outer_ntp_mode_bak_1} -lld_outer_ntp_mode_2 ${lld_outer_ntp_mode_bak_2}"
                },
                {
                  "value": " -lld_outer_ntp_algorism ${lld_outer_ntp_algorism} -lld_outer_ntp_algorism_1 ${lld_outer_ntp_algorism_bak_1} -lld_outer_ntp_algorism_2 ${lld_outer_ntp_algorism_bak_2}"
                },
                {
                  "value": " -lld_outer_ntp_mmvalue_index ${lld_outer_ntp_mmvalue_index} -lld_outer_ntp_mmvalue_index_1 ${lld_outer_ntp_mmvalue_index_bak_1} -lld_outer_ntp_mmvalue_index_2 ${lld_outer_ntp_mmvalue_index_bak_2}"
                },
                {
                  "value": "-lld_netcard_internal ${lld_netcard_south} -lld_lvs_float_ip \"${node_vm_float2_ip_1}\""
                },
                {
                  "value": "-base_use_lvs NO"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "5) Install service nodes": [
        {
          "mode": "parallel",
          "nodes": [
            {
              "host": "${node_ip_0011}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "context": {
                "localNETypeList": "min_cluster_first",
                "sub_node_type": "main_fi_fabric"
              }
            }
          ],
          "cmds": [
            {
              "action": "/root/EasySuite/888/script/python/bin/python",
              "path": "/root/EasySuite/888/script/",
              "type": "interact",
              "input_paras": "os_others_user_pwd,cloudsop_pwd",
              "check_progress": "bash -l /root/EasySuite/888/script/pyscript/cloud/util/check_progress.sh complex.install.installFabricApp_installFI",
              "timeout": "14400",
              "parameters": [
                {
                  "value": " launch.pyc processor -i -exec complex.install.installFabricApp_installFI"
                },
                {
                  "value": "-localNETypeList $(localNETypeList) -sub_node_type $(sub_node_type)"
                },
                {
                  "value": "-base_analyzer_node_scale ${base_analyzer_node_scale} -lld_lvs_float_ip \"${node_vm_float2_ip_1}\""
                },
                {
                  "value": "-selectedNetType ${base_scene_choices} -lld_netcard_internal ${lld_netcard_south} "
                },
                {
                  "value": "-lld_netcard_south ${lld_netcard_south}"
                },
                {
                  "value": "-lld_netcard_access ${lld_netcard_access}"
                },
                {
                  "value": "-lld_outer_ntp_ip ${lld_outer_ntp_ip} -lld_outer_ntp_ip_1 ${lld_outer_ntp_ip_bak_1} -lld_outer_ntp_ip_2 ${lld_outer_ntp_ip_bak_2}"
                },
                {
                  "value": " -lld_outer_ntp_mode ${lld_outer_ntp_mode} -lld_outer_ntp_mode_1 ${lld_outer_ntp_mode_bak_1} -lld_outer_ntp_mode_2 ${lld_outer_ntp_mode_bak_2}"
                },
                {
                  "value": " -lld_outer_ntp_algorism ${lld_outer_ntp_algorism} -lld_outer_ntp_algorism_1 ${lld_outer_ntp_algorism_bak_1} -lld_outer_ntp_algorism_2 ${lld_outer_ntp_algorism_bak_2}"
                },
                {
                  "value": " -lld_outer_ntp_mmvalue_index ${lld_outer_ntp_mmvalue_index} -lld_outer_ntp_mmvalue_index_1 ${lld_outer_ntp_mmvalue_index_bak_1} -lld_outer_ntp_mmvalue_index_2 ${lld_outer_ntp_mmvalue_index_bak_2}"
                },
                {
                  "value": "-ARG_LANG ${lld_product_lang} -unit ${components} -analyzer_package_name ${hld_package_analyzer.name} -campus_ifit ${campus_ifit}"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "6) Post installation": [
        {
          "mode": "parallel",
          "nodes": [
            {
              "host": "${node_ip_0011}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}"
            }
          ],
          "cmds": [
            {
              "action": "/root/EasySuite/888/script/python/bin/python",
              "path": "/root/EasySuite/888/script/",
              "type": "interact",
              "input_paras": "os_root_user_pwd",
              "check_progress": "bash -l /root/EasySuite/888/script/pyscript/cloud/util/check_progress.sh cloudsop.install.configNodes",
              "timeout": "1200",
              "parameters": [
                {
                  "value": "launch.pyc processor -i -exec cloudsop.install.configNodes"
                }
              ]
            }
          ]
        },
        {
          "mode": "parallel",
          "nodes": [
            {
              "host": "${node_ip_001{0}}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "depends": [
                {
                  "op": ">=",
                  "value": "{0}",
                  "id": "${base_analyzer_node_scale}"
                }
              ],
              "start": 1
            }
          ],
          "cmds": [
            {
              "action": "/root/EasySuite/888/script/python/bin/python",
              "path": "/root/EasySuite/888/script/",
              "type": "interact",
              "check_progress": "bash -l /root/EasySuite/888/script/pyscript/cloud/util/check_progress.sh complex.install.postInstall",
              "timeout": "2400",
              "parameters": [
                {
                  "value": "launch.pyc processor -i -exec complex.install.postInstall"
                },
                {
                  "value": "-selectedNetType ${base_scene_choices} -lld_netcard_south ${lld_netcard_south}"
                },
                {
                  "value": "-lld_netcard_internal ${lld_netcard_south} -lld_netcard_access ${lld_netcard_access}"
                }
              ]
            }
          ]
        },
        {
          "mode": "parallel",
          "nodes": [
            {
              "host": "${node_ip_001{0}}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}",
              "depends": [
                {
                  "op": ">=",
                  "value": "{0}",
                  "id": "${base_analyzer_node_scale}"
                }
              ],
              "start": 2
            }
          ],
          "cmds": [
            {
              "action": "/root/EasySuite/888/script/python/bin/python",
              "path": "/root/EasySuite/888/script/",
              "type": "interact",
              "parameters": [
                {
                  "value": "launch.pyc processor post.install.clear_envs"
                }
              ]
            }
          ]
        },
        {
          "mode": "parallel",
          "nodes": [
            {
              "host": "${node_ip_0011}",
              "port": "22",
              "username": "${os_login_user}",
              "passwd": "${os_root_user_pwd}"
            }
          ],
          "cmds": [
            {
              "action": "/root/EasySuite/888/script/python/bin/python",
              "path": "/root/EasySuite/888/script/",
              "type": "interact",
              "parameters": [
                {
                  "value": "launch.pyc processor post.install.clear_envs"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}