RE: Which version of Linux?
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[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 [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 __ inline: image001.pnginline: image002.png
RE: [DISCUSS] Graduation
I also support graduation. There has been consistent active development work and a good roadmap for future releases. There is an active community of users that have exchanged a lot of good ideas and provided assistance to the community in resolving problems associated with VCL. It's a solid project and stable application which is getting increasing use at our institution and I foresee it continuing to grow in the future. Mike Waldron Systems Specialist ITS Research Computing University of North Carolina at Chapel Hill From: Aaron Peeler [aaron_pee...@ncsu.edu] Sent: Wednesday, May 02, 2012 9:14 AM To: vcl-user@incubator.apache.org; vcl-...@incubator.apache.org Subject: Re: [DISCUSS] Graduation 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: Full desktop Linux images?
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.commailto:m...@longsight.com www.longsight.comhttp://www.longsight.com
RE: VCL software licensing
Alex In our case, we really haven't had to do anything special in regards to licensing. For Microsoft products, we have a campus license which allows us to install on any University-owned systems using the campus site key. For many applications we have network license servers, so the VCL images with that software point to the license servers to get licenses. For all other licenses we have, the license is for a specific number of seats, not specific computers, so we just set the maximum concurrent usage setting on the image to the number of licenses there are for the application. 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: Alexander Patterson [alexander.patter...@csueastbay.edu] Sent: Wednesday, March 07, 2012 1:12 PM To: vcl-user@incubator.apache.org Subject: VCL software licensing Hello, I wanted to know how are people dealing with software licensing for VCL? Does anyone have a document or information on how they are dealing with the different vendors when it comes to VCL. For example with Microsoft you are using 1 license for each virtual machine you spin up in a Windows environment. Do you have one per user base? Is this for concurrent users? Are you able to split up lab licensing for in house software to be used in the VCL? Do the companies know you are doing this? Does anyone have an agreement with any vendors 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
RE: VCL software licensing
Alex Another group within the University handles software acquisitions and they are the ones that deal with Microsoft on such issues. We have the blessing of this group to use the software as we are on the VCL, so from my standpoint we are covered. 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: Alexander Patterson [alexander.patter...@csueastbay.edu] Sent: Wednesday, March 07, 2012 2:01 PM To: vcl-user@incubator.apache.org Subject: Re: VCL software licensing Hello Michael, We have %100 of the same model that you are using, we are working on getting everything into complacency and we are running into big walls starting with Microsoft for copies of the OS that is running on the VCL. Have you talked with Microsoft and do they know you are using the VCL to install virtual instances of the Microsoft product into a Virtual machine environment? We are in talks with Microsoft and they want to charge us X more for doing this, it could lead to the end of our pilot. We have the same campus license that you have and just wanted more insight if anyone has worked closer to the vendors to work on a VCL licensing for software -Alex On Wed, Mar 7, 2012 at 10:55 AM, Waldron, Michael H mwald...@email.unc.edumailto:mwald...@email.unc.edu wrote: Alex In our case, we really haven't had to do anything special in regards to licensing. For Microsoft products, we have a campus license which allows us to install on any University-owned systems using the campus site key. For many applications we have network license servers, so the VCL images with that software point to the license servers to get licenses. For all other licenses we have, the license is for a specific number of seats, not specific computers, so we just set the maximum concurrent usage setting on the image to the number of licenses there are for the application. Mike Mike Waldron Systems Specialist ITS Research Computing University of North Carolina at Chapel Hill CB #3420, ITS Manning, Rm 2509 919-962-9778tel:919-962-9778 From: Alexander Patterson [alexander.patter...@csueastbay.edumailto:alexander.patter...@csueastbay.edu] Sent: Wednesday, March 07, 2012 1:12 PM To: vcl-user@incubator.apache.orgmailto:vcl-user@incubator.apache.org Subject: VCL software licensing Hello, I wanted to know how are people dealing with software licensing for VCL? Does anyone have a document or information on how they are dealing with the different vendors when it comes to VCL. For example with Microsoft you are using 1 license for each virtual machine you spin up in a Windows environment. Do you have one per user base? Is this for concurrent users? Are you able to split up lab licensing for in house software to be used in the VCL? Do the companies know you are doing this? Does anyone have an agreement with any vendors 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
RE: VCL and xCat
Dmitri, Yes, VCL supports kickstart installs with xCAT. The column in the image table that corresponds to the install type is OSid. Example: mysql select prettyname, OSid from image where id=235; +---+--+ | prettyname| OSid | +---+--+ | RedHat Enterprise Linux server 5 (KS) | 19 | +---+--+ 1 row in set (0.00 sec) mysql select * from OS where id=19; ++---++---+-++--+ | id | name | prettyname | type | installtype | sourcepath | moduleid | ++---++---+-++--+ | 19 | rhel5 | Red Hat Enterprise Linux 5 | linux | kickstart | rhas5 | 5 | ++---++---+-++--+ 1 row in set (0.00 sec) mysql select * from module where id=5; ++--+-+-++ | id | name | prettyname | description | perlpackage| ++--+-+-++ | 5 | os_linux | Linux OS Module | | VCL::Module::OS::Linux | ++--+-+-++ 1 row in set (0.00 sec) So in this case OS id 19 specifies a RHEL5 kickstart install, the sourcepath where the RHEL5 installation files are under /install/rhas5. The OS entry links to the module table, id 5 which tells it the perl module to use. You need to have the appropriate entries in your OS and module tables specific to your ESXi image. Mike Mike Waldron Systems Specialist ITS Research Computing University of North Carolina at Chapel Hill CB 3420, ITS Manning, Rm 2509 919-962-9778 -Original Message- From: Dmitri Chebotarov [mailto:dcheb...@gmu.edu] Sent: Wednesday, February 29, 2012 3:17 PM To: vcl-user@incubator.apache.org Subject: Re: VCL and xCat Hi again, Looks like vcl.os and vcl.osinstalltype tables have 'kickstart' installtype for an image. But I cannot find a way to set image_os_install_type to 'kickstart', it's 'partimage' by default for bare-metal. And there seems to be no column in vcl.image table which corresponds to image_os_install_type. Help! Does VCL support kickstart image install with xCAT module? Thank you. On Feb 29, 2012, at 11:14 , Dmitri Chebotarov wrote: Hi Is there a way to use kickstart script install with VCL/xCAT? xCAT2.pm code mentions use of templates, but I cannot find a way how to make use of them. I have working ESXi 4.1 template, and able to install ESXi 4.1 using xCAT (nodeset node install works OK). How would I add ESXi 4.1 image to VCL which is bases on kickstart, not on partimage? Thank you for help. On Feb 22, 2012, at 14:12 , Josh Thompson wrote: Hash: SHA1 Dmitri, Did you follow the guide for adding partimage support to xCAT? https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage- ng+to+xCAT+2.x+%28unofficial%29 You said you installed the partimage rpm. partimage is not something that needs to be installed on the management node. It is part of the stateless images mentioned on the above page. Josh On Tuesday 21 February 2012 4:47:06 PM Dmitri Chebotarov wrote: Hi All. I'm trying to capture a base image using xCAT module - the server is bare-metal CentOS5.7. The process starts OK, able to communicate with the node and then fails when trying to create .tmpl file. xCAT is installed and configured on the management node. partimage rpm is installed as well. Do you know what could be the issue? Thank you for your help. ... 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype modified, node bc1-7, image name centos5image-xcatcentos5v474-v0 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attempting to create tmpl file for image: centos5image-xcatcentos5v474-v0 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage ment node identifier argument was not specified 2012-02-21 16:22:30|12755|275:261|image| xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path for image: |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0 |12755|275:261|image| OS install type: partimage |12755|275:261|image| OS source path: image |12755|275:261|image| xCAT 2.x OS source path: image 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return ing: /opt/xcat/share/xcat/install/image 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage ment node identifier argument was not specified 2012-02-21 16:22:30|12755|275:261|image| xCAT2.pm:_get_image_template_path(2115)|attempting to determine
RE: VCL and xCat
Dmitri, I have a script that I run to manually insert an image into the database. It places an entry in the image, imgagerevision, and resource tables. Here is a sample below. Of course you would substitute the proper values for your situation. INSERT INTO `image` (id, `name`, `prettyname`, `ownerid`, `deptid`, `platformid`, `OSid`, `imagemetaid`, `minram`, `minprocnumber`, `minprocspeed`, `minnetwork`, `maxconcurrent`, `reloadtime`, `deleted`, `test`, `lastupdate`, `forcheckout`, `maxinitialtime`, `project`, `size`) VALUES (150, 'vmwarerhels4-base150-v0', 'Base No Apps, RHEL4 32-bit w/AFS (vmware)', 8, 1, 1, 32, NULL, 1024, 1, 0, 10, NULL, 14, 0, 0, NOW(), 1, 0, 'vcl', 1045); INSERT INTO `imagerevision` (`imageid`, `revision`, `userid`, `datecreated`, `deleted`, `production`, `comments`, `imagename`) VALUES (150, 0, 8, NOW(), 0, 1, NULL, 'vmwarerhels4-base150-v0'); INSERT INTO `resource` (`resourcetypeid`, `subid`) VALUES (13, 150); Mike Mike Waldron Systems Specialist ITS Research Computing University of North Carolina at Chapel Hill CB 3420, ITS Manning, Rm 2509 919-962-9778 -Original Message- From: Dmitri Chebotarov [mailto:dcheb...@gmu.edu] Sent: Wednesday, February 29, 2012 4:19 PM To: vcl-user@incubator.apache.org Subject: Re: VCL and xCat Mike, Thank you for explanation. How did you add kickstart image to vcl.image table? I've tried adding image by inserting record directly into vcl.image and vcl.imagemeta tables, but this didn't work. vcld --setup only allows partimage type for bare-metal. Thank you. On Feb 29, 2012, at 15:41 , Waldron, Michael H wrote: Dmitri, Yes, VCL supports kickstart installs with xCAT. The column in the image table that corresponds to the install type is OSid. Example: mysql select prettyname, OSid from image where id=235; +---+--+ | prettyname| OSid | +---+--+ | RedHat Enterprise Linux server 5 (KS) | 19 | +---+--+ 1 row in set (0.00 sec) mysql select * from OS where id=19; ++---++---+-++--+ | id | name | prettyname | type | installtype | sourcepath | moduleid | ++---++---+-++--+ | 19 | rhel5 | Red Hat Enterprise Linux 5 | linux | kickstart | rhas5 |5 | ++---++---+-++--+ 1 row in set (0.00 sec) mysql select * from module where id=5; ++--+-+-++ | id | name | prettyname | description | perlpackage| ++--+-+-++ | 5 | os_linux | Linux OS Module | | VCL::Module::OS::Linux | ++--+-+-++ 1 row in set (0.00 sec) So in this case OS id 19 specifies a RHEL5 kickstart install, the sourcepath where the RHEL5 installation files are under /install/rhas5. The OS entry links to the module table, id 5 which tells it the perl module to use. You need to have the appropriate entries in your OS and module tables specific to your ESXi image. Mike Mike Waldron Systems Specialist ITS Research Computing University of North Carolina at Chapel Hill CB 3420, ITS Manning, Rm 2509 919-962-9778 -Original Message- From: Dmitri Chebotarov [mailto:dcheb...@gmu.edu] Sent: Wednesday, February 29, 2012 3:17 PM To: vcl-user@incubator.apache.org Subject: Re: VCL and xCat Hi again, Looks like vcl.os and vcl.osinstalltype tables have 'kickstart' installtype for an image. But I cannot find a way to set image_os_install_type to 'kickstart', it's 'partimage' by default for bare-metal. And there seems to be no column in vcl.image table which corresponds to image_os_install_type. Help! Does VCL support kickstart image install with xCAT module? Thank you. On Feb 29, 2012, at 11:14 , Dmitri Chebotarov wrote: Hi Is there a way to use kickstart script install with VCL/xCAT? xCAT2.pm code mentions use of templates, but I cannot find a way how to make use of them. I have working ESXi 4.1 template, and able to install ESXi 4.1 using xCAT (nodeset node install works OK). How would I add ESXi 4.1 image to VCL which is bases on kickstart, not on partimage? Thank you for help. On Feb 22, 2012, at 14:12 , Josh Thompson wrote: Hash: SHA1 Dmitri, Did you follow the guide for adding partimage support to xCAT? https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage- ng+to+xCAT+2.x+%28unofficial%29 You said you installed the partimage rpm. partimage is not something that needs to be installed
RE: Image Creation from Base Image
I dealt with this issue of the network interfaces changing assignments in our Ubuntu images. For Ubuntu 9.04 and earlier: Create /etc/udev/rules.d/90-persistent-net.rules file. Contents: SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{type}==1, KERNEL==eth*, OPTIONS=ignore_device This prevents the device rules from assigning eth0 and eth1 different names because the mac addresses don't match the original machine. For Ubuntu 10.04 and later: Instead of creating 90-persistent-net.rules file, create /etc/init.d/udev-netrule script to remove 70-persistent-net.rules file on shutdown, so it doesn't exist when image is captured. Contents: /bin/rm -f /etc/udev/rules.d/70-persistent-net.rules Link to /etc/rc0.d/S10udev-netrule and /etc/rc6.d/S10udev-netrule. Mike Waldron Systems Specialist ITS Research Computing University of North Carolina at Chapel Hill CB #3420, ITS Manning, Rm 2509 919-962-9778 From: Evelio Quiros [evq...@fiu.edu] Sent: Tuesday, November 15, 2011 12:35 PM To: vcl-user@incubator.apache.org Subject: Re: Image Creation from Base Image That¹s great. Looking forward to the new release. But how were you able to manage new images before? Does the problem not exist in other Linux distros ? Q On 11/15/11 12:19 PM, Josh Thompson josh_thomp...@ncsu.edu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday November 15, 2011, Evelio Quiros wrote: Hello, I was able to successfully capture a base image. I have added the image to the image group. However, when I try to make a reservation, or create a new image, It eventually fails. I watch the VM server and see that a new VM was started. It does start a new VM with the correct MAC addresses, but Redhat detects these changed MACs as new interfaces, and assigns them to eth2 and eth3. Consequently, they are not brought up, the machine never dhcp's, and the image fails to contact the vcl server. Should I delete the network persistence rules before capturing the image ? Exactly - that one has really been a problem for us. I believe Aaron actually committed a change for vcld that will be in 2.3 that automatically deletes it at capture time. Josh Regards, Q - -- - --- 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) iEYEARECAAYFAk7Cnw4ACgkQV/LQcNdtPQOtoACfdpLAkwJFJbtmhYyCAV7lU2AX XnEAn3I4k4j297Esk1GjQKXIFIQUuAQr =j2SP -END PGP SIGNATURE-
RE: Problems in Ubuntu image creation
We are using Ubuntu images. I see the VCL trying to configure the RedHat-type network files and failing to do so since those files don't exist in Ubuntu. However in our case, the failures are harmless because we use DHCP, so I set the /etc/network/interface file accordingly in the initial image, and it doesn't need changing after that. /etc/network/interfaces entries: == # The primary network interface auto eth0 iface eth0 inet dhcp auto eth1 iface eth1 inet dhcp == I don't think the disk type error is related to Ubuntu, seems to be coming from the vmware provisioning piece. I also had to make the following changes in the Ubuntu images to prevent the network interfaces from being given different device names each time, e.g. eth2, eth3, etc. For Ubuntu 9.04 and earlier: Create /etc/udev/rules.d/90-persistent-net.rules file. Contents: SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{type}==1, KERNEL==eth*, OPTIONS=ignore_device This prevents the device rules from assigning eth0 and eth1 different names because the mac addresses don't match the original machine. For Ubuntu 10.04 and later: Instead of creating 90-persistent-net.rules file, create /etc/init.d/udev-netrule script to remove 70-persistent-net.rules file on shutdown, so it doesn't exist when image is captured. Contents: /bin/rm -f /etc/udev/rules.d/70-persistent-net.rules Link to /etc/rc0.d/S10udev-netrule and /etc/rc6.d/S10udev-netrule. Mike Waldron Systems Specialist ITS Research Computing University of North Carolina at Chapel Hill CB #3420, ITS Manning, Rm 2509 919-962-9778 From: Josh Thompson [josh_thomp...@ncsu.edu] Sent: Tuesday, November 15, 2011 12:33 PM To: vcl-user@incubator.apache.org Subject: Re: Problems in Ubuntu image creation -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lei, I was hoping someone actually using Ubuntu images would respond to this. Here at NCSU, we aren't using Ubuntu images, but VCL should support them (at least it did in the past). Did you select Ubuntu as the OS when capturing the image? It is also possible that the Ubuntu module may need to be updated. Josh On Friday November 11, 2011, Huang,Lei wrote: Dear all, I have to bother you again. I tried to create an Ubuntu image, but I found some problems during the base image creation. Ubuntu uses /etc/network/interfaces to manage networks, but I see VCL is still looking for ifcfg-eth0 and ifcfg-eth1. Another problem was unable to determine the disk type, which I am not sure if it is specific to Ubuntu. Does VCL support Ubuntu image? Thanks, Lei Huang 2011-11-11 01:18:43|14199|856:856|image| Linux.pm:set_static_public_address(508)|attempting to set static public IP address on vmguest-1: |14199|856:856|image| public interface name: eth1 |14199|856:856|image| public IP address: 129.207.46.17 |14199|856:856|image| public subnet mask: 255.255.255.0 |14199|856:856|image| public default gateway: 129.207.46.1 |14199|856:856|image| public DNS server(s): 8.8.8.8 2011-11-11 01:18:43|14199|856:856|image|Linux.pm:set_static_public_address(514)|publi c interface ifcfg file path: /etc/sysconfig/network-scripts/ifcfg-eth1 |14199|856:856|image| WARNING |14199|856:856|image| 2011-11-11 |01:19:04|14199|856:856|image|Linux.pm:set_static_public_address(534)|fail |ed to recreate /etc/sysconfig/network-scripts/ifcfg-eth1 on vmguest-1, |exit status: 1, command: 'echo DEVICE=eth1 14199|856:856|image| |BOOTPROTO=static |14199|856:856|image| IPADDR=129.207.46.17 |14199|856:856|image| NETMASK=255.255.255.0 |14199|856:856|image| STARTMODE=onboot |14199|856:856|image| ONBOOT=yes |14199|856:856|image| /etc/sysconfig/network-scripts/ifcfg-eth1', |output: 14199|856:856|image| bash: line 6: |/etc/sysconfig/network-scripts/ifcfg-eth1: No such file or directory |14199|856:856|image| ( 0) Linux.pm, set_static_public_address (line: 534) |14199|856:856|image| (-1) Linux.pm, pre_capture (line: 154) |14199|856:856|image| (-2) VMware.pm, capture (line: 556) |14199|856:856|image| (-3) image.pm, process (line: 162) |14199|856:856|image| (-4) vcld, make_new_child (line: 568) |14199|856:856|image| (-5) vcld, main (line: 346) ….. |14199|856:856|image| WARNING |14199|856:856|image| 2011-11-11 |01:21:58|14199|856:856|image|vmware_cmd.pm:get_virtual_disk_type(593)|una |ble to determine disk type configured in |'vmwarelinux-ubuntuLab63-v0.vmdk', command: 'grep -i createType |/install/vmware_files/vmwarelinux-ubuntuLab63-v0/vmwarelinux-ubuntuLab63 |-v0.vmdk', output: 14199|856:856|image| Binary file |/install/vmware_files/vmwarelinux-ubuntuLab63-v0/vmwarelinux-ubuntuLab63- |v0.vmdk matches 14199|856:856|image| ( 0) vmware_cmd.pm, |get_virtual_disk_type (line: 593) 14199|856:856|image| (-1) VMware.pm, |capture (line: 615) |14199|856:856|image| (-2) image.pm, process (line: 162) |14199|856:856|image|
RE: VCL-427 managing user group for block allocations
I don't think this would cause us any problems. The way we use block allocations, we always set admin@Local as the managing group. Mike Waldron Systems Specialist ITS Research Computing University of North Carolina at Chapel Hill CB 3420, ITS Manning, Rm 2509 919-962-9778 -Original Message- From: Josh Thompson [mailto:josh_thomp...@ncsu.edu] Sent: Tuesday, October 04, 2011 11:11 AM To: vcl-...@incubator.apache.org; vcl-user@incubator.apache.org Subject: VCL-427 managing user group for block allocations -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-
RE: Windows 7 SP1 boot hangs
This solution looks very promising. I installed this hotfix and so far, it doesn't seem to hang anymore. The image has reloaded at least 10 times now without any problems. Hopefully it's resolved. Thanks for finding that James. 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: James O'Dell [jod...@fullerton.edu] Sent: Thursday, September 22, 2011 5:51 PM To: vcl-user@incubator.apache.org Subject: Re: Windows 7 SP1 boot hangs -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maybe it's just a windows thing. They came out with a hotfix for it anyway. Fix Windows 7 SP1 Slow Startup Due to Large Number of Restore Points http://news.softpedia.com/news/Fix-Windows-7-SP1-Slow-Startup-Due-to-Large-Number-of-Restore-Points-217883.shtml “This issue occurs because the boot plan for the ReadyBoot feature exceeds the size limit of 512 kilobytes (KB). Each restore point creates a snapshot of Windows that Volsnap.sys must validate during the startup process,” Microsoft explained. But it doesn't explain why sometimes its fast and sometimes it's slow. Maybe disabling ReadyBoot would help? On 9/22/2011 1:48 PM, Waldron, Michael H wrote: James, Thanks for the suggestions. I've already increased the ssh timeout, however this hang goes way beyond a reasonable amount of time, anywhere from 20-30 minutes. I'll test with your dhcp suggestion. Although again, my Win7 images that haven't been updated to SP1 are booting just fine, so I'm trying to figure what got changed in the OS with the SP1 update that's causing this. One time it might only spend 30 seconds at the Windows Starting screen, the next it might be 10 minutes. Mike Waldron Systems Specialist ITS Research Computing University of North Carolina at Chapel Hill CB #3420, ITS Manning, Rm 2509 919-962-9778 From: James O'Dell [jod...@fullerton.edu] Sent: Thursday, September 22, 2011 3:36 PM To: vcl-user@incubator.apache.org Subject: Re: Windows 7 SP1 boot hangs I've got the same setup, and run into what looks to be the same problem. ( Win7 booting taking so long that the ssh connection times out ) I've done a couple things, and it seems to have gotten better. 1) adjust the ssh timeout from 5 to 10 minutes /opt/vcl/lib/VCL/Module/OS.pm '$ssh_response_timeout_seconds = 1200;' Why is this hard coded anyway? 2) Turn off the WINS, and the netbios-over-tcp using settings in the dhcp server to prevent the booting system from registering with a WINS server, and from using NBoT. shared-network VCLGuestRDPnetwork { ... option netbios-name-servers noip; if substring ( option vendor-class-identifier, 0, 8 ) = MSFT 5.0 { vendor-option-space MSFT; # 1 = enable, 2 = disable - NetBIOS over TCP/IP: option MSFT.nbt 2; } ... } 'noip' does not resolve to anything. Which causes dhcp to clear the 'netbios-name-servers' (aka WINS) setting if it is globally set. Maybe this will help __Jim On 9/22/2011 11:53 AM, Waldron, Michael H wrote: I've been running Windows 7 images on ESXi 4.1 hosts in our VCL without problem. When I updated several of those Windows 7 images to service pack 1, I'm seeing an issue where more times than not, the VM will hang at the Windows Starting screen for up to 30 minutes. If I revert back to the pre-SP1 image, it boots just fine. What's maddening is that it's not consistent. Some times it will boot normally, but many times there's this long hang while booting, which of course causes the reservation to fail. This happens across different VMs running on different ESXi hosts. The common factor is Windows 7 SP1. Has anyone else seen this? Mike Waldron Systems Specialist ITS Research Computing University of North Carolina at Chapel Hill CB #3420, ITS Manning, Rm 2509 919-962-9778 - -- 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/ iEYEARECAAYFAk57rdQACgkQREVHAOnXPYQtTwCdEQk+EuR/yhumZZhhJwjcqj7q G+gAoJdw7DKZSwf7AMBMwboyguDiSfQh =oJeV -END PGP SIGNATURE-
Windows 7 SP1 boot hangs
I've been running Windows 7 images on ESXi 4.1 hosts in our VCL without problem. When I updated several of those Windows 7 images to service pack 1, I'm seeing an issue where more times than not, the VM will hang at the Windows Starting screen for up to 30 minutes. If I revert back to the pre-SP1 image, it boots just fine. What's maddening is that it's not consistent. Some times it will boot normally, but many times there's this long hang while booting, which of course causes the reservation to fail. This happens across different VMs running on different ESXi hosts. The common factor is Windows 7 SP1. Has anyone else seen this? Mike Waldron Systems Specialist ITS Research Computing University of North Carolina at Chapel Hill CB #3420, ITS Manning, Rm 2509 919-962-9778
RE: Block Allocation
Kelly, Yes, the block allocation is assigned to a user group, so the students must belong to that group. In order for the students to be assigned to the group, their accounts must already exist in the database. Rather than wait for the students to login to the VCL, what I do is have the faculty member send me a list of student ids for the class. I'll run a quick check to see if any are not already in the database. For ones that aren't, I run a script that inserts them into the database. I create a file of the format: userid firstname lastname emailaddress Then I feed this to a script which runs the insert: echo insert into user (unityid, affiliationid, firstname, lastname, email, emailnotices,\ lastupdated) values ('$1', 2, '$2', '$3', '$4', 1, now()); | mysql vcl To easily add the users to a group for the block allocation, I use a neat script called managegroups.py provided on the VCL site at https://cwiki.apache.org/confluence/display/VCL/managegroups.py+-+Remotely+managing+user+groups . Again, this can take a file as input, with the format: userid@affiliation So I run a command like: managegroups.py addUsersToGroup -n myclassgroup -a Local -f myclasslist The Block Allocation menu is a recently added feature which I think makes it a lot easier now for faculty to request block allocations. They can fill in the form which provides all the necessary information to setup the request, and by simply clicking accept, the block request is actually created, I no longer have to do that separately. There are also nice statistics for the admin both on the Block Allocations page and the Dashboard to view whether there were any failures in provisioning the machines for the request, and how many are actually being used. I hope this helps. Mike Waldron Systems Specialist ITS Research Computing University of North Carolina at Chapel Hill CB #3420, ITS Manning, Rm 2509 919-962-9778 From: Kelly Patrice Robinson [krobinso...@gsu.edu] Sent: Friday, August 19, 2011 9:55 AM To: vcl-user@incubator.apache.org Subject: Block Allocation Is there documentation on how the Block Allocation works? I've been searching the Apache site and haven't been able to find anything that describes the process. If a faculty member (or any user) wants to use block allocation will they need to create a user group and assign their students to that particular group in order to allow access to the images that are part of the reservation? If this is the case, does this mean that the students will need to login first, before the faculty member can assign them to their group? Kelly Georgia State University
FW: Error with VCL XMLRPC call
I have a block allocation setup for 16 machines. When it was processed this morning, I received 6 emails identical to the one below with an error about table VMhostCheck already existing. When I look in the blockComputers table, there are 10 computers listed, so it appears it reserved 10 out of the 16 machines, and the remaining 6 got this error. Any ideas what the source of the problem could be? Mike Waldron Systems Specialist ITS Research Computing University of North Carolina at Chapel Hill CB #3420, ITS Manning, Rm 2509 919-962-9778 From: mwald...@email.unc.edu [mwald...@email.unc.edu] Sent: Monday, June 20, 2011 8:45 AM To: Waldron, Michael H Subject: Error with VCL XMLRPC call Table 'VMhostCheck' already exists CREATE TEMPORARY TABLE VMhostCheck ( RAM mediumint unsigned NOT NULL, allocRAM mediumint unsigned NOT NULL, vmhostid smallint unsigned NOT NULL ) ENGINE=MEMORY ERROR(101): General MySQL error Logged in user was vclsystem Mode was xmlrpccall Backtrace: =-=-=-=-=-=-=-=-=-=-=-= Call#:1 = index.php:xmlrpccall() (line#:86) Call#:2 = utils.php:xmlrpc_server_call_method() (line#:8355) Call#:3 = unknown:xmlRPChandler() (line#:unknown) Call#:4 = utils.php:call_user_func_array() (line#:8431) Call#:5 = unknown:XMLRPCprocessBlockTime() (line#:unknown) Call#:6 = xmlrpcWrappers.php:isAvailable() (line#:1081) Call#:7 = utils.php:doQuery() (line#:3693) Call#:8 = utils.php:abort() (line#:1044) Backtrace with Arguments: =-=-=-=-=-=-=-=-=-=-=-= Call#:1 = index.php:xmlrpccall() (line#:86) Arguments(none): --- Call#:2 = utils.php:xmlrpc_server_call_method() (line#:8355) Arguments(3) Argument#: 1 = Resource id #26 Argument#: 2 = ?xml version=1.0 encoding=us-ascii?methodCallmethodNameXMLRPCprocessBlockTime/methodNameparamsparamvalueint2/int/value/paramparamvalueint1/int/value/param/params/methodCall Argument#: 3 = (empty string) --- Call#:3 = unknown:xmlRPChandler() (line#:unknown) Arguments(3) Argument#: 1 = XMLRPCprocessBlockTime Argument#: 2 = Array ( [0] = 2 [1] = 1 ) Argument#: 3 = (empty string) --- Call#:4 = utils.php:call_user_func_array() (line#:8431) Arguments(2) Argument#: 1 = XMLRPCprocessBlockTime Argument#: 2 = Array ( [0] = 2 [1] = 1 ) --- Call#:5 = unknown:XMLRPCprocessBlockTime() (line#:unknown) Arguments(2) Argument#: 1 = 2 Argument#: 2 = 1 --- Call#:6 = xmlrpcWrappers.php:isAvailable() (line#:1081) Arguments(8) Argument#: 1 = Array ( [1022] = Array ( [id] = 1022 [name] = vmwarewinxp-Stata11WinXPvmware1022-v5 [prettyname] = Stata 11, WinXP (vmware) [ownerid] = 8 [owner] = mwaldron@UNC [platformid] = 1 [platform] = i386 [osid] = 16 [os] = vmwarewinxp [minram] = 1024 [minprocnumber] = 1 [minprocspeed] = 500 [minnetwork] = 10 [maxconcurrent] = 75 [reloadtime] = 20 [deleted] = 0 [test] = 0 [resourceid] = 1047 [lastupdate] = 2011-02-01 09:13:44 [forcheckout] = 1 [maxinitialtime] = 0 [imagemetaid] = 41 [checkuser] = 0 [rootaccess] = 1 [usergroupid] = [usergroup] = [sysprep] = 0 [subimages] = Array ( ) [imagerevision] = Array ( [831] = Array ( [id] = 831 [revision] = 4 [userid] = 8 [user] = mwaldron@UNC [datecreated] = 2010-12-28 10:13:28 [prettydate] = 12/28/10 10:13 AM [production] = 0 [imagename] = vmwarewinxp-Stata11WinXPvmware1022-v4 ) [867] = Array ( [id] = 867 [revision] = 5 [userid] = 8 [user] = mwaldron@UNC [datecreated] = 2011-02-01 08:43:46 [prettydate] = 2/01/11 8:43 AM [production] = 1 [imagename] = vmwarewinxp-Stata11WinXPvmware1022-v5 ) ) ) ) Argument#: 2 = 1022 Argument#: 3 = 867 Argument#: 4 = 1308594448 Argument#: 5 = 1308604500 Argument#: 6 = (empty integer) Argument#: 7 = (empty integer) Argument#: 8 = 1 --- Call#:7 = utils.php:doQuery() (line#:3693) Arguments(2) Argument#: 1 = CREATE TEMPORARY TABLE VMhostCheck ( RAM mediumint unsigned NOT NULL, allocRAM mediumint unsigned NOT NULL