检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
CreateHostClusterRequestBody{ IsProxyMode: int32(1), Description: &descriptionCreateHostClusterRequestBody, SlaveClusterId: &slaveClus
安装IIS服务 该步骤可对指定环境下目标主机进行安装IIS服务,信息配置如下所示。 表1 参数说明 参数项 说明 步骤显示名称 步骤添加后在部署步骤显示的名称。仅支持汉字、英文字母、数字、空格、或-_,;:./()()符号,其中空格不可在名称开头或结尾使用,长度为1-128。 环境
environment variables!” 原因分析 Go未安装。 环境变量未配置或配置错误。 处理方法 若未安装Go,可通过“安装Go语言 ”部署步骤进行安装。 正确配置相关环境变量。 由于当前启动/停止操作为“no_login”方式,若系统为Linux系统,Go语言为手动安装,还需在以下文件中增加环境变量:
部署应用时可重新设定指定值的参数。按照属性可分“自定义参数”和“系统预定义参数”,支持枚举、字符串和环境三种类型。 部署模板 模板是将多个部署步骤根据业务场景进行编排后组成的模板实例,分为“系统模板”和“自定义模板”,系统模板也称为预置模板,对所有用户可见;自定义模板为用户根据部署场景自行编排保存,对项目组成员可见。
执行PowerShell脚本 Executing powershell script 失败 部署显示成功但没达到预期结果 参数含反斜杠“\”(特例) 环境下没有主机 环境不存在 windows主机部署应用失败 部署进程被第三方杀毒软件拦截 路径不合法 父主题: 自定义应用步骤问题
/etc/shadow cat /etc/fstab mount -l || echo hello world …… 处理方法 方案一:进行参数化 添加参数名为Path的参数,其值为/etc/hosts 。 在shell命名文本框中引用Path参数。 cat ${Path} cat
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
执行Shell脚本 Execute sh script 失败 部署显示成功但没达到预期结果 部署应用中断 权限不够 参数含反斜杠“\”(特例) 环境下没有主机 环境不存在 使用sudo权限执行报错 部署进程被第三方杀毒软件拦截 路径不合法 在Centos上安装软件提示网络故障 在Ubuntu上安装软件提示网络故障
required command to extract the file is installed. Command \"/usr/bin/unzip\" could not handle archive. Command \"/usr/bin/gtar\" could not handle
required command to extract the file is installed. Command \"/usr/bin/unzip\" could not handle archive. Command \"/usr/bin/gtar\" could not handle
required command to extract the file is installed. Command \"/usr/bin/unzip\" could not handle archive. Command \"/usr/bin/gtar\" could not handle
HostInfo objects 主机信息列表 表5 HostInfo 参数 参数类型 描述 uuid String 主机id ip String 主机IP os String 主机操作系统 port Integer 端口 authorization HostAuthorizationBody
object 主机详情信息 表4 HostInfoDetail 参数 参数类型 描述 host_id String 主机id ip String 主机IP os String 主机操作系统 port Integer 端口号 authorization HostAuthorizationBody
required command to extract the file is installed. Command \"/usr/bin/unzip\" could not handle archive. Command \"/usr/bin/gtar\" could not handle
当使用“安装JDK”部署步骤,选择版本为“openjdk-1.8.0”时,手动配置了jdk环境变量,且配置路径错误。 处理方法 若未安装Jdk,可通过“安装Jdk ”部署步骤进行安装。 正确配置相关环境变量。 由于当前启动/停止操作为“no_login”方式,若系统为Linux系统,jdk为手动安装,还需在以下文件中增加jdk环境变量:
表4 EnvironmentDetail 参数 参数类型 描述 id String 环境id name String 环境名称 description String 环境描述 os String 操作系统 nick_name String 用户昵称 deploy_type Integer
不涉及。 updated_by UserInfo object 参数解释: 用户信息,包含用户id、用户名等。 约束限制: 不涉及。 description String 描述 permission PermissionGroupDetail object 主机集群相关权限详情类 表4
"total" : 1, "host_groups" : [ { "name" : "testwyk", "description" : "11122211", "os" : "linux", "nick_name" : "AB边账号",
表5 EnvironmentDetail 参数 参数类型 描述 id String 环境id name String 环境名称 description String 环境描述 os String 操作系统 nick_name String 用户昵称 deploy_type Integer
the delegate_to, connection, hosts command in the Ansible PlayBook script for executing the local computer,怎样处理? 部署应用中断 权限不够 参数含反斜杠“\”(特例) 环境下没有主机