hidden:Open Nebula: Difference between revisions

From Lsdf
Jump to navigationJump to search
(Created page with "Open Nebula")
 
No edit summary
Line 1: Line 1:
Open Nebula
Open Nebula operation - very, very dirty

#. Two instances reside on the server
141.52.210.24 one.lsdf.kit.edu one
A physical one, Sientific Linux 6.2 based, accessible via port 24 ssh and a virtual (change root) environment, accessible via port 22.

#. The sshd of the virtual instance does not start automagically, therefore please
chroot /opt/chroot/ /usr/sbin/sshd
from the physical one

#. 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

#. Please start mysql by invoking
mysqld
and wait, 'til the prompt returns (please don't ask, why the start scripts are failing...)

#. Please become superuser to oneadmin
su - oneadmin
and start OpenNebula by invoking
one start
Please check in /opt/one/var/oned.log
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
----------------------------------

Revision as of 17:45, 12 June 2014

Open Nebula operation - very, very dirty

  1. . Two instances reside on the server
141.52.210.24   one.lsdf.kit.edu one

A physical one, Sientific Linux 6.2 based, accessible via port 24 ssh and a virtual (change root) environment, accessible via port 22.

  1. . The sshd of the virtual instance does not start automagically, therefore please
chroot /opt/chroot/ /usr/sbin/sshd

from the physical one

  1. . 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

  1. . Please start mysql by invoking
mysqld

and wait, 'til the prompt returns (please don't ask, why the start scripts are failing...)

  1. . Please become superuser to oneadmin
su - oneadmin

and start OpenNebula by invoking

one start

Please check in /opt/one/var/oned.log

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