[one-users] Users Digest, Vol 66, Issue 76

Torres, Eliana eltorres at axcess-financial.com
Thu Aug 22 04:15:46 PDT 2013



Sent from my LG Mobile

users-request at lists.opennebula.org wrote:

Send Users mailing list submissions to
	users at lists.opennebula.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
or, via email, send a message with subject or body 'help' to
	users-request at lists.opennebula.org

You can reach the person managing the list at
	users-owner at lists.opennebula.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Users digest..."


Today's Topics:

   1. Re: vmware and scsi disk setup (Tino Vazquez)
   2. Re: vmware and scsi disk setup (Michael Curran)
   3. vnc grep (hansz)
   4. Re: opennebula + esxi 5.1 (Michael Curran)


----------------------------------------------------------------------

Message: 1
Date: Thu, 22 Aug 2013 11:05:00 +0200
From: Tino Vazquez <cvazquez at c12g.com>
To: Michael Curran <michael.curran at connectsolutions.com>
Cc: "users at lists.opennebula.org" <users at lists.opennebula.org>
Subject: Re: [one-users] vmware and scsi disk setup
Message-ID:
	<CAHfKwc3CH6WR78CVnKE4LinKqdVHjfFs5qL+eL28CEZV3PvRvQ at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi Michael,

At first sight, it looks like the first .vmx refers to a VM with a
SCSI SAS disk, while the second uses a LSI logic driver for it. Does
changing the second VM to use a lsisas driver work?

Regards,

