特殊:Badtitle/NS100:UEC/Registration
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/UEC/Registration }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/af | • {{#if: UbuntuHelp:UEC/Registration|Afrikaans| [[::UEC/Registration/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/ar | • {{#if: UbuntuHelp:UEC/Registration|العربية| [[::UEC/Registration/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/az | • {{#if: UbuntuHelp:UEC/Registration|azərbaycanca| [[::UEC/Registration/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/bcc | • {{#if: UbuntuHelp:UEC/Registration|جهلسری بلوچی| [[::UEC/Registration/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/bg | • {{#if: UbuntuHelp:UEC/Registration|български| [[::UEC/Registration/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/br | • {{#if: UbuntuHelp:UEC/Registration|brezhoneg| [[::UEC/Registration/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/ca | • {{#if: UbuntuHelp:UEC/Registration|català| [[::UEC/Registration/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/cs | • {{#if: UbuntuHelp:UEC/Registration|čeština| [[::UEC/Registration/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/de | • {{#if: UbuntuHelp:UEC/Registration|Deutsch| [[::UEC/Registration/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/el | • {{#if: UbuntuHelp:UEC/Registration|Ελληνικά| [[::UEC/Registration/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/es | • {{#if: UbuntuHelp:UEC/Registration|español| [[::UEC/Registration/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/fa | • {{#if: UbuntuHelp:UEC/Registration|فارسی| [[::UEC/Registration/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/fi | • {{#if: UbuntuHelp:UEC/Registration|suomi| [[::UEC/Registration/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/fr | • {{#if: UbuntuHelp:UEC/Registration|français| [[::UEC/Registration/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/gu | • {{#if: UbuntuHelp:UEC/Registration|ગુજરાતી| [[::UEC/Registration/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/he | • {{#if: UbuntuHelp:UEC/Registration|עברית| [[::UEC/Registration/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/hu | • {{#if: UbuntuHelp:UEC/Registration|magyar| [[::UEC/Registration/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/id | • {{#if: UbuntuHelp:UEC/Registration|Bahasa Indonesia| [[::UEC/Registration/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/it | • {{#if: UbuntuHelp:UEC/Registration|italiano| [[::UEC/Registration/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/ja | • {{#if: UbuntuHelp:UEC/Registration|日本語| [[::UEC/Registration/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/ko | • {{#if: UbuntuHelp:UEC/Registration|한국어| [[::UEC/Registration/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/ksh | • {{#if: UbuntuHelp:UEC/Registration|Ripoarisch| [[::UEC/Registration/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/mr | • {{#if: UbuntuHelp:UEC/Registration|मराठी| [[::UEC/Registration/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/ms | • {{#if: UbuntuHelp:UEC/Registration|Bahasa Melayu| [[::UEC/Registration/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/nl | • {{#if: UbuntuHelp:UEC/Registration|Nederlands| [[::UEC/Registration/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/no | • {{#if: UbuntuHelp:UEC/Registration|norsk| [[::UEC/Registration/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/oc | • {{#if: UbuntuHelp:UEC/Registration|occitan| [[::UEC/Registration/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/pl | • {{#if: UbuntuHelp:UEC/Registration|polski| [[::UEC/Registration/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/pt | • {{#if: UbuntuHelp:UEC/Registration|português| [[::UEC/Registration/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/ro | • {{#if: UbuntuHelp:UEC/Registration|română| [[::UEC/Registration/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/ru | • {{#if: UbuntuHelp:UEC/Registration|русский| [[::UEC/Registration/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/si | • {{#if: UbuntuHelp:UEC/Registration|සිංහල| [[::UEC/Registration/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/sq | • {{#if: UbuntuHelp:UEC/Registration|shqip| [[::UEC/Registration/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/sr | • {{#if: UbuntuHelp:UEC/Registration|српски / srpski| [[::UEC/Registration/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/sv | • {{#if: UbuntuHelp:UEC/Registration|svenska| [[::UEC/Registration/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/th | • {{#if: UbuntuHelp:UEC/Registration|ไทย| [[::UEC/Registration/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/tr | • {{#if: UbuntuHelp:UEC/Registration|Türkçe| [[::UEC/Registration/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/vi | • {{#if: UbuntuHelp:UEC/Registration|Tiếng Việt| [[::UEC/Registration/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/yue | • {{#if: UbuntuHelp:UEC/Registration|粵語| [[::UEC/Registration/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/zh | • {{#if: UbuntuHelp:UEC/Registration|中文| [[::UEC/Registration/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/zh-hans | • {{#if: UbuntuHelp:UEC/Registration|中文(简体)| [[::UEC/Registration/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UEC/Registration | UbuntuHelp:UEC/Registration | {{#if: | :}}UEC/Registration}}/zh-hant | • {{#if: UbuntuHelp:UEC/Registration|中文(繁體)| [[::UEC/Registration/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:UEC/Registration|:UEC/Registration|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :UEC/Registration/zh | | {{#ifexist: UEC/Registration/zh | | {{#ifeq: {{#titleparts:UEC/Registration|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:UEC/Registration|1|-1|}} | zh | | }}
As of Ubuntu 10.04 LTS, all component registration should be automatic, assuming:
- Public SSH keys have been exchanged properly
- The services are configured properly
- The services are publishing their existence
- The appropriate uec-component-listener is running
These will happen automatically for a UEC/CDInstall, but the following steps are required for a UEC/PackageInstall.
Exchange Public SSH Keys
<<Include(UEC/PublicSSHKeys)>>
Configure the Services
On the Cloud Controller:
- For the Cluster Controller Registration:
- Define the shell variable CC_NAME in
/etc/eucalyptus/eucalyptus-cc.conf
- Define the shell variable CC_IP_ADDR in
/etc/eucalyptus/eucalyptus-ipaddr.conf
, as a space separated list of one or more IP addresses. - For the Walrus Controller Registration:
- Define the shell variable WALRUS_IP_ADDR in
/etc/eucalyptus/eucalyptus-ipaddr.conf
, as a single IP address.
On the Cluster Controller:
- For Storage Controller Registration:
- Define the cluster name in the shell variable CC_NAME in
/etc/eucalyptus/eucalyptus-cc.conf
- Define the shell variable SC_IP_ADDR in
/etc/eucalyptus/eucalyptus-ipaddr.conf
, as a space separated list of one or more IP addresses.
Publish
Now start the publication services.
- Walrus Controller:
sudo start eucalyptus-walrus-publication
- Cluster Controller:
sudo start eucalyptus-cc-publication
- Storage Controller:
sudo start eucalyptus-cc-publication
- Node Controller
sudo start eucalyptus-nc-publication
Start the Listener
On the Cloud Controller and the Cluster Controller(s), run:
sudo start uec-component-listener
Verify Registration
cat /var/log/eucalyptus/registration.log 2010-04-08 15:46:36-05:00 | 24243 -> Calling node cluster1 node 10.1.1.75 2010-04-08 15:46:36-05:00 | 24243 -> euca_conf --register-nodes returned 0 2010-04-08 15:48:47-05:00 | 25858 -> Calling walrus Walrus 10.1.1.71 2010-04-08 15:48:51-05:00 | 25858 -> euca_conf --register-walrus returned 0 2010-04-08 15:49:04-05:00 | 26237 -> Calling cluster cluster1 10.1.1.71 2010-04-08 15:49:08-05:00 | 26237 -> euca_conf --register-cluster returned 0 2010-04-08 15:49:17-05:00 | 26644 -> Calling storage cluster1 storage 10.1.1.71 2010-04-08 15:49:18-05:00 | 26644 -> euca_conf --register-sc returned 0