Re: Problems with basic configuration

2011-02-11 Thread Marty Malinics
Take a look at the file
\managementnode\lib\VCL\Module\Provisioning\esx.readme under the install
folder. It may shed some light.
You need to set the datastore in your profile under Virtual Hosts. You
can create an nfs storage in vmware  and point to that folder.
 
yours,
Martin


 
 
Martin Malinics
Network Manager
Coatesville Area School District
610-466-2441
malin...@coatesville.k12.pa.us Mauricio César Ramírez
Torresmrami...@cft.com.mx 2/10/2011 7:27 PM 
In the Virtual Host section I select the profile VMWare ESX - local
storage and in the path to the VM's wrote / vmfs/volumes/datastore1 /
but when creating a new base image on the process of determining if
exist  *. vmdk an Error ocurrs

|image|VMware.pm:does_image_exist(2963)|failed to determine if file
exists in repository :
/vmfs/volumes/datastore1/vmwarewinxp-WinXPintento914-v0/vmwarewinxp-WinXPintento914-v0.vmdk,
output:
find: /vmfs/volumes/datastore1: No such file or directory

2 questions here I come, why the name of the *. vmdk is altered, since
the actual name does not include the -v0 adding at the end nor the
beginning vmwarewinxp? at the same time indicates that datastore path
is
not valid? which is the correct way you use to set the datastore? I'm
using VMWare ESXi v. 4.0 and VCL v 2.2

thanks in advance.
-- 

Atte.

Mauricio César Ramírez Torres.
Soporte Técnico Frigus Bohn.
Tel. (442) 296 4566







-
Antes de imprimir este correo electrónico, piensa bien si es
imprescindible hacerlo. 
El Medio Ambiente es cosa de todos.







LDAP privledges

2011-02-11 Thread James Patrick Sigmon
Hey Guys,

I've been adding in different colleges into VCL via LDAP and plan to eventually 
have it so that it groups like you have at NC State.  However, to start I'm 
just interested in at least giving everyone the same basic access to a few 
images.  I was wondering how I could easily go about doing this.  As I stand 
right now, I can login via LDAP but don't have any privileges yet.  I have 
hunch this will involve the privilege tree and some grouping, but also editing 
a few files (perhaps authentication.php, and ldapauth.php).  Again, I'm not 
sure and any advice would be helpful.

Thanks,

Patrick Sigmon

unsubscribe

2011-02-11 Thread Eric Raab
unsubscribe


Re: unsubscribe

2011-02-11 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday February 11, 2011, Eric Raab wrote:
 unsubscribe

To unsubscribe, send a blank message to

vcl-user-unsubscr...@incubator.apache.org

As a friendly reminder to others on the list, if you wish to unsubscribe and 
don't remember the address to which you need to send a message, check the 
headers of any message sent to the list and look for

List-Unsubscribe: mailto:vcl-user-unsubscr...@incubator.apache.org

Josh
- -- 
- ---
Josh Thompson
VCL Developer
North Carolina State University

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

iEYEARECAAYFAk1VfEsACgkQV/LQcNdtPQPMXgCffoLbjrI7WXkZLb8eilGRLGE1
Uc8AmQHvhl5ngrJIiZhuqJuOmyvWgyH9
=zSF6
-END PGP SIGNATURE-


Re: LDAP privledges

2011-02-11 Thread James Patrick Sigmon
Hey Josh,

That's exactly what I was looking for.  However, I haven't got it working yet.  
I made the code change, but no user groups were created.  So I figured maybe I 
needed to manually create them and then they would populate.  I did that, and 
gave them the privileges I wanted but to no avail.

How am I supposed to get the groups once I make the code change.

Thanks,

Patrick

