Re: VCL image capture dies, failed to prepare vmx file

2012-06-26 Thread Aaron Peeler
Hello Will,

You will want to disable the auto-assigned mac addresses from ESX/ESXi.

Part of the requirement is to run a dhcp server on the management
node, at a minimum for the private management network.

With that when you add new computers you define your mac addresses
upfront in the add computers interface. When you add multiples you can
add many at a time. Also the add computers tool, will generate
dhcpd.conf entries for each node, so you can cut-n-paste to your
dhcpd.conf file.

Please see the Adding Virtual Machines section in this link for the
detailed steps,
https://cwiki.apache.org/VCL/vcl-221-further-steps-if-using-vmware.html

Hope this helps.
Aaron

On Mon, Jun 25, 2012 at 9:13 AM, William Robinson
w...@exchange.clemson.edu wrote:
 hi all,

 new to this list.  i have started setting up vcl here and clemson university
 and this thread has touched on one of the questions i had in trying to do
 so.  do i assign mac addresses based on what esxi generates?  if not, how do
 i map those correctly?  thanks.

 will



 On 06/20/2012 10:16 AM, Josh Thompson wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Michael,

 Unfortunately, yes, in 2.2.1, you can only set MAC addresses via the add
 multiple computers page.  You'll need to set them in the database.  This
 is
 fixed in 2.3.

 Josh

 On Wednesday, June 20, 2012 9:12:52 AM Michael Jinks wrote:

 Thanks Aaron.

 Ah, yes.  It didn't occur to me that we'd have to have MAC addresses
 defined for a machine we're capturing *from*.  I figured, well, it's
 running and has IP addresses...

 At any rate, I'm looking around the UI and I can't find any page that
 will let me enter a MAC address for an existing computer record.  Is
 this something I have to do by hand in the database?

 On Wed, Jun 20, 2012 at 08:46:40AM -0400, Aaron Peeler wrote:

 Hello Michael,

 One thing that stands out in the log is that your MAC addresses are not
 defined. computer eth0 MAC address: undefined
 computer eth1 MAC address: undefined

 This will be needed to correctly create the vmx file and thus get an
 address from the private dhcp server that is should be running on your
 management node.

 Secondly also make sure you have the dhcp server setup on your
 management node for the private network.

 Aaron

 On Tue, Jun 19, 2012 at 5:53 PM, Michael Jinks mji...@uchicago.edu

 wrote:

 Hi, all.

 Trying to resurrect a thread I started on Friday, subject 'Image
 capture
 succeeds, then fails'. ?Mike Haudenschild helped me narrow down the
 problem but so far I haven't been able to find a cause or a fix.

 I'm trying to capture my first Linux VM. ?Things go along okay through
 the capture stage, but (thanks Mike) we fail when VCL tries to reserve
 and deploy the new image.

 The critical message from the log appears to be:

 ?|17491|19:19|reload|  WARNING 
 ?|17491|19:19|reload| 2012-06-19
 ?14:10:22|17491|19:19|reload|VMware.pm:load(395)|failed to prepare vmx
 file for vcl-linux-template-2-bak on VM host: vcl0001
 ?|17491|19:19|reload| ( 0) VMware.pm, load (line: 395)
 ?|17491|19:19|reload| (-1) new.pm, reload_image (line: 618)
 ?|17491|19:19|reload| (-2) new.pm, process (line: 248)
 ?|17491|19:19|reload| (-3) vcld, make_new_child (line: 568)
 ?|17491|19:19|reload| (-4) vcld, main (line: 346)


 Further down, I'll paste in a complete copy of the log mail I got from
 this attempt.

 Our VM storage settings for this VM host are:

 ?Repository Path: ? ? ? /vmfs/volumes/nfs-vcl-templates
 ?Data Store Path: ? ? ? /vmfs/volumes/T2_6045_dev_VCL_ds01
 ?VM Path: ? ? ? /vmfs/volumes/T2_6045_dev_VCL_ds01

 (Note Data Store and VM are explicitly the same; we've also had VM Path
 set to (empty) with no apparent difference in behavior.)

 Both of those paths are writable on the hypervisor. ?During capture, a
 VM directory appears in both locations. ?In the directory under the
 Repository path, we have many vmdk files, sizes ranging from 842M to
 1.5k, with names like:

 ?vmwarelinux-linuxtemplate2v1226-v0-s001.vmdk
 ?vmwarelinux-linuxtemplate2v1226-v0-s002.vmdk
 ?vmwarelinux-linuxtemplate2v1226-v0-s003.vmdk
 ?[...]
 ?vmwarelinux-linuxtemplate2v1226-v0-s016.vmdk
 ?vmwarelinux-linuxtemplate2v1226-v0.vmdk

 My first guess is that we have one vmdk file for each attempted
 capture,
 and this is a series of xdiffs on the original?

 In the Data Store/VM directory, we have:

 ?# pwd
 ?/vmfs/volumes/T2_6045_dev_VCL_ds01/vmwarelinux-linuxtemplate2v1226-v0
 ?# ls -lh
 ?-rw--- ? ?1 root ?root ? 30.0G Jun 19 20:12
 vmwarelinux-linuxtemplate2v1226-v0-flat.vmdk ?-rw--- ? ?1 root
 ?root ? ? 527 Jun 19 20:12 vmwarelinux-linuxtemplate2v1226-v0.vmdk

 So, it seems that those locations are accessible and writable, and
 being
 written. ?What else might cause the vmx file prep to fail? ?I went to
 VMware.pm line 395, but that's a call to a subroutine, prepare_vmx(),
 which is a fairly lengthy chunk of code and doesn't appear to be
 dropping any breadcrumbs as it runs, only the failure

Re: [vcl-team] Re: VCL: public/private IP discrepency?

2012-06-26 Thread Aaron Peeler
 we try to capture the image, because
    vcld
      tries to ssh to that address, which is obviously wrong, as the VCL
    ssh
      key is trusted on the private-side sshd instance.
     
      What should I be doing instead?  Is there any way to get the
    correct
      address set for the public and private interfaces?  Do I have to do
    this
      by hand in the database?
     
      --
      Michael Jinks :: [6]mji...@uchicago.edu
      University of Chicago IT Services

      --
      Michael Jinks :: [7]mji...@uchicago.edu :: [8]773-469-9688

    University of Chicago IT Services

 References

    1. mailto:m...@longsight.com
    2. http://markmail.org/message/t2ajnaew5qe4jxul
    3. mailto:mji...@uchicago.edu
    4. tel:128.135.192.15
    5. mailto:mji...@uchicago.edu
    6. mailto:mji...@uchicago.edu
    7. mailto:mji...@uchicago.edu
    8. tel:773-469-9688

 --
 Michael Jinks :: mji...@uchicago.edu :: 773-469-9688
 University of Chicago IT Services



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: VCL: public/private IP discrepency?

2012-06-26 Thread Aaron Peeler
Yes, in the vcl code during the post_load tasks of the OS modules.
There is a step to collect the network configuration of the loaded
node(vm or bare-metal), figure out the publicly assigned address and
then update the database which is then presented to the end-user.

Aaron

On Tue, Jun 26, 2012 at 9:50 AM, Michael Jinks mji...@uchicago.edu wrote:
 Thanks Aaron.

 Maybe this will be obvious when we get further into our testing, but how
 do you provide access to deployed hosts where the DHCP-assigned
 addresses are random?  Are you using DynDNS?


 On Tue, Jun 26, 2012 at 09:36:52AM -0400, Aaron Peeler wrote:
 Set it to dynamic dhcp, this setting will work fine for either true
 dynamic dhcp or fixed dhcp assignments.

 The main differences from VCL's perspective:
 Dynamic dhcp setting - fetch the assigned address using ifconfig or
 ipconfig(depending on the provisioned OS) and update the public IP
 address in the computer table.

 Manual dhcp setting- return the address assigned in vcl database, this
 method assumes that the address is correctly defined in the
 vcl.computer table. This setting will likely go away since the dynamic
 dhcp option is doing the right thing in confirming an address got
 assigned to the machine.

 I would like to see the manual dhcp setting go away in the future,
 since it's not really doing anything.

 We have a mix here at NCSU, our campus networking group uses fixed
 dhcp on campus, in another off campus DC we use dynamic dhcp.  We have
 it set to dynamic dhcp for all of our 8 management nodes.

 Aaron

 On Tue, Jun 26, 2012 at 9:19 AM, Michael Jinks mji...@uchicago.edu wrote:
  Hi Aaron.
 
  Ah, sure enough, it is set to Static. ?Silly me, when I first set this
  up I read that to mean don't try to set the public IP, leave it to us
  humans to configure.
 
  ...Okay, so how would we get that behvior? ?We'll want our deployed VM's
  to come up with predictable IP addresses so that customers can reach
  them, so dynamic DHCP isn't going to work. ?Our NOC runs DHCP on the
  public wire, and can't do static assignments of IP addresses due to
  limitations in their DHCP server. ?(In VCL's terms, what's the
  difference between dynamic and manual DHCP?)
 
  Are other sites using DynDNS, maybe? ?Does VCL have hooks for updating
  the DynDNS service when it deploys a machine?
 
  I think our only other option is going to be to deploy a DHCP server on
  the public-facing segment with lots of precautions to make sure it
  doesn't try to handle requests from anything other than VCL-deployed
  systems. ?Technically easy, organizationally challenging, so I'd like to
  avoid that if possible.
 
 
 
  On Tue, Jun 26, 2012 at 09:03:32AM -0400, Aaron Peeler wrote:
  Hello Mike,
 
  I'm curious if the management node set to statically assign the public 
  address.
 
  Can you double check the settings for your management node? Select
  Management node- Edit management Node Information and select Edit.
  Near the bottom.
  With this feature you can define how VCL handles the node's IP
  address, dynamic dhcp, manual dhcp, or static (statically assign an
  address).
 
  Aaron
 
  On Tue, Jun 26, 2012 at 8:51 AM, Michael Jinks mji...@uchicago.edu 
  wrote:
   No, that's not the problem we're having. ?(We *did* have that problem,
   and just deleting the offending rule file no lnoger works in RHEL 6,
   but we fixed it by creating
   /etc/udev/rules.d/75-persistent-net-generator.rules as a symlink to
   /dev/null). ?At this point, Linux is doing the right thing with its
   network devices when the image deploys to new virtual hardware.
  
   The problem is that something -- and I can't think of any suspects other
   than something in VCL -- rewrites
   /etc/sysconfig/network-scripts/ifcfg-eth1 during the capture process, so
   that it comes up with what should be eth0's IP address.
  
   eth0, meanwhile, stays set to use DHCP, and gets the address we've
   assigned there, so both interfaces come up with the same IP.
  
   Okay, if VCL wants to write the config for the public-side IP, I thought
   I'd try changing the IP Address field in the database to the correct
   one for this machine's public interface. ?But when I do that, vcld tries
   to ssh to that address to initiate capture, and of course that fails
   because the sshd listening on that interface doesn't trust vcld's key.
  
   So it seems like we're in a catch 22 with our address naming, and I
   don't know what I've done wrong.
  
  
   On Mon, Jun 25, 2012 at 06:23:54PM -0400, Mike Haudenschild wrote:
   ? ?To clarify: Linux is probably creating an eth2 because it's holding 
   out
   ? ?that its OLD eth0 (which was in your image) might someday come back.
  
   ? ?On Mon, Jun 25, 2012 at 6:22 PM, Mike Haudenschild
   ? ?[1]m...@longsight.com wrote:
  
   ? ? ?Ahh, I think you're running into this:
  
   ? ?[2]http://markmail.org/message/t2ajnaew5qe4jxul
   ? ?On Mon, Jun 25, 2012 at 5:55 PM, Michael Jinks 
   [3]mji...@uchicago.edu

Re: Windows capture fails

2012-06-21 Thread Aaron Peeler
Hi Michael and team,

Could you share your vmware host server and vmware profile information
that you have stored in your setup? Based on the log output there
might be some missing information or it's not setup correctly.

Since this is a public list, if there are any public IP address or
anything important feel free to obscure that info or send to me
privately.

Thanks,
Aaron

