差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
linux:lxc:lxd [2018/07/27 10:22] – 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]: | ||
行 62: | 行 62: | ||
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: 10.200.200.101 | 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? | ||
Cluster trust password: | Cluster trust password: | ||
- | All existing data is lost when joining a cluster, continue? (yes/no) [default=no] yes | + | All existing data is lost when joining a cluster, continue? (yes/no) [default=no] yes |
Choose the local disk or dataset for storage pool " | Choose the local disk or dataset for storage pool " | ||
Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]: | Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]: | ||
行 77: | 行 77: | ||
cluster_certificate: | cluster_certificate: | ||
-----BEGIN CERTIFICATE----- | -----BEGIN CERTIFICATE----- | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | TllgpcYrX2yDJ1myE+hsesafe0Q70Tgt306cKq02AlMmvJwMJh9pi3x3hTzKhJtB |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | CSqGSIb3DQEBCwUAA4ICAQAakJ7sOKLnALWhFs/vUvRJ9fxU1V6MZ0CmKXEyt61o | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
-----END CERTIFICATE----- | -----END CERTIFICATE----- | ||
cluster_password: | cluster_password: | ||
行 120: | 行 120: | ||
devices: {} | devices: {} | ||
name: default | name: default | ||
- | |||
- | ubuntu@lxd02: | ||
- | Would you like to use LXD clustering? (yes/no) [default=no]: | ||
- | What name should be used to identify this node in the cluster? [default=lxd02]: | ||
- | 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]: | ||
- | IP address or FQDN of an existing cluster node: lxd01 | ||
- | Cluster fingerprint: | ||
- | You can validate this fingerpring by running "lxc info" locally on an existing node. | ||
- | Is this the correct fingerprint? | ||
- | Cluster trust password: | ||
- | All existing data is lost when joining a cluster, continue? (yes/no) [default=no] yes | ||
- | Choose the local disk or dataset for storage pool " | ||
- | Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]: | ||
- | config: | ||
- | core.https_address: | ||
- | cluster: | ||
- | server_name: | ||
- | enabled: true | ||
- | cluster_address: | ||
- | cluster_certificate: | ||
- | -----BEGIN CERTIFICATE----- | ||
- | MIIFPTCCAyWgAwIBAgIQNi0ltWXcy6oW4PBcNxgOfDANBgkqhkiG9w0BAQsFADAz | ||
- | MRwwGgYDVQQKExNsaW51eGNvbnRhaW5lcnMub3JnMRMwEQYDVQQDDApyb290QGx4 | ||
- | ZDAxMB4XDTE4MDcyNzA5NDgyOFoXDTI4MDcyNDA5NDgyOFowMzEcMBoGA1UEChMT | ||
- | bGludXhjb250YWluZXJzLm9yZzETMBEGA1UEAwwKcm9vdEBseGQwMTCCAiIwDQYJ | ||
- | KoZIhvcNAQEBBQADggIPADCCAgoCggIBAN5dI9aUxREyS3O+3MbpNyDe/ | ||
- | LWpCpHjLZtGQYsJ/ | ||
- | 6c6S0rcJc+mBKJTvq2+gGRuvA8CL4UQKeSrtFli3x/ | ||
- | 88/ | ||
- | iespvryGwin/ | ||
- | 4r3Kk9HwszR+gql/ | ||
- | jib+mLGKYLr75q8eOrkK/ | ||
- | xhOUC7hUnFC/ | ||
- | VtCZqra9EE+bDMTC0FHSwzzGpHtTWoZ/ | ||
- | 9k3NhWdT1jPg++3BVmVXC6FWOnqUoljUc7YPxF62HbHrJU3m0PrU/ | ||
- | KHUrZlmD4RI+TPIhueFA5lhsP/ | ||
- | P4vitUQGNwSnAgMBAAGjTTBLMA4GA1UdDwEB/ | ||
- | BgEFBQcDATAMBgNVHRMBAf8EAjAAMBYGA1UdEQQPMA2CBWx4ZDAxhwQKyMhlMA0G | ||
- | CSqGSIb3DQEBCwUAA4ICAQAakJ7sOKLnALWhFs/ | ||
- | RS6SkLqRwjA8vlD0yVi8JruUMX1s2vL7hjSJn7/ | ||
- | pf5qWXZASj0Fr971Jsg1khyo+7GPBdMb4zF3aDtEWjE3NW37qEOVs0zdcwxhnpjt | ||
- | bo4y3GHFJ1hgyeur0Dx1SW5BcHTMTmjVIZkpwO4qtWUYGvKf355pxv9fEJFiq113 | ||
- | E/ | ||
- | qly/ | ||
- | LYUeCIdMW6QQmb9PwO8EW3VV3mRWzqlhMFDBfU/ | ||
- | igJiqJhxv5LIiDZBpOmvOPhUYlj/ | ||
- | ZewhsDZABguFAyueF99VbLM0gyS+fDb5nZdMPR2bEqES352+aAQkMOWKFgmNlEyX | ||
- | PWfbSOqesDlRZPiWYvjQN3n4Wst/ | ||
- | RJVvwhxWLs7/ | ||
- | gg== | ||
- | -----END CERTIFICATE----- | ||
- | cluster_password: | ||
- | networks: [] | ||
- | storage_pools: | ||
- | - config: | ||
- | source: /dev/vdb1 | ||
- | description: | ||
- | name: local | ||
- | driver: btrfs | ||
- | profiles: | ||
- | - config: {} | ||
- | description: | ||
- | devices: {} | ||
- | name: default | ||
- | | ||
- | ubuntu@lxd01: | ||
- | +-------+-----------------------------+----------+--------+-------------------+ | ||
- | | NAME | | ||
- | +-------+-----------------------------+----------+--------+-------------------+ | ||
- | | lxd01 | https:// | ||
- | +-------+-----------------------------+----------+--------+-------------------+ | ||
- | | lxd02 | https:// | ||
- | +-------+-----------------------------+----------+--------+-------------------+ | ||
- | |||
</ | </ |