On Feb 11, 2011, at 1:31 PM, Josh Thompson wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Patrick,
 
 An easy way to make all users a member of a specific group would be to add 
 the 
 following line to authmethods/ldapauth.php right after //TODO possibly add 
 to 
 a default group:
 
 updateGroups(array(getUserGroupID('All Users', $user['affiliationid'])), 
 $user['id']);
 
 This will result in each affiliation having an All Users group that all
 users from that affiliation would be members of.  If you only want a single
 group instead of one for each affiliation, just hard code the second argument 
 to getUserGroupID instead of using $user['affiliationid'].
 
 As a side note, remember that once you start to make changes to the code, 
 you've made your upgrade path a little more difficult.  The easiest way to 
 find the changes you made to then make the same changes to a new version of 
 the code is to download a fresh copy of the version you have running, and 
 then do a diff between that and your running code.  Then, make the same
 changes to the new version, and you should have your modifications applied
 to the new version.  Even better, make patches for your changes and then 
 just apply them to the new version.
 
 Josh
 
 P.S. I didn't actually test that line of code.  :)
 
 On Friday February 11, 2011, James Patrick Sigmon wrote:
 Hey Guys,
 
 I've been adding in different colleges into VCL via LDAP and plan to
 eventually have it so that it groups like you have at NC State.  However,
 to start I'm just interested in at least giving everyone the same basic
 access to a few images.  I was wondering how I could easily go about doing
 this.  As I stand right now, I can login via LDAP but don't have any
 privileges yet.  I have hunch this will involve the privilege tree and
 some grouping, but also editing a few files (perhaps authentication.php,
 and ldapauth.php).  Again, I'm not sure and any advice would be helpful.
 
 Thanks,
 
 Patrick Sigmon
 - -- 
 - ---
 Josh Thompson
 VCL Developer
 North Carolina State University
 
 my GPG/PGP key can be found at pgp.mit.edu
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.16 (GNU/Linux)
 
 iEYEARECAAYFAk1VgIoACgkQV/LQcNdtPQNIggCbBW4rHCAA/+MWboNUWCzhu9YM
 e+oAniTpKdBK+XPb8WwoEAQ7c2NquLGE
 =d74X
 -END PGP SIGNATURE-



Re: LDAP privledges

2011-02-11 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Patrick,

When you say no user groups were created, how were you checking?  They wouldn't 
show up under the Manage Groups section of the site because they are not 
flagged 
as custom groups in the database.

You should see the groups anywhere you would select a user group.  However, 
they 
will not be created until someone from the desired affiliation has logged in 
after 
the user.lastupdated field for that user is 24 hours old (manually set it to an 
older date to force it).  The other thing you might hit is if you have a case 
statement for that affiliation already in place in the switch statement, in 
which 
case the default one would not be called.  You could move the extra line of 
code 
outside of the switch statement to make it get called for everyone, even if you 
have an existing case statement for that affiliation (that's probably where I 
should have told you to put it in the first place).

Josh

On Friday February 11, 2011, James Patrick Sigmon wrote:
 Hey Josh,
 
 That's exactly what I was looking for.  However, I haven't got it working
 yet.  I made the code change, but no user groups were created.  So I
 figured maybe I needed to manually create them and then they would
 populate.  I did that, and gave them the privileges I wanted but to no
 avail.
 
 How am I supposed to get the groups once I make the code change.
 
 Thanks,
 
 Patrick
 
 On Feb 11, 2011, at 1:31 PM, Josh Thompson wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  Patrick,
  
  An easy way to make all users a member of a specific group would be to
  add the following line to authmethods/ldapauth.php right after //TODO
  possibly add to a default group:
  
  updateGroups(array(getUserGroupID('All Users', $user['affiliationid'])),
  $user['id']);
  
  This will result in each affiliation having an All Users group that all
  users from that affiliation would be members of.  If you only want a
  single group instead of one for each affiliation, just hard code the
  second argument to getUserGroupID instead of using
  $user['affiliationid'].
  
  As a side note, remember that once you start to make changes to the code,
  you've made your upgrade path a little more difficult.  The easiest way
  to find the changes you made to then make the same changes to a new
  version of the code is to download a fresh copy of the version you have
  running, and then do a diff between that and your running code.  Then,
  make the same changes to the new version, and you should have your
  modifications applied to the new version.  Even better, make patches for
  your changes and then just apply them to the new version.
  
  Josh
  
  P.S. I didn't actually test that line of code.  :)
  
  On Friday February 11, 2011, James Patrick Sigmon wrote:
  Hey Guys,
  
  I've been adding in different colleges into VCL via LDAP and plan to
  eventually have it so that it groups like you have at NC State. 
  However, to start I'm just interested in at least giving everyone the
  same basic access to a few images.  I was wondering how I could easily
  go about doing this.  As I stand right now, I can login via LDAP but
  don't have any privileges yet.  I have hunch this will involve the
  privilege tree and some grouping, but also editing a few files (perhaps
  authentication.php, and ldapauth.php).  Again, I'm not sure and any
  advice would be helpful.
  
  Thanks,
  
  Patrick Sigmon
  
  - --
  - ---
  Josh Thompson
  VCL Developer
  North Carolina State University
  
  my GPG/PGP key can be found at pgp.mit.edu
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v2.0.16 (GNU/Linux)
  
  iEYEARECAAYFAk1VgIoACgkQV/LQcNdtPQNIggCbBW4rHCAA/+MWboNUWCzhu9YM
  e+oAniTpKdBK+XPb8WwoEAQ7c2NquLGE
  =d74X
  -END PGP SIGNATURE-
