差分
このページの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----- | ||
- | | + | |
- | MRwwGgYDVQQKExNsaW51eGNvbnRhaW5lcnMub3JnMRMwEQYDVQQDDApyb290QGx4 | + | |
- | ZDAxMB4XDTE4MDcyNzA5NDgyOFoXDTI4MDcyNDA5NDgyOFowMzEcMBoGA1UEChMT | + | |
- | bGludXhjb250YWluZXJzLm9yZzETMBEGA1UEAwwKcm9vdEBseGQwMTCCAiIwDQYJ | + | |
- | KoZIhvcNAQEBBQADggIPADCCAgoCggIBAN5dI9aUxREyS3O+3MbpNyDe/ | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | 4r3Kk9HwszR+gql/6h/ | + | |
- | | + | |
- | xhOUC7hUnFC/ | + | |
- | | + | |
- | | + | |
- | KHUrZlmD4RI+TPIhueFA5lhsP/ | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | bo4y3GHFJ1hgyeur0Dx1SW5BcHTMTmjVIZkpwO4qtWUYGvKf355pxv9fEJFiq113 | + | |
- | E/RCmPniHkq/eDNJpyg+tgygcGqYshJtccN6MRWxu/ | + | |
- | | + | |
- | | + | |
- | igJiqJhxv5LIiDZBpOmvOPhUYlj/ | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | cluster_password: | + | |
- | networks: [] | + | |
- | storage_pools: | + | |
- | - config: | + | |
- | | + | |
- | description: | + | |
- | name: local | + | |
- | driver: btrfs | + | |
- | profiles: | + | |
- | - config: {} | + | |
- | description: | + | |
- | devices: {} | + | |
- | 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: | + | |
- | | + | |
- | MIIFPTCCAyWgAwIBAgIQNi0ltWXcy6oW4PBcNxgOfDANBgkqhkiG9w0BAQsFADAz | + | |
- | MRwwGgYDVQQKExNsaW51eGNvbnRhaW5lcnMub3JnMRMwEQYDVQQDDApyb290QGx4 | + | |
- | ZDAxMB4XDTE4MDcyNzA5NDgyOFoXDTI4MDcyNDA5NDgyOFowMzEcMBoGA1UEChMT | + | |
- | bGludXhjb250YWluZXJzLm9yZzETMBEGA1UEAwwKcm9vdEBseGQwMTCCAiIwDQYJ | + | |
- | KoZIhvcNAQEBBQADggIPADCCAgoCggIBAN5dI9aUxREyS3O+3MbpNyDe/fc0NzVp | + | |
- | LWpCpHjLZtGQYsJ/ | + | |
- | | + | |
- | 88/ | + | |
- | iespvryGwin/ | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | KHUrZlmD4RI+TPIhueFA5lhsP/ | + | |
- | P4vitUQGNwSnAgMBAAGjTTBLMA4GA1UdDwEB/ | + | |
- | BgEFBQcDATAMBgNVHRMBAf8EAjAAMBYGA1UdEQQPMA2CBWx4ZDAxhwQKyMhlMA0G | + | |
- | CSqGSIb3DQEBCwUAA4ICAQAakJ7sOKLnALWhFs/ | + | |
- | RS6SkLqRwjA8vlD0yVi8JruUMX1s2vL7hjSJn7/ | + | |
- | pf5qWXZASj0Fr971Jsg1khyo+7GPBdMb4zF3aDtEWjE3NW37qEOVs0zdcwxhnpjt | + | |
- | bo4y3GHFJ1hgyeur0Dx1SW5BcHTMTmjVIZkpwO4qtWUYGvKf355pxv9fEJFiq113 | + | |
- | E/ | + | |
- | qly/ | + | |
- | LYUeCIdMW6QQmb9PwO8EW3VV3mRWzqlhMFDBfU/ | + | |
- | igJiqJhxv5LIiDZBpOmvOPhUYlj/ | + | |
- | ZewhsDZABguFAyueF99VbLM0gyS+fDb5nZdMPR2bEqES352+aAQkMOWKFgmNlEyX | + | |
- | PWfbSOqesDlRZPiWYvjQN3n4Wst/ | + | |
- | RJVvwhxWLs7/ | + | |
- | | + | |
-----END CERTIFICATE----- | -----END CERTIFICATE----- | ||
cluster_password: | cluster_password: |