-Tino
--
Constantino V?zquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
"To" and "cc" box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at abuse at c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On Wed, Aug 21, 2013 at 7:21 PM, Michael Curran
<michael.curran at connectsolutions.com> wrote:
> So -- the issue is I have a windows VM in ESXi that is currently installed and runs fine with SCSI disks set -- but when I deploy it with OpenNebula , windows boots in recovery mode because of a suspected change in hardware
>
> This is scsi is identified in the VMX file, by VMWare
>
> scsi0.present = "true"
> scsi0.sharedBus = "none"
> scsi0.virtualDev = "lsisas1068"
> scsi0:0.present = "true"
> scsi0:0.fileName = "Vanilla-w2k8r2.vmdk"
> scsi0:0.deviceType = "scsi-hardDisk"
> sched.scsi0:0.shares = "normal"
> sched.scsi0:0.throughputCap = "off"
> scsi0:0.redo = ""
> scsi0.pciSlotNumber = "160"
> scsi0.sasWWID = "50 05 05 66 41 49 80 90"
>
>
> This is how the SCSI device is created in VMX, by OpenNebula (not sure why it creates the VM with a snapshot diskname, and not just disk.vmdk)
>
> scsi0.present = "true"
> scsi0.virtualDev = "lsilogic"
> scsi0:0.present = "true"
> scsi0:0.deviceType = "scsi-hardDisk"
> scsi0:0.fileName = "disk-000001.vmdk"
> scsi0.pciSlotNumber = "-1"
> scsi0:0.redo = ""
>
> There appears to be several fields missing
>
> Michael Curran | connectsolutions | Lead Network Architect
> Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com
>
> -----Original Message-----
> From: Tino Vazquez [mailto:cvazquez at c12g.com]
> Sent: Wednesday, August 21, 2013 6:28 AM
> To: Michael Curran
> Cc: users at lists.opennebula.org
> Subject: Re: [one-users] vmware and scsi disk setup
>
> Hi Michael,
>
> The SCSI configuration of a disk is better left our to OpenNebula, rather than setting it manually. Could you try setting a disk like:
>
> DISK=[IMAGE_ID="0", DEV_PREFIX="sd"]
>
> and remove the DATA_VMX field altogether (although keeping the DATA field)?
>
> Best regards,
>
> -Tino
> --
> Constantino V?zquez Blanco, PhD, MSc
> Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova
>
> --
> Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the "To" and "cc" box). They are the property of C12G Labs S.L..
> Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at abuse at c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation.
>
>
> On Tue, Aug 20, 2013 at 6:54 PM, Michael Curran <michael.curran at connectsolutions.com> wrote:
>> I am trying to get my windows hosts to deploy with SCSI devices
>> instead of IDE
>>
>>
>>
>> I have modified the disk type to be SD instead of HD - and it starts
>> up with SCSI now , however I don't think its building the VMX file
>> correctly as I get this error
>>
>>
>>
>> Tue Aug 20 09:44:08 2013 [VMM][I]: out:
>>
>> Tue Aug 20 09:44:08 2013 [VMM][I]: error: Failed to start domain
>> one-24
>>
>> Tue Aug 20 09:44:08 2013 [VMM][I]: error: internal error Could not
>> start
>> domain: GenericVmConfigFault -
>>
>> Tue Aug 20 09:44:08 2013 [VMM][I]: Failed to configure scsi0.
>>
>> Tue Aug 20 09:44:08 2013 [VMM][I]:
>>
>> Tue Aug 20 09:44:08 2013 [VMM][I]:
>>
>> Tue Aug 20 09:44:08 2013 [VMM][I]: ExitCode: 1
>>
>> Tue Aug 20 09:44:08 2013 [VMM][I]: Failed to execute virtualization
>> driver
>> operation: deploy.
>>
>> Tue Aug 20 09:44:08 2013 [VMM][E]: Error deploying virtual machine
>>
>> Tue Aug 20 09:44:08 2013 [DiM][I]: New VM state is FAILED
>>
>>
>>
>>
>>
>> I have tried setting the RAW settings for SCSI env. In the VMX file,
>> but it puts the disk name before it finds if the SCSI device is present.
>>
>>
>>
>> scsi0:0.fileName =
>> "/vmfs/volumes/51ff8fa7-5a076f91-1cb4-b499bac14752/24/disk.0/disk.vmdk"
>>
>> scsi0.present = "true"
>>
>> scsi0.sharedBus = "none"
>>
>> scsi0.virtualDev = "lsisas1068"
>>
>> scsi0:0.present = "true "
>>
>> scsi0:0.deviceType = "scsi-hardDisk"
>>
>> sched.scsi0:0.shares = "normal"
>>
>> sched.scsi0:0.throughputCap = "off"
>>
>> scsi0.pciSlotNumber = "21"
>>
>> scsi0.sasWWID = "50 05 05 60 ed 9f 4c 80"
>>
>>
>>
>> Are there any recommended best practices for this type of setup? Here
>> is what my template looks like
>>
>>
>>
>> TEMPLATE 0 INFORMATION
>>
>> ID             : 0
>>
>> NAME           : Windows 2k8r2
>>
>> USER           : oneadmin
>>
>> GROUP          : oneadmin
>>
>> REGISTER TIME  : 08/08 12:16:50
>>
>>
>>
>> PERMISSIONS
>>
>> OWNER          : um-
>>
>> GROUP          : ---
>>
>> OTHER          : ---
>>
>>
>>
>> TEMPLATE CONTENTS
>>
>> CONTEXT=[
>>
>>   NETWORK="YES" ]
>>
>> CPU="1"
>>
>> DISK=[
>>
>>   IMAGE_ID="0" ]
>>
>> FEATURES=[
>>
>>   PCIBRIDGE="0" ]
>>
>> MEMORY="2048"
>>
>> NIC=[
>>
>>   MODEL="e1000",
>>
>>   NETWORK_ID="0" ]
>>
>> OS=[
>>
>>   GUESTOS="windows7Server64Guest" ]
>>
>> RAW=[
>>
>>   DATA="<devices><controller type='scsi' index='0'
>> model='lsilogic'/></devices>",
>>
>>   TYPE="vmware" ]
>>
>> RAW=[
>>
>>   DATA_VMX="scsi0.present = \"true\"\nscsi0.sharedBus =
>> \"none\"\nscsi0.virtualDev = \"lsisas1068\"\nscsi0:0.present = \"true
>> \"\nscsi0:0.deviceType = \"scsi-hardDisk\"\nsched.scsi0:0.shares =
>> \"normal\"\nsched.scsi0:0.throughputCap = \"off\"\nscsi0.pciSlotNumber
>> = \"160\"",
>>
>>   TYPE="vmware" ]
>>
>> REQUIREMENTS="ID=\"0\" | ID=\"1\""
>>
>>
>>
>>
>>
>>
>>
>> Michael Curran | connectsolutions | Lead Network Architect
>>
>> Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


