hidden:Open Nebula: Difference between revisions

From Lsdf
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
Open Nebula operation - very, very dirty
Open Nebula operation - very, very dirty


# Two instances reside on the server ''141.52.210.24 one.lsdf.kit.edu one'' configured on public network interface eth1. A physical one, Sientific Linux 6.2 based, accessible via port 24 ssh and a virtual (change root) environment, based on Ubuntu 10.04.4 LTS, accessible via port 22 ssh. A private network interface is configured as eth0, network address is 172.18.158.155 without DNS entry.
# Two instances reside on the server ''141.52.210.24 one.lsdf.kit.edu one'' configured on public network interface eth1. A physical one, Sientific Linux 6.2 based, accessible via port 24 '''ssh''' and a virtual (change root) environment, based on Ubuntu 10.04.4 LTS, accessible via port 22 '''ssh'''. A private network interface is configured as eth0, network address is 172.18.158.155 without DNS entry.
# The sshd of the virtual instance does not start automagically, therefore please<br> '''chroot /opt/chroot/ /usr/sbin/sshd'''<br>from the physical one
# The sshd of the virtual instance does not start automagically, therefore please<br> '''chroot /opt/chroot/ /usr/sbin/sshd'''<br>from the physical one
# Login into the virtual machine, please, and mount<br> '''mount /gpfs/cloud<br> mount /gpfs/home'''<br>Please check, whether the link ''/opt/one/var'' has a target
# Login into the virtual machine, please, and mount<br> '''mount /gpfs/cloud<br> mount /gpfs/home'''<br>Please check, whether the link ''/opt/one/var'' has a target

Revision as of 11:07, 13 June 2014

Open Nebula operation - very, very dirty

  1. Two instances reside on the server 141.52.210.24 one.lsdf.kit.edu one configured on public network interface eth1. A physical one, Sientific Linux 6.2 based, accessible via port 24 ssh and a virtual (change root) environment, based on Ubuntu 10.04.4 LTS, accessible via port 22 ssh. A private network interface is configured as eth0, network address is 172.18.158.155 without DNS entry.
  2. The sshd of the virtual instance does not start automagically, therefore please
    chroot /opt/chroot/ /usr/sbin/sshd
    from the physical one
  3. Login into the virtual machine, please, and mount
    mount /gpfs/cloud
    mount /gpfs/home

    Please check, whether the link /opt/one/var has a target
  4. Please start mysql by invoking
    mysqld
    and wait, 'til the prompt returns (please don't ask, why the start scripts are failing...)
  5. Please become superuser to oneadmin
    su - oneadmin
    and start OpenNebula by invoking
    one start
    Please check in /opt/one/var/oned.log, the password may be found at
    /var/local/oneadmin/.one/one_auth
    And the log should look like
    Thu Jun 12 16:50:57 2014 [ONE][I]: Init OpenNebula Log system
    Thu Jun 12 16:50:57 2014 [ONE][I]: Log Level: 3
    [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
    Thu Jun 12 16:50:57 2014 [ONE][I]:
    ----------------------------------------
    Thu Jun 12 16:50:57 2014 [ONE][I]: OpenNebula Configuration
    File
    Thu Jun 12 16:50:57 2014 [ONE][I]:
    -----------------------------------------
    Thu Jun 12 16:50:57 2014 [ONE][I]:
    ----------------------------------
    DB=BACKEND=mysql,DB_NAME=opennebula,PASSWD=XXXXXXXXXX
    ,PORT=0,SERVER=localhost,USER=oneadmin
    DEBUG_LEVEL=3
    DEFAULT_DEVICE_PREFIX=hd
    DEFAULT_IMAGE_TYPE=OS
    HM_MAD=EXECUTABLE=one_hm
    HOST_MONITORING_INTERVAL=600
    IMAGE_REPOSITORY_PATH=/var/lib/one/images
    IM_MAD=ARGUMENTS=-r 0 -t 15
    kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm
    IM_MAD=ARGUMENTS=im_ec2/im_ec2.conf,EXECUTABLE=one_im_ec2,
    NAME=im_ec2
    MAC_PREFIX=02:00
    MANAGER_TIMER=15
    NETWORK_SIZE=254
    PORT=2633
    SCRIPTS_REMOTE_DIR=/var/tmp/one
    TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,
    NAME=tm_nfs
    TM_MAD=ARGUMENTS=tm_ssh/tm_ssh.conf,EXECUTABLE=one_tm,
    NAME=tm_ssh
    TM_MAD=ARGUMENTS=tm_dummy/tm_dummy.conf,EXECUTABLE=one_tm,
    NAME=tm_dummy
    VM_DIR=/var/lib/one/instances
    VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE
    VM_MAD=ARGUMENTS=-t 15 -r 0 kvm,
    DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,
    NAME=vmm_kvm,TYPE=kvm
    VM_MAD=ARGUMENTS=vmm_ec2/vmm_ec2.conf,
    EXECUTABLE=one_vmm_ec2,NAME=vmm_ec2,TYPE=xml
    VM_MAD=EXECUTABLE=one_vmm_dummy,NAME=vmm_dummy,TYPE=xml
    VM_POLLING_INTERVAL=600
    VNC_BASE_PORT=5900