文档目录

PrimaryStorage

名字 描述 默认值 可选的参数值
imageCache.garbageCollector.interval 默认为86400,单位为秒,用于设置主存储定期扫描那些孤儿的需要被清理的镜像缓存的时间间隔。 86400 ≥1
ping.interval 默认为60,单位为秒,管理节点在指定间隔对主存储进行检查是否连接。 60 ≥1
ping.parallelismDegree 默认为50,单位为个,管理节点在检查多个主存储时,支持的最大并发度。 50 ≥0
primarystorage.delete.bits.garbage.on 默认为true,创建云主机/云盘失败后,用于设置是否开启清理主存储上垃圾数据的功能。 true
  • true
  • false
primarystorage.delete.bits.garbageCollector.interval 默认为600,单位为秒,用于设置主存储上垃圾回收的时间间隔。 600 ≥0
primarystorage.delete.bits.times 默认为50,单位为次,用于设置主存储上垃圾回收重复执行的次数。 50 ≥0
reservedCapacity 默认为1G,单位为T/G/M/K/B,用于设置主存储的保留容量。 1G >0
generate.config.vhost.required Set whether to generate the configuration required for Vhost storage. Default: false.
  • true: Generate the configuration required for Vhost storage.
  • false: Do not generate the configuration required for Vhost storage, unless a Vhost cloud disk is attached.
  • auto: Generate the required configuration only if Vhost storage is attached to the cluster where the VM instance resides; otherwise, do not generate it.
false
  • true
  • false
  • auto
CLI命令使用手册 | 5.5.30 | ZStack Cloud · ZCF | ZStack 资源中心