Revision 69aa7f21
b/docs/quick-install-admin-guide.rst | ||
---|---|---|
302 | 302 |
|
303 | 303 |
.. code-block:: console |
304 | 304 |
|
305 |
# rabbitmqctl add_user synnefo "examle_rabbitmq_passw0rd" |
|
305 |
# rabbitmqctl add_user synnefo "example_rabbitmq_passw0rd"
|
|
306 | 306 |
# rabbitmqctl set_permissions synnefo ".*" ".*" ".*" |
307 | 307 |
|
308 | 308 |
We do not need to initialize the exchanges. This will be done automatically, |
... | ... | |
1699 | 1699 |
|
1700 | 1700 |
.. code-block:: console |
1701 | 1701 |
|
1702 |
$ snf-manage backend-add --clustername=ganeti.example.com --user=cyclades --pass=example_rapi_passw0rd |
|
1702 |
$ snf-manage backend-add --clustername=ganeti.node1.example.com --user=cyclades --pass=example_rapi_passw0rd
|
|
1703 | 1703 |
|
1704 | 1704 |
You can see everything has been setup correctly by running: |
1705 | 1705 |
|
... | ... | |
1745 | 1745 |
|
1746 | 1746 |
.. code-block:: console |
1747 | 1747 |
|
1748 |
$ snf-manage network-create --subnet=5.6.7.0/27 |
|
1749 |
--gateway=5.6.7.1 |
|
1750 |
--subnet6=2001:648:2FFC:1322::/64 |
|
1751 |
--gateway6=2001:648:2FFC:1322::1 |
|
1752 |
--public --dhcp --type=CUSTOM_BRIDGED |
|
1753 |
--name=public_network |
|
1748 |
$ snf-manage network-create --subnet=5.6.7.0/27 \
|
|
1749 |
--gateway=5.6.7.1 \
|
|
1750 |
--subnet6=2001:648:2FFC:1322::/64 \
|
|
1751 |
--gateway6=2001:648:2FFC:1322::1 \
|
|
1752 |
--public --dhcp --type=CUSTOM_BRIDGED \
|
|
1753 |
--name=public_network \
|
|
1754 | 1754 |
--backend-id=1 |
1755 | 1755 |
|
1756 | 1756 |
This will create the Public Network on both Cyclades and the Ganeti backend. To |
... | ... | |
1898 | 1898 |
.. code-block:: console |
1899 | 1899 |
|
1900 | 1900 |
$ kamaki config set astakos.url "https://node1.example.com" |
1901 |
$ kamaki config set compute.url="https://node1.example.com/api/v1.1"
|
|
1902 |
$ kamaki config set image.url "https://node1.examle.com/plankton" |
|
1903 |
$ kamaki config set storage.url "https://node2.example.com/v1"
|
|
1904 |
$ kamaki config set storage.account "user@example.com"
|
|
1901 |
$ kamaki config set compute.url "https://node1.example.com/api/v1.1"
|
|
1902 |
$ kamaki config set image.url "https://node1.example.com/plankton"
|
|
1903 |
$ kamaki config set store.url "https://node2.example.com/v1" |
|
1904 |
$ kamaki config set global.account "user@example.com"
|
|
1905 | 1905 |
$ kamaki config set global.token "bdY_example_user_tokenYUff==" |
1906 | 1906 |
|
1907 | 1907 |
The token at the last kamaki command is our user's (``user@example.com``) token, |
... | ... | |
1955 | 1955 |
|
1956 | 1956 |
.. code-block:: console |
1957 | 1957 |
|
1958 |
$ kamaki image register "Debian Base" |
|
1959 |
pithos://user@examle.com/images/debian_base-6.0-7-x86_64.diskdump
|
|
1960 |
--public |
|
1961 |
--disk-format=diskdump |
|
1962 |
--property OSFAMILY=linux --property ROOT_PARTITION=1 |
|
1963 |
--property description="Debian Squeeze Base System" |
|
1964 |
--property size=451 --property kernel=2.6.32 --property GUI="No GUI" |
|
1958 |
$ kamaki image register "Debian Base" \
|
|
1959 |
pithos://user@example.com/images/debian_base-6.0-7-x86_64.diskdump \
|
|
1960 |
--public \
|
|
1961 |
--disk-format=diskdump \
|
|
1962 |
--property OSFAMILY=linux --property ROOT_PARTITION=1 \
|
|
1963 |
--property description="Debian Squeeze Base System" \
|
|
1964 |
--property size=451 --property kernel=2.6.32 --property GUI="No GUI" \
|
|
1965 | 1965 |
--property sortorder=1 --property USERS=root --property OS=debian |
1966 | 1966 |
|
1967 | 1967 |
This command registers the Pithos+ file |
1968 |
``pithos://user@examle.com/images/debian_base-6.0-7-x86_64.diskdump`` as an |
|
1968 |
``pithos://user@example.com/images/debian_base-6.0-7-x86_64.diskdump`` as an
|
|
1969 | 1969 |
Image in Plankton. This Image will be public (``--public``), so all users will |
1970 | 1970 |
be able to spawn VMs from it and is of type ``diskdump``. The first two |
1971 | 1971 |
properties (``OSFAMILY`` and ``ROOT_PARTITION``) are mandatory. All the rest |
Also available in: Unified diff