Revision 62b10e3f
b/docs/quick-install-admin-guide.rst | ||
---|---|---|
586 | 586 |
|
587 | 587 |
.. code-block:: console |
588 | 588 |
|
589 |
# snf-manage service_add "~okeanos home" https://node1.example.com/im/ home-icon.png
|
|
590 |
# snf-manage service_add "cyclades" https://node1.example.com/ui/
|
|
591 |
# snf-manage service_add "pithos+" https://node2.example.com/ui/
|
|
589 |
# snf-manage service-add "~okeanos home" https://node1.example.com/im/ home-icon.png
|
|
590 |
# snf-manage service-add "cyclades" https://node1.example.com/ui/
|
|
591 |
# snf-manage service-add "pithos+" https://node2.example.com/ui/
|
|
592 | 592 |
|
593 | 593 |
Servers Initialization |
594 | 594 |
---------------------- |
... | ... | |
623 | 623 |
|
624 | 624 |
.. code-block:: console |
625 | 625 |
|
626 |
root@node1:~ # snf-manage user_list
|
|
626 |
root@node1:~ # snf-manage user-list
|
|
627 | 627 |
|
628 | 628 |
This command should show you a list with only one user; the one we just created. |
629 | 629 |
This user should have an id with a value of ``1``. It should also have an |
... | ... | |
631 | 631 |
|
632 | 632 |
.. code-block:: console |
633 | 633 |
|
634 |
root@node1:~ # snf-manage user_update --set-active 1
|
|
634 |
root@node1:~ # snf-manage user-modify --set-active 1
|
|
635 | 635 |
|
636 | 636 |
This modifies the active value to ``1``, and actually activates the user. |
637 | 637 |
When running in production, the activation is done automatically with different |
... | ... | |
722 | 722 |
|
723 | 723 |
.. code-block:: console |
724 | 724 |
|
725 |
# snf-manage service_list
|
|
725 |
# snf-manage service-list
|
|
726 | 726 |
|
727 | 727 |
The token has been generated automatically during the :ref:`Pithos+ service |
728 | 728 |
registration <services-reg>`. |
... | ... | |
759 | 759 |
|
760 | 760 |
.. code-block:: console |
761 | 761 |
|
762 |
# snf-manage service_list
|
|
762 |
# snf-manage service-list
|
|
763 | 763 |
|
764 | 764 |
The value of ``PITHOS_UI_CLOUDBAR_ACTIVE_SERVICE`` should be the pithos service's |
765 | 765 |
``id`` as shown by the above command, in our case ``3``. |
... | ... | |
906 | 906 |
|
907 | 907 |
Now, you need to download and save the corresponding helper package. Please see |
908 | 908 |
`here <https://code.grnet.gr/projects/snf-image/files>`_ for the latest package. Let's |
909 |
assume that you installed snf-image-host version 0.3.5-1. Then, you need
|
|
910 |
snf-image-helper v0.3.5-1 on *both* nodes:
|
|
909 |
assume that you installed snf-image-host version 0.4.4-1. Then, you need
|
|
910 |
snf-image-helper v0.4.4-1 on *both* nodes:
|
|
911 | 911 |
|
912 | 912 |
.. code-block:: console |
913 | 913 |
|
914 | 914 |
# cd /var/lib/snf-image/helper/ |
915 |
# wget https://code.grnet.gr/attachments/download/1058/snf-image-helper_0.3.5-1_all.deb
|
|
915 |
# wget https://code.grnet.gr/attachments/download/1058/snf-image-helper_0.4.4-1_all.deb
|
|
916 | 916 |
|
917 | 917 |
.. warning:: Be careful: Do NOT install the snf-image-helper debian package. |
918 | 918 |
Just put it under /var/lib/snf-image/helper/ |
... | ... | |
922 | 922 |
|
923 | 923 |
.. code-block:: console |
924 | 924 |
|
925 |
# ln -s snf-image-helper_0.3.5-1_all.deb snf-image-helper.deb
|
|
925 |
# ln -s snf-image-helper_0.4.4-1_all.deb snf-image-helper.deb
|
|
926 | 926 |
# snf-image-update-helper |
927 | 927 |
|
928 | 928 |
This will create all the needed files under ``/var/lib/snf-image/helper/`` for |
... | ... | |
1466 | 1466 |
|
1467 | 1467 |
.. code-block:: console |
1468 | 1468 |
|
1469 |
# snf-manage service_list
|
|
1469 |
# snf-manage service-list
|
|
1470 | 1470 |
|
1471 | 1471 |
The value of ``CLOUDBAR_ACTIVE_SERVICE`` should be the cyclades service's |
1472 | 1472 |
``id`` as shown by the above command, in our case ``2``. |
Also available in: Unified diff