本文主要是介绍CloudStack全局配置参数,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
参数 | 描述 | 类型 | 默认值 |
| 清除用户账户所需要等待的时间(秒) | 整数 | 86400 |
agent.lb.enabled | If agent load balancing enabled in cluster setup | true/false | false |
agent.load.threshold | Percentage (as a value between 0 and 1) of connected agents after which agent load balancing will start happening | 小数(0~1) | 0.7 |
| Alert发送到邮箱地址,以逗号分隔 | 邮箱 | NULL |
| 发送Alert的邮箱地址 | 邮箱 | NULL |
| Alert清理时间(秒),清理掉超过该时间的Alert | 整数 | 0(不清理Alert) |
| Alert清理线程间隔时间(秒) | 整数 | 86400 |
| Alert发送邮件smtp socket连接超时时间(毫秒) | 整数 | 30000(-1则不设定超时) |
| Alert发送邮件SMTP主机地址 | 主机名 | NULL |
| Alert发送邮件SMTP密码,仅在alert.smpt.useAuth为true的时候需要 | 字符串 | NULL |
| Alert发送邮件SMTP服务端口 | 端口 | 465 |
| Alert发送邮件smtp socket I/O超时时间(毫秒) | 整数 | 30000(-1则不超时) |
| Alert发送邮件SMTP服务是否加密 | true/false | NULL |
| Alert发送邮件SMTP账户,仅在alert.smtp.useAuth为true的时候有效 | 字符串 | NULL |
alert.wait | Seconds to wait before alerting on a disconnected agent | true/false | NULL |
| 允许用户创建public属性的模板 | true/false | true |
| 允许sub domain使用parent domain的专有网络 | true/false | true |
| 允许用户创建project | true/false | true |
api.throttling.cachesize | Account based API count cache size | 整数 | 50000 |
api.throttling.enabled | Enable/Disable Api rate limit | rue/false | false |
api.throttling.interval | Time interval (in seconds) to reset API count | 整数 | 1 |
api.throttling.max | Max allowed number of APIs within fixed interval | 整数 | 25 |
apply.allocation.algorithm.to.pods | If true, deployment planner applies the allocation heuristics at pods first in the given datacenter during VM resource allocation | rue/false | false |
| 备份快照超时时间(秒 | 整数 | 21600 |
baremetal.ipmi.fail.retry | ipmi interface will be temporary out of order after power opertions(e.g. cycle, on), it leads following commands fail immediately. The value specifies retry times before accounting it as real failure | default | |
baremetal.ipmi.lan.interface | option specified in -I option of impitool. candidates are: open/bmc/lipmi/lan/lanplus/free/imb, see ipmitool man page for details. default valule "default" means using default option of ipmitool | default | |
blacklisted.routes | Routes that are blacklisted, can not be used for Static Routes creation for the VPC Private Gateway | NULL | |
| 检查配额时间间隔(毫秒) | 整数 | 300000 |
| VM Stop和释放CPU内存资源之间的时间间隔(秒) | 整数 | 3600 |
| 检查POD是否使用相同CIDR,true的话,不同的POD必须属于不同的CIDR | true/false | true |
| 为GSLB(全局负载均衡)服务提供的DNS名 | 字符串 | NULL |
| Cluster中CPU分配率上限,CPU分配量/CPU可用量不能超过该值 | 类型:小数(0~1) | 0.85 |
| Cluster中,CPU分配率报警值,CPU分配量/CPU可用量超过该值则发送Alert | 类型:小数(0~1) | 0.75 |
| Cluster中,localStorage分配率报警值,localStorage分配量/localStorage可用量超过该值则发送Alert | 类型:小数(0~1) | 0.75 |
| Cluster中memory分配率上限,memory分配量/memory可用量不能超过该值 | 类型:小数(0~1) | 0.85 |
| Cluster中,memory分配率报警值,memory分配量/memory可用量超过该值则发送Aler | 类型:小数(0~1) | 0.75 |
cluster.message.timeout.seconds | Time (in seconds) to wait before a inter-management server message post times out. | 整数 | 300 |
| Cluster中,storage分配率报警值,storage分配量/storage可用量超过该值则发送Alert | 类型:小数(0~1) | 0.75 |
| Cluster中,storage使用率报警值,storage使用量/storage总量超过该值则发送Alert | 类型:小数(0~1) | 0.75 |
| 每台主机并发执行的Snapshot线程数 | 整数 | NULL(不限制) |
| Console proxy最小备用Session数,用来保证系统是否能及时提供服务 | 整数 | 10 |
| Console proxy定期检查时间间隔(秒),系统定期检查是否需要更多的Console proxy来保证最小备用量 | 整数 | 30000 |
| Console proxy和management Server通信端口 | 端口 | 8001 |
| 禁用Console proxy VM public IP的rp_filter | true/false | true |
| 一个zone可以拥有的最大Console proxy实例数 | 整数 | 10 |
| Console proxy负载检查时间间隔(毫秒) | 整数 | 10000 |
consoleproxy.management.state | console proxy service management state | Auto | |
consoleproxy.management.state.last | last console proxy service management state | Auto | |
consoleproxy.restart | Console proxy restart flag, defaulted to true | true/false | true |
| Console proxy计算服务类型 | 计算服务UUID | NULL(使用系统默认类型) |
| 每个Console proxy拥有的最大Session数 | 整数 | 50 |
| Console proxy Session超时时间(毫秒) | 整数 | 30000 |
| Console proxy URL domain | domain name | realhostip.com(必须可以访问到此域名) |
| 用于control network通信,默认为link-local,每个POD必须唯一 | CIDR | 169.254.0.0/16 |
| control network 网关 | IP | 169.254.0.1 |
| 磁盘copy超时时间 | 整数 | 10800 |
| CPU超配倍数,CPU可用量=CPU总量*超配倍数 | 整数 | 1(不超配) |
| 从快照创建模板超时时间(秒) | 整数 | 10800 |
| 从卷创建模板超时时间(秒) | 整数 | 10800 |
| 从快照创建卷超时时间(秒) | 整数 | 10800 |
| 允许用户创建磁盘最大值(GB) | 整数 | 1024 |
| 允许用户创建磁盘最小值(GB) | 整数 | 1 |
| list API默认一页大小 | 整数 | 500 |
detail.batch.query.size | Default entity detail batch query size for listing | 整数 | 2000 |
| 开发者模式 | true/false | true |
direct.agent.load.size | The number of direct agents to load each time | 整数 | 16 |
direct.agent.pool.size | Default size for DirectAgentPool | 整数 | 500 |
direct.agent.scan.interval | Time interval (in seconds) to run the direct agent scan task. | 整数 | 90 |
direct.attach.network.externalIpAllocator.enabled | Direct-attach VMs using external DHCP server | true/false | false |
direct.attach.network.externalIpAllocator.url | Direct-attach VMs using external DHCP server (API url) | NULL | |
direct.network.no.default.route | Direct Network Dhcp Server should not send a default route | true/false | false |
| 在Traffic Monitor采集数据间隔时间 | 整数 | 86400 |
| 禁用模板/ISO下载 | true/false | false |
eip.use.multiple.netscalers | Should be set to true, if there will be multiple NetScaler devices providing EIP service in a zone | true/false | false |
enable.baremetal.securitygroup.agent.echo | After starting provision process, periodcially echo security agent installed in the template. Treat provisioning as success only if echo successfully | true/false | false |
enable.dynamic.scale.vm | Enables/Diables dynamically scaling a vm | true/false | false |
| 启用EC2 API | true/false | false |
| 启用HA过程中,对主存储动态迁移 | true/false | true |
| 启用S3 API | true/false | false |
| 启用Usage Server | true/false | true |
| 对API请求进行URL转码 | true/false | false |
endpointe.url | Endpointe Url | http://localhost:8080/client/api | |
event.purge.delay | Events older than specified number days will be purged. Set this value to 0 to never delete events | 整数 | 15 |
| Event清理线程允许时间间隔(秒) | 整数 | 86400 |
| hyperviser执行command(StartCommand, StopCommand, CopyCommand)是否序列化,true则顺序执行,false则同时执行 | true/false | true |
| 执行网络节点command(DhcpEntryCommand, SavePasswordCommand, UserDataCommand, VmDataCommand)是否序列化,true则顺序执行,false则同时执行 | true/false | true |
| 清理VM等待时间(秒),默认=expunge.interval | 整数 | 86400 |
| 清理VM线程允许时间间隔(秒) | 整数 | 86400 |
| 清理VM线程数 | 整数 | 1 |
external.baremetal.resource.classname | class name for handling external baremetal resource | NULL | |
external.baremetal.system.url | url of external baremetal system that CloudStack will talk to | URL | NULL |
external.firewall.default.capacity | default number of networks permitted per external load firewall device | 整数 | 50 |
external.lb.default.capacity | default number of networks permitted per external load balancer device | 整数 | 50 |
external.network.stats.interval | Interval (in seconds) to report external network statistics. | 整数 | 300 |
extract.url.cleanup.interval | The interval (in seconds) to wait before cleaning up the extract URL's | 整数 | 7200 |
extract.url.expiration.interval | The life of an extract URL after which it is deleted | 整数 | 14400 |
guest.vlan.bits | The number of bits to reserve for the VLAN identifier in the guest subnet. | 整数 | 12 |
| HA tag,含有该tag的HOST,只能用于HA | 字符串 | |
| HA线程数 | 整数 | 5 |
healthcheck.update.interval | Time Interval to fetch the LB health check states (in sec) | 整数 | 600 |
| management Server IP(用于管理网段) | IP | 初始化DB的时候自动获取 |
| 主机资源类型,用于deployment planner分配VM资源时为Cluster排序 | CPU/RAM | CPU |
| 主机预留资源检查时间间隔(毫秒) | 整数 | 300000 |
| 在某Host上创建卷的重试此时 | 整数 | 2 |
| Host stats获取时间间隔(毫秒) | 整数 | 60000 |
| 该版本支持的Hyperviser List | KVM, XenServer, VMware, BareMetal, Ovm, LXC | KVM, XenServer, VMware, BareMetal, Ovm, LXC |
| 登陆错误尝试次数,超过则user会被禁用 | 整数 | 5 |
| 创建VM的名字后缀 | 字符串 | VM |
| API端口 | 端口 | 8096 |
internallbvm.service.offering | Uuid of the service offering used by internal lb vm; if NULL - default system internal lb offering will be used | NULL | |
interval.baremetal.securitygroup.agent.echo | Interval to echo baremetal security group agent, in seconds | 整数 | 10 |
investigate.retry.interval | Time (in seconds) between VM pings when agent is disconnected | 整数 | 60 |
job.cancel.threshold.minutes | Time (in minutes) for async-jobs to be forcely cancelled if it has been in process for long | 整数 | 60 |
job.expire.minutes | Time (in minutes) for async-jobs to be kept in system | 整数 | 1440 |
json.content.type | Http response content type for .js files (default is text/javascript) | text/javascript | |
| 是否启用KVM 的VM快照功能 | true/false | false |
| 是否允许Management Server以SSH方式登录KVM agent;类型:true/false | true/false | true |
| 管理网段CIDR | CIDR | 自动获取当前host ip的cidr |
| 一个用户所能分配的最大CPU数量 | 整数 | 40 |
| 一个用户所能分配的最大内存大小(MB) | 整数 | 40960 |
| 一个用户最多能创建的网络数量 | 整数 | 20 |
| 一个用户所能分配的最大存储大小(GB) | 整数 | 200 |
| 用户最多拥有的public IP数量 | 整数 | 20 |
| 一个用户所能分配的最大二级存储大小(GB) | 整数 | 400 |
| 用户最多创建的Snapshot数量 | 整数 | 20 |
| 用户最多创建的模板数量 | 整数 | 20 |
| 用户最多创建的VM数量 | 整数 | 20 |
| 用户最多创建的卷数量 | 整数 | 20 |
| 用户最多分配的VCPU数量 | 整数 | 20 |
| 一个项目能分配的最大CPU数量 | 整数 | 40 |
| 一个项目能分配的最大内存大小(MB) | 整数 | 40960 |
| 一个项目能创建的最大Network数 | 整数 | 20 |
| 一个项目能分配的最大存储大小(GB) | 整数 | 200 |
| 一个项目能拥有的最大public ip数量 | 整数 | 20 |
| 一个项目能分配的最大二级存储大小(GB) | 整数 | 400 |
| 一个project能创建的最大快照数 | 整数 | 20 |
| 一个project能创建的最大模板数 | 整数 | 20 |
| 一个project能创建的最大VM数 | 整数 | 20 |
| 一个project能创建的最大卷数量 | 整数 | 20 |
| 一个project可以创建的最大VPC数 | 整数 | 20 |
| 最大模板/ISOsize(GB) | 整数 | 50 |
| 内存超配倍数,内存可用量=内存总量*超配倍数 | 整数 | 1(不超配) |
| 指定Midonet API Server(如果使用Midonet) | URL | http://localhost:8081 |
| 使用Midonet的情况下,指定Modonet provider router的uuid | UUID | d7c5e6a3-e2f4-426b-b728-b7ce6a0448e5(未测试,此值来自DB) |
| migrate重试时间间隔(秒) | 整数 | 120 |
| migrate超时时间(秒) | 整数 | 3600 |
| 二级存储在Management Server上的挂载点 | Linux 路径 | /mnt |
| Domain Router VM public网络禁用rp_filter | true/false | true |
network.dns.basiczone.updates | This parameter can take 2 values: all (default) and pod. It defines if DHCP/DNS requests have to be send to all dhcp servers in cloudstack, or only to the one in the same pod | all | |
network.gc.interval | Seconds to wait before checking for networks to shutdown | 整数 | 600 |
network.gc.wait | Time (in seconds) to wait before shutting down a network that's not in used | 整数 | 600 |
network.guest.cidr.limit | size limit for guest cidr; can't be less than this value | 整数 | 22 |
network.ipv6.search.retry.max | The maximum number of retrying times to search for an available IPv6 address in the table | 整数 | 10000 |
network.loadbalancer.basiczone.elb.enabled | The maximum number of retrying times to search for an available IPv6 address in the table | true/false | false |
network.loadbalancer.basiczone.elb.gc.interval.minutes | Garbage collection interval to destroy unused ELB vms in minutes. Minimum of 5 | 整数 | 30 |
network.loadbalancer.basiczone.elb.network | Whether the elastic load balancing service public ips are taken from the public or guest network | guest | |
network.loadbalancer.basiczone.elb.vm.cpu.mhz | CPU speed for the elastic load balancer vm | 整数 | 128 |
network.loadbalancer.basiczone.elb.vm.ram.size | Memory in MB for the elastic load balancer vm | 整数 | 128 |
network.loadbalancer.basiczone.elb.vm.vcpu.num | Number of VCPU for the elastic load balancer vm | 整数 | 1 |
| LB(HAProxy)当前链接的最大数 | 整数 | 4096 |
network.loadbalancer.haproxy.stats.auth | Load Balancer(haproxy) authetication string in the format username:password | admin1:AdMiN123 | |
network.loadbalancer.haproxy.stats.port | Load Balancer(haproxy) stats port number. | 端口 | 8081 |
network.loadbalancer.haproxy.stats.uri | Load Balancer(haproxy) uri. | /admin?stats | |
network.loadbalancer.haproxy.stats.visibility | Load Balancer(haproxy) stats visibilty, the value can be one of the following six parameters : global,guest-network,link-local,disabled,all,default | global | |
network.lock.timeout | Lock wait timeout (seconds) while implementing network | 整数 | 600 |
network.securitygroups.work.cleanup.interval | Time interval (seconds) in which finished work is cleaned up from the work table | 整数 | 120 |
network.securitygroups.work.lock.timeout | Lock wait timeout (seconds) while updating the security group work queue | 整数 | 300 |
network.securitygroups.work.per.agent.queue.size | The number of outstanding security group work items that can be queued to a host. If exceeded, work items will get dropped to conserve memory. Security Group Sync will take care of ensuring that the host gets updated eventually | 整数 | 100 |
network.securitygroups.workers.pool.size | Number of worker threads processing the security group update work queue | 整数 | 50 |
network.throttling.rate | Default data transfer rate in megabits per second allowed in network. | 整数 | 200 |
ping.interval | Ping interval in seconds | 整数 | 60 |
ping.timeout | Multiplier to ping.interval before announcing an agent has timed out | 浮点数 | 2.5 |
| POD中私有IP分配率告警值,超过此值则发送Alert | 小数(0~1) | 0.75 |
| 主存储已分配比率上限,超过此值则不能继续分配主存储 | 小数(0~1) | 0.85 |
| 主存储已使用比率上限,超过此值则不能继续分配主存储 | 小数(0~1) | 0.85 |
port | Port to listen on for agent connection. | 端口 | 8250 |
| 在二级存储向主存储传输模板超时时间(秒);类型:整数;默认10800 | 整数 | |
project.email.sender | Sender of project invitation email (will be in the From header of the email) | 邮箱 | NULL |
| 添加一个用户到project的时候,是否发送请求 | true/false | false |
| 添加用户邀请超时时间 | 整数 | 86400 |
project.smtp.host | SMTP hostname used for sending out email project invitations | NULL | |
project.smtp.password | Password for SMTP authentication (applies only if project.smtp.useAuth is true) | NULL | |
project.smtp.port | Port the SMTP server is listening on | 端口 | |
project.smtp.useAuth | If true, use SMTP authentication when sending emails | true/false | NULL |
project.smtp.username | Username for SMTP authentication (applies only if project.smtp.useAuth is true) | NULL | |
| 是否在启动系统虚拟机的时候,重建root卷 | true/false | false |
remote.access.vpn.client.iprange | The range of ips to be allocated to remote access vpn clients. The first ip in the range is used by the VPN server | 10.1.2.1-10.1.2.8 | |
remote.access.vpn.psk.length | The length of the ipsec preshared key (minimum 8, maximum 256) | 整数 | 24 |
remote.access.vpn.user.limit | The maximum number of VPN users that can be created per account | 整数 | 8 |
resourcecount.check.interval | Time (in seconds) to wait before retrying resource count check task. Default is 0 which is to never run the task | 整数 | 0 |
| VM重启超时时间(秒) | 整数 | 600 |
router.check.interval | Interval (in seconds) to report redundant router status. | 整数 | 30 |
router.check.poolsize | Numbers of threads using to check redundant router status. | 整数 | 10 |
| vrouter默认CPU速度(MHz) | 整数 | 500 |
router.extra.public.nics | specify extra public nics used for virtual router(up to 5) | 整数 | 2 |
router.stats.interval | Interval (in seconds) to report router statistics. | 整数 | 300 |
| HyperV环境的vrouter模板名字 | 模板名字 | SystemVM Template (HyperV) |
| KVM环境的vrouter模板名字 | 模板名字 | SystemVM Template (KVM) |
| LXC环境的vrouter模板名字 | 模板名字 | SystemVM Template (LXC) |
| Vmware环境的vrouter模板 | 模板名字 | SystemVM Template (vSphere) |
| XenServer环境的vrouter模板 | 模板名字 | SystemVM Template (XenServer) |
| 启用S3 RRS | true/false | false |
s3.singleupload.max.size | The maximum size limit for S3 single part upload API(in GB). If it is set to 0, then it means always use multi-part upload to upload object to S3. If it is set to -1, then it means always use single-part upload to upload object to S3. | 整数 | 5 |
| 对L2-in-L3网络,启用Open vSwitch SDN controller | true/false | false |
| 对GRE endpoint使用网卡的默认Network label | Network Label | cloud-public |
| 环境中,private IP相同网段上传模板/ISO需要在此设置该网段的CIDR,以逗号分隔,0.0.0.0是非法字段 | CIDR | NULL |
secstorage.capacity.standby | The minimal number of command execution sessions that system is able to serve immediately(standby capacity) | 整数 | 10 |
secstorage.cmd.execution.time.max | The max command execution time in minute | 整数 | 30 |
secstorage.encrypt.copy | Use SSL method used to encrypt copy traffic between zones | true/false | true |
| 二级存储虚拟机代理 | http://username:password@proxyserver:port | NULL |
| 二级存储虚拟机计算服务类型 | 计算服务UUID | NULL(使用默认服务) |
secstorage.session.max | The max number of command execution sessions that a SSVM can handle | 整数 | 50 |
secstorage.ssl.cert.domain | SSL certificate used to encrypt copy traffic between zones | realhostip.com | |
secstorage.vm.mtu.size | MTU size (in Byte) of storage network in secondary storage vms | 整数 | 1500 |
security.singlesignon.key | A Single Sign-On key used for logging into the cloud | s3ZbaX1_Oc1scuMuT3MDsKYUIRtF1ob1e2AtTYFLjZp-NPQwJa4g_PYsQwodJxV8h5qXNnkGPaSmbUsnX7z_kQ | |
security.singlesignon.tolerance.millis | The allowable clock difference in milliseconds between when an SSO login request is made and when it is received. | 整数 | 300000 |
site2site.vpn.customergateway.subnets.limit | The maximum number of subnets per customer gateway | 整数 | 10 |
site2site.vpn.vpngateway.connection.limit | The maximum number of VPN connection per VPN gateway | 整数 | 4 |
| 在Snapshot完成后,立刻进行备份 | true/false | true |
| 两次全量快照之间,最多的增量快照数 | 整数 | 16 |
| 每天最多快照数 | 整数 | 8 |
| 每小时最多快照数 | 整数 | 8 |
| 每月最多快照数 | 整数 | 8 |
| 每周最多快照数 | 整数 | 8 |
snapshot.poll.interval | The time interval in seconds when the management server polls for snapshots to be scheduled. | 整数 | 300 |
sortkey.algorithm | Sort algorithm for those who use sort key(template, disk offering, service offering, network offering), true means ascending sort while false means descending sort | true/false | false |
| Create 和Start VM重试次数 | 整数 | 10 |
| 两次重试Stop或Destroy VM的间隔时间(秒) | 整数 | 600 |
storage.cache.replacement.enabled | enable or disable cache storage replacement algorithm. | true/false | true |
storage.cache.replacement.interval | time interval between cache replacement threads (in seconds). | 整数 | 86400 |
storage.cache.replacement.lru.interval | time interval for unused data on cache storage (in days). | 整数 | 30 |
| 启用清理存储线程 | true/false | true |
| 清理存储线程运行时间间隔(秒) | 整数 | 86400 |
| volume最大size(GB) | 整数 | 2000 |
| 上传Volume最大size(GB) | 整数 | 500 |
| 主存储超配倍数,主存储可用量=主存储总量*超配倍数 | 整数 | 2 |
storage.pool.max.waitseconds | Timeout (in seconds) to synchronize storage pool operations. | 整数 | 3600 |
storage.stats.interval | The interval (in milliseconds) when storage stats (per host) are retrieved from agents. | 整数 | 60000 |
storage.template.cleanup.enabled | Enable/disable template cleanup activity, only take effect when overall storage cleanup is enabled | true/false | true |
| 集群状态sync时间间隔(秒) | 整数 | 60 |
system.vm.auto.reserve.capacity | Indicates whether or not to automatically reserver system VM standby capacity. | true/false | true |
system.vm.default.hypervisor | Hypervisor type used to create system vm | NULL | |
| 系统虚拟机第一次启动时自动修改随机密码 | true/false | false |
| 系统虚拟机使用本地存储 | true/false | false |
task.cleanup.retry.interval | Time (in seconds) to wait before retrying cleanup of tasks if the cleanup failed previously. 0 means to never retry. | 整数 | 600 |
timeout.baremetal.securitygroup.agent.echo | Timeout to echo baremetal security group agent, in seconds, the provisioning process will be treated as a failure | 整数 | 3600 |
total.retries | The number of times each command sent to a host should be retried in case of failure. | 整数 | 4 |
traffic.sentinel.exclude.zones | Traffic going into specified list of zones is not metered | ||
traffic.sentinel.include.zones | Traffic going into specified list of zones is metered. For metering all traffic leave this parameter empty | EXTERNAL | |
ucs.sync.blade.interval | the interval cloudstack sync with UCS manager for available blades in case user remove blades from chassis without notifying CloudStack | 整数 | 3600 |
update.wait | Time to wait (in seconds) before alerting on a updating agent | 整数 | 600 |
usage.aggregation.timezone | The timezone to use for usage stats aggregation | GMT | |
usage.execution.timezone | The timezone to use for usage job execution time | NULL | |
usage.sanity.check.interval | Interval (in days) to check sanity of usage data | 整数 | NULL |
usage.stats.job.aggregation.range | The range of time for aggregating the user statistics specified in minutes (e.g. 1440 for daily, 60 for hourly. | 整数 | 1440 |
usage.stats.job.exec.time | The time at which the usage statistics aggregation job will run as an HH24:MM time, e.g. 00:30 to run at 12:30am. | 00:15 | |
use.external.dns | Bypass internal dns, use external dns1 and dns2 | true/false | false |
use.system.guest.vlans | If true, when account has dedicated guest vlan range(s), once the vlans dedicated to the account have been consumed vlans will be allocated from the system pool | true/false | true |
use.system.public.ips | If true, when account has dedicated public ip range(s), once the ips dedicated to the account have been consumed ips will be acquired from the system pool | true/false | true |
| vm分配算法 | 'random', 'firstfit', 'userdispersing', 'userconcentratedpod_random', 'userconcentratedpod_firstfit' | random |
| vm部署策略 | 'FirstFitPlanner', 'UserDispersingPlanner', 'UserConcentratedPodPlanner' | FirstFitPlanner |
vm.destroy.forcestop | On destroy, force-stop takes this value | true/false | false |
| vm磁盘状态获取的时间间隔 | 整数 | 0(不获取状态) |
| vm磁盘读速度限制(bytes/second) | 整数 | 0(不限制) |
| vm磁盘写速度限制(bytes/second) | 整数 | 0(不限制) |
| vm磁盘每秒读请求次数限制 | 整数 | 0(不限制) |
| vm磁盘每秒写请求次数限制 | 整数 | 0(不限制) |
vm.instancename.flag | If set to true, will set guest VM's name as it appears on the hypervisor, to its hostname | true/false | false |
vm.network.throttling.rate | Default data transfer rate in megabits per second allowed in User vm's default network. | 整数 | 200 |
vm.op.cancel.interval | Time (in seconds) to wait before cancelling a operation | 整数 | 3600 |
vm.op.cleanup.interval | Interval to run the thread that cleans up the vm operations (in seconds) | 整数 | 86400 |
vm.op.cleanup.wait | Time (in seconds) to wait before cleanuping up any vm work items | 整数 | 3600 |
vm.op.lock.state.retry | Times to retry locking the state of a VM for operations | 整数 | 5 |
vm.op.wait.interval | Time (in seconds) to wait before checking if a previous operation has succeeded | 整数 | 120 |
| vm当前状态获取时间间隔(毫秒) | 整数 | 60000 |
vm.tranisition.wait.interval | Time (in seconds) to wait before taking over a VM in transition state | 整数 | 3600 |
vm.user.dispersion.weight | Weight for user dispersion heuristic (as a value between 0 and 1) applied to resource allocation during vm deployment. Weight for capacity heuristic will be (1 - weight of user dispersion) | 整数 | 1 |
| Vmware虚拟机快照创建超时时间(秒) | 整数 | 1800 |
| 一台Vmware虚拟机拥有的最大快照数量(虚拟机快照) | 整数 | 10 |
vmware.additional.vnc.portrange.size | Start port number of additional VNC port range | 整数 | 1000 |
vmware.additional.vnc.portrange.start | Start port number of additional VNC port range | 整数 | 50000 |
| Vmware虚拟机创建模式(full clone),如果true,则创建vm的时候,磁盘完整复制,如果false则以delta格式创建 | true/false | true |
vmware.hung.wokervm.timeout | Worker VM timeout in seconds | 整数 | 7200 |
vmware.management.portgroup | Specify the management network name(for ESXi hosts) | Management Network | |
| 启用Vmware嵌套虚拟化 | true/false | false |
vmware.ports.per.dvportgroup | Default number of ports per Vmware dvPortGroup in VMware environment | 整数 | 256 |
vmware.recycle.hung.wokervm | Specify whether or not to recycle hung worker VMs | true/false | false |
vmware.reserve.cpu | Specify whether or not to reserve CPU based on CPU overprovisioning factor | true/false | false |
vmware.reserve.mem | Specify whether or not to reserve memory based on memory overprovisioning factor | true/false | false |
| Vmware环境中VM Root卷类型 | scsi, ide | ide |
vmware.service.console | Specify the service console network name(for ESX hosts) | Service Console | |
| Vmware环境中,system vm网卡类型 | E1000, PCNet32, Vmxnet2, Vmxnet3 | E1000 |
| Vmware环境中,启动或禁用 Nexus/Vmware dvSwitch | true/false | false |
| Vmware环境中,启动或禁用 Cisco Nexus 1000v vSwitch | true/false | false |
vpc.cleanup.interval | The interval (in seconds) between cleanup for Inactive VPCs | 整数 | 3600 |
vpc.max.networks | Maximum number of networks per vpc | 整数 | 3 |
| control commands返回超时时间(秒) | 整数 | 1800 |
workers | Number of worker threads. | 整数 | 5 |
| Xenserver API返回超时时间(秒) | 整数 | 600 |
xen.bond.storage.nics | Attempt to bond the two networks if found | NULL | |
| XenServer自检间隔时间(秒) | 整数 | 60 |
| XenServer VM 允许的最大网卡数 | 整数 | 7 |
| XenServer环境中,pvdriver版本 | xenserver56, xenserver61 | xenserver61 |
xen.setup.multipath | Setup the host to do multipath | true/false | false |
zone.directnetwork.publicip.capacity.notificationthreshold | Percentage (as a value between 0 and 1) of Direct Network Public Ip Utilization above which alerts will be sent about low number of direct network public ips. | 小数(0~1) | 0.75 |
zone.secstorage.capacity.notificationthreshold | Percentage (as a value between 0 and 1) of secondary storage utilization above which alerts will be sent about low storage available. | 小数(0~1) | 0.75 |
zone.virtualnetwork.publicip.capacity.notificationthreshold | Percentage (as a value between 0 and 1) of public IP address space utilization above which alerts will be sent. | 小数(0~1) | 0.75 |
zone.vlan.capacity.notificationthreshold | Percentage (as a value between 0 and 1) of Zone Vlan utilization above which alerts will be sent about low number of Zone Vlans. | 小数(0~1) | 0.75 |
scale.retry | Number of times to retry scaling up the vm | 整数 | 2 |
guest.domain.suffix | Default domain name for vms inside virtualized networks fronted by router | cloud.internal | |
network.dhcp.nondefaultnetwork.setgateway.guestos | The guest OS's name start with this fields would result in DHCP server response gateway information even when the network it's on is not default network. Names are separated by comma. | Windows | |
network.securitygroups.defaultadding | If true, the user VM would be added to the default security group by default | true/false | true |
这篇关于CloudStack全局配置参数的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!