------------------------------

Message: 2
Date: Thu, 22 Aug 2013 10:02:05 +0000
From: Michael Curran <michael.curran at connectsolutions.com>
To: Tino Vazquez <cvazquez at c12g.com>
Cc: "users at lists.opennebula.org" <users at lists.opennebula.org>
Subject: Re: [one-users] vmware and scsi disk setup
Message-ID:
	<5543a30027d64646956e930105530ec7 at BL2PR04MB131.namprd04.prod.outlook.com>
	
Content-Type: text/plain; charset="iso-8859-1"

Uniquely enough if I look at the VMDK driver ddb.adapterType , they both state lsilogic 

The VMX file is being created using the lsilogic definition by opennebula. So there must be something different being done by VMware -- I will try to set the following in data_vmx and see if that will work

scsi0.virtualDev = "lsisas1068"

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-----Original Message-----
From: Tino Vazquez [mailto:cvazquez at c12g.com] 
Sent: Thursday, August 22, 2013 5:05 AM
To: Michael Curran
Cc: users at lists.opennebula.org
Subject: Re: [one-users] vmware and scsi disk setup

Hi Michael,

At first sight, it looks like the first .vmx refers to a VM with a SCSI SAS disk, while the second uses a LSI logic driver for it. Does changing the second VM to use a lsisas driver work?

Regards,

-Tino
--
Constantino V?zquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the "To" and "cc" box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at abuse at c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation.