- -- 
- ---
Josh Thompson
VCL Developer
North Carolina State University

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

iEYEARECAAYFAk1Vm7QACgkQV/LQcNdtPQO6VACfawNx0k6bjvgZVzPSJLnY46Ir
pLMAnjTBaFAHQxFM8wdWHjLF6vF/Akwh
=Cuvs
-END PGP SIGNATURE-


Provisioning object could not be created

2011-02-11 Thread Mauricio César Ramírez Torres
Good day, I'm trying to capture a new image, but I make this mistake,
honestly I have no idea referred to, someone has an idea?

He added that shows me the screen when I try to capture the image:

Use Sysprep: No

Enter the name of the image to be captured: ('c' to cancel): winA9

Added new image to database: 'winA9'
   image.name: vmwarewinxp-winA915-v0
   image.id: 15
   imagerevision.id: 15
   imagemeta.id: 11
   resource.id: 24


Inserted imaging request to the database:
request ID: 8
reservation ID: 8

This process will now display the contents of the vcld.log file if the vcld
daemon is running. If you do not see many lines of additional output,
exit this
process, start the vcld daemon, and monitor the image capture process by
running
the command:
tail -f /var/log/vcld.log | grep '8:8'


2011-02-11 14:08:04|4299|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-02-11 14:08:04
2011-02-11 14:08:06|8351|utils.pm:setup_get_array_choice(9986)|choices
argument:
|8351| Yes
|8351| No
2011-02-11 14:08:09|4299|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-02-11 14:08:09
2011-02-11 14:08:14|4299|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-02-11 14:08:14
2011-02-11 14:08:19|4299|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-02-11 14:08:19
2011-02-11 14:08:24|4299|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-02-11 14:08:24
2011-02-11 14:08:27|8351|utils.pm:insert_request(8443)|inserted new
reload request into request table, request id=8
2011-02-11 14:08:27|8351|utils.pm:insert_request(8474)|inserted new
reload request into reservation table, reservation id=8
2011-02-11 14:08:29|4299|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-02-11 14:08:29
2011-02-11
14:08:29|4299|8:8|image|utils.pm:reservation_being_processed(9010)|computerloadlog
'begin' entry does NOT exist for reservation 8
2011-02-11 14:08:29|4299|8:8|image|utils.pm:run_command(9082)|executed
command: pgrep -fl 'vcld [0-9]+:8 ', pid: 8445, exit status: 1, output:
2011-02-11
14:08:29|4299|8:8|image|utils.pm:is_management_node_process_running(9259)|process
is NOT running, identifier: 'vcld [0-9]+:8 '
2011-02-11
14:08:29|4299|8:8|image|utils.pm:reservation_being_processed(9031)|reservation
is NOT currently being processed
2011-02-11 14:08:29|4299|8:8|image|vcld:main(277)|reservation 8 is NOT
already being processed
2011-02-11
14:08:29|4299|8:8|image|utils.pm:get_request_info(4589)|standalone
affiliation found: Local
2011-02-11 14:08:29|4299|8:8|image|vcld:main(282)|retrieved request
information from database
2011-02-11
14:08:29|4299|8:8|image|DataStructure.pm:is_parent_reservation(943)|returning
true: parent reservation ID for this request: 8
2011-02-11
14:08:29|4299|8:8|image|utils.pm:update_request_state(2049)|request 8
state updated to: pending, laststate to: image
2011-02-11 14:08:29|4299|8:8|image|utils.pm:insertloadlog(3933)|inserted
computer=4, begin, beginning to process, state is image
2011-02-11 14:08:29|4299|8:8|image|vcld:make_new_child(510)|loaded
VCL::image module
2011-02-11 14:08:29|4299|8:8|image|vcld:make_new_child(567)|current
number of forked kids: 1
2011-02-11 14:08:29|8459|8:8|image|vcld:make_new_child(583)|vcld
environment variable set to 0 for this process
2011-02-11 14:08:29|8459|8:8|image|Module.pm:new(134)|constructor
called, class=VCL::image
2011-02-11 14:08:29|8459|8:8|image|Module.pm:new(156)|VCL::image object
created
2011-02-11 14:08:29|8459|8:8|image|State.pm:initialize(85)|obtained a
database handle for this state process, stored as $ENV{dbh}
2011-02-11 14:08:29|8459|8:8|image|State.pm:check_image_os(836)|no
corrections need to be made to image OS: vmwarewinxp
2011-02-11
14:08:29|8459|8:8|image|DataStructure.pm:is_parent_reservation(943)|returning
true: parent reservation ID for this request: 8
2011-02-11
14:08:29|8459|8:8|image|utils.pm:rename_vcld_process(7183)|reservation
count: 1
2011-02-11
14:08:29|8459|8:8|image|utils.pm:rename_vcld_process(7202)|PARENTIMAGE: 1
2011-02-11
14:08:29|8459|8:8|image|utils.pm:rename_vcld_process(7203)|SUBIMAGE: 0
2011-02-11
14:08:29|8459|8:8|image|utils.pm:rename_vcld_process(7221)|renamed
process to 'vcld 8:8 image winA9 vmwarewinxp-winA915-v0 admin'
2011-02-11
14:08:29|8459|8:8|image|DataStructure.pm:is_parent_reservation(943)|returning
true: parent reservation ID for this request: 8
2011-02-11
14:08:29|8459|8:8|image|DataStructure.pm:is_parent_reservation(943)|returning
true: parent reservation ID for this request: 8
2011-02-11 14:08:29|8459|8:8|image|State.pm:initialize(118)|attempting
to load provisioning module: VCL::Module::Provisioning::VMware::VMware
2011-02-11
14:08:29|8459|8:8|image|State.pm:initialize(124)|VCL::Module::Provisioning::VMware::VMware
module loaded
2011-02-11 

unable to access vmx base directory path

2011-02-11 Thread Mauricio César Ramírez Torres
I'm trying to capture an image, but I have no access to datastorage I
guess it's the way I'm setting up, but I tried several ways and I can
not do it, anyone can give me an example ? I've tried using ESXi

/vmfs/volumes/datastore1/
datastore1/
/vmfs/UUID/datastore1/

then rename the datastore because I read the file esx.README and try to
replicate the structure suggests, but I still have the same error
[VCL]/golden/
VCL/golden
/vmfs/volumes/VCL/golden

011-02-11
17:14:36|22767|9:9|new|vSphere_SDK.pm:is_restricted(1079)|access to the
VM host via the vSphere SDK is NOT restricted due to the license
2011-02-11 17:14:36|22767|9:9|new|VMware.pm:initialize(229)|vSphere SDK
object will be used to control the VM: milinux, and to control the OS of
the VM host: vclesx
2011-02-11
17:14:38|22767|9:9|new|vSphere_SDK.pm:get_vmware_product_name(955)|VMware 
product
being used on VM host vclesx: 'VMware ESXi 4.0.0 build-261974'
2011-02-11
17:14:42|22767|9:9|new|vSphere_SDK.pm:get_file_info(1937)|searching for
matching file paths: base directory path: '[VCL]', search pattern: 'golden'
2011-02-11
17:14:42|22767|9:9|new|vSphere_SDK.pm:find_files(1705)|matching file
count: 0
2011-02-11 17:14:42|22767|9:9|new|vSphere_SDK.pm:file_exists(1577)|file
does not exist: [VCL] golden
|22767|9:9|new|  WARNING 
|22767|9:9|new| 2011-02-11
17:14:42|22767|9:9|new|VMware.pm:initialize(285)|unable to access vmx
base directory path: [VCL]/golden
|22767|9:9|new| ( 0) utils.pm, notify (line: 630)
|22767|9:9|new| (-1) VMware.pm, initialize (line: 285)
|22767|9:9|new| (-2) Module.pm, new (line: 159)
|22767|9:9|new| (-3) State.pm, initialize (line: 127)
|22767|9:9|new| (-4) Module.pm, new (line: 159)
|22767|9:9|new| (-5) vcld, make_new_child (line: 591)
|22767|9:9|new| (-6) vcld, main (line: 342)
|22767|9:9|new|  WARNING 
|22767|9:9|new| 2011-02-11
17:14:42|22767|9:9|new|State.pm:initialize(132)|provisioning object
could not be created, returning 0
|22767|9:9|new| ( 0) utils.pm, notify (line: 630)
|22767|9:9|new| (-1) State.pm, initialize (line: 132)
|22767|9:9|new| (-2) Module.pm, new (line: 159)
|22767|9:9|new| (-3) vcld, make_new_child (line: 591)
|22767|9:9|new| (-4) vcld, main (line: 342)
2011-02-11 17:14:42|22767|9:9|new|State.pm:DESTROY(902)|destructor
called, ref($self)=VCL::new
2011-02-11
17:14:42|22767|9:9|new|utils.pm:delete_computerloadlog_reservation(6829)|removing
computerloadlog entries matching loadstate = begin
2011-02-11
17:14:42|22767|9:9|new|utils.pm:delete_computerloadlog_reservation(6876)|deleted
rows from computerloadlog for reservation id=9
2011-02-11 17:14:42|22767|9:9|new|State.pm:DESTROY(909)|removed
computerloadlog rows with loadstate=begin for reservation
2011-02-11 17:14:42|22767|9:9|new|State.pm:DESTROY(921)|number of
database handles state process created: 1
2011-02-11 17:14:42|22767|9:9|new|State.pm:DESTROY(930)|process has a
database handle stored in $ENV{dbh}, attempting disconnect
2011-02-11 17:14:42|22767|9:9|new|State.pm:DESTROY(932)|$ENV{dbh}:
database disconnect successful
2011-02-11 17:14:42|22767|9:9|new|State.pm:DESTROY(946)|VCL::new process
22767 exiting


