Would you like to use LXD clustering? (yes/no) [default=no]: yes#是否要启用集群,yes What IP address or DNS name should be used to reach this server? [default=100.64.0.14]: 100.64.0.14 # 这里填入要访问这台机器控制端api的域名或ip,对于普通情况下,填入内网ip即可 Are you joining an existing cluster? (yes/no) [default=no]: no What member name should be used to identify this server in the cluster? [default=4080-2]: Do you want to configure a new local storage pool? (yes/no) [default=yes]: Name of the storage backend to use (zfs, btrfs, dir, lvm) [default=zfs]: Create a new ZFS pool? (yes/no) [default=yes]: Would you like to use an existing empty block device (e.g. a disk or partition)? (yes/no) [default=no]: # 是否要用一个单独的硬盘或分区来作为存储池,按实际需求填写即可 Size in GiB of the new loop device (1GiB minimum) [default=30GiB]: 1000GiB Do you want to configure a new remote storage pool? (yes/no) [default=no]: Would you like to connect to a MAAS server? (yes/no) [default=no]: Would you like to configure LXD to use an existing bridge or host interface? (yes/no) [default=no]: yes#是否使用配好的网络接口,yes(我们刚刚配了桥接接口) Name of the existing bridge or host interface: br0 #这里填入刚刚给桥接接口起的名 Would you like stale cached images to be updated automatically? (yes/no) [default=yes]: Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]:
Would you like to use LXD clustering? (yes/no) [default=no]: yes What IP address or DNS name should be used to reach this server? [default=172.17.0.1]: 100.64.0.15 #同上,一般填这台机器的内网地址 Are you joining an existing cluster? (yes/no) [default=no]: yes Do you have a join token? (yes/no/[token]) [default=no]: no What member name should be used to identify this server in the cluster? [default=ubuntu]: 3080-2 IP address or FQDN of an existing cluster member (may include port): 100.64.0.14 #这里填一号节点刚刚填入的访问地址 Cluster fingerprint: fb04d9240aef4ce4dc0137afc50fc2bbe29dbaca1d9c587b42882d21400c07bb You can validate this fingerprint by running "lxc info" locally on an existing cluster member. Is this the correct fingerprint? (yes/no/[fingerprint]) [default=no]: yes Cluster trust password: All existing data is lost when joining a cluster, continue? (yes/no) [default=no] yes Choose "size" property for storage pool "local": Choose "source" property for storage pool "local": Choose "zfs.pool_name" property for storage pool "local": Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]: