wiki:jazz/11-09-13

2011-09-13

Open data

Hadoop & GlusterFS

OpenNebula

  • First, setup ONE_AUTH
      root@controller> su - oneadmin
      oneadmin@controller> vi $HOME/.one/one_auth
    -------------------
    oneadmin:<password>
    -------------------
    
    • start opennebula service
        root@controller> /etc/init.d/opennebula start
      
  • Add a new host (node) in OpenNebula pool
    1. Install 'opennebula-node' debian package in destination host
        root@node01> apt-get install opennebula-node
      
    2. Copy controller ssh key to node01
        root@controller> su - oneadmin
        oneadmin@controller> cat $HOME/.ssh/id_rsa.pub
        <COPY YOUR CONTROLLER SSH PUBKEY>
      
        root@node01> su - oneadmin
        oneadmin@node01> vi $HOME/.ssh/authorized_keys
        <PAST YOUR CONTROLLER SSH PUBKEY>
      
    3. Test an connection from controller to node01
        root@controller> su - oneadmin
        oneadmin@controller> ssh oneadmin@node01
          The authenticity of host 'node01 (192.168.0.2)' can't be established. 
          RSA key fingerprint is [].
          Are you sure you want to continue connecting (yes/no)? [yes]
          Warning: Permanently added 'node01,192.168.0.2' (RSA) to the list of known hosts.
        oneadmin@node01>
      
    4. Add this host into OpenNebula pool
        oneadmin@controller> onehost add node01 im_kvm vmm_kvm tm_ssh
      
    5. Check node registration on controller
        oneadmin@controller> onehost list
        ID NAME              CLUSTER  RVM   TCPU   FCPU   ACPU    TMEM    FMEM STAT
         0 node01            default    0    400    388    400    3.9G    2.5G   on
      
Last modified 13 years ago Last modified on Sep 26, 2011, 1:00:43 AM

Attachments (1)

Download all attachments as: .zip