-- 
Atte.

Mauricio César Ramírez Torres.
Soporte Técnico Frigus Bohn.
Tel. (442) 296 4566







-
Antes de imprimir este correo electrónico, piensa bien si es imprescindible 
hacerlo. 
El Medio Ambiente es cosa de todos.






Re: LDAP privledges

2011-02-11 Thread James Patrick Sigmon
Thank Josh, that did the trick :)

On Feb 11, 2011, at 3:27 PM, Josh Thompson wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Patrick,
 
 When you say no user groups were created, how were you checking?  They 
 wouldn't 
 show up under the Manage Groups section of the site because they are not 
 flagged 
 as custom groups in the database.
 
 You should see the groups anywhere you would select a user group.  However, 
 they 
 will not be created until someone from the desired affiliation has logged in 
 after 
 the user.lastupdated field for that user is 24 hours old (manually set it to 
 an 
 older date to force it).  The other thing you might hit is if you have a case 
 statement for that affiliation already in place in the switch statement, in 
 which 
 case the default one would not be called.  You could move the extra line of 
 code 
 outside of the switch statement to make it get called for everyone, even if 
 you 
 have an existing case statement for that affiliation (that's probably where I 
 should have told you to put it in the first place).
 
 Josh
 
 On Friday February 11, 2011, James Patrick Sigmon wrote:
 Hey Josh,
 
 That's exactly what I was looking for.  However, I haven't got it working
 yet.  I made the code change, but no user groups were created.  So I
 figured maybe I needed to manually create them and then they would
 populate.  I did that, and gave them the privileges I wanted but to no
 avail.
 
 How am I supposed to get the groups once I make the code change.
 
 Thanks,
 
 Patrick
 
 On Feb 11, 2011, at 1:31 PM, Josh Thompson wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Patrick,
 
 An easy way to make all users a member of a specific group would be to
 add the following line to authmethods/ldapauth.php right after //TODO
 possibly add to a default group:
 
 updateGroups(array(getUserGroupID('All Users', $user['affiliationid'])),
 $user['id']);
 
 This will result in each affiliation having an All Users group that all
 users from that affiliation would be members of.  If you only want a
 single group instead of one for each affiliation, just hard code the
 second argument to getUserGroupID instead of using
 $user['affiliationid'].
 
 As a side note, remember that once you start to make changes to the code,
 you've made your upgrade path a little more difficult.  The easiest way
 to find the changes you made to then make the same changes to a new
 version of the code is to download a fresh copy of the version you have
 running, and then do a diff between that and your running code.  Then,
 make the same changes to the new version, and you should have your
 modifications applied to the new version.  Even better, make patches for
 your changes and then just apply them to the new version.
 
 Josh
 
 P.S. I didn't actually test that line of code.  :)
 
 On Friday February 11, 2011, James Patrick Sigmon wrote:
 Hey Guys,
 
 I've been adding in different colleges into VCL via LDAP and plan to
 eventually have it so that it groups like you have at NC State. 
 However, to start I'm just interested in at least giving everyone the
 same basic access to a few images.  I was wondering how I could easily
 go about doing this.  As I stand right now, I can login via LDAP but
 don't have any privileges yet.  I have hunch this will involve the
 privilege tree and some grouping, but also editing a few files (perhaps
 authentication.php, and ldapauth.php).  Again, I'm not sure and any
 advice would be helpful.
 
 Thanks,
 
 Patrick Sigmon
 
 - --
 - ---
 Josh Thompson
 VCL Developer
 North Carolina State University
 
 my GPG/PGP key can be found at pgp.mit.edu
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.16 (GNU/Linux)
 
 iEYEARECAAYFAk1VgIoACgkQV/LQcNdtPQNIggCbBW4rHCAA/+MWboNUWCzhu9YM
 e+oAniTpKdBK+XPb8WwoEAQ7c2NquLGE
 =d74X
 -END PGP SIGNATURE-
 - -- 
 - ---
 Josh Thompson
 VCL Developer
 North Carolina State University
 
 my GPG/PGP key can be found at pgp.mit.edu
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.16 (GNU/Linux)
 
 iEYEARECAAYFAk1Vm7QACgkQV/LQcNdtPQO6VACfawNx0k6bjvgZVzPSJLnY46Ir
 pLMAnjTBaFAHQxFM8wdWHjLF6vF/Akwh
 =Cuvs
 -END PGP SIGNATURE-