On Wed, Aug 21, 2013 at 7:21 PM, Michael Curran <michael.curran at connectsolutions.com> wrote:
> So -- the issue is I have a windows VM in ESXi that is currently 
> installed and runs fine with SCSI disks set -- but when I deploy it 
> with OpenNebula , windows boots in recovery mode because of a 
> suspected change in hardware
>
> This is scsi is identified in the VMX file, by VMWare
>
> scsi0.present = "true"
> scsi0.sharedBus = "none"
> scsi0.virtualDev = "lsisas1068"
> scsi0:0.present = "true"
> scsi0:0.fileName = "Vanilla-w2k8r2.vmdk"
> scsi0:0.deviceType = "scsi-hardDisk"
> sched.scsi0:0.shares = "normal"
> sched.scsi0:0.throughputCap = "off"
> scsi0:0.redo = ""
> scsi0.pciSlotNumber = "160"
> scsi0.sasWWID = "50 05 05 66 41 49 80 90"
>
>
> This is how the SCSI device is created in VMX, by OpenNebula (not sure 
> why it creates the VM with a snapshot diskname, and not just 
> disk.vmdk)
>
> scsi0.present = "true"
> scsi0.virtualDev = "lsilogic"
> scsi0:0.present = "true"
> scsi0:0.deviceType = "scsi-hardDisk"
> scsi0:0.fileName = "disk-000001.vmdk"
> scsi0.pciSlotNumber = "-1"
> scsi0:0.redo = ""
>
> There appears to be several fields missing
>
> Michael Curran | connectsolutions | Lead Network Architect Phone 
> 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com
>
> -----Original Message-----
> From: Tino Vazquez [mailto:cvazquez at c12g.com]
> Sent: Wednesday, August 21, 2013 6:28 AM
> To: Michael Curran
> Cc: users at lists.opennebula.org
> Subject: Re: [one-users] vmware and scsi disk setup
>
> Hi Michael,
>
> The SCSI configuration of a disk is better left our to OpenNebula, rather than setting it manually. Could you try setting a disk like:
>
> DISK=[IMAGE_ID="0", DEV_PREFIX="sd"]
>
> and remove the DATA_VMX field altogether (although keeping the DATA field)?
>
> Best regards,
>
> -Tino
> --
> Constantino V?zquez Blanco, PhD, MSc
> Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
> es.linkedin.com/in/tinova
>
> --
> Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the "To" and "cc" box). They are the property of C12G Labs S.L..
> Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at abuse at c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation.
>
>
> On Tue, Aug 20, 2013 at 6:54 PM, Michael Curran <michael.curran at connectsolutions.com> wrote:
>> I am trying to get my windows hosts to deploy with SCSI devices 
>> instead of IDE
>>
>>
>>
>> I have modified the disk type to be SD instead of HD - and it starts 
>> up with SCSI now , however I don't think its building the VMX file 
>> correctly as I get this error
>>
>>
>>
>> Tue Aug 20 09:44:08 2013 [VMM][I]: out:
>>
>> Tue Aug 20 09:44:08 2013 [VMM][I]: error: Failed to start domain
>> one-24
>>
>> Tue Aug 20 09:44:08 2013 [VMM][I]: error: internal error Could not 
>> start
>> domain: GenericVmConfigFault -
>>
>> Tue Aug 20 09:44:08 2013 [VMM][I]: Failed to configure scsi0.
>>
>> Tue Aug 20 09:44:08 2013 [VMM][I]:
>>
>> Tue Aug 20 09:44:08 2013 [VMM][I]:
>>
>> Tue Aug 20 09:44:08 2013 [VMM][I]: ExitCode: 1
>>
>> Tue Aug 20 09:44:08 2013 [VMM][I]: Failed to execute virtualization 
>> driver
>> operation: deploy.
>>
>> Tue Aug 20 09:44:08 2013 [VMM][E]: Error deploying virtual machine
>>
>> Tue Aug 20 09:44:08 2013 [DiM][I]: New VM state is FAILED
>>
>>
>>
>>
>>
>> I have tried setting the RAW settings for SCSI env. In the VMX file, 
>> but it puts the disk name before it finds if the SCSI device is present.
>>
>>
>>
>> scsi0:0.fileName =
>> "/vmfs/volumes/51ff8fa7-5a076f91-1cb4-b499bac14752/24/disk.0/disk.vmdk"
>>
>> scsi0.present = "true"
>>
>> scsi0.sharedBus = "none"
>>
>> scsi0.virtualDev = "lsisas1068"
>>
>> scsi0:0.present = "true "
>>
>> scsi0:0.deviceType = "scsi-hardDisk"
>>
>> sched.scsi0:0.shares = "normal"
>>
>> sched.scsi0:0.throughputCap = "off"
>>
>> scsi0.pciSlotNumber = "21"
>>
>> scsi0.sasWWID = "50 05 05 60 ed 9f 4c 80"
>>
>>
>>
>> Are there any recommended best practices for this type of setup? Here 
>> is what my template looks like
>>
>>
>>
>> TEMPLATE 0 INFORMATION
>>
>> ID             : 0
>>
>> NAME           : Windows 2k8r2
>>
>> USER           : oneadmin
>>
>> GROUP          : oneadmin
>>
>> REGISTER TIME  : 08/08 12:16:50
>>
>>
>>
>> PERMISSIONS
>>
>> OWNER          : um-
>>
>> GROUP          : ---
>>
>> OTHER          : ---
>>
>>
>>
>> TEMPLATE CONTENTS
>>
>> CONTEXT=[
>>
>>   NETWORK="YES" ]
>>
>> CPU="1"
>>
>> DISK=[
>>
>>   IMAGE_ID="0" ]
>>
>> FEATURES=[
>>
>>   PCIBRIDGE="0" ]
>>
>> MEMORY="2048"
>>
>> NIC=[
>>
>>   MODEL="e1000",
>>
>>   NETWORK_ID="0" ]
>>
>> OS=[
>>
>>   GUESTOS="windows7Server64Guest" ]
>>
>> RAW=[
>>
>>   DATA="<devices><controller type='scsi' index='0'
>> model='lsilogic'/></devices>",
>>
>>   TYPE="vmware" ]
>>
>> RAW=[
>>
>>   DATA_VMX="scsi0.present = \"true\"\nscsi0.sharedBus = 
>> \"none\"\nscsi0.virtualDev = \"lsisas1068\"\nscsi0:0.present = \"true 
>> \"\nscsi0:0.deviceType = \"scsi-hardDisk\"\nsched.scsi0:0.shares = 
>> \"normal\"\nsched.scsi0:0.throughputCap = 
>> \"off\"\nscsi0.pciSlotNumber = \"160\"",
>>
>>   TYPE="vmware" ]
>>
>> REQUIREMENTS="ID=\"0\" | ID=\"1\""
>>
>>
>>
>>
>>
>>
>>
>> Michael Curran | connectsolutions | Lead Network Architect
>>
>> Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


