Re: Is the free license restricted in ESXi ?

2009-05-18 Thread Brian Bouterse
Here is a bit of interesting evidence to help you get to the heart of  
the problem.  I took your command and changed the variables to match a  
configuration in the lab, here is the command I used:


./vmcontrol.pl --server 152.14.17.230 --username root --password  
password_here --operation poweroff --vmname vdc


This command successfully turns on a host when executed on a linux box  
wit viperl installed and running from the /usr/lib/vmware-viperl/apps/ 
vm/ directory.


Here's another consideration, when I look at at the Licensed Features  
of my ESX 3i servers, I don't have any Add-Ons, but I notice that  
yours have VMware Consolidated Backup which is installed with the  
Evaluation License, when one first turns on an unlicensed ESX 3i  
box.  When the license file from vmware.com is installed, it removes  
this Add-On capability.  Yours is not removed, so this leads me to  
believe that your license configuration is not correct.


Have you reproduced the problem on a different physical hypervisor?
When licensing an ESX server, what exactly is your procedure?
There is a prompt you are asked for during the licensing process, what  
is your response to that?


In short, take another look at it, because that command works great on  
our end, and we're using commodity ESX 3i with a license from vmware.com


Best,
Brian


Brian Bouterse
Secure Open Systems Initiative
919.698.8796




On May 17, 2009, at 9:22 AM, 杨杰 wrote:


There are two conditions:
1. The free license is installed correctly( which has been confirmed  
today).


When checking the licensed features, i get the information as follows:


Licensed Features




Licensed Source


Serial Number: [the SN got from the website]





ESX Server Edition


ESX Server Standalone   Licensed for 2 CPUs



 NAS Usage



 iSCSI Usage



 Up to 4-way virtual SMP



 SAN Usage





Add-Ons


[Nothing here because no addons are installed]


On the condition, the CMD i typed and the ERROR is:

[r...@management vm]# ./vmcontrol.pl --server 192.168.4.202 -- 
username

root --password xjtudlc --operation poweroff --vmname Redh5



Error in 'Redh5' under host esxi2.p12.edu.cn: VM 'Redh5' can't be  
powered

off




SOAP Fault:


---

Fault string: fault.RestrictedVersion.summary


2. No license is installed:

After the former operation, i deleted the license and checked the  
licensed

features, i get the information as follows:


Licensed Features




Licensed Source


Evaluation30 day(s) remaining







ESX Server Edition



ESX Server Standalone   Licensed for 2 CPUs



 NAS Usage



 iSCSI Usage



 Up to 4-way virtual SMP



 SAN Usage





Add-Ons


VMware Consolidated Backup   Licensed for 2 CPUs


Then i started the vm with the VIClient and executed the same cmd  
through
the remote command console. The operation is successful without any  
error or

warnings. The target vm is also stopped as the cmd.

We have checked the installation of the license and the error is  
indeed

here. i dont know how to solve it.


virtual machine 'Redh5' under host esxi2.p12.edu.cn powered off
2009/5/16 Brian Bouterse bmbou...@ncsu.edu

The ESX 3i license given to you from the website, is that  
installed?  You
can check under Configuration - Licensed Features to make sure you  
have

your stuff licensed for N CPUs.

I've used vmcreate and vmcontrol operations with the ESX 3i and it  
worked
fine for me.  Could you provide the commands which are  
problematic?  I don't

see them in the e-mail thread below.

Best,
Brian


Brian Bouterse
Secure Open Systems Initiative
919.698.8796





On May 15, 2009, at 11:11 PM, 杨杰 wrote:

HI, I have one more question, which is a problem in our experiment.  
We are
now using the esxi with free license. When trying to take the  
operations
like vmcreate or vmcontrol, we receive an error command saying  
that we are

trying a restricted operation. The cmds are as shown:

Error in 'Redh5' under host esxi2.p12.edu.cn: VM 'Redh5' can't be

powered
off



SOAP Fault:


---




Fault string: fault.RestrictedVersion.summary





The question has been submitted to the mailing list some days  
before. As
the reply, we confirmed the reason on the both conditions of non- 
license

and
free-license, but the operations still succeeded without license and
failed
with a free license. Some discussions in the vmware official forum  
show

that
the free license is restricted from modification operations.

Have you encountered the problem ? And is there any way to solve the
problem
?


--
Yang Jie(杨杰)

Team of MRMSS, Xi'an Jiaotong University

Department of Computer Science and Technology, Xi’an Jiaotong  
University


TEL: +8613468883723;029-82665263 EXT.24

MSN: xtyangjie2...@yahoo.com.cn

E-mail: xtyang...@gmail.com
Laurence J. Peter
http://www.brainyquote.com/quotes/authors/l/laurence_j_peter.html
- Originality is the fine art of remembering what you hear but
forgetting
where you heard it.







--
Yang Jie(杨杰)

Team 

Re: VCL Experimental Architecture

2009-05-18 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday May 17, 2009, Michael Brown wrote:
 The wiki document for the experimental branch now suggests the use of a
 database abstraction layer.  I propose the use of an object relational
 mapper to accomplish this abstraction.  This has the advantage of being
 extremely easy to use,  less code needs to be written, therefore fewer
 errors will result.  The con to an object relational mapper is performence
 during bulk database operations.  This should not be an issue because vcl
 performs no large transactions.

 Does the community agree that any future major proposals should include a
 database abstraction layer using an object relational mapper because of the
 above advantages?

This part of the community (me) doesn't agree with any implementation details 
of the so called experimental branch until we've had good discussion about 
problems with VCL in its current form and seriously looked at how those 
problems could be fixed without doing a complete rewrite.  (I 
put experimental branch in quotes because a branch implies being a 
derivative work of trunk, but in this case it is a completely separate 
architecture designed without the input of those that developed the existing 
codebase.)

I suggest work on this experimental branch  halt until the community can 
come together on this issue instead of being fractured any further.

Josh
- -- 
- ---
Josh Thompson
Systems Programmer
Virtual Computing Lab (VCL)
North Carolina State University

josh_thomp...@ncsu.edu
919-515-5323

my GPG/PGP key can be found at pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFKEW2TV/LQcNdtPQMRAsREAJ9bcdCZRlgqaUR410njudbKln5YRQCbBEtt
PWAY2YWVpxc1qBmhKctwR/0=
=dapR
-END PGP SIGNATURE-