Re: unable to access vmx base directory path

2011-02-11 Thread Marty Malinics
I'm still pretty new to this myself but I just spent most of the week
learning it and finally was able to capture an image. From what I read
in the documentation depending on whether you set up your VM profile for
localdisk or network disk your image will be stored on the management
server or a shared network disk. If you have more than one Virtual host
you may want to go the network shared route. The easiest way is to
create a new storage repository on the VMsphere client. I used nfs and
named mine VCL but I don't think it really matters as long as it matches
the VM profile under the datastore setting. Once you create the storage
on the vmsphere client you will see a new directory created under
/vmfs/volumes/ on the ESXi server. The directory /install/vmware_images
is the location on the management server where images are stored.
Regarding the vmx file location, this is set under the VM path setting
in the VM profile. I used the location /vmware on the ESXi server. When
a new vmx is created it creates a new directory of the virtual machine
with the vmx file located in it.
I think that is the setting that you may be missing. Hope that helps.

yours,
Martin

Martin Malinics
Network Manager
Coatesville Area School District
610-466-2441
malin...@coatesville.k12.pa.us
 Mauricio César Ramírez Torresmrami...@cft.com.mx 02/11/11 6:48 PM

I'm trying to capture an image, but I have no access to datastorage I
guess it's the way I'm setting up, but I tried several ways and I can
not do it, anyone can give me an example ? I've tried using ESXi

