hidden:Open Nebula: Difference between revisions
From Lsdf
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Open Nebula operation - very, very dirty |
Open Nebula operation - very, very dirty |
||
# Two instances reside on the server |
# Two instances reside on the server ''one.lsdf.kit.edu one'' configured on public network interface eth1 with ''141.52.210.24''. 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 valid target. |
||
# Please start mysql by invoking<br> mysqld<br>and wait, 'til the prompt returns (please don't ask, why the start scripts are failing...) |
# Please start mysql by invoking<br> '''mysqld'''<br>and wait, 'til the prompt returns (please don't ask, why the start scripts are failing...) |
||
# Please become superuser to oneadmin<br> su - oneadmin<br> and start OpenNebula by invoking<br> one start<br>Please check in /opt/one/var/oned.log, the password may be found at<br> /var/local/oneadmin/.one/one_auth<br>And the log should look like<br> Thu Jun 12 16:50:57 2014 [ONE][I]: Init OpenNebula Log system<br> Thu Jun 12 16:50:57 2014 [ONE][I]: Log Level: 3<br> [0=ERROR,1=WARNING,2=INFO,3=DEBUG]<br> Thu Jun 12 16:50:57 2014 [ONE][I]:<br> ----------------------------------------<br> Thu Jun 12 16:50:57 2014 [ONE][I]: OpenNebula Configuration<br> File<br> Thu Jun 12 16:50:57 2014 [ONE][I]:<br> -----------------------------------------<br> Thu Jun 12 16:50:57 2014 [ONE][I]:<br> ----------------------------------<br> DB=BACKEND=mysql,DB_NAME=opennebula,PASSWD=XXXXXXXXXX<br> ,PORT=0,SERVER=localhost,USER=oneadmin<br> DEBUG_LEVEL=3<br> DEFAULT_DEVICE_PREFIX=hd<br> DEFAULT_IMAGE_TYPE=OS<br> HM_MAD=EXECUTABLE=one_hm<br> HOST_MONITORING_INTERVAL=600<br> IMAGE_REPOSITORY_PATH=/var/lib/one/images<br> IM_MAD=ARGUMENTS=-r 0 -t 15<br> kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm<br> IM_MAD=ARGUMENTS=im_ec2/im_ec2.conf,EXECUTABLE=one_im_ec2,<br> NAME=im_ec2<br> MAC_PREFIX=02:00<br> MANAGER_TIMER=15<br> NETWORK_SIZE=254<br> PORT=2633<br> SCRIPTS_REMOTE_DIR=/var/tmp/one<br> TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,<br> NAME=tm_nfs<br> TM_MAD=ARGUMENTS=tm_ssh/tm_ssh.conf,EXECUTABLE=one_tm,<br> NAME=tm_ssh<br> TM_MAD=ARGUMENTS=tm_dummy/tm_dummy.conf,EXECUTABLE=one_tm,<br> NAME=tm_dummy<br> VM_DIR=/var/lib/one/instances<br> VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE<br> VM_MAD=ARGUMENTS=-t 15 -r 0 kvm,<br> DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,<br> NAME=vmm_kvm,TYPE=kvm<br> VM_MAD=ARGUMENTS=vmm_ec2/vmm_ec2.conf,<br> EXECUTABLE=one_vmm_ec2,NAME=vmm_ec2,TYPE=xml<br> VM_MAD=EXECUTABLE=one_vmm_dummy,NAME=vmm_dummy,TYPE=xml<br> VM_POLLING_INTERVAL=600<br> VNC_BASE_PORT=5900 |
# Please become superuser to oneadmin<br> '''su - oneadmin'''<br> and start OpenNebula by invoking<br> '''one start'''<br>Please check in ''/opt/one/var/oned.log'', the password may be found at<br> ''/var/local/oneadmin/.one/one_auth''<br>And the log should look like<br> ''Thu Jun 12 16:50:57 2014 [ONE][I]: Init OpenNebula Log system<br> Thu Jun 12 16:50:57 2014 [ONE][I]: Log Level: 3<br> [0=ERROR,1=WARNING,2=INFO,3=DEBUG]<br> Thu Jun 12 16:50:57 2014 [ONE][I]:<br> ----------------------------------------<br> Thu Jun 12 16:50:57 2014 [ONE][I]: OpenNebula Configuration<br> File<br> Thu Jun 12 16:50:57 2014 [ONE][I]:<br> -----------------------------------------<br> Thu Jun 12 16:50:57 2014 [ONE][I]:<br> ----------------------------------<br> DB=BACKEND=mysql,DB_NAME=opennebula,PASSWD=XXXXXXXXXX<br> ,PORT=0,SERVER=localhost,USER=oneadmin<br> DEBUG_LEVEL=3<br> DEFAULT_DEVICE_PREFIX=hd<br> DEFAULT_IMAGE_TYPE=OS<br> HM_MAD=EXECUTABLE=one_hm<br> HOST_MONITORING_INTERVAL=600<br> IMAGE_REPOSITORY_PATH=/var/lib/one/images<br> IM_MAD=ARGUMENTS=-r 0 -t 15<br> kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm<br> IM_MAD=ARGUMENTS=im_ec2/im_ec2.conf,EXECUTABLE=one_im_ec2,<br> NAME=im_ec2<br> MAC_PREFIX=02:00<br> MANAGER_TIMER=15<br> NETWORK_SIZE=254<br> PORT=2633<br> SCRIPTS_REMOTE_DIR=/var/tmp/one<br> TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,<br> NAME=tm_nfs<br> TM_MAD=ARGUMENTS=tm_ssh/tm_ssh.conf,EXECUTABLE=one_tm,<br> NAME=tm_ssh<br> TM_MAD=ARGUMENTS=tm_dummy/tm_dummy.conf,EXECUTABLE=one_tm,<br> NAME=tm_dummy<br> VM_DIR=/var/lib/one/instances<br> VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE<br> VM_MAD=ARGUMENTS=-t 15 -r 0 kvm,<br> DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,<br> NAME=vmm_kvm,TYPE=kvm<br> VM_MAD=ARGUMENTS=vmm_ec2/vmm_ec2.conf,<br> EXECUTABLE=one_vmm_ec2,NAME=vmm_ec2,TYPE=xml<br> VM_MAD=EXECUTABLE=one_vmm_dummy,NAME=vmm_dummy,TYPE=xml<br> VM_POLLING_INTERVAL=600<br> VNC_BASE_PORT=5900 |
||
---------------------------------- |
----------------------------------'' |
Latest revision as of 11:10, 13 June 2014
Open Nebula operation - very, very dirty
- Two instances reside on the server one.lsdf.kit.edu one configured on public network interface eth1 with 141.52.210.24. 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
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 valid 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, 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