[one-users] could not configure vmware hypervisor

Siva Prasad newror.user at gmail.com
Fri Nov 25 06:25:40 PST 2011


All,
Below is the few more information

devuser at 10.3.3.97:/srv/cloud/one/etc$ *onehost list*

  ID NAME              CLUSTER  RVM   TCPU   FCPU   ACPU    TMEM    FMEM 
STAT
    3 10.3.3.48    default    0      0      0    100      0K      0K  err

devuser at 10.3.3.97:/srv/cloud/one/etc$ *$ONE_LOCATION/lib/mads/one_im_sh 
vmware*
INIT
INIT SUCCESS - -
MONITOR 3 10.3.3.48  -
MONITOR SUCCESS 3
^C
devuser at 10.3.3.97:/srv/cloud/one/etc$

Thanks,
Suser
On 11/25/2011 7:46 PM, Siva Prasad wrote:
> Hi All,
>
> I am facing the following errror while configuring the VMWare 
> Hypervisor using (onehost create )
>
>
>
> ONED Log: Says the following.
>
> Fri Nov 25 19:26:19 2011 [ReM][D]: HostPoolInfo method invoked
> _*Fri Nov 25 19:26:19 2011 [InM][D]: Host 3 successfully monitored.
> Fri Nov 25 19:26:19 2011 [ONE][E]: syntax error, unexpected $end, 
> expecting VARIABLE at line 2, columns 1:2*_
> _*Fri Nov 25 19:26:19 2011 [InM][E]: Error parsing host information:*_
>
> Fri Nov 25 19:26:20 2011 [ReM][D]: HostPoolInfo method invoke.
>
> The below is the config file in the
>
> -----------------
> DB=BACKEND=sqlite
> DEBUG_LEVEL=3
> DEFAULT_DEVICE_PREFIX=hd
> DEFAULT_IMAGE_TYPE=OS
> HM_MAD=EXECUTABLE=one_hm
> HOST_MONITORING_INTERVAL=600
> _*IMAGE_REPOSITORY_PATH=/srv/cloud/one/var//images*_
> IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm
> IM_MAD=ARGUMENTS=vmware,EXECUTABLE=one_im_sh,NAME=im_vmware
> MAC_PREFIX=02:00
> MANAGER_TIMER=15
> NETWORK_SIZE=254
> PORT=2633
> SCRIPTS_REMOTE_DIR=/var/tmp/one
> TM_MAD=ARGUMENTS=tm_vmware/tm_vmware.conf,EXECUTABLE=one_tm,NAME=tm_vmware
> TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,NAME=tm_nfs
> _*VM_DIR=/srv/cloud/one/var/*_
> VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE
> VM_MAD=ARGUMENTS=vmware,DEFAULT=vmm_sh/vmm_sh_vmware.conf,EXECUTABLE=one_vmm_sh,NAME=vmm_vmware,TYPE=vmware
> 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_POLLING_INTERVAL=600
> VNC_BASE_PORT=5900
>
>
> --------------------
> Observations: So the entire  /srv/cloud/one/var/ is of 777 with 
> oneadmin.cloud as owners:
>  I have shared */srv/cloud/one/var//images* in samba I could create 
> folder from my windows. manually
> But my Vmware server says cannot access (Error:Unable to access file. 
> [datastore1] newtes/newtes.vmxf) while creating the vmImages
>
>
> *Below is  the vmware configuration:* oned.conf
>
>
>
> # -------------------------- VMWARE CONFIGURATION 
> ------------------------------
>
> #-------------------------------------------------------------------------------
> #  VMware Driver Addon Virtualization Driver Manager Configuration
> #-------------------------------------------------------------------------------
> VM_MAD = [
>     name       = "vmm_vmware",
>     executable = "one_vmm_sh",
>     arguments  = "vmware",
>     default    = "vmm_sh/vmm_sh_vmware.conf",
>     type       = "vmware" ]
>
>
> #-------------------------------------------------------------------------------
> #  VMware Driver Addon Information Driver Manager Configuration
> #-------------------------------------------------------------------------------
> IM_MAD = [
>       name       = "im_vmware",
> _*      executable = "one_im_sh",*_
>       arguments  = "vmware" ]
> #-------------------------------------------------------------------------------
>
> #-------------------------------------------------------------------------------
> # VMware Driver Addon Transfer Manager Driver Configuration
> #-------------------------------------------------------------------------------
> TM_MAD = [
>     name       = "tm_vmware",
>     executable = "one_tm",
>     arguments  = "tm_vmware/tm_vmware.conf" ]
> #-------------------------------------------------------------------------------
>
>
> I could not find any _*one_im_sh *_in any of my directory structure.   
> The following are the files/folders in $ONE_LOCATION/etc directory 
> *(auth       ec2query_templates  hm      im_kvm  occi-server.conf  
> oned.conf  tm_lvm  tm_ssh     vmm_ec2  vmm_ssh  defaultrc  
> econe.conf          im_ec2  im_xen  occi_templates    tm_dummy   
> tm_nfs  tm_vmware  vmm_sh   vmwarerc)
> *
>
> I cannot find im_vmware dir in the above list (I dont not know whether 
> this is necessary or not)
>
>
> Below is my  vmwarerc file
>
> # User configurable variables (Ruby syntax)
> *_LIBVIRT_URI   = "gsx://@HOST@:443/?no_verify=1"_*
> QEMU_PROTOCOL = "qemu"
>
> # Username and password of the VMware hypervisor
> USERNAME      = "oneadmin"
> PASSWORD      = "oneadmin"
>
> # Loading the vmware library for mads
> # Please leave this uncommented
> load ENV['ONE_LOCATION'] + "/lib/ruby/vmwarelib.rb"
>
> ENV['LANG']='C'
>
>
> -----------------------------------
>
> Please note port 443 as my vmware server is running on 443 port..
>
> *At  LAST below is my smb.conf*
>
>  security = user
> username map = /etc/samba/smbusers
>
>
>  hosts allow =
>  [homes]
>    comment = Home Directories
>    browseable = no
>    writable = yes
>  [data]
>    comment = VMWare File Server
>    path = /srv/cloud/one/var/images
>    browseable = yes
>    guest ok = yes
>    available = yes
>    writable = yes
>    create mask = 0755
>
> the content of  /etc/samba/smbusers is (oneadmin = "oneadmin").
>
> I could not understand what is wrong.
>
> --Suser
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111125/7dc70cb8/attachment-0003.htm>


More information about the Users mailing list