/vmfs/volumes/datastore1/
datastore1/
/vmfs/UUID/datastore1/

then rename the datastore because I read the file esx.README and try to
replicate the structure suggests, but I still have the same error
[VCL]/golden/
VCL/golden
/vmfs/volumes/VCL/golden

011-02-11
17:14:36|22767|9:9|new|vSphere_SDK.pm:is_restricted(1079)|access to the
VM host via the vSphere SDK is NOT restricted due to the license
2011-02-11 17:14:36|22767|9:9|new|VMware.pm:initialize(229)|vSphere SDK
object will be used to control the VM: milinux, and to control the OS of
the VM host: vclesx
2011-02-11
17:14:38|22767|9:9|new|vSphere_SDK.pm:get_vmware_product_name(955)|VMware
product
being used on VM host vclesx: 'VMware ESXi 4.0.0 build-261974'
2011-02-11
17:14:42|22767|9:9|new|vSphere_SDK.pm:get_file_info(1937)|searching for
matching file paths: base directory path: '[VCL]', search pattern:
'golden'
2011-02-11
17:14:42|22767|9:9|new|vSphere_SDK.pm:find_files(1705)|matching file
count: 0
2011-02-11 17:14:42|22767|9:9|new|vSphere_SDK.pm:file_exists(1577)|file
does not exist: [VCL] golden
|22767|9:9|new|  WARNING 
|22767|9:9|new| 2011-02-11
17:14:42|22767|9:9|new|VMware.pm:initialize(285)|unable to access vmx
base directory path: [VCL]/golden
|22767|9:9|new| ( 0) utils.pm, notify (line: 630)
|22767|9:9|new| (-1) VMware.pm, initialize (line: 285)
|22767|9:9|new| (-2) Module.pm, new (line: 159)
|22767|9:9|new| (-3) State.pm, initialize (line: 127)
|22767|9:9|new| (-4) Module.pm, new (line: 159)
|22767|9:9|new| (-5) vcld, make_new_child (line: 591)
|22767|9:9|new| (-6) vcld, main (line: 342)
|22767|9:9|new|  WARNING 
|22767|9:9|new| 2011-02-11
17:14:42|22767|9:9|new|State.pm:initialize(132)|provisioning object
could not be created, returning 0
|22767|9:9|new| ( 0) utils.pm, notify (line: 630)
|22767|9:9|new| (-1) State.pm, initialize (line: 132)
|22767|9:9|new| (-2) Module.pm, new (line: 159)
|22767|9:9|new| (-3) vcld, make_new_child (line: 591)
|22767|9:9|new| (-4) vcld, main (line: 342)
2011-02-11 17:14:42|22767|9:9|new|State.pm:DESTROY(902)|destructor
called, ref($self)=VCL::new
2011-02-11
17:14:42|22767|9:9|new|utils.pm:delete_computerloadlog_reservation(6829)|removing
computerloadlog entries matching loadstate = begin
2011-02-11
17:14:42|22767|9:9|new|utils.pm:delete_computerloadlog_reservation(6876)|deleted
rows from computerloadlog for reservation id=9
2011-02-11 17:14:42|22767|9:9|new|State.pm:DESTROY(909)|rem2011-02-11 
17:14:42|22767|9:9|new|State.pm:DESTROY(921)|number of
database handles state process created: 1
2011-02-11 17:14:42|22767|9:9|new|State.pm:DESTROY(930)|process has a
database handle stored in $ENV{dbh}, attempting disconnect
2011-02-11 17:14:42|22767|9:9|new|State.pm:DESTROY(932)|$ENV{dbh}:
database disconnect successful
2011-02-11 17:14:42|22767|9:9|new|State.pm:DESTROY(946)|VCL::new process
22767 exiting


-- 
Atte.

Mauricio César Ramírez Torres.
Soporte Técnico Frigus Bohn.
Tel. (442) 296 4566







-
Antes de imprimir este correo electrónico, piensa bien si es
imprescindible hacerlo. 
El Medio Ambiente es cosa de todos.