On Wed, Jun 20, 2012 at 10:01 AM, Michael Jinks mji...@uchicago.edu wrote:
 We're using 2.2.1.  When I downloaded the package it was the only
 release I could find without going to svn.


 On Wed, Jun 20, 2012 at 08:48:01AM -0400, Aaron Peeler wrote:
 Hello Michael,

 Which version are you using? VCL 2.2.1 or the pre-release of 2.3? The
 execute subroutine is not implemented is concerning.

 Thanks,
 Aaron

 On Tue, Jun 19, 2012 at 7:53 PM, Michael Jinks mji...@uchicago.edu wrote:
  Hi List. ?As threatened, here's the tale of our attempt to capture our
  first Windows image. ?As with our Linux capture, it appears that the VM
  disk image is being copied into our Data and Repository paths, but
  something goes wrong later in the process, but the warnings we find in
  the log are different for our Windows image than for the Linux one.
 
  As before, I'll paste the full log from the PROBLEM mail below, but it
  looks like this is significant:
 
  ?|19609|20:20|image|  WARNING 
  ?|19609|20:20|image| 2012-06-19 
  14:36:58|19609|20:20|image|VIM_SSH.pm:initialize(112)|required VM host OS 
  subroutine is not implemented: execute
  ?|19609|20:20|image| ( 0) VIM_SSH.pm, initialize (line: 112)
  ?|19609|20:20|image| (-1) Module.pm, new (line: 207)
  ?|19609|20:20|image| (-2) VMware.pm, (eval) (line: 1303)
  ?|19609|20:20|image| (-3) VMware.pm, get_vmhost_api_object (line: 1303)
  ?|19609|20:20|image| (-4) VMware.pm, initialize (line: 278)
  ?|19609|20:20|image| (-5) Module.pm, new (line: 207)
  ?2012-06-19 
  14:36:58|19609|20:20|image|VMware.pm:get_vmhost_api_object(1313)|API 
  object could not be created: VCL::Module::Provisioning::VMware::VIM_SSH
 
  This looks to me like there must be something missing, maybe within the
  Windows VM itself? ?Did we leave out a package somewhere?
 
  Thanks,
  -m
  --
  Michael Jinks :: mji...@uchicago.edu
  University of Chicago IT Services
 
  Complete log message follows:
 
  VCL::image object could not be created and initialized
  
  time: 2012-06-19 14:36:58
  caller: vcld:make_new_child(571)
  ( 0) vcld, make_new_child (line: 571)
  (-1) vcld, main (line: 346)
  
  management node: pilot-lab.uchicago.edu
  reservation PID: 19609
  parent vcld PID: 2491
 
  request ID: 20
  reservation ID: 20
  request state/laststate: image/image
  request start time: 2012-06-19 14:36:50
  request end time: 2012-06-19 15:36:50
  for imaging: no
  log ID: none
 
  computer: vcl-win7-test
  computer id: 8
  computer type: virtualmachine
  computer eth0 MAC address: undefined
  computer eth1 MAC address: undefined
  computer private IP address: 10.50.84.16
  computer public IP address: 10.50.84.16
  computer in block allocation: no
  provisioning module: VCL::Module::Provisioning::VMware::VMware
 
  vm host: undefined
  vm host ID: undefined
  vm host computer ID: undefined
  vm profile: undefined
  vm profile VM path: undefined
  vm profile repository path: undefined
  vm profile datastore path: undefined
  vm profile disk type: undefined
 
  image: vmwarewin7-win7vmimage27-v0
  image display name: win7-vm-image
  image ID: 27
  image revision ID: 23
  image size: 1450 MB
  use Sysprep: no
  root access: yes
  image owner ID: 1
  image owner affiliation: Local
  image revision date created: 2012-06-19 14:36:50
  image revision production: yes
  OS module: VCL::Module::OS::Windows::Version_6::7
 
  user: admin
  user name: vcl admin
  user ID: 1
  user affiliation: Local
  
  RECENT LOG ENTRIES FOR THIS PROCESS:
  |19609|20:20|image| (-1) Autoload.pm, __ANON__ (line: 80)
  |19609|20:20|image| (-2) VMware.pm, get_vmhost_datastructure (line: 1161)
  |19609|20:20|image| (-3) VMware.pm, get_vmhost_api_object (line: 1282)
  |19609|20:20|image| (-4) VMware.pm, initialize (line: 278)
  |19609|20:20|image| (-5) Module.pm, new (line: 207)
  |19609|20:20|image|  WARNING 
  |19609|20:20|image| 2012-06-19 
  14:36:58|19609|20:20|image|DataStructure.pm:_automethod(812)|corresponding 
  data has not been initialized for get_vmhost_profile_image_id: 
  $self-request_data-{reservation}{20}{computer}{vmhost}{vmprofile}{imageid}
  |19609|20:20|image| ( 0) DataStructure.pm, _automethod (line: 812)
  |19609|20:20|image| (-1) Autoload.pm, __ANON__ (line: 80)
  |19609|20:20|image| (-2) VMware.pm, get_vmhost_datastructure (line: 1162)
  |19609|20:20|image| (-3) VMware.pm, get_vmhost_api_object (line: 1282

Re: Windows capture fails

2012-06-20 Thread Aaron Peeler
:20|image| 2012-06-19 
 14:36:58|19609|20:20|image|Module.pm:create_provisioning_object(431)|provisioning
  object could not be created, returning 0
 |19609|20:20|image| ( 0) Module.pm, create_provisioning_object (line: 431)
 |19609|20:20|image| (-1) State.pm, initialize (line: 117)
 |19609|20:20|image| (-2) Module.pm, new (line: 207)
 |19609|20:20|image| (-3) vcld, make_new_child (line: 564)
 |19609|20:20|image| (-4) vcld, main (line: 346)
 |19609|20:20|image|  WARNING 
 |19609|20:20|image| 2012-06-19 
 14:36:58|19609|20:20|image|State.pm:initialize(118)|failed to create 
 provisioning object
 |19609|20:20|image| ( 0) State.pm, initialize (line: 118)
 |19609|20:20|image| (-1) Module.pm, new (line: 207)
 |19609|20:20|image| (-2) vcld, make_new_child (line: 564)
 |19609|20:20|image| (-3) vcld, main (line: 346)
 2012-06-19 14:36:58|19609|20:20|image|State.pm:DESTROY(829)|VCL::image 
 destructor called, address: 35a4ae8
 2012-06-19 
 14:36:58|19609|20:20|image|utils.pm:delete_computerloadlog_reservation(6742)|removing
  computerloadlog entries matching loadstate = begin
 2012-06-19 
 14:36:58|19609|20:20|image|utils.pm:delete_computerloadlog_reservation(6789)|deleted
  rows from computerloadlog for reservation id=20
 2012-06-19 14:36:58|19609|20:20|image|State.pm:DESTROY(848)|number of 
 database handles state process created: 1
 2012-06-19 14:36:58|19609|20:20|image|State.pm:DESTROY(876)|VCL::image 
 process duration: 6 seconds
 2012-06-19 
 14:36:58|19609|20:20|image|DataStructure.pm:get_computer_private_ip_address(1581)|attempting
  to retrieve private IP address for computer: vcl-win7-test
 2012-06-19 
 14:36:58|19609|20:20|image|DataStructure.pm:get_computer_private_ip_address(1585)|retrieved
  contents of /etc/hosts on this management node, contains 18 lines
 2012-06-19 
 14:36:58|19609|20:20|image|DataStructure.pm:get_computer_private_ip_address(1645)|returning
  IP address from /etc/hosts file: 10.50.84.16
 2012-06-19 14:36:58|19609|20:20|image|utils.pm:getnewdbh(2703)|unable to use 
 database handle stored in $ENV{dbh}
 2012-06-19 14:36:58|19609|20:20|image|utils.pm:getnewdbh(2760)|database 
 handle stored in $ENV{dbh}
 2012-06-19 14:36:58|19609|20:20|image|utils.pm:is_inblockrequest(6163)|zero 
 rows were returned from database select
 2012-06-19 
 14:36:58|19609|20:20|image|DataStructure.pm:get_image_affiliation_name(2035)|image
  owner id: 1
 2012-06-19 14:36:58|19609|20:20|image|utils.pm:getnewdbh(2709)|database 
 requested (information_schema) does not match handle stored in $ENV{dbh} 
 (vcl:128.135.107.122)
 2012-06-19 14:36:58|19609|20:20|image|utils.pm:getnewdbh(2760)|database 
 handle stored in $ENV{dbh}
 2012-06-19 
 14:36:58|19609|20:20|image|DataStructure.pm:retrieve_user_data(1352)|attempting
  to retrieve and store data for user: user.id = '1'
 2012-06-19 14:36:58|19609|20:20|image|utils.pm:getnewdbh(2709)|database 
 requested (vcl) does not match handle stored in $ENV{dbh} 
 (information_schema:128.135.107.122)
 2012-06-19 14:36:58|19609|20:20|image|utils.pm:getnewdbh(2760)|database 
 handle stored in $ENV{dbh}
 2012-06-19 
 14:36:58|19609|20:20|image|DataStructure.pm:retrieve_user_data(1415)|data has 
 been retrieved for user: admin (id: 1)




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: VCL image capture dies, failed to prepare vmx file

2012-06-20 Thread Aaron Peeler
ok. Then best bet is to update the computer records for the missing
mac addresses.

I typically use phpmyadmin or cmdline. I'm not sure what other tools
are available for editing mysql db's.

An issue with just deleting the computer record, is that there is also
a record in the resource table that is used to reference the
computer.id. This resource.id is used for computer groups and some
other things. If deleting only the computer record, then it would
cause other queries to fail.

Aaron

On Wed, Jun 20, 2012 at 11:16 AM, Mike Haudenschild m...@longsight.com wrote:
 I've run into issues adding new machines that have MAC addresses matching
 deleted machines in 2.2.1.




 On Wed, Jun 20, 2012 at 11:10 AM, Aaron Peeler fapee...@ncsu.edu wrote:

 I agree with Aaron C. and Mike.

 Another method, you could mark them as deleted in the VCL web
 interface and add new ones. To delete them you would need to remove
 them from the virtual hosts and edit the hostname so you can reuse it.

 Aaron P.

 On Wed, Jun 20, 2012 at 11:04 AM, Aaron Coburn acob...@amherst.edu
 wrote:
  Michael,
 
  It isn't necessary to delete the rows from 'vcl.computer'. In order to
  edit
  the MAC addresses, you only need to update the 'eth0macaddress' and
  'eth1macaddress' fields in the existing records.
 
  I wouldn't recommend it, but if you really need to delete the records
  from
  the computer table, there should be no issue as long as the
  vcl.reservation
  table is empty.
 
  Aaron
 
 
  --
  Aaron Coburn
  Systems Administrator and Programmer
  Academic Technology Services, Amherst College
  acob...@amherst.edu
 
 
 
  On Jun 20, 2012, at 10:47 AM, Michael Jinks wrote:
 
  Okay.
 
  If I go to SQL-land and delete the record for that host from the
  'computers' table, will that be enough to remove it from the system or
  are
  there other areas of the DB I need to clean out as well?
 
  (Sorry if that's a dumb question, but I've found other areas where just
  removing a record doesn't remove all traces of the record, like the list
  of virtual machines assigned to a hypervisor, so I figured I should
  check before I start deleting things.)
 
  Thanks all.
 
  -m
 
 
  On Wed, Jun 20, 2012 at 10:16:04AM -0400, Josh Thompson wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
 
  Hash: SHA1
 
 
  Michael,
 
 
  Unfortunately, yes, in 2.2.1, you can only set MAC addresses via the add
 
  multiple computers page.  You'll need to set them in the database.  This
  is
 
  fixed in 2.3.
 
 
  Josh
 
 
  On Wednesday, June 20, 2012 9:12:52 AM Michael Jinks wrote:
 
  Thanks Aaron.
 
 
  Ah, yes.  It didn't occur to me that we'd have to have MAC addresses
 
  defined for a machine we're capturing *from*.  I figured, well, it's
 
  running and has IP addresses...
 
 
  At any rate, I'm looking around the UI and I can't find any page that
 
  will let me enter a MAC address for an existing computer record.  Is
 
  this something I have to do by hand in the database?
 
 
  On Wed, Jun 20, 2012 at 08:46:40AM -0400, Aaron Peeler wrote:
 
  Hello Michael,
 
 
  One thing that stands out in the log is that your MAC addresses are not
 
  defined. computer eth0 MAC address: undefined
 
  computer eth1 MAC address: undefined
 
 
  This will be needed to correctly create the vmx file and thus get an
 
  address from the private dhcp server that is should be running on your
 
  management node.
 
 
  Secondly also make sure you have the dhcp server setup on your
 
  management node for the private network.
 
 
  Aaron
 
 
  On Tue, Jun 19, 2012 at 5:53 PM, Michael Jinks mji...@uchicago.edu
 
  wrote:
 
  Hi, all.
 
 
  Trying to resurrect a thread I started on Friday, subject 'Image capture
 
  succeeds, then fails'. ?Mike Haudenschild helped me narrow down the
 
  problem but so far I haven't been able to find a cause or a fix.
 
 
  I'm trying to capture my first Linux VM. ?Things go along okay through
 
  the capture stage, but (thanks Mike) we fail when VCL tries to reserve
 
  and deploy the new image.
 
 
  The critical message from the log appears to be:
 
 
  ?|17491|19:19|reload|  WARNING 
 
  ?|17491|19:19|reload| 2012-06-19
 
  ?14:10:22|17491|19:19|reload|VMware.pm:load(395)|failed to prepare vmx
 
  file for vcl-linux-template-2-bak on VM host: vcl0001
 
  ?|17491|19:19|reload| ( 0) VMware.pm, load (line: 395)
 
  ?|17491|19:19|reload| (-1) new.pm, reload_image (line: 618)
 
  ?|17491|19:19|reload| (-2) new.pm, process (line: 248)
 
  ?|17491|19:19|reload| (-3) vcld, make_new_child (line: 568)
 
  ?|17491|19:19|reload| (-4) vcld, main (line: 346)
 
 
 
  Further down, I'll paste in a complete copy of the log mail I got from
 
  this attempt.
 
 
  Our VM storage settings for this VM host are:
 
 
  ?Repository Path: ? ? ? /vmfs/volumes/nfs-vcl-templates
 
  ?Data Store Path: ? ? ? /vmfs/volumes/T2_6045_dev_VCL_ds01
 
  ?VM Path: ? ? ? /vmfs/volumes/T2_6045_dev_VCL_ds01
 
 
  (Note Data Store and VM are explicitly the same; we've also

Re: Cap on RDP bandwidth

2012-06-11 Thread Aaron Peeler
Hi Mike,

Sorry I'm not much help in this area, but there might be some traffic
shaping options in vmware esx/esxi or maybe some options in your local
switching gear.

Other than that, I'm sure there are products that can do this.

Aaron


On Thu, Jun 7, 2012 at 10:40 AM, Mike Haudenschild m...@longsight.com wrote:
 Hello, VCL folks.  I was curious if anyone out there is limiting or capping
 the per-session (per-reservation) bandwidth for the Windows RDP session, and
 if so, how you're going about it.

 Thanks,
 Mike

 --
 Mike Haudenschild
 Education Systems Manager
 Longsight Group
 (740) 599-5005 x809
 m...@longsight.com
 www.longsight.com




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: Making Documentation link available on the very 1st page?

2012-06-08 Thread Aaron Peeler
Ah ok.

Mark, Thanks for your idea and work on this.
Looks good.
Aaron

On Fri, Jun 8, 2012 at 8:45 AM, Dmitri Chebotarov dcheb...@gmu.edu wrote:


 --

 Hi

 To be fair, I need to say that the idea wasn't my and most of the work
 adding this option was done by Mark Craft. I just continued his work, tested
 it and attached the code.

 --
 Thank you,

 Dmitri Chebotarov
 Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
 223 Aquia Building, Ffx, MSN: 1B5
 Phone: (703) 993-6175
 Fax: (703) 993-3404

 On Friday, June 8, 2012 at 8:18 , Aaron Peeler wrote:

 Hi Dmitri,

 I think it's a great idea and looks good.

 Aaron

 On Thu, Jun 7, 2012 at 1:30 PM, Dmitri Chebotarov dcheb...@gmu.edu wrote:


 Please take a look at https://issues.apache.org/jira/browse/VCL-593, which
 suggests possible solution to add links to VCL login page.

 --
 Thank you,

 Dmitri Chebotarov
 Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
 223 Aquia Building, Ffx, MSN: 1B5
 Phone: (703) 993-6175
 Fax: (703) 993-3404

 On Thursday, June 7, 2012 at 9:02 , Mark Gardner wrote:

 I like the idea of making it easier to get information about VCL.

 Mark

 On Wed, Jun 6, 2012 at 11:05 AM, Josh Thompson josh_thomp...@ncsu.edu
 wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Dmitri,

 I like the idea of having a link to more information about VCL without
 requiring people to first log in to see the link.  However, I think it would
 be strange to only have a single item in the navigation area on the left.
  How
 about adding a few information links?  Maybe something like the following:

 What is VCL?
 Using VCL
 Getting Access to VCL

 Each would be a link to the Apache VCL site by default, but could be changed
 for individual sites if so desired.

 What do others think?

 Josh

 On Tuesday, June 05, 2012 4:10:34 PM Dmitri Chebotarov wrote:

 Hi

 Is it possible to make Documentation link available on very 1st page at VCL
 website? If possible it should be on the left pane, where modules links
 usually displayed after login. User can click an learn about VCL system
 before they need to select authentication and/or login to the VCL.

 --
 Thank you,

 Dmitri Chebotarov
 Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
 223 Aquia Building, Ffx, MSN: 1B5
 Phone: (703) 993-6175
 Fax: (703) 993-3404

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

 my GPG/PGP key can be found at pgp.mit.edu

 All electronic mail messages in connection with State business which
 are sent to or received by this account are subject to the NC Public
 Records Law and may be disclosed to third parties.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.17 (GNU/Linux)

 iEYEARECAAYFAk/PcdMACgkQV/LQcNdtPQPGRwCfSQBkbC7TXrvI3jmshi5mgAPN
 7Z0An3FluOiAouvLutqbF1AQGn0qtkim
 =zuIY
 -END PGP SIGNATURE-




 --
 Mark Gardner
 --




 --
 Aaron Peeler
 Program Manager
 Virtual Computing Lab
 NC State University

 All electronic mail messages in connection with State business which
 are sent to or received by this account are subject to the NC Public
 Records Law and may be disclosed to third parties.





-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: openstack and VCL ?

2012-05-17 Thread Aaron Peeler
Hi Young,

Thanks for the update. This sounds like good progress.

You should be able to create a jira issue using your jira account.

Let me know if you can't and I'll be happy to create one.

Aaron

On Thu, May 17, 2012 at 11:04 AM, Young h Oh o...@us.ibm.com wrote:

 Hi Aaron,

 I've been also  working on Openstack plugin for VCL and finished the POC
 test on Openstack Essex with Ubuntu 12.04 x64 server.  The reservations
 works but there are still some issues on capturing (or snapshot) images in
 Openstack Essex. If you can create jira issue, I could post my initial work
 in details and share some configuration tips with others. Thank you.

 Young Hyun Oh
 IBM Tivoli

 [image: Inactive hide details for Cameron Mann ---04/12/2012 03:39:13
 PM---Hi Young, At the moment we've tested our module with Amazon]Cameron
 Mann ---04/12/2012 03:39:13 PM---Hi Young, At the moment we've tested our
 module with Amazon EC2 and OpenStack's

 From: Cameron Mann cameron.m...@cybera.ca
 To: vcl-...@incubator.apache.org,
 Cc: vcl-user@incubator.apache.org
 Date: 04/12/2012 03:39 PM

 Subject: Re: openstack and VCL ?
 --



 Hi Young,

 At the moment we've tested our module with Amazon EC2 and OpenStack's
 Cactus release.  Provisioning works, though there's still a few issues that
 need resolving.  We're also still deciding the best approach to take with
 image capture, especially for Windows images.  We definitely want to get
 everyone's thoughts on this once it's open sourced.

 It'll be great to get a chance to talk with you at the conference.

 Cameron

 On Thu, Apr 12, 2012 at 9:55 AM, Young h Oh 
 *o...@us.ibm.com*o...@us.ibm.com
 wrote:

Hi Cameron,

Sounds great. Our team are also interested in implementing the
OpenStack Provisioning module to VCL at IBM tivioli. The stage here is also
in the proof of concept and I've tried to build up the test environment
now. But before I go further, I'd like to know whether you already
implemented the openstack provisioning module or not. I'd like to avoid any
duplicating efforts on the same work. If you already finished, please let
me know.

Also, I'll join the ICA CON 2012 and I'm looking forward to your
presentation. We can discuss more details about your work after it. Thank
you.

Young


Aaron Peeler ---03/29/2012 01:09:50 PM---Great. I'll create a jira
issue on it to give it an initial home. You should see it come across the

From: Aaron Peeler *aaron_pee...@ncsu.edu* aaron_pee...@ncsu.edu
To: Cameron Mann *cameron.m...@cybera.ca* cameron.m...@cybera.ca,
Cc: *vcl-user@incubator.apache.org* vcl-user@incubator.apache.org, *
vcl-...@incubator.apache.org* vcl-...@incubator.apache.org
Date: 03/29/2012 01:09 PM
Subject: Re: openstack and VCL ?
--




Great. I'll create a jira issue on it to give it an initial home. You
should see it come across the vcl-dev list shortly.

Thanks again and looking forward to your presentation.

Aaron

On Thu, Mar 29, 2012 at 11:08 AM, Cameron Mann *cameron.m...@cybera.ca
* cameron.m...@cybera.ca wrote:
 We'd definitely be comfortable with that and should be able to do so
within
 the next two or three weeks.

 Cameron


 On Wed, Mar 28, 2012 at 11:08 AM, Aaron Peeler *
aaron_pee...@ncsu.edu* aaron_pee...@ncsu.edu
 wrote:

 Hi Cameron,

 That's wonderful.

 I understand this is a POC now, but also thats a great point in
 development cycle to get more eyes looking at it. Would you be
 comfortable (if not now, soon) submitting the work under ASF for
 review by the VCL community? Also with that we could work toward
 bringing you or your lead on this effort in as a apache vcl
committer.

 I look forward to seeing you at ICA CON 2012

 Best Regards,
 Aaron


 On Wed, Mar 28, 2012 at 11:50 AM, Cameron Mann *
cameron.m...@cybera.ca* cameron.m...@cybera.ca
 wrote:
  Hi Aaron,
 
  One of the things we're working on at Cybera is an EC2
provisioning
  module.
   We've also done a lot of work with OpenStack and our intent is
for the
  module not just to work with Amazon EC2 but any cloud that
implements
  the
  EC2 API, including OpenStack.  Right now it's very much in a
proof of
  concept state, but our intent is to open source it once some of
the
  rough
  edges are smoothed over.
 
  We'll also be presenting a paper at the upcoming ICA CON 2012 on
our
  work so
  far.
 
  Cameron
 
 
  On Tue, Mar 27, 2012 at 8:28 AM, Aaron Peeler *
aaron_pee...@ncsu.edu* aaron_pee...@ncsu.edu
  wrote:
 
  Hi Folks,
 
  I think Tony from ECU asked about this before.
 
  Has anyone worked with openstack 
 *http://openstack.org/*http://openstack.org

Re: Which version of Linux?

2012-05-10 Thread Aaron Peeler
We've got a mix of RH/CentOS ranging from 5.4 - 6.2

In another thread Young had installed it on Ubuntu 12

Aaron




On Thu, May 10, 2012 at 3:13 PM, Waldron, Michael H
mwald...@email.unc.eduwrote:

  We are running RHEL 5.8 for both.


  Mike Waldron
 Systems Specialist
 ITS Research Computing
 University of North Carolina at Chapel Hill
 CB #3420, ITS Manning, Rm 2509
 919-962-9778
   --
 *From:* Sanders, Arbin D [asand...@nccu.edu]
 *Sent:* Thursday, May 10, 2012 3:07 PM
 *To:* 'vcl-...@incubator.apache.org'; 'vcl-user@incubator.apache.org'
 *Subject:* Which version of Linux?

   All,



 I am wondering what versions of Linux are you all running for your
 production management node and your development management node.



 *Arbin Darren Sanders*



 IT Manager – Academic Computing

 North Carolina Central University

 712 Cecil Street

 Suite 3014

 Durham, NC 27707

 919.530.6307

 919.530.5097 (Fax)



 *For the Latest ITS Updates and Tips Join Us Online** **   **[image:
 Description: Description: Description: Description:
 cid:image003.png@01CB6AD0.97665900]*http://www.facebook.com/profile.php?id=66100342#!/pages/Durham-NC/NCCU-Eagle-Technical-Assistance-Center-ETAC/249508718552?v=info
 * *[image: Description: Description: Description: Description:
 cid:image004.png@01CB6AD0.97665900] http://twitter.com/NCCUETAC



 CONFIDENTIALITY: This email (including any attachments) may contain
 confidential, proprietary and privileged information, and unauthorized
 disclosure or use is prohibited. If you received this email in error,
 please notify the sender and delete this e-mail from your system.



 __
 This email has been scanned by the Symantec Email Security.cloud service.
 For more information please visit http://www.symanteccloud.com
 __




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which are
sent to or received by this account are subject to the NC Public Records
Law and may be disclosed to third parties.


Re: Graduation

2012-05-08 Thread Aaron Peeler
Hi Dmitri,

No apologies necessary. This is a good and important question.

The graduation is the process in which a incubator project becomes a
Top Level Project (TLP). The graduation means that a project has shown
that it (as a community) understands the Apache Software Foundation's
core principles.
Also known as The Apache Way.
While this is not a complete official list, the principles include:
* collaborative software development
* commercial-friendly license
* respective, honest, technical-based interaction
* faithful implementation of standards
* security as a mandatory feature
See this for more info on how ASF works
http://www.apache.org/foundation/how-it-works.html


My slightly longer answer.

Within Apache Software Foundation there is a entry path in which a
project/community shows that it, (as a whole) can be self-sustaining
and operates under The Apache Way.

This entry path is through what is called the incubator and this is
our current state.

In incubator status, we as a community, learn the principles (The
Apache way) by doing. With the assistance of our mentors, such as
Kevan, Alan, and Matt. We learn the core principles mentioned above,
how to grow a healthy and diverse community, how to properly cut
releases through Apache software Foundation, handle intelectual
property through the community contributions, and learn the principle
of meritocracy (government by merit) through the process of inviting
community members who have contributed and are interested to become
committers and be part of the project governing process, etc.

Once we have reached the incubator milestones, we can then proceed to
graduate. Through the graduation process an incubator project either
becomes a subproject of another ASF project or a top level project.

If we fail to do these tasks or if the project fizzles out, then the
incubator project retires from Apache Software foundation and is not
supported by ASF.

Hope this helps and others please feel free to comment.
Most of this is my summation from:

How ASF works and short history:
http://www.apache.org/foundation/how-it-works.html

Incubator Graduation:
http://incubator.apache.org/guides/graduation.html

What is Graduation?
http://incubator.apache.org/guides/graduation.html#introduction

Roles of incubator
http://incubator.apache.org/incubation/Roles_and_Responsibilities.html


Aaron


On Mon, May 7, 2012 at 8:11 PM, Dmitri Chebotarov dcheb...@gmu.edu wrote:
 Hi,

 May I ask what are the benefits of graduation for VCL?
 How does graduation change the way the VCL is used?

 I apologize if these are trivial questions.

 Thanks.
 --
 Dmitri Chebotarov
 Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
 223 Aquia Building, Ffx, MSN: 1B5
 Phone: (703) 993-6175
 Fax: (703) 993-3404


 On Monday, May 7, 2012 at 16:39 , Kevan Miller wrote:


 On May 7, 2012, at 3:53 PM, Alexander Patterson wrote:

  I would love to see 2.3 to graduate :) I will enjoy many of the bug fixes

 Thanks Alexander. Minor point - a 2.3 release is orthogonal to the 
 graduation process. A 2.3 release can happen before or after graduation…

 There's a 'status of 2.3 release' thread on the vcl-dev list. You're more 
 than welcome to voice your 2.3 desires, there...

 --kevan





-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: [DISCUSS] Graduation

2012-05-04 Thread Aaron Peeler

 As for the website, I agree that some design work would be really useful. I
 am assuming that ASF would provide a hosting arrangement, i.e. a domain like
 vcl.apache.org? Would that also include server space to run any type of CMS?
 Confluence is a nice all-in-one package, though if you are considering a
 complete overhaul of the site, I could also recommend a system like Drupal
 (MySQL + PHP). Drupal has a lot of bells and whistles that can make for a
 very nice, highly interactive site. The downside of drupal is that it is not
 specifically designed to handle software documentation. On the other hand,
 if we only need to serve static html pages that focus on documentation, etc,
 I can also recommend Sphinx. The downside of Sphinx is that it is really
 best for Python and C++ projects, and it doesn't support web-based updates
 -- it does create excellent sites, though.

I  believe we can run anything we like. ASF does provide the hosting
and the top-level projects do have their own url
projectname.apache.org.

I'm not up-to speed yet on what our options are or what the other
projects are using. The Apache infrastructure team is recommending
projects to migrate away from confluence. Has anyone else had a chance
to research which cms tools are available supported/recommended by
ASF?


 I am also a little unclear on the timeframe for modifying the website -- it
 this something that would be done prior to graduation or upon graduation?

I don't think it is a requirement, but ideally it would be nice to at
least have a start on a new site by graduation time.


Aaron Peeler


Re: [DISCUSS] Graduation

2012-05-02 Thread Aaron Peeler
I feel we have meet our diversity issue and also expect to add more
committers over the next couple of months. I would positively support
a vote for graduation.


I agree on the other points mentioned.

Status page needs to be updated. We can work on this part easily.

The web site needs to be migrated off confluence. Has anyone
researched other CMS options for the website. I think this would be a
good community discussion thread. Which CMS, the layout, (content,
documentation, design ideas, etc.)

Aaron


On Tue, May 1, 2012 at 12:44 PM, Andy Kurth andy_ku...@ncsu.edu wrote:
 This thread is to discuss whether the Apache VCL community feels that
 this incubating project is ready to proceed with the process to
 graduate to a top level ASF project.  There are several requirements
 which must be met and steps completed in order to graduate.   This
 discussion thread is the first step towards graduation.  Please review
 the following pages.
 http://incubator.apache.org/guides/graduation.html
 http://incubator.apache.org/incubation/Incubation_Policy.html#Graduating+from+the+Incubator

 There are many items described in the ASF graduation documentation
 which we have obviously satisfied (create a release, etc).  The
 following are issues that I feel either need to be addressed, would be
 concerned about regarding board/mentor approval, or have been brought
 up before.  Please share your thoughts.  Also, please review the ASF
 graduation documentation and bring up anything else which might be a
 concern.

 Status File:
 (https://svn.apache.org/repos/asf/incubator/public/trunk/content/projects/vcl.xml)
 This is not up to date and is missing information.  Previous board
 reports need to be added.  News items need to be added containing the
 string new committer.  Doing this will cause the numberCommittersNew
 column on the Status of the Clutch page to turn green
 (http://incubator.apache.org/clutch.html).

 Also, the list of commiters in the status file and project page hasn't
 changed since Apache VCL started.  The new committers obviously need
 to be added.  I'm not sure how the original list was decided upon, but
 I feel several names should be removed since they have not contributed
 any code and some have not been involved in the community at all.  I
 think the list should be Aaron Coburn, David Hutchins, Andy Kurth,
 James O'Dell, Aaron Peeler, Josh Thompson.  Also, Brian Bouterse
 contributed some code a while ago.  I'm not sure if he is still
 interested in being a committer.

 Diversity:
 ASF requirement: The project is not highly dependent on any single
 contributor (there are at least 3 legally independent committers and
 there is no single company or entity that is vital to the success of
 the project).
 This issue has been raised before.  I feel we meet this requirement
 and that the community is generally diverse, can govern itself, and be
 self-sufficient.

 Website:
 This is not necessarily a requirement for graduation but I feel that
 it should be addressed prior to graduation.  Our website/documentation
 is pretty rough and really should be redesigned.  I'm guessing the
 board members will look at it prior to voting.  In addition, there
 will likely be a press release if/when we graduate and website views
 will spike.  This shouldn't hold up the graduation process, but I
 would like agreement that this should be completed by graduation.

 Thank You,
 Andy



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: Long term reservation

2012-04-27 Thread Aaron Peeler
Hi Mark,

Great suggestion, it's a great way to share what works(for both small
test beds to larger scale deployments). Would you like to start it
off? I think a basic example is fine to start with.

To all,
The confluence wiki is open, one just needs to create an account (if
you don't already have on on the apache confluence wiki.).

Aaron



On Fri, Apr 27, 2012 at 9:55 AM, Mark Gardner m...@vt.edu wrote:
 Aaron,

 If I may suggest, we should start a page on the wiki with hardware
 configurations people have successfully deployed on. This is a very
 daunting area for someone who is contemplating an installation.

 There is already a few hints on the wiki about NC State's hardware
 (but perhaps a bit more detail would be useful). It would be good if
 more people listed their diverse configurations in detail. Right now I
 have an installation on a modest desktop system (mostly to cement my
 understanding after last summer's bootcamp). I can put that up. I will
 also be doing a real deployment soon and can put that up too as I have
 completed it.

 Mark

 On Fri, Apr 27, 2012 at 8:42 AM, Aaron Peeler fapee...@ncsu.edu wrote:
 Hi Emir,

 I'll try to answer, but hopefully Andy will chime in to confirm.

 In the upcoming release, the copying vmdk for long-term reservations
 has been fixed. It's using snapshots to achieve. Resulting in faster
 boot time.

 On the vms per host question. This is very good question. So far your
 100 vms per host is the highest I've heard about. As your aware, the
 number of vms and end-user performance is going to depend on the
 underlying hardware (host memCPU, network, and storage).

 It would be good as a community for us to share hardware
 recommendations on what is working well at their own site.  We have a
 mix of hardware at NCSU, I'll write up some details and send that out
 in a separate thread soon.


 Aaron



 On Thu, Apr 26, 2012 at 3:56 PM, Emir Imamagic eimam...@srce.hr wrote:
 Hello,

 We've noticed that in case of long term reservations VCL copies the virtual
 disk of image on datastore. In case of images with many subimages (20) we
 experienced problems with this copying. VCL would initiate multiple
 vmkfstools commands, ESXi server would get overloaded and start killing
 vmkfstools processes (messages were indicating lack of memory). Is there any
 way to bypass this behavior?
 Is this copying really needed? Is it possibly to switch it off in a clean
 manner?

 Another question is - how many VMs can vcld handle per a single VM host
 (VMware ESXi 4.1)?
 On our setup we managed to start 100 VMs on a single VMware host and it was
 still working fine. VM host has 24 cores and 256GB RAM.

 Thanks in advance
 --
 Emir Imamagic
 SRCE - University of Zagreb University Computing Centre, www.srce.unizg.hr
 emir.imama...@srce.hr, tel: +385 1 616 5809, fax: +385 1 616 5559



 --
 Aaron Peeler
 Program Manager
 Virtual Computing Lab
 NC State University

 All electronic mail messages in connection with State business which
 are sent to or received by this account are subject to the NC Public
 Records Law and may be disclosed to third parties.



 --
 Mark Gardner
 --



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: Install VCL management node on Ubuntu

2012-04-18 Thread Aaron Peeler
Hi Young,

I haven't tried this yet, but I'd like.

Would you mind creating an initial page in the VCL wiki with your
instructions? https://cwiki.apache.org/VCL/

This way others test and add notes to your instructions if needed.

Thanks, I look forward to trying this out,
Aaron



On Mon, Apr 16, 2012 at 1:13 PM, Young h Oh o...@us.ibm.com wrote:

 Hi All,

 Have anyone install VCL management node on Ubuntu machines? I think some of
 you might be already installed VCL on Ubuntu but it is difficult for me to
 find any documentation about it. So, I've tried to install it on Ubuntu
 12.04 X86_64 machine and some issues remain but it's almost finished. When
 I solve the remaining issues, I'd like to share the instruction with you.
 However, if any of you have experiences and tips already, please share them
 with me. I can merge them into the instruction. I think the instruction
 would be very helpful for anyone who wants to build VCL based on Ubuntu
 environment.

 Thanks,

 Young



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: HPC cluster setup

2012-04-13 Thread Aaron Peeler
On Thu, Apr 12, 2012 at 4:28 PM,  jjzam...@itesm.mx wrote:
 Thanks, and you do not have put the name of the cluster_info file in any part 
 of VCL?

Basically cluster_info only gets added to each node by vcld if there
is an image with subimages defined.


 Sorry is the first time I am instaling a HPC enviroment, if you have a good 
 guide let me know:)

An HPC environment is typically using a parallel batch processing job
scheduler, like LSF (Load Sharing Facility), or MOAB for commercial
schedulers, open-src schedulers Condor, Maui, Torque.
Here is a link for overviews:
http://hpc-opinion.blogspot.com/2011/07/job-schedulers-overview.html
So you may want to check out each of those related sites for guides,
etc.

We use LSF here at NCSU with ~850 nodes.

As far as clusters within VCL, one could really build anything, but
what we've seen the most are researchers building hadoop clusters, a
distributed LAMP stack for a class, or SAS BI environment.

Hope this info helps.
Aaron



 Thanks

 Juan José Zamanillo

 -Original Message-
 From: Aaron Peeler aaron_pee...@ncsu.edu
 Date: Thu, 12 Apr 2012 09:29:20
 To: vcl-user@incubator.apache.org; jjzam...@itesm.mx
 Reply-To: aaron_pee...@ncsu.edu
 Subject: Re: HPC cluster setup

 Currently the only cluster configuration that is done is a
 cluster_info file is populated on each node (parent and children) with
 the IP addresses and their level.
 something like:

 123.45.67.890=parent
 123.45.67.891=child
 123.45.67.892=child
 etc

 This cluster_info file is either in /etc for linux or C: for windows

 So with that info an image creator can use that file from and init
 scripts and start their cluster. We have several hadoop clusters here
 at NCSU using this method, it's simple but seems to work well.

 In the future we would be better served using configuration managers
 like puppet, chef, bcfg2, etc. (We should put this on the roadmap.. :)
 )

 Hope this helps.
 Aaron

 On Wed, Apr 11, 2012 at 4:56 PM,  jjzam...@itesm.mx wrote:
 How you define the configuration of the parent node machine and the 
 subimages machines?
 Thanks


 Juan José Zamanillo

 -Original Message-
 From: Josh Thompson josh_thomp...@ncsu.edu
 Date: Wed, 11 Apr 2012 16:09:43
 To: vcl-user@incubator.apache.org
 Reply-To: vcl-user@incubator.apache.org
 Subject: Re: HPC cluster setup

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Al,

 Pick an image to be the parent.  Then, edit that image's profile by going 
 to
 Manage Images and clicking Edit for the image.  Click the Advanced Options
 section to expand it.  Click the Manage Subimages button.  Add any images you
 want to be part of the cluster (note that these changes are immediate; you
 don't click a save button or anything).  Now, when you make a reservation for
 the parent image, you will get the whole cluster.  Subimages are not 
 recursive
 - - i.e. if you add a subimage that has subimages assigned to it, you only 
 get
 the one subimage, not the subimage's subimages as well.

 Josh

 On Wednesday, April 11, 2012 7:39:08 PM Evelio Quiros wrote:
 Hello,

 Now that I have VCL working to provide single virtual machines, how do I
 setup a cluster of machines in VCL ? How do I setup the situation where a
 user can reserve a small cluster out of a group of resources (a head node
 and child compute nodes) ?

 Thanks,
 Al Quiros
 - --
 - ---
 Josh Thompson
 VCL Developer
 North Carolina State University

 my GPG/PGP key can be found at pgp.mit.edu

 All electronic mail messages in connection with State business which
 are sent to or received by this account are subject to the NC Public
 Records Law and may be disclosed to third parties.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.17 (GNU/Linux)

 iEYEARECAAYFAk+F5Q0ACgkQV/LQcNdtPQMZnwCfYlKTdwQmtySQV4Kb29ms/s+K
 neAAnArGLL4qs93a1qRssL9PibtRid5w
 =bhO6
 -END PGP SIGNATURE-




 --
 Aaron Peeler
 Program Manager
 Virtual Computing Lab
 NC State University

 All electronic mail messages in connection with State business which
 are sent to or received by this account are subject to the NC Public
 Records Law and may be disclosed to third parties.



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: HPC cluster setup

2012-04-12 Thread Aaron Peeler
Currently the only cluster configuration that is done is a
cluster_info file is populated on each node (parent and children) with
the IP addresses and their level.
something like:

123.45.67.890=parent
123.45.67.891=child
123.45.67.892=child
etc

This cluster_info file is either in /etc for linux or C: for windows

So with that info an image creator can use that file from and init
scripts and start their cluster. We have several hadoop clusters here
at NCSU using this method, it's simple but seems to work well.

In the future we would be better served using configuration managers
like puppet, chef, bcfg2, etc. (We should put this on the roadmap.. :)
)

Hope this helps.
Aaron

On Wed, Apr 11, 2012 at 4:56 PM,  jjzam...@itesm.mx wrote:
 How you define the configuration of the parent node machine and the subimages 
 machines?
 Thanks


 Juan José Zamanillo

 -Original Message-
 From: Josh Thompson josh_thomp...@ncsu.edu
 Date: Wed, 11 Apr 2012 16:09:43
 To: vcl-user@incubator.apache.org
 Reply-To: vcl-user@incubator.apache.org
 Subject: Re: HPC cluster setup

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Al,

 Pick an image to be the parent.  Then, edit that image's profile by going to
 Manage Images and clicking Edit for the image.  Click the Advanced Options
 section to expand it.  Click the Manage Subimages button.  Add any images you
 want to be part of the cluster (note that these changes are immediate; you
 don't click a save button or anything).  Now, when you make a reservation for
 the parent image, you will get the whole cluster.  Subimages are not recursive
 - - i.e. if you add a subimage that has subimages assigned to it, you only get
 the one subimage, not the subimage's subimages as well.

 Josh

 On Wednesday, April 11, 2012 7:39:08 PM Evelio Quiros wrote:
 Hello,

 Now that I have VCL working to provide single virtual machines, how do I
 setup a cluster of machines in VCL ? How do I setup the situation where a
 user can reserve a small cluster out of a group of resources (a head node
 and child compute nodes) ?

 Thanks,
 Al Quiros
 - --
 - ---
 Josh Thompson
 VCL Developer
 North Carolina State University

 my GPG/PGP key can be found at pgp.mit.edu

 All electronic mail messages in connection with State business which
 are sent to or received by this account are subject to the NC Public
 Records Law and may be disclosed to third parties.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.17 (GNU/Linux)

 iEYEARECAAYFAk+F5Q0ACgkQV/LQcNdtPQMZnwCfYlKTdwQmtySQV4Kb29ms/s+K
 neAAnArGLL4qs93a1qRssL9PibtRid5w
 =bhO6
 -END PGP SIGNATURE-




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: available computers

2012-04-12 Thread Aaron Peeler
Cool. Nice script.

Do you have an account under Jira?
https://issues.apache.org/jira/browse/VCL

If so would recommend to create a jira issue for 2.4 release to add
this in. This way we can make sure to add that in.

Also it may be worth looking at a script called healthcheck.pl in
pathtovcl/vcl/bin.

I think healthcheck.pl does not work too well in 2.2.1 - had some
issues with the data structure object.

The healthcheck.pl in the repo for the 2.3 is pretty stable, it
doesn't initiate a reload, but checks the state of the machine,
current image in db vs actual image loaded and updates the database
accordingly. So maybe, we could combine yours and healthcheck.

Aaron


On Thu, Apr 12, 2012 at 12:04 PM, Dmitri Chebotarov dcheb...@gmu.edu wrote:
 Hi, All

 I found that sometimes there is a 'disconnect' between information in SQL
 database and actual state of 'available' computers.

 If VCL has a bunch of availabe computers preloaded with an image and I then
 update that image (new image revision), computers are not automatically
 reloaded with newer image revision.
 New reservation will have new image revision, but those available computer
 will still have older image revision and it would be reloaded only if a user
 makes reservation.
 At that time it will take longer to load (ie. ~10min vs 1min for preloaded
 available computer).

 Also in cases when I need to reboot ESXi hosts, all the VMs are not loaded
 automatically. In this case database lists those VMs as available, but they
 are off-line.

 I would like to share the small tool (a .pl script), which syncs available
 computers with actual state of computers (VMs).

 I've used peaces of code from utils.php to write it. The script creates
 reload requests for all available computers using the current image and
 latest image revision.
 VCLD then caries out requests and reloads computers which are either have
 older image revision or cannot be contacted via SSH (ie. after ESXi
 reboot).

 I plan to run the script weekly via cron on vcld server to make sure all is
 in sync, as well as after image updates.
 I've tested it and it works fine. .pl is attached.

 (I have hardcoded $managementnodeid value in reloadComputer(). Yours could
 be different)

 Thanks.
 --
 Dmitri Chebotarov
 Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
 223 Aquia Building, Ffx, MSN: 1B5
 Phone: (703) 993-6175
 Fax: (703) 993-3404




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: Timed out reservations

2012-03-30 Thread Aaron Peeler
In the upcoming 2.3 release, the user will be able to do this through
a remove button on the current reservations page for the timed out
reservations.

For now, it's either the user waits until the end-time is reached or
the vcl sysadmin manually removes it through the database.

Aaron


On Fri, Mar 30, 2012 at 9:49 AM, Evelio Quiros evq...@fiu.edu wrote:
 Hello,
 Is there an easy way to end timed out reservations ?
 Once the reservations time out, the buttons to end or edit them disappear.

 Thanks,
 Al Quiros





-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: Vcl and vmware HA

2012-03-29 Thread Aaron Peeler
Not is this upcoming release. With VMware HA, it's easily handled by
vcenter if you have the correct licenses...

With the libvirt module - this release is going to support kvm.
Libvirt also supports vmware, but that would need to be added in later
if necessary. The current work that Aaron Coburn and Andy Kurth have
done with the VMWare prov module are fairly robust, so I'm not sure if
the libvirt-vmware part is needed.

On the kvm side, there would need to be HA logic built into the
libvirt-kvm module. Or there would need to be a work done to talk to
RHEV - Red Hat's equivalent to vcenter, but for kvm hypervisors.

Others may also have other thoughts on this. It's ideal (probably
needed) as we get into more server based provisioning to have HA
functionality for the kvm, it would be good to start designing this
part out and possibly target a later release 2.3.x .

Aaron



Aaron


On Wed, Mar 28, 2012 at 1:36 PM, Anu Chirinos a...@fiu.edu wrote:
 Great, what about libvert version, is that HA conscious?

 Anu


 On 3/28/12 1:09 PM, Aaron Peeler fapee...@ncsu.edu wrote:

 Hi Anu,

 Yes it will likely be mid-end of April now for the 2.3 release. End of
 March timeline I proposed in Jan/Feb was too optimistic on my part.

 Aaron

 On Wed, Mar 28, 2012 at 11:53 AM, Anu Chirinos a...@fiu.edu wrote:
 Wonderful,, so this is in the 2.3 version coming on April?

 Anu



 On 3/28/12 11:26 AM, Aaron Coburn acob...@amherst.edu wrote:

 Yes, we are using vMotion with our ESX hosts.

 It involved writing a custom provisioning module which is slated to be part
 of the next VCL release.

 The short version is that all of the ESX hosts are put into a single vCenter
 host, and the VCL communicates only with that single host (even though there
 may be many physical hosts). Then when VMware vMotions a machine, the VCL
 neither knows nor cares that this happened.

 Aaron


 --
 Aaron Coburn
 Systems Administrator and Programmer
 Academic Technology Services, Amherst College
 acob...@amherst.edu






 On Mar 28, 2012, at 11:12 AM, Anu Chirinos wrote:

 Vcl and vmware HA
 Hello,

 Is anybody dealing with VCL and ESX Vmotion underneath? Has anybody done any
 research or work on this?


 Anu Chirinos
 UTS - Operations and Enterprise Systems
 Florida International University
 Office (305) 348-0275 Cell (786) 712-9025









-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: openstack and VCL ?

2012-03-29 Thread Aaron Peeler
Great. I'll create a jira issue on it to give it an initial home. You
should see it come across the vcl-dev list shortly.

Thanks again and looking forward to your presentation.

Aaron

On Thu, Mar 29, 2012 at 11:08 AM, Cameron Mann cameron.m...@cybera.ca wrote:
 We'd definitely be comfortable with that and should be able to do so within
 the next two or three weeks.

 Cameron


 On Wed, Mar 28, 2012 at 11:08 AM, Aaron Peeler aaron_pee...@ncsu.edu
 wrote:

 Hi Cameron,

 That's wonderful.

 I understand this is a POC now, but also thats a great point in
 development cycle to get more eyes looking at it. Would you be
 comfortable (if not now, soon) submitting the work under ASF for
 review by the VCL community? Also with that we could work toward
 bringing you or your lead on this effort in as a apache vcl committer.

 I look forward to seeing you at ICA CON 2012

 Best Regards,
 Aaron


 On Wed, Mar 28, 2012 at 11:50 AM, Cameron Mann cameron.m...@cybera.ca
 wrote:
  Hi Aaron,
 
  One of the things we're working on at Cybera is an EC2 provisioning
  module.
   We've also done a lot of work with OpenStack and our intent is for the
  module not just to work with Amazon EC2 but any cloud that implements
  the
  EC2 API, including OpenStack.  Right now it's very much in a proof of
  concept state, but our intent is to open source it once some of the
  rough
  edges are smoothed over.
 
  We'll also be presenting a paper at the upcoming ICA CON 2012 on our
  work so
  far.
 
  Cameron
 
 
  On Tue, Mar 27, 2012 at 8:28 AM, Aaron Peeler aaron_pee...@ncsu.edu
  wrote:
 
  Hi Folks,
 
  I think Tony from ECU asked about this before.
 
  Has anyone worked with openstack http://openstack.org/ ?
 
  I think integrating openstack provisioning into the VCL framework
  would benefit VCL. It could also benefit openstack and their current
  users. From what I understand, Openstack has a large commercial base
  of users and could be a way to expose VCL to more commercial users.
 
  Unless I'm wrong, currently openstack doesn't provide a self-service
  interface for users to VDI or clusters, nor does it provide bare-metal
  loads.  VCL with xCAT could provide that for that community in a short
  time-frame.
 
  Is there anyone interested in investigating and working on an
  openstack provisioning module ?  I don't think it will take a huge
  amount of work, one would need to know openstack and how to add in a
  VCL provisioning module. I'd be willing to assist but would need
  someone to take the lead on it.
 
  Thoughts?
 
  I know this is a development question, but also felt this is big
  enough to include folks on the vcl-user list.
 
  Best,
  Aaron
 
  --
  Aaron Peeler
  Program Manager
  Virtual Computing Lab
  NC State University
 
  All electronic mail messages in connection with State business which
  are sent to or received by this account are subject to the NC Public
  Records Law and may be disclosed to third parties.
 
 



 --
 Aaron Peeler
 Program Manager
 Virtual Computing Lab
 NC State University

 All electronic mail messages in connection with State business which
 are sent to or received by this account are subject to the NC Public
 Records Law and may be disclosed to third parties.





-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: ESXi 4.1 image for VCL reservation

2012-03-29 Thread Aaron Peeler
Definitely doable.

Also might be worth doing it within a ESXi server. Nested hypervisor -
possibly a bit better control on which networks are visible.

With the connection methods in the next release, you could define
vsphere client as the connection method.

Aaron P.

On Thu, Mar 29, 2012 at 1:33 PM, Dmitri Chebotarov dcheb...@gmu.edu wrote:
 Hi, All

 Is it posible to add ESXi 4.1 image to VCL, so users can make reservation
 for ESXi 4.1 server?
 May be someone else already has it working…. May be there is separate module
 for ESXi support?

 I have configured xCAT/VCL and I'm able to reload a blade with ESXi 4.1
 using kickstart script via Manage Computers.
 But when a user makes reservation for ESXi 4.1 - it fails. So far it fails
 for two reasons - no Public interface and cannot create user on ESXi hosts.
 VCL is using Linux.pm module and ESXi doesn't support it.

 Thanks.
 --
 Dmitri Chebotarov
 Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
 223 Aquia Building, Ffx, MSN: 1B5
 Phone: (703) 993-6175
 Fax: (703) 993-3404




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: Vcl and vmware HA

2012-03-28 Thread Aaron Peeler
Hi Anu,

Yes it will likely be mid-end of April now for the 2.3 release. End of
March timeline I proposed in Jan/Feb was too optimistic on my part.

Aaron

On Wed, Mar 28, 2012 at 11:53 AM, Anu Chirinos a...@fiu.edu wrote:
 Wonderful,, so this is in the 2.3 version coming on April?

 Anu



 On 3/28/12 11:26 AM, Aaron Coburn acob...@amherst.edu wrote:

 Yes, we are using vMotion with our ESX hosts.

 It involved writing a custom provisioning module which is slated to be part
 of the next VCL release.

 The short version is that all of the ESX hosts are put into a single vCenter
 host, and the VCL communicates only with that single host (even though there
 may be many physical hosts). Then when VMware vMotions a machine, the VCL
 neither knows nor cares that this happened.

 Aaron


 --
 Aaron Coburn
 Systems Administrator and Programmer
 Academic Technology Services, Amherst College
 acob...@amherst.edu






 On Mar 28, 2012, at 11:12 AM, Anu Chirinos wrote:

 Vcl and vmware HA
 Hello,

 Is anybody dealing with VCL and ESX Vmotion underneath? Has anybody done any
 research or work on this?


 Anu Chirinos
 UTS - Operations and Enterprise Systems
 Florida International University
 Office (305) 348-0275 Cell (786) 712-9025






-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


openstack and VCL ?

2012-03-27 Thread Aaron Peeler
Hi Folks,

I think Tony from ECU asked about this before.

Has anyone worked with openstack http://openstack.org/ ?

I think integrating openstack provisioning into the VCL framework
would benefit VCL. It could also benefit openstack and their current
users. From what I understand, Openstack has a large commercial base
of users and could be a way to expose VCL to more commercial users.

Unless I'm wrong, currently openstack doesn't provide a self-service
interface for users to VDI or clusters, nor does it provide bare-metal
loads.  VCL with xCAT could provide that for that community in a short
time-frame.

Is there anyone interested in investigating and working on an
openstack provisioning module ?  I don't think it will take a huge
amount of work, one would need to know openstack and how to add in a
VCL provisioning module. I'd be willing to assist but would need
someone to take the lead on it.

Thoughts?

I know this is a development question, but also felt this is big
enough to include folks on the vcl-user list.

Best,
Aaron

-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: Full desktop Linux images?

2012-03-19 Thread Aaron Peeler
Just as a heads up, in the 2.3 release we're adding support to define
connection methods on a per image/OS basis.

We have a lot of the code work done and it's fairly stable in the
repository.
See VCL-30 and VCL-526
https://issues.apache.org/jira/browse/VCL-30
https://issues.apache.org/jira/browse/VCL-526

The basic flow would be to start the service and open the defined port in
the OS level firewall.

Aaron

On Mon, Mar 19, 2012 at 2:41 PM, James O'Dell jod...@fullerton.edu wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I looked at VNC. I didn't like the security.

  http://en.wikipedia.org/wiki/Virtual_Network_Computing
  Security
 
  By default, RFB is not a secure protocol. While passwords are not sent
 in plain-text (as in telnet), cracking could prove successful if both the
 encryption key and encoded password are sniffed from a network. For this
 reason it is recommended that a password of at least 8 characters be used.
 On the other hand, there is also an 8-character limit on some versions of
 VNC; if a password is sent exceeding 8 characters, the excess characters
 are removed and the truncated string is compared to the password.
 
  However, VNC may be tunnelled over an SSH or VPN connection which would
 add an extra security layer with stronger encryption. SSH clients are
 available for all major platforms (and many smaller platforms as well); SSH
 tunnels can be created from UNIX clients, Microsoft Windows clients,
 Macintosh clients (including Mac OS X and System 7 and up) ? and many
 others. There are freeware applications that create instant VPN tunnels
 between computers.
 
  UltraVNC supports the use of an open-source encryption plugin which
 encrypts the entire VNC session including password authentication and data
 transfer. It also allows authentication to be performed based on NTLM and
 Active Directory user accounts. However, use of such encryption plugins
 make it incompatible with other VNC programs. RealVNC offers high-strength
 AES encryption as part of its commercial package, along with integration
 with Active Directory. Workspot released AES encryption patches for VNC.

 Also, the 4 or 5 vnc clients I tested kept crashing on me. grr!

 For me, it was just easier for everyone involved to standardize on rdp

 __Jim


 On 3/19/2012 11:31 AM, Waldron, Michael H wrote:
  Yes, there is a very simple method of using VNC, which is available with
  most Linux distros. Make sure you have both vnc and vnc-server packages
  installed in the image. You don't have to have the VNC client installed
  on the end-user's desktop, you can use the client in the Linux image.
 
  To start a full desktop:
  - Make sure you are running an X-window manager on the user desktop.
  - ssh into the Linux machine  (set ssh client to forward X11 packets)
  - vncserver -localhost
  - vncviewer localhost:1
 
  The vncserver command will start a desktop session, prompting to set a
  password that will be used to connect to it. The vncviewer command will
  connect to the desktop session, the user is prompted for the password
  they just set. The desktop is then displayed on the user's desktop as an
  X11 display.
 
  Mike
 
  Mike Waldron
  Systems Specialist
  ITS Research Computing
  University of North Carolina at Chapel Hill
  CB #3420, ITS Manning, Rm 2509
  919-962-9778
  
  *From:* Mike Haudenschild [m...@longsight.com]
  *Sent:* Monday, March 19, 2012 2:18 PM
  *To:* vcl-user@incubator.apache.org
  *Subject:* Full desktop Linux images?
 
  Good afternoon, VCL users --
 
  I was curious if anyone else is running full Linux desktops (e.g. with
  GNOME) with VCL.  Specifically, is there an implemented method for
  connecting to the GUI (i.e. as RDP is used with Windows), or are Linux
  images restricted only to the shell?  Any tips/tricks?
 
  Many thanks,
  Mike
 
  --
  *Mike Haudenschild*
  Education Systems Manager
  Longsight Group
  (740) 599-5005 x809
  m...@longsight.com mailto:m...@longsight.com
  www.longsight.com http://www.longsight.com
 


 - --
 Jim O'Dell
 Network Analyst
 California State University Fullerton
 Email: jod...@fullerton.edu
 Phone: (657) 278-2256
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAk9nfe8ACgkQREVHAOnXPYSphwCgjtrISdoOXPZzbNvrlXa5Rx8T
 qSsAn1ekj+79XWhtS/Hy34vASxeUNGfz
 =UysL
 -END PGP SIGNATURE-




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which are
sent to or received by this account are subject to the NC Public Records
Law and may be disclosed to third parties.


Re: VCL software licensing

2012-03-07 Thread Aaron Peeler
 that goes within the current
 VCL licensing that they are using?



 If someone has like an overview or general information on how you
 are licensing the VCL for educational use; that would be very helpful.



 We are starting to run into licensing walls and I would love some inside
 information from someone who has gone through this.



 --
 Thanks,
 Alex  Patterson
 User Support Services
 Operating System Analyst
 California State University, East Bay





 --
 Thanks,
 Alex  Patterson
 User Support Services
 Operating System Analyst
 California State University, East Bay



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: VCL and xCat

2012-03-01 Thread Aaron Peeler
, capture (line: 836)
 |12755|275:261|image| (-2) image.pm, process (line: 162)
 |12755|275:261|image| (-3) vcld, make_new_child (line: 568)
 |12755|275:261|image| (-4) vcld, main (line: 346)
 |12755|275:261|image|  WARNING 
 |12755|275:261|image| 2012-02-21
 |16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to create 
 .tmpl
 |file for centos5image-xcatcentos5v474-v0 12755|275:261|image| ( 0)
 |xCAT2.pm, capture (line: 840)
 |12755|275:261|image| (-1) image.pm, process (line: 162)
 |12755|275:261|image| (-2) vcld, make_new_child (line: 568)
 |12755|275:261|image| (-3) vcld, main (line: 346)
 |12755|275:261|image|  WARNING 
 |12755|275:261|image| 2012-02-21
 |16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xcatcento
 |s5v474-v0 image failed to be captured by provisioning module
 |12755|275:261|image| ( 0) image.pm, process (line: 166)
 |12755|275:261|image| (-1) vcld, make_new_child (line: 568)
 |12755|275:261|image| (-2) vcld, main (line: 346)

 On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:
 Yes, we're using the latest xCAT version.

 -A

 On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. ahku...@odu.edu 
 wrote:
 Hi Dmitri,

 We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work.
 May be Aaron and his group could say more.

 Thank you,
 Amit

 -Original Message-
 From: dcheb...@gmu.edu [mailto:dcheb...@gmu.edu]
 Sent: Friday, February 10, 2012 11:37 AM
 To: vcl-user@incubator.apache.org
 Subject: Re: VCL and xCat


 Thank you.

 What version of xCat do you use? Since VCL supports xCat 2.x, is it
 safe to use latest xCat 2.6.10? Thanks.

 On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
 Hi Dmitri,

 SUMAVI link that you have is a real good one, I blindly followed
 it

 and then slowly things started to make more sense once it worked.

 Also xCAT forum was very helpful.

 Thank you,
 Amit

 -Original Message-
 From: dcheb...@gmu.edu [mailto:dcheb...@gmu.edu]
 Sent: Friday, February 10, 2012 10:15 AM
 To: vcl-user@incubator.apache.org; aaron_pee...@ncsu.edu
 Subject: Re: VCL and xCat


 Thank you, I hope we can make it work in our environment as
 well...

 I keep searching and reading xCat docs - here is good one -
 http://sumavi.com/books/xcat-administrators-guide.
 BTW, if you have any docs outside of xcat.org site, please
 share...
 At this point I'm looking for xCat overview docs, i.e. to
 understand
 the process.

 Looks like xCat makes extensive use of DHCP server to manage
 nodes.
 Are you using different DHCPd servers for VCL VMs and xCat
 nodes, or
 just keep everything on one DHCP server and being careful with
 which
 MAC gets what?

 Thanks again for your help...

 On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
 Dmitri,

 Just to add to Amit, comments.

 We use xCAT extensively here at ncsu. From provisioning
 end-user
 desktops and our hypervisors. xCAT very helpful when needed to

 install

 a chassis full of blades with esxi.

 As your installing xCAT  You'll want to review
 https://cwiki.apache.org/VCL/adding-support-for-partimage-and-

 partimag

 e-ng-to-xcat-2x-unofficial.html We added in VCL support for
 partimage
 - which is used to capture the disk images of end-user
 environments/desktops for windows and linux.

 When your adding nodes to vcl through the manage computers
 tool,
 make sure to choose xCAT 2.x .  If your doing windows
 bare-metal,
 you'll also need to include sysprep and related mass storage

 drivers

 so it can be reloaded successfully.

 For sysprep review step 8 on this page:
 https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management
 +

 N

 ode+Installation

 Hope this info helps,
 Aaron


 On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov

 dcheb...@gmu.edu

 wrote:
 Amit,

 Thanks a lot.

 On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
 Hi Dmitri,

 You general idea is correct to my best understanding.

 Install Path in the Edit management Node will be the
 path for

 xCAT(bare metal) image repository. In addition when you
 configure

 the

 Site table in xCAT you will set the installdir to point to
 the
 location where you will store your images.

 We have IBM E Blade Chassis with HS22 blade servers.

 Best,
 Amit

 -Original Message-
 From: dcheb...@gmu.edu [mailto:dcheb...@gmu.edu]
 Sent: Thursday, February 09, 2012 3:44 PM
 To: vcl-user@incubator.apache.org
 Subject: Re: VCL and xCat


 Amit,

 I'm trying to get general idea about xCat/VCL : so,
 basically
 xCat needs to be installed and configured on VCL Mgm
 node(s)
 before it can be used with VCL, and I should be able to
 successfully provision xCat nodes/clients with different
 images.
 Once xCat is working then I can add bare-metal computers
 - blade
 with xCat 2.x engine. Does it sound right?

 How do you tell VCL where to get image files for xCat
 nodes - is

 it

 'Install Path' setting under Management Nodes - Edit
 management
 node information?

 What kind of hardware do you have for xCat nodes? Are
 those IBM

Re: Problem with sem_get() in utils.php

2012-02-28 Thread Aaron Peeler
 be found at pgp.mit.edu

 All electronic mail messages in connection with State business which
 are sent to or received by this account are subject to the NC Public
 Records Law and may be disclosed to third parties.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.17 (GNU/Linux)

 iEYEARECAAYFAk9L6wgACgkQV/LQcNdtPQOJWgCfT5g/tKzSAnvctwjBVfvEY4IM
 U90An3ALbKHFcXgAGaTeOPPJY+iUBCfA
 =4+1Z
 -END PGP SIGNATURE-






-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: KVM versus RHEV

2012-02-17 Thread Aaron Peeler
on libvirt

-A

On Fri, Feb 17, 2012 at 1:28 PM, Anu Chirinos a...@fiu.edu wrote:
 Hello,
 The the VLC KVM development based on RHEV?


 Anu



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: VCL and xCat

2012-02-10 Thread Aaron Peeler
Dmitri,

Just to add to Amit, comments.

We use xCAT extensively here at ncsu. From provisioning end-user
desktops and our hypervisors. xCAT very helpful when needed to install
a chassis full of blades with esxi.

As your installing xCAT  You'll want to review
https://cwiki.apache.org/VCL/adding-support-for-partimage-and-partimage-ng-to-xcat-2x-unofficial.html
We added in VCL support for partimage  - which is used to capture the
disk images of end-user environments/desktops for windows and linux.

When your adding nodes to vcl through the manage computers tool, make
sure to choose xCAT 2.x .  If your doing windows bare-metal, you'll
also need to include sysprep and related mass storage drivers so it
can be reloaded successfully.

For sysprep review step 8 on this page:
https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management+Node+Installation

Hope this info helps,
Aaron


On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov dcheb...@gmu.edu wrote:

 Amit,

 Thanks a lot.


 On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:

 Hi Dmitri,

 You general idea is correct to my best understanding.

 Install Path in the Edit management Node will be the path for xCAT(bare 
 metal) image repository. In addition when you configure the Site table in 
 xCAT you will set the installdir to point to the location where you will 
 store your images.

 We have IBM E Blade Chassis with HS22 blade servers.

 Best,
 Amit

 -Original Message-
 From: dcheb...@gmu.edu [mailto:dcheb...@gmu.edu]
 Sent: Thursday, February 09, 2012 3:44 PM
 To: vcl-user@incubator.apache.org
 Subject: Re: VCL and xCat


 Amit,

 I'm trying to get general idea about xCat/VCL : so, basically xCat
 needs to be installed and configured on VCL Mgm node(s) before it can
 be used with VCL, and I should be able to successfully provision xCat
 nodes/clients with different images. Once xCat is working then I can
 add bare-metal computers - blade with xCat 2.x engine. Does it sound
 right?

 How do you tell VCL where to get image files for xCat nodes - is it
 'Install Path' setting under Management Nodes - Edit management node
 information?

 What kind of hardware do you have for xCat nodes? Are those IBM blade
 servers or/and PCs?


 Thanks.


 On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:

 Hi,

 We do not need an additional/dedicated server to do both xCAT and VCL
 together, your management node can serve as your xCAT server.

 I would recommend getting xCAT to work by itself before using VCL to
 manage your images and guest OS.

 This has worked well for us so far.

 :Amit


 -Original Message-
 From: dcheb...@gmu.edu [mailto:dcheb...@gmu.edu]
 Sent: Thursday, February 09, 2012 3:03 PM
 To: vcl-user@incubator.apache.org
 Subject: VCL and xCat

 Hi All

 Anyone is using xCat with VCL?

 I have generic question about xCat and VCL - where do I start?
 Do I need working xCat environment before I can add it to VCL?
 Does xCat need dedicated server? Or does it run on the VCL
 management
 node?
 Are there any special hardware requirements for xCat clients?


 Thank you.








 Thank you.

 -
 Dmitri Chebotarov
 dcheb...@gmu.edu
 703-993-6175
 -






 Thank you.

 -
 Dmitri Chebotarov
 dcheb...@gmu.edu
 703-993-6175
 -



 -BEGIN PGP SIGNATURE-

 iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3clzzem
 eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWicqNTm
 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNje62X
 xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK77gD
 xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbijpctI
 yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqbTmA=
 =86fD
 -END PGP SIGNATURE-




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: VCL and xCat

2012-02-10 Thread Aaron Peeler
We use a single dhcp server/config on the private network for both the
blades and vm nodes.

In xCAT2 - there are globals set in the default /etc/dhcpd.conf and
xCAT makes heavy use of the /var/lib/dhcpd/dhcpd.leases files for
adding nodes, etc.  We typically have blades that are part of the xCAT
tables and vms that are not. We just add the vms to the /etc/hosts
file same as the blades and just script the adding of the vms to the
leases file.

You could definitely add the vms to the xCAT tables - just to make use
of the makedhcp cmd. But with hundreds of vm entries, that just
cluttered up our xCAT tables. So we just elected to add them directly
outside of the xCAT managed blades.

Aaron

On Fri, Feb 10, 2012 at 10:15 AM, Dmitri Chebotarov dcheb...@gmu.edu wrote:

 Thank you, I hope we can make it work in our environment as well...

 I keep searching and reading xCat docs - here is good one - 
 http://sumavi.com/books/xcat-administrators-guide.
 BTW, if you have any docs outside of xcat.org site, please share... At this 
 point I'm looking for xCat overview docs, i.e. to understand the process.

 Looks like xCat makes extensive use of DHCP server to manage nodes. Are you 
 using different DHCPd servers for VCL VMs and xCat nodes, or just keep 
 everything on one DHCP server and being careful with which MAC gets what?

 Thanks again for your help...

 On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:

 Dmitri,

 Just to add to Amit, comments.

 We use xCAT extensively here at ncsu. From provisioning end-user
 desktops and our hypervisors. xCAT very helpful when needed to install
 a chassis full of blades with esxi.

 As your installing xCAT  You'll want to review
 https://cwiki.apache.org/VCL/adding-support-for-partimage-and-partimage-ng-to-xcat-2x-unofficial.html
 We added in VCL support for partimage  - which is used to capture the
 disk images of end-user environments/desktops for windows and linux.

 When your adding nodes to vcl through the manage computers tool, make
 sure to choose xCAT 2.x .  If your doing windows bare-metal, you'll
 also need to include sysprep and related mass storage drivers so it
 can be reloaded successfully.

 For sysprep review step 8 on this page:
 https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management+Node+Installation

 Hope this info helps,
 Aaron


 On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov dcheb...@gmu.edu wrote:

 Amit,

 Thanks a lot.


 On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:

 Hi Dmitri,

 You general idea is correct to my best understanding.

 Install Path in the Edit management Node will be the path for xCAT(bare 
 metal) image repository. In addition when you configure the Site table 
 in xCAT you will set the installdir to point to the location where you 
 will store your images.

 We have IBM E Blade Chassis with HS22 blade servers.

 Best,
 Amit

 -Original Message-
 From: dcheb...@gmu.edu [mailto:dcheb...@gmu.edu]
 Sent: Thursday, February 09, 2012 3:44 PM
 To: vcl-user@incubator.apache.org
 Subject: Re: VCL and xCat


 Amit,

 I'm trying to get general idea about xCat/VCL : so, basically xCat
 needs to be installed and configured on VCL Mgm node(s) before it can
 be used with VCL, and I should be able to successfully provision xCat
 nodes/clients with different images. Once xCat is working then I can
 add bare-metal computers - blade with xCat 2.x engine. Does it sound
 right?

 How do you tell VCL where to get image files for xCat nodes - is it
 'Install Path' setting under Management Nodes - Edit management node
 information?

 What kind of hardware do you have for xCat nodes? Are those IBM blade
 servers or/and PCs?


 Thanks.


 On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:

 Hi,

 We do not need an additional/dedicated server to do both xCAT and VCL
 together, your management node can serve as your xCAT server.

 I would recommend getting xCAT to work by itself before using VCL to
 manage your images and guest OS.

 This has worked well for us so far.

 :Amit


 -Original Message-
 From: dcheb...@gmu.edu [mailto:dcheb...@gmu.edu]
 Sent: Thursday, February 09, 2012 3:03 PM
 To: vcl-user@incubator.apache.org
 Subject: VCL and xCat

 Hi All

 Anyone is using xCat with VCL?

 I have generic question about xCat and VCL - where do I start?
 Do I need working xCat environment before I can add it to VCL?
 Does xCat need dedicated server? Or does it run on the VCL
 management
 node?
 Are there any special hardware requirements for xCat clients?


 Thank you.








 Thank you.

 -
 Dmitri Chebotarov
 dcheb...@gmu.edu
 703-993-6175
 -






 Thank you.

 -
 Dmitri Chebotarov
 dcheb...@gmu.edu
 703-993-6175
 -



 -BEGIN PGP SIGNATURE-

 iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3clzzem
 eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWicqNTm
 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNje62X

Re: VCL and xCat

2012-02-10 Thread Aaron Peeler
Yes, we're using the latest xCAT version.

-A

On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. ahku...@odu.edu wrote:
 Hi Dmitri,

 We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work.
 May be Aaron and his group could say more.

 Thank you,
 Amit


 -Original Message-
 From: dcheb...@gmu.edu [mailto:dcheb...@gmu.edu]
 Sent: Friday, February 10, 2012 11:37 AM
 To: vcl-user@incubator.apache.org
 Subject: Re: VCL and xCat


 Thank you.

 What version of xCat do you use? Since VCL supports xCat 2.x, is it
 safe to use latest xCat 2.6.10? Thanks.

 On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:

  Hi Dmitri,
 
  SUMAVI link that you have is a real good one, I blindly followed it
 and then slowly things started to make more sense once it worked.
  Also xCAT forum was very helpful.
 
  Thank you,
  Amit
 
  -Original Message-
  From: dcheb...@gmu.edu [mailto:dcheb...@gmu.edu]
  Sent: Friday, February 10, 2012 10:15 AM
  To: vcl-user@incubator.apache.org; aaron_pee...@ncsu.edu
  Subject: Re: VCL and xCat
 
 
  Thank you, I hope we can make it work in our environment as well...
 
  I keep searching and reading xCat docs - here is good one -
  http://sumavi.com/books/xcat-administrators-guide.
  BTW, if you have any docs outside of xcat.org site, please share...
  At this point I'm looking for xCat overview docs, i.e. to understand
  the process.
 
  Looks like xCat makes extensive use of DHCP server to manage nodes.
  Are you using different DHCPd servers for VCL VMs and xCat nodes, or
  just keep everything on one DHCP server and being careful with which
  MAC gets what?
 
  Thanks again for your help...
 
  On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
 
  Dmitri,
 
  Just to add to Amit, comments.
 
  We use xCAT extensively here at ncsu. From provisioning end-user
  desktops and our hypervisors. xCAT very helpful when needed to
  install
  a chassis full of blades with esxi.
 
  As your installing xCAT  You'll want to review
  https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
  partimag
  e-ng-to-xcat-2x-unofficial.html We added in VCL support for
  partimage
  - which is used to capture the disk images of end-user
  environments/desktops for windows and linux.
 
  When your adding nodes to vcl through the manage computers tool,
  make sure to choose xCAT 2.x .  If your doing windows bare-metal,
  you'll also need to include sysprep and related mass storage
 drivers
  so it can be reloaded successfully.
 
  For sysprep review step 8 on this page:
 
 
 https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management+
  N
  ode+Installation
 
  Hope this info helps,
  Aaron
 
 
  On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
 dcheb...@gmu.edu
  wrote:
 
  Amit,
 
  Thanks a lot.
 
 
  On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
 
  Hi Dmitri,
 
  You general idea is correct to my best understanding.
 
  Install Path in the Edit management Node will be the path for
  xCAT(bare metal) image repository. In addition when you configure
 the
  Site table in xCAT you will set the installdir to point to the
  location where you will store your images.
 
  We have IBM E Blade Chassis with HS22 blade servers.
 
  Best,
  Amit
 
  -Original Message-
  From: dcheb...@gmu.edu [mailto:dcheb...@gmu.edu]
  Sent: Thursday, February 09, 2012 3:44 PM
  To: vcl-user@incubator.apache.org
  Subject: Re: VCL and xCat
 
 
  Amit,
 
  I'm trying to get general idea about xCat/VCL : so, basically
  xCat needs to be installed and configured on VCL Mgm node(s)
  before it can be used with VCL, and I should be able to
  successfully provision xCat nodes/clients with different images.
  Once xCat is working then I can add bare-metal computers - blade
  with xCat 2.x engine. Does it sound right?
 
  How do you tell VCL where to get image files for xCat nodes - is
  it
  'Install Path' setting under Management Nodes - Edit management
  node information?
 
  What kind of hardware do you have for xCat nodes? Are those IBM
  blade servers or/and PCs?
 
 
  Thanks.
 
 
  On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
 
  Hi,
 
  We do not need an additional/dedicated server to do both xCAT
  and VCL
  together, your management node can serve as your xCAT server.
 
  I would recommend getting xCAT to work by itself before using
  VCL to
  manage your images and guest OS.
 
  This has worked well for us so far.
 
  :Amit
 
 
  -Original Message-
  From: dcheb...@gmu.edu [mailto:dcheb...@gmu.edu]
  Sent: Thursday, February 09, 2012 3:03 PM
  To: vcl-user@incubator.apache.org
  Subject: VCL and xCat
 
  Hi All
 
  Anyone is using xCat with VCL?
 
  I have generic question about xCat and VCL - where do I start?
  Do I need working xCat environment before I can add it to VCL?
  Does xCat need dedicated server? Or does it run on the VCL
  management
  node?
  Are there any special hardware requirements for xCat
 clients?
 
 
  Thank you.
 
 
 
 
 
 
 
 
  Thank you

Re: Removing idle computers

2012-01-24 Thread Aaron Peeler
Hi Emir,

Thanks for the patch and it looks good to reach the goal you wanted.
I'd like to suggest we take it a step further.

We should move this flag to the database, possibly a variable of the
management node table and look at adding additional options like
hibernate and power-down non-vm hw based on current/projected usage.

I've got a jira issue I created awhile back, but I've not made any
progress on it:
https://issues.apache.org/jira/browse/VCL-170

If your interested in assisting me working on it, we could design something out.

Cheers,
Aaron

On Sun, Jan 22, 2012 at 3:31 PM, Emir Imamagic eimam...@srce.hr wrote:
 Hello,

 I attached a simple patch for VCL::reclaim module which deletes VMs after
 the reservation timeouts or get deleted. We tested it on our environment and
 it seems that it works fine. Patch is done against stable version 2.2.1.

 As I am not that familiar with VCL internals I would appreciate any feedback
 on this patch.

 Thanks


 On 17.01.2012. 18:29, Emir Imamagic wrote:

 Hello,

 during the very nice VCL Bootcamp you organized in Wroclaw we discussed
 about the option to switch off computers without reservation.

 First few words about our infrastructure. It consists of 2 VMWare ESXi
 boxes with 256GB RAM each handling 60-100 VMs. We use iSCSI-based
 storage for datastore and 2 VM stores. Since VMFS3 is clustered this
 works quite well and bootstrap of machines takes less than a minute.

 In this setup reload of machines takes longer than bootstrap and
 therefore it would be better to switch off/remove the VM once the
 reservation is done.

 Are you planning add such feature in the next version?

 Thanks



 --
 Emir Imamagic
 Sektor za racunalne sustave
 Sveuciliste u Zagrebu, Sveucilisni racunski centar (Srce), www.srce.unizg.hr
 emir.imama...@srce.hr, tel: +385 1 616 5809, fax: +385 1 616 5559



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: Email Config in VCL

2012-01-13 Thread Aaron Peeler
Thank you Juan,

This is good.

Aaron P

On Thu, Jan 12, 2012 at 4:29 PM,  jjzam...@itesm.mx wrote:
 I am working in make a spanish version of VCL, today I have about 60 percent 
 of the interface (the user part is 98 in spanish).

 I think if I send to you the diff of the english version and spanish version 
 maybe we can put the messages in an order form (maybe as example usersmsg1, 
 usermsg2...) Into the database and get a very easy way to have a 
 multilinguann system only changing the table messages in the DB.

 I hope this will help the team

 Regards

 Juan José Zamanillo

 -Original Message-
 From: Aaron Peeler fapee...@ncsu.edu
 Date: Thu, 12 Jan 2012 14:28:38
 To: vcl-user@incubator.apache.org
 Reply-To: vcl-user@incubator.apache.org
 Subject: Re: Email Config in VCL

 Also you will need to restart vcld for any changes you make to the .pm files.

 -AP

 On Thu, Jan 12, 2012 at 2:21 PM, Aaron Peeler fapee...@ncsu.edu wrote:
 Hello Al,

 The From address is coming from the database 'affiliation' table.

 The messages are in a couple of the modules, path_2_vcl_install/vcl/lib/VCL

 new.pm, search for mailstring

 reserve.pm  inuse.pm,  search for message

 (Someday we'll get these into the database.)

 Aaron

 On Thu, Jan 12, 2012 at 1:04 PM, Evelio Quiros evq...@fiu.edu wrote:

 Hello,

 Can anyone tell me where the config files are for the VCL email messages ?
 I imagine these are on the management node somewhere ?
 In particular, I want to change the address it is using to send from, and
 also some of the text of the messages.

 Thanks,
 Al Quiros



 --
 Aaron Peeler
 Program Manager
 Virtual Computing Lab
 NC State University

 All electronic mail messages in connection with State business which
 are sent to or received by this account are subject to the NC Public
 Records Law and may be disclosed to third parties.



 --
 Aaron Peeler
 Program Manager
 Virtual Computing Lab
 NC State University

 All electronic mail messages in connection with State business which
 are sent to or received by this account are subject to the NC Public
 Records Law and may be disclosed to third parties.



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: Email Config in VCL

2012-01-12 Thread Aaron Peeler
Hello Al,

The From address is coming from the database 'affiliation' table.

The messages are in a couple of the modules, path_2_vcl_install/vcl/lib/VCL

new.pm, search for mailstring

reserve.pm  inuse.pm,  search for message

(Someday we'll get these into the database.)

Aaron

On Thu, Jan 12, 2012 at 1:04 PM, Evelio Quiros evq...@fiu.edu wrote:

 Hello,

 Can anyone tell me where the config files are for the VCL email messages ?
 I imagine these are on the management node somewhere ?
 In particular, I want to change the address it is using to send from, and
 also some of the text of the messages.

 Thanks,
 Al Quiros



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: Email Config in VCL

2012-01-12 Thread Aaron Peeler
Also you will need to restart vcld for any changes you make to the .pm files.

-AP

On Thu, Jan 12, 2012 at 2:21 PM, Aaron Peeler fapee...@ncsu.edu wrote:
 Hello Al,

 The From address is coming from the database 'affiliation' table.

 The messages are in a couple of the modules, path_2_vcl_install/vcl/lib/VCL

 new.pm, search for mailstring

 reserve.pm  inuse.pm,  search for message

 (Someday we'll get these into the database.)

 Aaron

 On Thu, Jan 12, 2012 at 1:04 PM, Evelio Quiros evq...@fiu.edu wrote:

 Hello,

 Can anyone tell me where the config files are for the VCL email messages ?
 I imagine these are on the management node somewhere ?
 In particular, I want to change the address it is using to send from, and
 also some of the text of the messages.

 Thanks,
 Al Quiros



 --
 Aaron Peeler
 Program Manager
 Virtual Computing Lab
 NC State University

 All electronic mail messages in connection with State business which
 are sent to or received by this account are subject to the NC Public
 Records Law and may be disclosed to third parties.



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: Virtualizing the Virtualization Server

2011-11-30 Thread Aaron Peeler
Yes, your going to need xCAT.

We've have found that ESXi needs to be installed via kickstart type
method using xcat.

Partimage - which is the tool used underneath xCAT layer doesn't
support the ESXi filesystem.

xCAT can deploy using either kickstart or partimage method for x86 hardware.

We are using xCAT to deploy our bare-metal environments; user created,
kickstart based environments, and for our hypervisor environments
ESXi, and for the next release kvm.

xCAT is a very nice tool when you have more than a couple of blades to
install or repurpose for other features supported by VCL.

At first I would suggest to get xCAT working at the command line
before trying to use xCAT through the VCL interface. VCL xCAT
provisioning modules are only making xCAT system calls to install a
node. Once xCAT is setup correctly and working, then start using it
through the VCL interface.

When you get ready we can share our esxi kickstart template to
compare, so you can built one for your environment.

Aaron

On Tue, Nov 29, 2011 at 7:25 PM, Anu Chirinos a...@fiu.edu wrote:
 What about if we want to have ESXi as an image that can be deployed on number 
 of identical servers? Will that require xcat underneath, or can we just 
 capture the base esxi as image and then deploy it. If so, are there anything 
 specific before capturing that image?


 Anu Chirinos
 University Technology Services
 Office: 305-348-0275, Cell 786-712-9025

 
 From: Aaron Peeler [fapee...@ncsu.edu]
 Sent: Tuesday, November 29, 2011 9:27 AM
 To: vcl-user@incubator.apache.org
 Subject: Re: Virtualizing the Virtualization Server

 Yes. This requires xCAT http://xcat.sourceforge.net/ xCAT is fairly
 straight forward and well supported for the IBM bladeCenter hardware,
 but has worked with other hardware also. The xCAT developers are
 mostly IBMers - hardware group.


 Some xCAT pre-install steps.
 1) Make to include the private IP addresses of your blades or phyiscal
 machines in the management nodes /etc/hosts file
 2) make a copy of your existing dhcpd.conf file

 The xcat starting point documentation is:
 http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Setting_Up_a_Linux_xCAT_Mgmt_Node

 Once xcat is installed you will need to follow these steps to add
 support for partimage, this is the component that does the imaging.
 https://cwiki.apache.org/VCL/adding-support-for-partimage-and-partimage-ng-to-xcat-2x-unofficial.html

 Aaron

 On Tue, Nov 29, 2011 at 8:55 AM, Evelio Quiros evq...@fiu.edu wrote:
 Hello,
 First, thanks for all the helpful advice. We were able to get up and going
 thanks to you all.
 Is it possible to capture the image of the Vmware server itself, and then
 replicate it to other bare metal server?
 Is there some documentation on that procedure?
 Thanks Again,
 Al Quiros



 --
 Aaron Peeler
 Program Manager
 Virtual Computing Lab
 NC State University

 All electronic mail messages in connection with State business which
 are sent to or received by this account are subject to the NC Public
 Records Law and may be disclosed to third parties.




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: Images and Connections

2011-11-16 Thread Aaron Peeler
Hi Al,

Good to hear. Thanks for letting us know.

Aaron

On Wed, Nov 16, 2011 at 12:10 PM, Evelio Quiros evq...@fiu.edu wrote:
 Hello everybody,
 I was able to solve the problem with the SSH session closing immediately.
 The issue was SELINUX. There was no security profile for the newly created
 user on the VCL image, so SELINUX closed the session. Just disabling SELINUX
 on the base image solved the issue.
 Thanks again for all your help. I hope this information helps anyone else
 encountering this problem.
 Cheers,
 Al Q

 From: Al Quiros evq...@fiu.edu
 Reply-To: vcl-user@incubator.apache.org
 Date: Tue, 15 Nov 2011 21:31:21 +
 To: vcl-user@incubator.apache.org vcl-user@incubator.apache.org
 Subject: Images and Connections

 Hello,
 First of all, thanks for all your help so far.
 I have been able to create a base image, and create new images based on
 that.
 The trouble that I am having now is that when I try to connect to the newly
 created Linux image, the SSH session closes immediately. When I connect to
 that image directly on the console,  I am able to connect using the
 credentials supplied by VCL. Any ideas on why that is happening ?
 Regards,
 Al Q



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: Reservation/reload errors

2011-11-01 Thread Aaron Peeler
Lei,

A couple of more things to check.

You mentioned  No functional management node.

Make sure vcld is running on your management node.

Make sure it is checking in.
Management Node - Edit Management node info. You should see a time
stamp of the last checkin.
If the management node, web server, and database are different hosts,
make sure the time is in sync.

Aaron



On Mon, Oct 31, 2011 at 6:00 PM,  jjzam...@itesm.mx wrote:
 If you make a new group of computers, you have to go to management node menu 
 and maping and check the vmcomputers group

 I hope this tip will help you


 Juan José Zamanillo

 -Original Message-
 From: Huang,Lei lhu...@pvamu.edu
 Date: Mon, 31 Oct 2011 16:45:21
 To: vcl-user@incubator.apache.orgvcl-user@incubator.apache.org
 Reply-To: vcl-user@incubator.apache.org
 Subject: RE: Reservation/reload errors

 Hi Alex,

  Thanks for your quick answers. I checked the image options and compared with 
 vmguests, everything look fine to me. The system worked just fine before, and 
 I just found the problem today. None of images works now. Even when I change 
 the status of a vmguest to maintenance, it fails:

 The following computers currently have reservations on them but no functional 
 management node was found for them. Nothing will be done with them at this 
 time: vmguest-1


  However, there is no reservations at all on the system. Any other 
 suggestions?

 Thanks,
 Lei


 
 From: Alexander Patterson [alexander.patter...@csueastbay.edu]
 Sent: Monday, October 31, 2011 4:30 PM
 To: vcl-user@incubator.apache.org
 Subject: Re: Reservation/reload errors

 Hello Huang Lei,

 Go to Manage Images

 Then Click on Edit of whatever image you are having this issue with

 Click on advanced Options
 Make sure that Available for checkout is listed and the Machines RAM
 CPU speed match the VM's numbers that you have in your pool


 For example
 2400mhz
 1.5ghz of ram
 100mbps network card
 1 core

 I have machines with the same spec that can be loaded on this.

 Also check the Maximum concurrent users is not capped?

 Selection not currently available
 Means there are no computers with whatever spec ready to be loaded on
 so it's not available.

 You should have a vmguest-5 in your manage Computer

 Click on Manage Computer, then Edit Computer Information
 Click on vmguest-5 click on EDIT

 Make sure your information is correct and will work with the same
 spec's your image is.

 Hope this helps
 -Alex


 When you see
 On Mon, Oct 31, 2011 at 2:19 PM, Huang,Lei lhu...@pvamu.edu wrote:
 Dear all,

  Our VCL stops working when I try to reserve any images. It always says that 
 Selection not currently available all images.

   I see that all computers and vmguests are available, and I can log into 
 these nodes too. When I try to reload an image for a vmguest, there is the 
 following error message:

 No functional management node was found for the following computers. They 
 could not be reloaded at this time:
 vmguest-5

  I don't see anything special in the log file either. I wonder if anyone has 
 seen this problem before, and how to reset the system.

 Thanks,
 Lei Huang



 --
 Thanks,
 Alex  Patterson
 User Support Services
 Operating System Analyst
 California State University, East Bay



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: Base Image creation error

2011-10-25 Thread Aaron Peeler
|DataStructure.pm:get_computer_private_ip_address(1581)|attempting
 to retrieve private IP address for computer: redhat64base
 2011-10-25
 08:58:38|29609|2:2|image|DataStructure.pm:get_computer_private_ip_address(1585)|retrieved
 contents of /etc/hosts on this management node, contains 8 lines
 |29609|2:2|image|  WARNING 
 |29609|2:2|image| 2011-10-25
 08:58:38|29609|2:2|image|DataStructure.pm:get_computer_private_ip_address(1629)|did
 not find any lines in /etc/hosts containing 'redhat64base' and the private
 IP address is not defined in the database
 |29609|2:2|image| ( 0) DataStructure.pm, get_computer_private_ip_address
 (line: 1629)
 |29609|2:2|image| (-1) DataStructure.pm, get_reservation_info_string (line:
 2419)
 |29609|2:2|image| (-3) vcld, make_new_child (line: 571)
 |29609|2:2|image| (-4) vcld, main (line: 346)
 2011-10-25 08:58:38|29609|2:2|image|utils.pm:getnewdbh(2703)|unable to use
 database handle stored in $ENV{dbh}
 2011-10-25 08:58:38|29609|2:2|image|utils.pm:getnewdbh(2760)|database handle
 stored in $ENV{dbh}
 2011-10-25 08:58:38|29609|2:2|image|utils.pm:is_inblockrequest(6163)|zero
 rows were returned from database select
 2011-10-25
 08:58:38|29609|2:2|image|DataStructure.pm:get_image_affiliation_name(2035)|image
 owner id: 1
 2011-10-25 08:58:38|29609|2:2|image|utils.pm:getnewdbh(2709)|database
 requested (information_schema) does not match handle stored in $ENV{dbh}
 (vcl:localhost)
 2011-10-25 08:58:38|29609|2:2|image|utils.pm:getnewdbh(2760)|database handle
 stored in $ENV{dbh}
 2011-10-25
 08:58:38|29609|2:2|image|DataStructure.pm:retrieve_user_data(1352)|attempting
 to retrieve and store data for user: user.id = '1'
 2011-10-25 08:58:38|29609|2:2|image|utils.pm:getnewdbh(2709)|database
 requested (vcl) does not match handle stored in $ENV{dbh}
 (information_schema:localhost)
 2011-10-25 08:58:38|29609|2:2|image|utils.pm:getnewdbh(2760)|database handle
 stored in $ENV{dbh}
 2011-10-25
 08:58:38|29609|2:2|image|DataStructure.pm:retrieve_user_data(1415)|data has
 been retrieved for user: admin (id: 1)




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: Base Image creation error - The plot thickens

2011-10-25 Thread Aaron Peeler
, returning 0
 |31318|4:4|image| ( 0) Module.pm, create_provisioning_object (line: 431)
 |31318|4:4|image| (-1) State.pm, initialize (line: 117)
 |31318|4:4|image| (-2) Module.pm, new (line: 207)
 |31318|4:4|image| (-3) vcld, make_new_child (line: 564)
 |31318|4:4|image| (-4) vcld, main (line: 346)
 |31318|4:4|image|  WARNING 
 |31318|4:4|image| 2011-10-25
 09:30:44|31318|4:4|image|State.pm:initialize(118)|failed to create
 provisioning object
 |31318|4:4|image| ( 0) State.pm, initialize (line: 118)
 |31318|4:4|image| (-1) Module.pm, new (line: 207)
 |31318|4:4|image| (-2) vcld, make_new_child (line: 564)
 |31318|4:4|image| (-3) vcld, main (line: 346)
 2011-10-25 09:30:44|31318|4:4|image|State.pm:DESTROY(829)|VCL::image
 destructor called, address: 1e47818
 2011-10-25
 09:30:44|31318|4:4|image|utils.pm:delete_computerloadlog_reservation(6742)|
 removing computerloadlog entries matching loadstate = begin
 2011-10-25
 09:30:44|31318|4:4|image|utils.pm:delete_computerloadlog_reservation(6789)|
 deleted rows from computerloadlog for reservation id=4
 2011-10-25 09:30:44|31318|4:4|image|State.pm:DESTROY(848)|number of
 database handles state process created: 1
 2011-10-25 09:30:44|31318|4:4|image|State.pm:DESTROY(876)|VCL::image
 process duration: 2 seconds
 2011-10-25
 09:30:44|31318|4:4|image|DataStructure.pm:get_computer_private_ip_address(1
 581)|attempting to retrieve private IP address for computer: redhat64base
 2011-10-25
 09:30:44|31318|4:4|image|DataStructure.pm:get_computer_private_ip_address(1
 585)|retrieved contents of /etc/hosts on this management node, contains 9
 lines
 2011-10-25
 09:30:44|31318|4:4|image|DataStructure.pm:get_computer_private_ip_address(1
 645)|returning IP address from /etc/hosts file: 10.0.0.2
 2011-10-25 09:30:44|31318|4:4|image|utils.pm:getnewdbh(2703)|unable to use
 database handle stored in $ENV{dbh}
 2011-10-25 09:30:44|31318|4:4|image|utils.pm:getnewdbh(2760)|database
 handle stored in $ENV{dbh}
 2011-10-25 09:30:44|31318|4:4|image|utils.pm:is_inblockrequest(6163)|zero
 rows were returned from database select
 2011-10-25
 09:30:44|31318|4:4|image|DataStructure.pm:get_image_affiliation_name(2035)|
 image owner id: 1
 2011-10-25 09:30:44|31318|4:4|image|utils.pm:getnewdbh(2709)|database
 requested (information_schema) does not match handle stored in $ENV{dbh}
 (vcl:localhost)
 2011-10-25 09:30:44|31318|4:4|image|utils.pm:getnewdbh(2760)|database
 handle stored in $ENV{dbh}
 2011-10-25
 09:30:44|31318|4:4|image|DataStructure.pm:retrieve_user_data(1352)|attempti
 ng to retrieve and store data for user: user.id = '1'
 2011-10-25 09:30:44|31318|4:4|image|utils.pm:getnewdbh(2709)|database
 requested (vcl) does not match handle stored in $ENV{dbh}
 (information_schema:localhost)
 2011-10-25 09:30:44|31318|4:4|image|utils.pm:getnewdbh(2760)|database
 handle stored in $ENV{dbh}
 2011-10-25
 09:30:44|31318|4:4|image|DataStructure.pm:retrieve_user_data(1415)|data
 has been retrieved for user: admin (id: 1)




 On 10/25/11 9:04 AM, Aaron Peeler aaron_pee...@ncsu.edu wrote:

Al,

The hostname has to resolve.

Put an entry in your /etc/hosts file.

Aaron

On Tue, Oct 25, 2011 at 8:52 AM, Evelio Quiros evq...@fiu.edu wrote:
 Hello,
 I am getting an error when I try to capture a linux base image in vcl.
I am
 following the instructions, but perhaps some parts of these may have
been
 misinterpreted.
 My VCL server is at 10.0.0.1. My Vmware based virtual machine is at
 10.0.0.2. I can ssh without passwords using keys from the vcl server to
the
 VM.
 The computer has been added to the database as hostname redhat64base,
 although I have no DNS entry to resolve that name, so I use it's
private IP
 of 10.0.0.2.
 Below is the result of vcld trying to capture the computer to create a
new
 base imageŠ.Any ideas about what could be wrong ?
 Thanks,
 Al Quiros

 VCL::image object could not be created and initialized
 
 time: 2011-10-25 08:58:38
 caller: vcld:make_new_child(571)
 ( 0) vcld, make_new_child (line: 571)
 (-1) vcld, main (line: 346)
 
 management node: vcltst.fiu.edu
 reservation PID: 29609
 parent vcld PID: 15838
 request ID: 2
 reservation ID: 2
 request state/laststate: image/image
 request start time: 2011-10-25 08:58:37
 request end time: 2011-10-25 09:58:37
 for imaging: no
 log ID: none
 computer: redhat64base
 computer id: 12
 computer type: blade
 computer eth0 MAC address: undefined
 computer eth1 MAC address: undefined
 computer private IP address: undefined
 computer public IP address: 10.0.0.2
 computer in block allocation: no
 provisioning module: VCL::Module::Provisioning::VMware::VMware
 image: vmwarelinux-redhat64linux8-v0
 image display name: redhat64linux
 image ID: 8
 image revision ID: 6
 image size: 1450 MB
 use Sysprep: yes
 root access: yes
 image owner ID: 1
 image owner affiliation: Local
 image revision date created

Re: Help creating local users

2011-10-13 Thread Aaron Peeler
If you ran install_perl_libs.pl, it's possible the epel repository rpm
failed which would prevent perl-Mailtools from getting installed.

You should use the latest out of the VCL repository.

move the older script out of the way
mv /usr/local/vcl/bin/install_perl_libs.pl
/usr/local/vcl/bin/install_perl_libs.pl_old

use wget 
https://svn.apache.org/repos/asf/incubator/vcl/trunk/managementnode/bin/install_perl_libs.pl
and store it in the /usr/local/vcl/bin directory.

Then rerun install_perl_libs.pl

Aaron



On Thu, Oct 13, 2011 at 12:22 PM, Anu Chirinos a...@fiu.edu wrote:
 [root@vcltst bin]# rpm -qa perl
 perl-5.10.1-119.el6.x86_64



 On 10/13/11 12:12 PM, Aaron Peeler fapee...@ncsu.edu wrote:

 Anu,

 You can use the ./vcld --setup option
 Select 1 VCL Base Module to add accounts.

 Aaron

 On Thu, Oct 13, 2011 at 11:49 AM, Anu Chirinos a...@fiu.edu wrote:





 Hello,

 We are trying to create local users and when I click in ³Submit New User²
 button, nothing happens.

 Thanks,

 FIU/Anu







-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: questions regarding creating base images

2011-10-06 Thread Aaron Peeler
No you don't need to upgrade 2.0. IMO, 2.x is more flakey than 1.x and
will cause you other issues.

If you were to upgrade, I'd recommend to use ESXi.


First, just to make sure, are you using the VCL 2.2.1 release?

If so, you should be able to fix this problem by changing the computer
provisioning module to 'VMware' for each of your vmguest computers.

Aaron


On Wed, Oct 5, 2011 at 4:36 PM, Huang,Lei lhu...@pvamu.edu wrote:
 Aaron,

  My current setting is using Vmware Server GSX. Do I need to upgrade my
 VM server from 1.0 to 2.0?

 Thanks,
 Lei

 On 10/5/11 1:33 PM, Aaron Peeler aaron_pee...@ncsu.edu wrote:

It looks like your using an older vmware provisioning module called
vmware.pm.

It should be using the newer one under
/../vcl/lib/VCL/Module/Provisioning/VMware/VMware.pm

Please check the vm compute nodes in your vcl interface for vmguest-1
and vmguest-2.

Manage computers - Select all computers
Select Edit Computer Information
Make sure Provisioning Engine is selected

Hit submit

Make sure it says VMware

Can you also send the sql output of the below query from your database?
This is going to help us make sure the VMware provisioning name listed
in the VCL interface is using the correct perl module.

On your management node at the mysql command line or via phpmyadmin,
run this query on the vcl database.

SELECT computer.hostname,provisioning.*,module.perlpackage FROM
computer,provisioning, module WHERE computer.hostname like '%vmguest%'
AND provisioning.id = computer.provisioningid AND module.id =
provisioning.id

Thanks,
Aaron

On Wed, Oct 5, 2011 at 1:54 PM, Huang,Lei lhu...@pvamu.edu wrote:
 Aaron,
    Here is some log  information. Please let me know if you need any
more.
 Thanks,
 Lei
 ===
 2011-10-05
 10:24:38|26273|565:565|image|utils.pm:run_scp_command(5636)|copied file
via
 SCP: 'vmguest-1:/etc/init.d/sshd' -- '/tmp/565.ext_sshd'
 2011-10-05

10:24:38|26273|565:565|image|Linux.pm:generate_ext_sshd_init(2359)|copied
 sshd init script from vmguest-1 for local processing
 2011-10-05
 10:24:38|26273|565:565|image|Linux.pm:generate_ext_sshd_init(2369)|read
file
 /tmp/565.ext_sshd into array
 2011-10-05
 10:24:38|26273|565:565|image|utils.pm:run_scp_command(5600)|attempting
to
 copy file via SCP: '/tmp/565.ext_sshd' --
'vmguest-1:/etc/init.d/ext_sshd'
 2011-10-05
 10:24:38|26273|565:565|image|utils.pm:run_scp_command(5636)|copied file
via
 SCP: '/tmp/565.ext_sshd' -- 'vmguest-1:/etc/init.d/ext_sshd'
 2011-10-05

10:24:38|26273|565:565|image|Linux.pm:generate_ext_sshd_init(2425)|copied
 /tmp/565.ext_sshd to vmguest-1:/etc/init.d/ext_sshd
 2011-10-05
 10:24:38|26273|565:565|image|utils.pm:run_ssh_command(5380)|executing
SSH
 command on vmguest-1:
 |26273|565:565|image| /usr/bin/ssh -i /etc/vcl/vcl.key -o
 StrictHostKeyChecking=no -l root -p 22 -x vmguest-1 'chmod +rx
 /etc/init.d/ext_sshd' 21
 2011-10-05

10:24:38|26273|565:565|image|Linux.pm:generate_ext_sshd_init(2426)|settin
g
 vmguest-1:/etc/init.d/ext_sshd executable
 2011-10-05
10:24:38|26273|565:565|image|Linux.pm:pre_capture(179)|shutting
 down node for Linux imaging sequence
 2011-10-05
 10:24:38|26273|565:565|image|utils.pm:run_ssh_command(5380)|executing
SSH
 command on vmguest-1:
 |26273|565:565|image| /usr/bin/ssh -i /etc/vcl/vcl.key -o
 StrictHostKeyChecking=no -l root -p 22 -x vmguest-1 '/sbin/shutdown -h
now'
 21
 2011-10-05

10:24:39|26273|565:565|image|utils.pm:run_ssh_command(5464)|run_ssh_comma
nd
 output:
 2011-10-05
10:24:39|26273|565:565|image|utils.pm:run_ssh_command(5478)|SSH
 command executed on vmguest-1, returning (0, )
 2011-10-05
 10:24:39|26273|565:565|image|Module.pm:code_loop_timeout(742)|waiting
for
 vmguest-1 to power off, maximum of 120 seconds
 2011-10-05
 10:24:39|26273|565:565|image|Module.pm:code_loop_timeout(759)|attempt 1:
 waiting for vmguest-1 to power off
 2011-10-05 10:24:39|26273|565:565|image|vmware.pm:get_vm_paths(2485)|vm
 locations:
 |26273|565:565|image| vmdk name: vmwarelinux-CentOS55Test46-v0
 |26273|565:565|image| vmx path:

/install/vmware_files/runningvms/vmwarelinux-CentOS55Test46-v0vmguest-1/v
mwarelinux-CentOS55Test46-v0vmguest-1.vmx
 |26273|565:565|image| vm directory:
vmwarelinux-CentOS55Test46-v0vmguest-1
 |26273|565:565|image| base vm directory: vmwarelinux-CentOS55Test46-v0
 2011-10-05
 10:24:39|26273|565:565|image|vmware.pm:power_status(2407)|attempting to
 execute vmware-cmd getstate
 2011-10-05
 10:24:39|26273|565:565|image|utils.pm:run_ssh_command(5380)|executing
SSH
 command on CSB302:
 |26273|565:565|image| /usr/bin/ssh -i /etc/vcl/vcl.key -o
 StrictHostKeyChecking=no -l root -p 22 -x CSB302 'vmware-cmd

/install/vmware_files/runningvms/vmwarelinux-CentOS55Test46-v0vmguest-1/v
mwarelinux-CentOS55Test46-v0vmguest-1.vmx
 getstate' 21
 |26273|565:565|image|  WARNING 
 |26273|565:565|image| 2011-10-05
 10:24:39|26273|565:565|image|vmware.pm:power_status(2415)|failed to run
 vmware-cmd getstate for vmwarelinux-CentOS55Test46-v0vmguest-1 vm, exit
 status

Re: questions regarding creating base images

2011-10-05 Thread Aaron Peeler
Hello Lei,

When prompted for the computer name/IP, you will want to enter
vmguest-1. The vm needs to be running and you need to be able to login
via ssh identity keys from your management node.

Aaron


On Tue, Oct 4, 2011 at 11:26 PM, Huang,Lei lhu...@pvamu.edu wrote:
 Hi everyone,
    I am following the instruction of creating a base linux image
 (https://cwiki.apache.org/VCL/create-a-linux-base-image.html) , but I am
 very confused about the document, and would appreciate any help. I have the
 following settings:
   1. Blade #1: management code
   2. Blade #2: a compute node (name: CSB2, VM host computer running CentOS
 5.5 and VMware server 1.x. It has been added into the VCL database)
   3. Two guest VMs (vmguest-1, vmguest-2) assigned to the VM host  (CSB2)
 using the vcl website.
   I have created a new virtual machine using VMware console in CSB2. Now I
 would like  to capture it. After setting up the  network of the VM, I run
 vcld -setup on the management node. When it asks for the computer name/IP,
 and here is my confusion. If I enter CSB2, then it changes the network
 configuration of CSB2 and then shut down the node, which made the entire
 process failed. If I enter vmguest-1, it couldn't finish the capture either
 since vmguest-1 is not running. What's wrong in my process? I have read the
 document several times, but cannot figure it out. Can anyone please help?
 Thanks,
 Lei Huang



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: questions regarding creating base images

2011-10-05 Thread Aaron Peeler
The easiest way is to use the vmware console.

Log into the vmware host CSB2 and run the command
vmware 

You can either modify the .vmx file or edit the settings via the vmware console.

Aaron

On Wed, Oct 5, 2011 at 1:01 PM, Huang,Lei lhu...@pvamu.edu wrote:
 Aaron,

  Thanks for your answer. How can I load my VM using vmguest-1? What
 command should I use? Do I need to modify the .vmx file to add the static
 IP address for my new VM?

 Thanks,
 Lei

 On 10/5/11 11:54 AM, Aaron Peeler fapee...@ncsu.edu wrote:

Hello Lei,

When prompted for the computer name/IP, you will want to enter
vmguest-1. The vm needs to be running and you need to be able to login
via ssh identity keys from your management node.

Aaron


On Tue, Oct 4, 2011 at 11:26 PM, Huang,Lei lhu...@pvamu.edu wrote:
 Hi everyone,
    I am following the instruction of creating a base linux image
 (https://cwiki.apache.org/VCL/create-a-linux-base-image.html) , but I am
 very confused about the document, and would appreciate any help. I have
the
 following settings:
   1. Blade #1: management code
   2. Blade #2: a compute node (name: CSB2, VM host computer running
CentOS
 5.5 and VMware server 1.x. It has been added into the VCL database)
   3. Two guest VMs (vmguest-1, vmguest-2) assigned to the VM host
(CSB2)
 using the vcl website.
   I have created a new virtual machine using VMware console in CSB2.
Now I
 would like  to capture it. After setting up the  network of the VM, I
run
 vcld -setup on the management node. When it asks for the computer
name/IP,
 and here is my confusion. If I enter CSB2, then it changes the network
 configuration of CSB2 and then shut down the node, which made the entire
 process failed. If I enter vmguest-1, it couldn't finish the capture
either
 since vmguest-1 is not running. What's wrong in my process? I have read
the
 document several times, but cannot figure it out. Can anyone please
help?
 Thanks,
 Lei Huang



--
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.





-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: VCL-427 managing user group for block allocations

2011-10-04 Thread Aaron Peeler
+1
Sounds good.
Aaron

On Tue, Oct 4, 2011 at 11:10 AM, Josh Thompson josh_thomp...@ncsu.edu wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 In 2.2.1, there is a problem with block allocations.  You have the option to
 set the managing user group to 'None'.  If you do that for a block allocation
 that was requested by a normal user, then no one will be able to manage the
 block allocation.

 In 2.3, there will be the option to grant any user group access to manage
 block allocations for just their affiliation.  I'm thinking with this option,
 there is no longer the need to select a managing user group for block
 allocations.  So, I'd like to just drop the managing user group altogether.
 In which case, if you are in a user group having the Manage Block Allocations
 (affiliation only) permission, on the Block Allocations page, you'd see all
 block allocations owned by people with the same affiliation you have.  If you
 are in a user group having the Manage Block Allocations (global) permission,
 you'd see all block allocations.

 Does this sound okay to everyone?  Is anyone using the managing user group in
 such a way that this change would cause a problem?

 Thanks,
 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.17 (GNU/Linux)

 iEYEARECAAYFAk6LIfwACgkQV/LQcNdtPQPkrQCfU+opGZ0EHsDoFT1hqoU6daSX
 2GIAn0sS05NdJEruBKEBektSgiS7Lo5j
 =UFdt
 -END PGP SIGNATURE-




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: How to configure a new computing node?

2011-09-22 Thread Aaron Peeler
Hello Lei,

Could you provide the log file for vcld related to this reservation
failure. It's default location is /var/log/vcld.log

Thanks,
Aaron


On Thu, Sep 22, 2011 at 2:19 AM, Huang,Lei lhu...@pvamu.edu wrote:
 Dear VCL experts,
     I am working on extending our VCL Cloud system for teaching purpose by
 adding some new computing nodes. The VCL version is 2.1 and we use VMware
 server 1.0 in each computing node. I have installed CentOS 5.0 and Vmware
 server 1.0 on a new blade, configured the network and VCL. However, I am
 stuck by the following failure when I tried to reserve an image.
 ==
 State Est/Act  TimeTotal
 Timeconfirming image exists(22) 0:04/0:24 0:24
 starting load process(40) 0:06/2:03 2:27
 creating configuration file(28) 0:02/1:01 3:28
 starting virtual machine(48) 0:03/0:42 4:10
 machine booting(46) 1:08/34:43 38:53
 failed: could not load vmx on CSB308
 
   Does anybody know what's wrong on my setup? It takes very long time to
 boot an image, but failed at the end. I am wondering if there is any
 instruction of how to install a computing node that I can follow.  Thanks a
 lot in advance.
 Regards,
 Lei Huang (Ph.D.)
 Assistant Professor
 Computer Science Department
 Prairie View AM University
 SR Collins Room 314, MailStop: 2515, Prairie View, TX 77446
 Phone: (936)261-9878   Fax: (936)261-9866




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Board report due -- reminder

2011-08-08 Thread Aaron Peeler
Any one want to take stab at our August board report?

It's due this Wednesday.


Aaron

-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: Reserve a cluster in VCL

2011-08-08 Thread Aaron Peeler
Yes, but with limitations. Also this is more related to your local
networking setup and the individual provisioning modules.

Today VCL does not dynamically create/destroy vlans when needed.  I
think this is needed in the long-term - at some solution at a
localized level  - i.e. within a DataCenter.

To make it work in the current code - You would need to have the
required vlans setup and preconfigured in your hypervisor, if using
xcat in your ethernet switch modules(ESM).

In the image table there is a column called project. At NCSU we use
this project variable to define special vlans that have been trunked
to the hypervisor or the ESM that the desired vcl image should be in.

Within a provisioning module, one can use the project variable to
define which network the vm should be a part of.

Note - there is not a globally defined VCL method for handling the
project variable. For example in the xcat module there is a routine
called _assign2project. This routine simply calls out the a custom
script (local to NCSU) to change the vlan assignments on the blade
port within the related ESM.

In the VMware/VMware.pm module it checks for and adds an existing
network by the project name to the vm. But the network name has to be
listed within the hypervisor.  Look for $image_project in the
VMware.pm.

It would be great for the community to start researching this and
designing the code to handle dynamic vlans.

Aaron






On Mon, Aug 8, 2011 at 10:28 AM, Xianqing Yu yu267155...@hotmail.com wrote:
 Hi Aaron,

 It is great.

 Could you say more about the network environment for the cluster? For
 example, is that possible make the cluster have an isolated network
 environment? That means, only machines in the cluster can communicate to
 each other.

 Thanks,

 Xianqing Yu

 --
 Graduate Research Assistant, Cyber Defense Lab
 Department of Computer Science
 North Carolina State University, Raleigh, NC
 E-mail: x...@ncsu.edu

 -Original Message- From: Aaron Peeler
 Sent: Friday, August 05, 2011 11:21 AM
 To: vcl-user@incubator.apache.org
 Subject: Re: Reserve a cluster in VCL

 Xianqing,

 Just created this page.
 https://cwiki.apache.org/confluence/display/VCL/Creating+a+Cluster+enviroment

 Let me know if you see any typos or if it doesn't make sense.

 Aaron

 2011/8/4 Xianqing Yu yu267155...@hotmail.com:

 Hi guys,

 Do you know how to reserve a cluster in VCL? What is the configuration of
 the cluster?

 Thanks,

 Xianqing Yu

 --
 Graduate Research Assistant, Cyber Defense Lab
 Department of Computer Science
 North Carolina State University, Raleigh, NC
 E-mail: x...@ncsu.edu




 --
 Aaron Peeler
 Program Manager
 Virtual Computing Lab
 NC State University

 All electronic mail messages in connection with State business which
 are sent to or received by this account are subject to the NC Public
 Records Law and may be disclosed to third parties.




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: VCL Bootcamp notes on creating base images

2011-08-05 Thread Aaron Peeler
Hi Mark,

Yes,  https://cwiki.apache.org/confluence/display/VCL/Base+Image+Creation

On the top level wiki page it would be under the User  Documentation,
Documentation for VCL Administrators section.

Aaron


On Thu, Aug 4, 2011 at 4:50 PM, Mark Gardner m...@vt.edu wrote:
 Are the notes from the recent VCL bootcamp discussing how to create base
 images up somewhere?

 Mark

 --
 Mark Gardner
 --




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: VCL Bootcamp notes on creating base images

2011-08-05 Thread Aaron Peeler
The first one means you have to have computer nodes and the exsi host
added to the vcl database.

The vcld --setup tool pulls the target node and esxi host information
from the database.

Aaron

On Fri, Aug 5, 2011 at 8:38 AM, Mark Gardner m...@vt.edu wrote:
 Thanks. I was aware of that page. I am having troubles with the first
 requirement. What does it mean for the computer being captured has been
 added to the VCL database? I can do the rest once I figure out how to do
 that.
 Perhaps a little background will help... I have installed ESXi, installed
 CentOS in a VM configured to be the management/web/database/DNS server as we
 did in the bootcamp, have configured a VM server (pointing back ESXi as per
 bootcamp), and have added a VM through the web interface (only one because
 the hardware is pretty anemic). I don't know what to do next.
 I think I need to create a new reservation, install CentOS and configure it
 as a base image, then capture it with vcld --setup. But I am not sure.
 BTW, I have been taking copious notes and am willing to put them on the
 wiki, perhaps under a newly created How-To page, if that would help. It
 seems a good way for me to give back considering my still limited
 understanding of many of the VCL details. How do I submit changes to the
 wiki?
 Mark

 On Fri, Aug 5, 2011 at 8:10 AM, Aaron Peeler aaron_pee...@ncsu.edu wrote:

 Hi Mark,

 Yes,  https://cwiki.apache.org/confluence/display/VCL/Base+Image+Creation

 On the top level wiki page it would be under the User  Documentation,
 Documentation for VCL Administrators section.

 Aaron


 On Thu, Aug 4, 2011 at 4:50 PM, Mark Gardner m...@vt.edu wrote:
  Are the notes from the recent VCL bootcamp discussing how to create base
  images up somewhere?
 
  Mark
 
  --
  Mark Gardner
  --
 



 --
 Aaron Peeler
 Program Manager
 Virtual Computing Lab
 NC State University

 All electronic mail messages in connection with State business which
 are sent to or received by this account are subject to the NC Public
 Records Law and may be disclosed to third parties.



 --
 Mark Gardner
 --




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: VCL Bootcamp notes on creating base images

2011-08-05 Thread Aaron Peeler
Yes  Is this what your looking for:
https://cwiki.apache.org/confluence/display/VCL/Create+a+Linux+Base+Image

Also I see vm-1 is in maintenance mode -
go to your Virtual Hosts tool on the VCL portal,
select the host - click the configure host
add vm-1 to esxi-host-1

The image capture process will detect that vm-1 is in maintenance mode
and stop the process.

Aaron



On Fri, Aug 5, 2011 at 10:26 AM, Mark Gardner m...@vt.edu wrote:
 Thanks Aaron.
 On Fri, Aug 5, 2011 at 9:59 AM, Aaron Peeler aaron_pee...@ncsu.edu wrote:

 The first one means you have to have computer nodes and the exsi host
 added to the vcl database.

 I think I have the ESXi host added to the database (through the web GUI). I
 also added a VM. They show up in Manage Computers-Computer Utilities as
 shown below:
 Hostname     IP Address  State        Owner        Schedule  Current Image
  Next Image  VM Host
 esxi-host-1  pubIP1    vmhostinuse  admin@Local  VCL 24x7  No Image
   No Image    N/A
 vm-1         pubIP2    maintenance  admin@Local  VCL 24x7  No Image
   No Image    N/A

 The vcld --setup tool pulls the target node and esxi host information
 from the database.

 Aaron


 I think I remembered another detail from the bootcamp. We were supposed to
 create an OS installation outside of VCL (in other words not using a
 reservation but directly in ESXi). That is the image that is pulled in
 through vcld --setup, right?
 Mark
 --
 Mark Gardner
 --




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: VCL Bootcamp notes on creating base images

2011-08-05 Thread Aaron Peeler
It depends. I don't recall if the image capture request out right
fails and gets removed when vm-1 is in maintenance mode or not.

To check you can use mysql and run
select * from request;
If there is a request listed in maintenance state (statid=10) then you
could change the stateid back to image (stateid=16)

Or you can use vcld --setup again and give it a different image name.
(This is the easiest path and what I would recommend.)

Aaron


On Fri, Aug 5, 2011 at 12:11 PM, Mark Gardner m...@vt.edu wrote:
 On Fri, Aug 5, 2011 at 10:49 AM, Aaron Peeler aaron_pee...@ncsu.edu wrote:

 Yes  Is this what your looking for:
 https://cwiki.apache.org/confluence/display/VCL/Create+a+Linux+Base+Image

 Also I see vm-1 is in maintenance mode -
 go to your Virtual Hosts tool on the VCL portal,
 select the host - click the configure host
 add vm-1 to esxi-host-1

 The image capture process will detect that vm-1 is in maintenance mode
 and stop the process.

 Aaron

 I corrected that and started the image capture with vcld --setup. It stopped
 because I had forgotten to put vm-1 into /etc/hosts. I have fixed it but now
 vcld --setup complains ERROR: failed to insert into image table and won't
 continue. It seems like data that got entered into the database needs to be
 removed. Do I jump into mysql or is there a better way?
 Mark
 --
 Mark Gardner
 --




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: VCL Bootcamp notes on creating base images

2011-08-05 Thread Aaron Peeler
You'll need to use mysql or phpmyadmin to change an active host's vmprofile.

The profile is assigned in the vmhost

Get the id from the vmprofile table - the VMware ESX - local storage
profile is id 4

The update the vmhost table for that host.
This query assumes that you only have one vmhost in your vmhost table
or it's ok to change all of them:

update vmhost SET vmprofileid =4;


I think the restriction on not being able change an active vmhosts
profile to another profile was an oversight or it was related to xcat
based hypervisor installs. Regardless, I added a jira issue for it to
get fixed.
https://issues.apache.org/jira/browse/VCL-495

Aaron

On Fri, Aug 5, 2011 at 12:55 PM, Mark Gardner m...@vt.edu wrote:
 OK next problem: I selected VMware ESX - local  network storage
 originally for the VM host profile as that is what we used during the
 bootcamp but the paths are wrong (e.g., /vmfs/volumes/local-datastore vs
 /vmfs/volumes/datastore1). I can edit the profile but in reality it should
 be VMware ESX - local storage (I will still need to correct the path). How
 do I change which profile is associated with a VM host?
 Mark
 --
 Mark Gardner
 --




-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: VCL2.2 + xCAT2.5 on bladecenter

2011-03-22 Thread Aaron Peeler

We like partimage-ng.

But, we still use both partimage and partimage-ng. Our case is a little 
unique, we started using xCAT1.3 with partimage, then added local 
support ourselves because xcat 2.0 did not include imaging.


Can you expand on what you feel uncomfortable about? Is it building them 
or modifying, you should be able to mount them and view the contents.


Aaron

On 3/21/11 1:53 PM, John Ma wrote:

Hi Aaron,

I couldn't even finish configuring xCAT2.5 to capture image. What
imaging module is in your setup, partimage, partimage-ng, systemimager
or other? I have this resource
https://cwiki.apache.org/VCL/adding-support-for-partimage-and-partimage-ng-to-xcat-2x-unofficial.html,
but feel uncomfortable with the three pre-build stateless images.

Thanks,
John Ma
Marist College




From: Aaron Peeler aaron_pee...@ncsu.edu
To: vcl-user@incubator.apache.org
Date: 03/21/2011 12:33 PM
Subject: Re: VCL2.2 + xCAT2.5 on bladecenter




Hello John,

Yes. We're using xcat 2.5.1 and older versions

Can you send your vcld.log file for the requestid it failed on?

Aaron


On 3/21/11 12:25 PM, John Ma wrote:
  Hi community,
 
  I attempted and failed to setup xCAT 2.5 to work with VCL2.2 for bare
  metal provisioning all within a bladecenter. Does anyone have a success
  story on this kind of setup yet?
 
  Thanks,
  John Ma
  Marist College

--
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University



--
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University


Re: VCL2.2 + xCAT2.5 on bladecenter

2011-03-21 Thread Aaron Peeler

Hello John,

Yes. We're using xcat 2.5.1 and older versions

Can you send your vcld.log file for the requestid it failed on?

Aaron


On 3/21/11 12:25 PM, John Ma wrote:

Hi community,

I attempted and failed to setup xCAT 2.5 to work with VCL2.2 for bare
metal provisioning all within a bladecenter. Does anyone have a success
story on this kind of setup yet?

Thanks,
John Ma
Marist College


--
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University


Re: Apache VCL mentioned in Campus Technology Article

2011-03-18 Thread Aaron Peeler

Great article - thanks for sending this in.

Aaron

On 3/18/11 10:51 AM, Miller, Fred Anthony wrote:

This is probably of interest to the VCL user community:

http://campustechnology.com/articles/2011/03/17/scaling-up-the-virtual-computing-lab.aspx

The URL vcl.ncsu.edu is linked in the sentence North Carolina has created a 
consortium of VCLs on page 3.



--
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University


Re: VMWare View with VCL

2011-03-10 Thread Aaron Peeler

Hello Nate,

Apache VCL and VMware View are separate solutions. I'm not an expert on 
View, I've seen the sales rep. demo's etc. So I can only comment from a 
somewhat biased viewpoint. :) If someone else on the list has more to 
add on VMWare View that what's here, please do.


Differences

Apache VCL is:
- open source (free)
- community driven support
- community driven development
- built for Edu's by system-admins from Edu's.
- can provision, virtual machines and bare-metal (using xCAT), existing 
stand-alone Unix based machines from a lab for non-walkin hours use.

-not locked into a single hypervisor or vendor.
supports vmware products (free server, ESXi, ESX), virtual box
- highly customizable, ability to extend to use other provisioning 
tools, VCL development roadmap includes kvm support, maybe others

- ease of scale out - (add more HW)
- Course block allocations - priority allocations for sets of end-users, 
courses or workshops, etc
- Current OS support for win7,winxp,win2003,win2008,ubuntu,CentOS, 
RedHat, - easy to add more.

- Audit-able, source is open for tracing
- cost of entry is low
- Many more.


View:
- Commercial product
- VMWare support available
- One benefit I see is the PCoIP protocol. It would do a better job for 
video streaming and probably CAD programs than remote desktop connection.

- requires vcenter licensing. ?  $$

Hope this helps.
Aaron



On 3/10/11 10:17 AM, Nathaniel McMullin wrote:

We are currently investigating Virtual Labs for our Students.  We'd like to 
deploy VMWare View to complement our existing ESX infrastructure which hosts 
our servers, and eventually allow for thin clients for our Faculty/Staff.  The 
short-term, Phase 1, is to allow for more Open Lab space.  With that said, we 
need to ensure students can get onto the Virtual Labs and having a Reservation 
System would fill this need.

Looking at Apache VCL I am wondering if this is simply a separate solution that would not 
tie into VMWare View or or Apache VCL simply see VMWare View as physical 
computers and that's how it would be best to implement.  Does anyone have experience 
tying the two together?  Many thanks.

-Nate @ UNH (SA).


--
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University


Re: VMWare View with VCL

2011-03-10 Thread Aaron Peeler
Your welcome. As you research it more, feel free to ask questions. I and 
others here will be happy to answer them best we can.


Aaron

On 3/10/11 11:19 AM, Nathaniel McMullin wrote:

Aaron:

That is a great help.  Thank you for your time.  I was tasked with finding a system to 
allow students to reserve time slots, and at first glance it appeared AVCL 
might be a fit.  It might now be worth it to add this to the mix for our PoC and see if 
we can justify some cost-savings.

Thanks!

-Nate

On Mar 10, 2011, at 11:13 AM, Aaron Peeler wrote:


Hello Nate,

Apache VCL and VMware View are separate solutions. I'm not an expert on View, 
I've seen the sales rep. demo's etc. So I can only comment from a somewhat 
biased viewpoint. :) If someone else on the list has more to add on VMWare View 
that what's here, please do.

Differences

Apache VCL is:
- open source (free)
- community driven support
- community driven development
- built for Edu's by system-admins from Edu's.
- can provision, virtual machines and bare-metal (using xCAT), existing 
stand-alone Unix based machines from a lab for non-walkin hours use.
-not locked into a single hypervisor or vendor.
supports vmware products (free server, ESXi, ESX), virtual box
- highly customizable, ability to extend to use other provisioning tools, VCL 
development roadmap includes kvm support, maybe others
- ease of scale out - (add more HW)
- Course block allocations - priority allocations for sets of end-users, 
courses or workshops, etc
- Current OS support for win7,winxp,win2003,win2008,ubuntu,CentOS, RedHat, - 
easy to add more.
- Audit-able, source is open for tracing
- cost of entry is low
- Many more.


View:
- Commercial product
- VMWare support available
- One benefit I see is the PCoIP protocol. It would do a better job for video 
streaming and probably CAD programs than remote desktop connection.
- requires vcenter licensing. ?  $$

Hope this helps.
Aaron



On 3/10/11 10:17 AM, Nathaniel McMullin wrote:

We are currently investigating Virtual Labs for our Students.  We'd like to 
deploy VMWare View to complement our existing ESX infrastructure which hosts 
our servers, and eventually allow for thin clients for our Faculty/Staff.  The 
short-term, Phase 1, is to allow for more Open Lab space.  With that said, we 
need to ensure students can get onto the Virtual Labs and having a Reservation 
System would fill this need.

Looking at Apache VCL I am wondering if this is simply a separate solution that would not 
tie into VMWare View or or Apache VCL simply see VMWare View as physical 
computers and that's how it would be best to implement.  Does anyone have experience 
tying the two together?  Many thanks.

-Nate @ UNH (SA).


--
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University




--
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University


Re: xCAT on z/VM

2011-03-08 Thread Aaron Peeler

Hello Cameron,

You'll want to ask this on the xCAT user mailing list.

Aaron

On 3/7/11 5:47 PM, Cameron Seay wrote:

Greetings all!

Has anyone used xCAT on z/VM (the mainframe hypervisor)?  I'm working on
a project with it and any insight would be appreciated.

Oh, and when folks sign their names can they indicate their organization
(school, company, etc).

Thanks.

Cameron  Seay
NC A T State
Greensboro, NC, USA




--
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University


Re: base image creation

2011-02-04 Thread Aaron Peeler

Jay,

Sorry - I realized I should have elaborated more on the errors in the 
log file.


First of all welcome to the community. :)

VCL with vmware provisioning can interact with the ESX(i) server in a 
couple different ways. The first error below is related to the vcl using 
the vmware sdk perl tookit, for this you'll need to set the password for 
the ESXi server in the vmware profile in through the vcl web interface. 
The second is also related to the sdk perl toolkit, from what I can tell 
it looks like it's not installed on your management node. The third 
error is related to the next method that vcl will try to manage vms on 
esxi, it's trying to ssh into the esxi server and run local cmds such as 
vmware-vim-cmd to manage the vms.
This latter method is probably the best approach, if you can make sure 
you have ssh enabled on esxi and have your ssh identity keys setup. Then 
you should get further.


Again welcome and I apologize for the initial short response.

Aaron Peeler


On 2/4/11 7:46 AM, Aaron Peeler wrote:

Can you also ssh into the esxi server using identity keys?

Aaron


On 2/1/11 11:11 AM, Jay Diener-Brazelle wrote:
Hello, I'm new to the community here. I'm trying to set up my first 
base image and I feel like I've missed a step.  I have a ESX 4.1 
server with a Win 7 setup loaded on it.  When I go to create the 
image I get this sent to my admin email account:


VCL::image object could not be created and initialized

Time: 2011-01-28 15:39:59
PID: 22852
Caller: vcld:make_new_child(598)

( 0) utils.pm, notify (line: 630)
(-1) vcld, make_new_child (line: 598)
(-2) vcld, main (line: 342)

RECENT LOG ENTRIES FOR THIS PROCESS:
2011-01-28 
15:39:58|22852|8:8|image|utils.pm:rename_vcld_process(7221)|renamed 
process to 'vcld 8:8 image node1 vmwarewin7-testcap611-v0 admin'

|22852|8:8|image|  WARNING 
|22852|8:8|image| 2011-01-28 
15:39:59|22852|8:8|image|vSphere_SDK.pm:initialize(1789)|VM host 
password is not configured in the database for the VM profile

|22852|8:8|image| ( 0) utils.pm, notify (line: 630)
|22852|8:8|image| (-1) vSphere_SDK.pm, initialize (line: 1789)
|22852|8:8|image| (-2) Module.pm, new (line: 159)
|22852|8:8|image| (-3) VMware.pm, (eval) (line: 1037)
|22852|8:8|image| (-4) VMware.pm, get_vmhost_api_object (line: 1037)
|22852|8:8|image| (-5) VMware.pm, initialize (line: 224)
|22852|8:8|image| (-6) Module.pm, new (line: 159)
|22852|8:8|image|  WARNING 
|22852|8:8|image| 2011-01-28 
15:39:59|22852|8:8|image|VMware.pm:get_vmhost_api_object(1040)|API 
object could not be created: 
VCL::Module::Provisioning::VMware::vSphere_SDK, no eval error

|22852|8:8|image| ( 0) utils.pm, notify (line: 630)
|22852|8:8|image| (-1) VMware.pm, get_vmhost_api_object (line: 1040)
|22852|8:8|image| (-2) VMware.pm, initialize (line: 224)
|22852|8:8|image| (-3) Module.pm, new (line: 159)
|22852|8:8|image| (-4) State.pm, initialize (line: 127)
|22852|8:8|image| (-5) Module.pm, new (line: 159)
|22852|8:8|image| (-6) vcld, make_new_child (line: 591)
2011-01-28 
15:39:59|22852|8:8|image|VMware.pm:get_vmhost_os_object(977)|VM host 
OS object created: VCL::Module::OS::Linux::UnixLab

|22852|8:8|image|  WARNING 
|22852|8:8|image| 2011-01-28 
15:39:59|22852|8:8|image|VMware.pm:initialize(254)|unable to control 
OS of VM host 192 using OS object: VCL::Module::OS::Linux::UnixLab, 
VM host is not responding to SSH

|22852|8:8|image| ( 0) utils.pm, notify (line: 630)
|22852|8:8|image| (-1) VMware.pm, initialize (line: 254)
|22852|8:8|image| (-2) Module.pm, new (line: 159)
|22852|8:8|image| (-3) State.pm, initialize (line: 127)
|22852|8:8|image| (-4) Module.pm, new (line: 159)
|22852|8:8|image| (-5) vcld, make_new_child (line: 591)
|22852|8:8|image| (-6) vcld, main (line: 342)
|22852|8:8|image|  WARNING 
|22852|8:8|image| 2011-01-28 
15:39:59|22852|8:8|image|State.pm:initialize(132)|provisioning object 
could not be created, returning 0

|22852|8:8|image| ( 0) utils.pm, notify (line: 630)
|22852|8:8|image| (-1) State.pm, initialize (line: 132)
|22852|8:8|image| (-2) Module.pm, new (line: 159)
|22852|8:8|image| (-3) vcld, make_new_child (line: 591)
|22852|8:8|image| (-4) vcld, main (line: 342)
2011-01-28 
15:39:59|22852|8:8|image|utils.pm:delete_computerloadlog_reservation(6876)|deleted 
rows from computerloadlog for reservation id=8
2011-01-28 15:39:59|22852|8:8|image|State.pm:DESTROY(946)|VCL::image 
process 22852 exiting


I can SSH to the Win 7 VM from the management node.  Any guidance 
would be appreciated. Thanks.  Jay






--

Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University
aaron_pee...@ncsu.edu
919-513-4571



Re: BladeCenter Hardware Requirements

2011-01-05 Thread Aaron Peeler
Not really. A lot of folks are using diff types of hardware. The folks 
using xcat are primarily using bladecenters. Most everyone has gone 
straight vmware ESX/ESXi.


We have mostly bladecenter E chassis
2 Ethernet switch module
1 Management modules
2 Power modules
2 Cooling modules
with HS21 or HS22 blades

Looks like your only missing the 2nd Ethernet switch module, this is 
needed for eth1. I think we normally go with the BNT L2/3 Copper GbESM 
switch, but I'll need to check.


Aaron


On 1/5/11 1:06 PM, Mark Gardner wrote:
It seems like a lot of the VCL instances are running on BladeCenter 
hardware. I have a chassis and a few blades but I suspect I do not 
have enough I/O modules to install the VCL to it. Does anyone have a 
list of the hardware they are using so I can compare it with what I have?


My config:

BladeCenter H chassis
5 JS21 blades
1 HS21XM blade
1 Ethernet switch module
1 Infiniband 4x module
2 Management modules
4 Power modules
2 Cooling modules

What am I missing? (I suspect I need another Ethernet switch module as 
I have only been successful in getting eth0 connected on a blade. I 
have not been successful in getting eth1 connected.)


--
Mark Gardner
--




--

Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University
aaron_pee...@ncsu.edu
919-513-4571



Re: xCAT 2.x image capture and restore

2010-11-17 Thread Aaron Peeler

Hi John,

Josh had done some work on this for our NCSU install. Here are his 
notes, it also includes the ram disk, root image and kernel modules.

https://cwiki.apache.org/VCL/adding-support-for-partimage-and-partimage-ng-to-xcat-2x-unofficial.html

Aaron

On 11/17/10 2:52 PM, John Ma wrote:

Hi all,

I have xCAT 2.5 installed as the provision tool for VCL 2.2, however 
xCAT 2.5, out of box, doesn't seem able to capture disk image.


How to make xCAT 2.x able to handle disk images? Do I need to create 
my own netboot image customized with partimage, partimage-ng or 
systemimager?



Thanks,

John Ma
sys admin
Marist College
Poughkeepsie, NY 



--

Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University
aaron_pee...@ncsu.edu
919-513-4571



Re: New Deployer Module

2010-11-10 Thread Aaron Peeler

Hi Jim,

Sort of. The diagram shows where to add a new provisioning/deployment 
module for any other type of provisioning tool.


There is/was someone here at NCSU, a grad student also interning at IBM, 
who had a module that talked with Amazon and IBM's Cloud. I'm not sure 
if it's been tested against the latest VCL 2.2 code base or if it can 
even be re-distributed. But I'll forward this along, in case they don't 
respond directly or are not monitoring this list.


Aaron


On 11/4/10 6:37 PM, James O'Dell wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hello,

On the following link

https://cwiki.apache.org/confluence/display/VCL/VCL+Architecture

I've heard that the New Deployer Module (in Yellow) is a add on module
meant for deploying vcl to 3rd party clouds (IDM, Amaazon, etc).

Is anyone using a Deployer Module to offload vcl to a 3rd party
cloud? And, if so, how's working out.

__Jim

- -- 
Jim O'Dell

Network Analyst
California State University Fullerton
Email: jod...@fullerton.edu
Phone: (657) 278-2256
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzTNaYACgkQREVHAOnXPYSf3wCdFgoCcSnhqW6ulz/+8zK6Spfz
nc4AoLCeGg0UNk1UjrrwFBnPOmogI/8k
=uo5y
-END PGP SIGNATURE-



--

Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University
aaron_pee...@ncsu.edu
919-513-4571



Re: Fwd: Abdelmalek Essaadi university, Computer engineering department, MOROCCO

2010-10-18 Thread Aaron Peeler
: 
process exiting


2010-10-12 11:55:55|7432|vcld:REAPER(745)|VCL process exited for 
reservation 5, PID: 8938, signal: CHLD


2010-10-12 11:55:55|7432|vcld:main(166)|lastcheckin time updated for 
management node 1: 2010-10-12 11:55:55


2010-10-12 11:55:55|7432|1:5|failed|vcld:main(251)|request deleted

Please we need your advice.

Cordially,

Gibet Tani Hicham

Eloutouate Lamiae.






--

Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University
aaron_pee...@ncsu.edu
919-513-4571



Re: Licensing aspects of a VCL project

2010-06-03 Thread Aaron Peeler

Hello Dave,
As Mark mentioned there are some who have spent more time on this than 
others and I have to say there is not a clear cut answer, as your 
finding out one has to deal with it on a vendor by vendor basis.


Many vendors including MS are having trouble defining licensing terms 
within cloud computing solutions. We are usually successfully once we 
have explained the software is running on university owned machines. I 
will provide you with the contact info of our NCSU license coordinator 
off-list and you can contact him directly .


Aaron

On 6/2/10 4:51 PM, Mark Gardner wrote:

Dave,

On Wed, Jun 2, 2010 at 3:09 PM, Woods, David M. Dr. 
woods...@muohio.edu mailto:woods...@muohio.edu wrote:


I've asked about this before, and didn't get a lot of response,
but licensing issues are turning out to be a major issue in our
VCL pilot project, so I would be interested in talking to anyone
who can share licensing details of software that is being provided
to students in a VCL environment.

[snip]

 The vendors would be happy to sell us additional licenses to
allow us to allow students to access the VCL from the student’s
personal machine, but this would add a lot to the cost of a full
scale VCL implementation, so we would like to learn more about
licensing at other places that have implemented a VCL to check
with what vendors are telling us.  If you have a licensing manager
who would be willing to talk to our licensing manager, please
send  me contact info.

The VAVCL group meet last year and discussed software licensing. I 
believe John Krallman from Virginia Tech attended. There is also 
another meeting coming up in August. You can contact Sharon Pitt 
sp...@gmu.edu mailto:sp...@gmu.edu at George Mason University who 
can give you more details but here is the invitation I received:


/Current software licensing models can be barriers to 
consumer-orientated technology services.  On August 11, 2010, you are 
invited to discuss new software licensing models that allow us to 
serve faculty, staff and students in innovative, improved and more 
cost effective ways.  This statewide software summit will be held at 
Virginia Commonwealth University in Richmond, VA from 9:30am - 3:30pm. 
More information, including registration information, will be 
forthcoming.  In the meantime, please hold the date./


I also believe that NC State has done quite a bit with licensing in 
the process of developing the VCL approach. You may be able to contact 
Harry Schaffer or others at NCSU for more information. (Sorry, I don't 
have any special insights into the issues of licensing.)


Mark

--
Mark Gardner
--



--

Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University
aaron_pee...@ncsu.edu
919-513-4571