------------------------------

Message: 3
Date: Thu, 22 Aug 2013 18:12:25 +0800 (CST)
From: hansz <hanshizhunjob at 126.com>
To: users at lists.opennebula.org
Subject: [one-users] vnc grep
Message-ID: <f0f8a12.15a68.140a582c4b2.Coremail.hanshizhunjob at 126.com>
Content-Type: text/plain; charset="gbk"

centos 6.4 +opennebula 4.2
(1)now  in my opennebula i can see vnc ,but the clour is grep ,if i click it ?can show an window ?but it is blank ,and i can see 
VNC Server disconnection(code 1006)


(2)i am sure i install the novnc ,python-setuptools,python-websockify rpm package.
i also set the language english.
(3) this is the nonvc.log
190 I, [2013-08-22T16:00:03.567586 #9629]  INFO -- : Killing VNC proxy
    191 I, [2013-08-22T16:00:04.589507 #9629]  INFO -- : Deleting stale lock file
    192 I, [2013-08-22T16:00:04.841151 #9656]  INFO -- : Starting VNC proxy: python /usr/share/one/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens  29876
    193 WARNING: no 'numpy' module, HyBi protocol is slower or disabled
    194 WebSocket server settings:
    195   - Listen on :29876
    196   - Flash security policy server
    197   - No SSL/TLS support (no cert file)
    198   - proxying from :29876 to targets in /var/lib/one/sunstone_vnc_tokens
    199 
    200   1: 10.24.12.132: SSL connection but '/root/self.pem' not found
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130822/1a17900f/attachment-0001.htm>

------------------------------

Message: 4
Date: Thu, 22 Aug 2013 10:46:25 +0000
From: Michael Curran <michael.curran at connectsolutions.com>
To: hansz <hanshizhunjob at 126.com>, "users at lists.opennebula.org"
	<users at lists.opennebula.org>
Subject: Re: [one-users] opennebula + esxi 5.1
Message-ID:
	<f8b60f8d8b354c88a27f4cab5e2c74e7 at BL2PR04MB131.namprd04.prod.outlook.com>
	
Content-Type: text/plain; charset="iso-2022-jp"

What kind of issues are you having - hard to help without understanding what your errors are.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com<http://www.connectsolutions.com>

From: users-bounces at lists.opennebula.org [mailto:users-bounces at lists.opennebula.org] On Behalf Of hansz
Sent: Thursday, August 22, 2013 4:24 AM
To: users at lists.opennebula.org
Subject: [one-users] opennebula + esxi 5.1

i have already do this test for 2 weeks, but no one successful ,
could you give me some help, how to make it work,
pls give some more detail steps?ok?

I use centos 6.4 and opennebula ?when i install my centos6.4 os i only select desktop.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130822/703dea68/attachment.htm>

------------------------------

_______________________________________________
Users mailing list
Users at lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


End of Users Digest, Vol 66, Issue 76
*************************************
NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies.


More information about the Users mailing list