差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
linux:lxc:lxd [2018/07/27 10:23] – tenforward | linux:lxc:lxd [2018/07/30 09:17] (現在) – tenforward | ||
---|---|---|---|
行 4: | 行 4: | ||
< | < | ||
- | |||
ubuntu@lxd01: | ubuntu@lxd01: | ||
Would you like to use LXD clustering? (yes/no) [default=no]: | Would you like to use LXD clustering? (yes/no) [default=no]: | ||
What name should be used to identify this node in the cluster? [default=lxd01]: | What name should be used to identify this node in the cluster? [default=lxd01]: | ||
What IP address or DNS name should be used to reach this node? [default=10.200.200.101]: | What IP address or DNS name should be used to reach this node? [default=10.200.200.101]: | ||
- | Are you joining an existing cluster? (yes/no) [default=no]: | + | Are you joining an existing cluster? (yes/no) [default=no]: |
Setup password authentication on the cluster? (yes/no) [default=yes]: | Setup password authentication on the cluster? (yes/no) [default=yes]: | ||
Trust password for new clients: | Trust password for new clients: | ||
行 17: | 行 16: | ||
Create a new BTRFS pool? (yes/no) [default=yes]: | Create a new BTRFS pool? (yes/no) [default=yes]: | ||
Would you like to use an existing block device? (yes/no) [default=no]: | Would you like to use an existing block device? (yes/no) [default=no]: | ||
- | Path to the existing block device: / | + | Path to the existing block device: /dev/vdb1 |
Do you want to configure a new remote storage pool? (yes/no) [default=no]: | 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 connect to a MAAS server? (yes/no) [default=no]: | ||
行 54: | 行 53: | ||
type: disk | type: disk | ||
name: default | name: default | ||
+ | </ | ||
+ | < | ||
ubuntu@lxd02: | ubuntu@lxd02: | ||
Would you like to use LXD clustering? (yes/no) [default=no]: | Would you like to use LXD clustering? (yes/no) [default=no]: | ||
行 60: | 行 61: | ||
What IP address or DNS name should be used to reach this node? [default=10.200.200.102]: | What IP address or DNS name should be used to reach this node? [default=10.200.200.102]: | ||
Are you joining an existing cluster? (yes/no) [default=no]: | Are you joining an existing cluster? (yes/no) [default=no]: | ||
- | IP address or FQDN of an existing cluster node: lxd01 | + | IP address or FQDN of an existing cluster node: 10.200.200.101 |
- | Cluster fingerprint: | + | Cluster fingerprint: |
You can validate this fingerpring by running "lxc info" locally on an existing node. | You can validate this fingerpring by running "lxc info" locally on an existing node. | ||
Is this the correct fingerprint? | Is this the correct fingerprint? | ||
行 73: | 行 74: | ||
server_name: | server_name: | ||
enabled: true | enabled: true | ||
- | cluster_address: | + | cluster_address: |
cluster_certificate: | cluster_certificate: | ||
-----BEGIN CERTIFICATE----- | -----BEGIN CERTIFICATE----- | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | TllgpcYrX2yDJ1myE+hsesafe0Q70Tgt306cKq02AlMmvJwMJh9pi3x3hTzKhJtB |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | CSqGSIb3DQEBCwUAA4ICAQAakJ7sOKLnALWhFs/vUvRJ9fxU1V6MZ0CmKXEyt61o | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
-----END CERTIFICATE----- | -----END CERTIFICATE----- | ||
cluster_password: | cluster_password: | ||
行 119: | 行 120: | ||
devices: {} | devices: {} | ||
name: default | name: default | ||
- | | ||
- | ubuntu@lxd01: | ||
- | +-------+-----------------------------+----------+--------+-------------------+ | ||
- | | NAME | | ||
- | +-------+-----------------------------+----------+--------+-------------------+ | ||
- | | lxd01 | https:// | ||
- | +-------+-----------------------------+----------+--------+-------------------+ | ||
- | | lxd02 | https:// | ||
- | +-------+-----------------------------+----------+--------+-------------------+ | ||
- | |||
</ | </ |