个人工具

UbuntuHelp:UEC/Registration

来自Ubuntu中文

Wikibot讨论 | 贡献2010年5月20日 (四) 00:39的版本 (以内容'{{From|https://help.ubuntu.com/community/UEC/Registration}} {{Languages|UbuntuHelp:UEC/Registration}} As of Ubuntu 10.04 LTS, all component registration should be automatic…'创建新页面)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索

As of Ubuntu 10.04 LTS, all component registration should be automatic, assuming:

  1. Public SSH keys have been exchanged properly
  2. The services are configured properly
  3. The services are publishing their existence
  4. 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