跳到主內容
版本:2.5

安裝

資訊

USB儲存裝置預設為被封鎖狀態。 若需存取 USB 裝置,請以管理員身分登入後,透過 CLI > tuning > configure 指令將調校選項 cubesys.probeusb 設定為 true

先決條件

匯入映像檔 - rancher-cluster-image

下載

controller:image> import
1: usb
2: local
Enter index: 2
1: rancher-cluster-image.vmdk
Enter index: 1
Specify image name: rancher-cluster-image
Select domain:
1: default
Enter index: 1
Select tenant:
1: admin
Enter index: 1
Visibility:
1: public
2: private
Enter index: 1
Importing...
[15:21:03] Converting image to RAW format ...
(100.00/100%)
[15:21:18] Calculating RAW image checksum ... 7fec992e0cbada35598a715917bec28a (MD5)
[15:21:47] Creating image rancher-cluster-image ...
[15:23:19] Validating checksum: OK
Importing rancher-cluster-image complete. It is safe to remove the local image
file.

匯入映像檔 - amphora

下載

controller:image> import_lb
1: usb
2: local
Enter index: 2
1: amphora-haproxy-wallaby.qcow2
Enter index: 1
Importing...
[15:27:58] Converting image to RAW format ...
(100.00/100%)
[15:27:59] Calculating RAW image checksum ... 6077be4a5096584b704f3fe854182f95 (MD5)
[15:28:05] Creating image amphora-x64-haproxy ...
[15:23:19] Validating checksum: OK
Importing rancher-cluster-image complete. It is safe to remove the local image
file.

安裝 AppFramework

  • 管理網絡:公共
  • 外部網路:公開
  • 管理 IP (負載平衡器):10.32.14.10

controller:app> framework_install public public 10.32.14.10
installing app-framework...
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

PLAY [openstack] **********************************************************************************************************************************************************************************************************************************************

TASK [Gathering Facts] ****************************************************************************************************************************************************************************************************************************************
ok: [localhost]

TASK [Gather information about management network] ************************************************************************************************************************************************************************************************************
ok: [localhost]

TASK [Gather information about management subnet] *************************************************************************************************************************************************************************************************************
ok: [localhost]

TASK [Show management subnet CIDR] ****************************************************************************************************************************************************************************************************************************
ok: [localhost] => {
"msg": "10.32.0.0/16"
}

TASK [openstack.cloud.project] ********************************************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [openstack.cloud.quota] **********************************************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [openstack.cloud.identity_user] **************************************************************************************************************************************************************************************************************************
[WARNING]: Module did not set no_log for update_password
changed: [localhost]

TASK [openstack.cloud.role_assignment] ************************************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [openstack.cloud.role_assignment] ************************************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [openstack.cloud.network] ********************************************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [openstack.cloud.subnet] *********************************************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [openstack.cloud.network] ********************************************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [openstack.cloud.subnet] *********************************************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [openstack.cloud.subnet] *********************************************************************************************************************************************************************************************************************************
skipping: [localhost]

TASK [openstack.cloud.router] *********************************************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [openstack.cloud.router] *********************************************************************************************************************************************************************************************************************************
skipping: [localhost]

TASK [openstack.cloud.security_group] *************************************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [openstack.cloud.security_group_rule] ********************************************************************************************************************************************************************************************************************
changed: [localhost] => (item=IPv4)
changed: [localhost] => (item=IPv6)

TASK [openstack.cloud.security_group_rule] ********************************************************************************************************************************************************************************************************************
changed: [localhost]

TASK [openstack.cloud.security_group_rule] ********************************************************************************************************************************************************************************************************************
changed: [localhost] => (item=22)
changed: [localhost] => (item=80)
changed: [localhost] => (item=443)
changed: [localhost] => (item=2376)
changed: [localhost] => (item=6443)

TASK [openstack.cloud.security_group_rule] ********************************************************************************************************************************************************************************************************************
changed: [localhost] => (item=tcp)
changed: [localhost] => (item=udp)

PLAY RECAP ****************************************************************************************************************************************************************************************************************************************************
localhost : ok=19 changed=15 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0

Installing app-framework cluster
Waiting for cluster to be active. State: provisioning. Time elapsed: 30 secs
Waiting for cluster to be active. State: provisioning. Time elapsed: 60 secs

app-framework installed successfully