Revision 3f31a848
b/docs/quick-install-admin-guide.rst | ||
---|---|---|
724 | 724 |
--------------------- |
725 | 725 |
|
726 | 726 |
When the database is ready, we need to register the services. The following |
727 |
command will ask you to register the standard Synnefo services (astakos, |
|
728 |
cyclades, and pithos). Note that you have to register at least astakos in |
|
729 |
order to have a usable authentication system. For each service, you will be |
|
730 |
asked to provide the service URL (to appear in the Cloudbar) as well as its |
|
731 |
API URL. Moreover, the command will automatically register the resource |
|
732 |
definitions offered by the respective service. |
|
727 |
command will ask you to register the standard Synnefo components (astakos, |
|
728 |
cyclades, and pithos) along with the services they provide. Note that you |
|
729 |
have to register at least astakos in order to have a usable authentication |
|
730 |
system. For each component, you will be asked to provide its base |
|
731 |
installation URL as well as the UI URL (to appear in the Cloudbar). |
|
732 |
Moreover, the command will automatically register the resource definitions |
|
733 |
offered by the services. |
|
733 | 734 |
|
734 | 735 |
.. code-block:: console |
735 | 736 |
|
736 |
# snf-register-services |
|
737 |
# snf-register-components |
|
738 |
|
|
739 |
.. note:: |
|
740 |
|
|
741 |
This command is equivalent to running the following series of commands; |
|
742 |
it registers the three components in astakos and then in each host it |
|
743 |
exports the respective service definitions, copies the exported json file |
|
744 |
to the astakos host, where it finally imports it: |
|
745 |
|
|
746 |
.. code-block:: console |
|
747 |
|
|
748 |
astakos-host$ snf-manage component-add astakos astakos_ui_url |
|
749 |
astakos-host$ snf-manage component-add cyclades cyclades_ui_url |
|
750 |
astakos-host$ snf-manage component-add pithos pithos_ui_url |
|
751 |
astakos-host$ snf-manage service-export-astakos > astakos.json |
|
752 |
astakos-host$ snf-manage service-import --json astakos.json |
|
753 |
cyclades-host$ snf-manage service-export-cyclades > cyclades.json |
|
754 |
# copy the file to astakos-host |
|
755 |
astakos-host$ snf-manage service-import --json cyclades.json |
|
756 |
pithos-host$ snf-manage service-export-pithos > pithos.json |
|
757 |
# copy the file to astakos-host |
|
758 |
astakos-host$ snf-manage service-import --json pithos.json |
|
737 | 759 |
|
738 | 760 |
Setting Default Base Quota for Resources |
739 | 761 |
---------------------------------------- |
b/docs/upgrade/upgrade-0.14.rst | ||
---|---|---|
65 | 65 |
* In Pithos settings, introduce a ``PITHOS_BASE_URL`` setting. |
66 | 66 |
It must point to the top-level Pithos URL. |
67 | 67 |
|
68 |
3 Register astakos service and migrate quota
|
|
69 |
============================================
|
|
68 |
3 Register services and migrate quota
|
|
69 |
===================================== |
|
70 | 70 |
|
71 |
You need to register Astakos as a service. The following command will ask |
|
72 |
you to provide the service URL (to appear in the Cloudbar) as well as its |
|
73 |
API URL. It will also automatically register the resource definitions |
|
74 |
offered by astakos. |
|
71 |
You need to register astakos as a component. Moreover you need to register |
|
72 |
all services provided by cyclades and pithos. |
|
75 | 73 |
|
76 |
Run:: |
|
74 |
Running the following script you will be asked to provide the base |
|
75 |
installation URL for each component. You will also need to specify the URL |
|
76 |
where the astakos UI resides:: |
|
77 | 77 |
|
78 |
astakos-host$ snf-register-services astakos
|
|
78 |
astakos-host$ snf-register-components
|
|
79 | 79 |
|
80 | 80 |
.. note:: |
81 | 81 |
|
82 |
This command is equivalent to running: |
|
83 |
|
|
84 |
.. code-block:: console |
|
85 |
astakos-host$ snf-manage service-add astakos service_url api_url |
|
86 |
astakos-host$ snf-manage resource-export-astakos > astakos.json |
|
87 |
astakos-host$ snf-manage resource-import --json astakos.json |
|
88 |
|
|
82 |
This command is equivalent to running the following series of commands; |
|
83 |
in each host it exports the respective service definitions, copies the |
|
84 |
exported json file to the astakos host, where it finally imports it: |
|
85 |
|
|
86 |
.. code-block:: console |
|
87 |
|
|
88 |
astakos-host$ snf-manage component-add astakos ui_url |
|
89 |
astakos-host$ snf-manage service-export-astakos > astakos.json |
|
90 |
astakos-host$ snf-manage service-import --json astakos.json |
|
91 |
cyclades-host$ snf-manage service-export-cyclades > cyclades.json |
|
92 |
# copy the file to astakos-host |
|
93 |
astakos-host$ snf-manage service-import --json cyclades.json |
|
94 |
pithos-host$ snf-manage service-export-pithos > pithos.json |
|
95 |
# copy the file to astakos-host |
|
96 |
astakos-host$ snf-manage service-import --json pithos.json |
|
89 | 97 |
|
90 | 98 |
The limit on pending project applications is since 0.14 handled as an |
91 | 99 |
Astakos resource, rather than a custom setting. Command:: |
Also available in: Unified diff