您可以使用 configure cloud 命令配置云,特别是为 SIP 配置云。
CLI 命令如下所示:
[admin:10-X-X-X]: > configure cloud cloud_sip Updating an existing object. Currently, the object is: +------------------------------+--------------------------------------------+ | Field | Value | +------------------------------+--------------------------------------------+ | uuid | cloud-20342e0f-a6a7-4dfe-b90d-1797d39bcc78 | | name | cloud_sip | | vtype | CLOUD_NONE | | apic_mode | False | | dhcp_enabled | False | | mtu | 1500 bytes | | prefer_static_routes | False | | enable_vip_static_routes | False | | license_type | LIC_CORES | | state_based_dns_registration | True | | tenant_ref | admin | | license_tier | ENTERPRISE_18 | +------------------------------+--------------------------------------------+
根据您的要求配置底层云设置。有关特定于云的配置,请参阅以下链接:
《VMware NSX Advanced Load Balancer 安装指南》中的“在 OpenStack 中安装 NSX Advanced Load Balancer”和“在无权访问模式下使用 Heat 模板创建服务引擎”主题。
《VMware NSX Advanced Load Balancer 安装指南》中的“在 VMware vSphere 环境中安装 NSX Advanced Load Balancer”主题。
注:
对于 OpenStack 无权访问云,必须将安全组规则配置为允许所需的 SIP 端口(5060/5061 或任何非默认端口)。
以下 CLI 命令将显示 vCenter 云配置:
[admin:10-X-X-X]: > show cloud cloud_sip +------------------------------+--------------------------------------------+ | Field | Value | +------------------------------+--------------------------------------------+ | uuid | cloud-20342e0f-a6a7-4dfe-b90d-1797d39bcc78 | | name | cloud_sip | | vtype | CLOUD_VCENTER | | vcenter_configuration | | | username | root | | password | password | | vcenter_url | 10.1.1.1 | | privilege | WRITE_ACCESS | | datacenter | SantaClara | | apic_mode | False | | dhcp_enabled | False | | mtu | 1500 bytes | | prefer_static_routes | False | | enable_vip_static_routes | False | | license_type | LIC_CORES | | state_based_dns_registration | True | | tenant_ref | admin | | license_tier | ENTERPRISE_18 | +------------------------------+--------------------------------------------+