Re: Help with external DHCP issue
Ah, this makes much more sense. Thanks Josh! I'll add the incrementally higher MAC address values and then edit dhcpd.conf and hosts files and we'll see what happens. Jeff On Fri, Feb 19, 2010 at 12:15 PM, Josh Thompson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jeff, > > VCL will handle creating the virtual machines on the VMWare host. It > manages > both the vmdk and vmx files, and then registers/unregisters the virtual > machines as needed. What it doesn't currently do is automatically create > new > virtual machines in its own database or dynamically assign virtual machines > to VM hosts. > > This is what you should do next time you need to add virtual machines: > > * look at the highest MAC address assigned in the computers table > * go to the Add Multiple Computers page, enter the MAC address that would > come > after what you looked up, and enter the rest of the information required on > that page. > * get the DHCP info and add it to your dhcpd.conf file > * add entries to /etc/hosts for the virtual machines > * go to the Virtual Hosts section of the site and assign the new virtual > machines to VM hosts > > After doing that, vcld should be able to provision reservations for the > virtual machines. > > Aaron/Andy: correct me if I missed anything. > > Josh > > On Friday February 19, 2010, Jeffrey Wisman wrote: > > I did use the "Add Multiple" for this, but I didn't put a MAC as we > hadn't > > created virtual machines for these (and thus had no MAC to use). I > created > > 10 computers using add multiple. > > > > I plan to create 10 virtual machines on the VMWare host and get their MAC > > addresses and add them to the 10 computers in the computer table that > were > > created with add multiple. From what I understand, this should resolve > it. > > Correct me if I'm wrong. > > > > To save some time next time, I'd have created the 10 virtual machines > > first, grabbed the first MAC address, and then used the "Add Multiple" > with > > that MAC address. I'd still have to actually create (or clone) the 10 > > virtual machines though. > > > > Thanks, > > Jeff > > > > On Fri, Feb 19, 2010 at 10:35 AM, Josh Thompson > wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > > Hash: SHA1 > > > > > > On Friday February 19, 2010, Jeffrey Wisman wrote: > > > > Am I misunderstanding, or do I need to create 10 virtual machines to > go > > > > with my 10 "computers" and then assign the mac address from each > > > > virtual machine to each computer? This doesn't seem especially > > > > scalable, so I > > > > > > hope > > > > > > > I'm misunderstanding and that there is really something else going > on. > > > > > > Jeff, > > > > > > The "Add Multiple" checkbox on Manage Computers->Edit Computer > > > Information is > > > designed to help with this. You should only need to enter the > > > information on > > > the "Add Multiple Computers" page that link takes you to one time to > > > generate > > > as many virtual machines as you want. Make sure you enter the > start/end > > > private IPs and the start MAC (also make sure to select available as > the > > > state as there's currently a bug preventing adding machines directly in > > > the maintenance state). > > > > > > After submitting that page, you will also be able to generate the > > > additional > > > DHCP info for your dhcpd.conf file. You will need to enter the private > > > IP of > > > your management node to get that file. > > > > > > We have it slated for version 2.4 to dynamically manage the virtual > > > hosts/guests for you. > > > > > > Josh > > > - -- > > > - --- > > > Josh Thompson > > > Systems Programmer > > > Advanced Computing | VCL Developer > > > North Carolina State University > > > > > > josh_thomp...@ncsu.edu > > > 919-515-5323 > > > > > > my GPG/PGP key can be found at pgp.mit.edu > > > -BEGIN PGP SIGNATURE- > > > Version: GnuPG v1.4.6 (GNU/Linux) > > > > > > iD8DBQFLftn6V/LQcNdtPQMRAsdLAJ9U9c3CIiiDN78lVNlyE9m8vCEcUQCfQH8v > > > mcT86d46Nq32IXmz5dJuij4= > > > =EQA0 > > > -END PGP SIGNATURE- > - -- > - --- > Josh Thompson > Systems Programmer > Advanced Computing | VCL Developer > North Carolina State University > > josh_thomp...@ncsu.edu > 919-515-5323 > > my GPG/PGP key can be found at pgp.mit.edu > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFLfvFfV/LQcNdtPQMRAl1hAJ9uvh+ZPex679zlR6MV3DqJsfMfqgCeN3wg > F81YtCL/j1kKNthfN4AbTDQ= > =FMsp > -END PGP SIGNATURE- >
Re: Help with external DHCP issue
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, VCL will handle creating the virtual machines on the VMWare host. It manages both the vmdk and vmx files, and then registers/unregisters the virtual machines as needed. What it doesn't currently do is automatically create new virtual machines in its own database or dynamically assign virtual machines to VM hosts. This is what you should do next time you need to add virtual machines: * look at the highest MAC address assigned in the computers table * go to the Add Multiple Computers page, enter the MAC address that would come after what you looked up, and enter the rest of the information required on that page. * get the DHCP info and add it to your dhcpd.conf file * add entries to /etc/hosts for the virtual machines * go to the Virtual Hosts section of the site and assign the new virtual machines to VM hosts After doing that, vcld should be able to provision reservations for the virtual machines. Aaron/Andy: correct me if I missed anything. Josh On Friday February 19, 2010, Jeffrey Wisman wrote: > I did use the "Add Multiple" for this, but I didn't put a MAC as we hadn't > created virtual machines for these (and thus had no MAC to use). I created > 10 computers using add multiple. > > I plan to create 10 virtual machines on the VMWare host and get their MAC > addresses and add them to the 10 computers in the computer table that were > created with add multiple. From what I understand, this should resolve it. > Correct me if I'm wrong. > > To save some time next time, I'd have created the 10 virtual machines > first, grabbed the first MAC address, and then used the "Add Multiple" with > that MAC address. I'd still have to actually create (or clone) the 10 > virtual machines though. > > Thanks, > Jeff > > On Fri, Feb 19, 2010 at 10:35 AM, Josh Thompson wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On Friday February 19, 2010, Jeffrey Wisman wrote: > > > Am I misunderstanding, or do I need to create 10 virtual machines to go > > > with my 10 "computers" and then assign the mac address from each > > > virtual machine to each computer? This doesn't seem especially > > > scalable, so I > > > > hope > > > > > I'm misunderstanding and that there is really something else going on. > > > > Jeff, > > > > The "Add Multiple" checkbox on Manage Computers->Edit Computer > > Information is > > designed to help with this. You should only need to enter the > > information on > > the "Add Multiple Computers" page that link takes you to one time to > > generate > > as many virtual machines as you want. Make sure you enter the start/end > > private IPs and the start MAC (also make sure to select available as the > > state as there's currently a bug preventing adding machines directly in > > the maintenance state). > > > > After submitting that page, you will also be able to generate the > > additional > > DHCP info for your dhcpd.conf file. You will need to enter the private > > IP of > > your management node to get that file. > > > > We have it slated for version 2.4 to dynamically manage the virtual > > hosts/guests for you. > > > > Josh > > - -- > > - --- > > Josh Thompson > > Systems Programmer > > Advanced Computing | VCL Developer > > North Carolina State University > > > > josh_thomp...@ncsu.edu > > 919-515-5323 > > > > my GPG/PGP key can be found at pgp.mit.edu > > -BEGIN PGP SIGNATURE- > > Version: GnuPG v1.4.6 (GNU/Linux) > > > > iD8DBQFLftn6V/LQcNdtPQMRAsdLAJ9U9c3CIiiDN78lVNlyE9m8vCEcUQCfQH8v > > mcT86d46Nq32IXmz5dJuij4= > > =EQA0 > > -END PGP SIGNATURE- - -- - --- Josh Thompson Systems Programmer Advanced Computing | VCL Developer North Carolina State University josh_thomp...@ncsu.edu 919-515-5323 my GPG/PGP key can be found at pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFLfvFfV/LQcNdtPQMRAl1hAJ9uvh+ZPex679zlR6MV3DqJsfMfqgCeN3wg F81YtCL/j1kKNthfN4AbTDQ= =FMsp -END PGP SIGNATURE-
Re: SSH service on Windows Base Image
Ryan, You can fix this issue by creating a user on the virtual machine (windows) called root. Make sure to give it a strong password, though. On Thu, Feb 18, 2010 at 3:26 PM, Ryan Johnson wrote: > I am trying to complete the instructions for Installing and configuring > cygwin sshd, part of the instructions for creating a Windows base image. I > do not think I quite understand how the permissions should be set up. > Before running the *cygwin-sshd-config.sh* script I had mapped the root > user in the /etc/passwd file to the current Administrator account I was > logged in as. I then logged into cygwin as root and ran the * > cygwin-sshd-config.sh *script which took me through the process of creating > the privileged user cyg_server. Ultimately I get the error 'The service > did > not start due to a logon failure'. Also the script seems to overwrite the > root entry I placed in the passwd file. Any clarification as to the > permissions would be greatly appreciated. > > > Ryan Johnson > Academic Technologies > George Washington University > -- David Roman Marchevsky 630.631.9313
To access normal user accout
Hi Some users want to reserve a virtual machine and access existing user account on the image. However, VCL post configuration seemed disable all other accounts which are on the image. How can I maintain the original account on the image? I check the NC state university VCL. It seemed that, VCL let user login the image by VCL account first, then user use internal network to login to other machine which has original user account on the image. Command is "ssh -l username linux" Thanks, Xianqing
Re: Help with external DHCP issue
I did use the "Add Multiple" for this, but I didn't put a MAC as we hadn't created virtual machines for these (and thus had no MAC to use). I created 10 computers using add multiple. I plan to create 10 virtual machines on the VMWare host and get their MAC addresses and add them to the 10 computers in the computer table that were created with add multiple. From what I understand, this should resolve it. Correct me if I'm wrong. To save some time next time, I'd have created the 10 virtual machines first, grabbed the first MAC address, and then used the "Add Multiple" with that MAC address. I'd still have to actually create (or clone) the 10 virtual machines though. Thanks, Jeff On Fri, Feb 19, 2010 at 10:35 AM, Josh Thompson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Friday February 19, 2010, Jeffrey Wisman wrote: > > Am I misunderstanding, or do I need to create 10 virtual machines to go > > with my 10 "computers" and then assign the mac address from each virtual > > machine to each computer? This doesn't seem especially scalable, so I > hope > > I'm misunderstanding and that there is really something else going on. > > Jeff, > > The "Add Multiple" checkbox on Manage Computers->Edit Computer Information > is > designed to help with this. You should only need to enter the information > on > the "Add Multiple Computers" page that link takes you to one time to > generate > as many virtual machines as you want. Make sure you enter the start/end > private IPs and the start MAC (also make sure to select available as the > state as there's currently a bug preventing adding machines directly in the > maintenance state). > > After submitting that page, you will also be able to generate the > additional > DHCP info for your dhcpd.conf file. You will need to enter the private IP > of > your management node to get that file. > > We have it slated for version 2.4 to dynamically manage the virtual > hosts/guests for you. > > Josh > - -- > - --- > Josh Thompson > Systems Programmer > Advanced Computing | VCL Developer > North Carolina State University > > josh_thomp...@ncsu.edu > 919-515-5323 > > my GPG/PGP key can be found at pgp.mit.edu > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFLftn6V/LQcNdtPQMRAsdLAJ9U9c3CIiiDN78lVNlyE9m8vCEcUQCfQH8v > mcT86d46Nq32IXmz5dJuij4= > =EQA0 > -END PGP SIGNATURE- >
Re: Help with external DHCP issue
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday February 19, 2010, Jeffrey Wisman wrote: > Am I misunderstanding, or do I need to create 10 virtual machines to go > with my 10 "computers" and then assign the mac address from each virtual > machine to each computer? This doesn't seem especially scalable, so I hope > I'm misunderstanding and that there is really something else going on. Jeff, The "Add Multiple" checkbox on Manage Computers->Edit Computer Information is designed to help with this. You should only need to enter the information on the "Add Multiple Computers" page that link takes you to one time to generate as many virtual machines as you want. Make sure you enter the start/end private IPs and the start MAC (also make sure to select available as the state as there's currently a bug preventing adding machines directly in the maintenance state). After submitting that page, you will also be able to generate the additional DHCP info for your dhcpd.conf file. You will need to enter the private IP of your management node to get that file. We have it slated for version 2.4 to dynamically manage the virtual hosts/guests for you. Josh - -- - --- Josh Thompson Systems Programmer Advanced Computing | VCL Developer North Carolina State University josh_thomp...@ncsu.edu 919-515-5323 my GPG/PGP key can be found at pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFLftn6V/LQcNdtPQMRAsdLAJ9U9c3CIiiDN78lVNlyE9m8vCEcUQCfQH8v mcT86d46Nq32IXmz5dJuij4= =EQA0 -END PGP SIGNATURE-
Re: Help with external DHCP issue
Yep, that answers my question. Thanks! On Thu, Feb 18, 2010 at 10:05 PM, James Patrick Sigmon wrote: > Jeff, > > I think this answers what you are asking. > > When you make a reservation for a vmware-type-image, vcl uses a vmguest > (virtual machine) to load that image on. That image will receive the mac > addresses and the ip addresses from you vmguest. > > If you want to make say 10 concurrent reservations, you will need to make > 10 vmguests with different private ip address (and public if using static) > and mac addresses. > > Hope this helps, > > Patrick Sigmon > North Carolina State University > > On Feb 19, 2010, at 12:09 AM, Jeffrey Wisman wrote: > > > It seems that either my understanding of the VCL provisioning engine is > > wrong, or it isn't working right. I can't create subsequent reservations > to > > the first. I have "computers" available in the computers table. I have > the > > image. I do not have virtual machines created for the guests though, as > I > > thought that would happen as part of the provisioning process. > > > > So in re-reading this, I realize I need to specify a mac address for each > > "computer". This would indicate a real virtual machine existing, right? > As > > of now, there are no virtual machines so there are no mac addresses I can > > specify. > > > > Am I misunderstanding, or do I need to create 10 virtual machines to go > with > > my 10 "computers" and then assign the mac address from each virtual > machine > > to each computer? This doesn't seem especially scalable, so I hope I'm > > misunderstanding and that there is really something else going on. > > > > Let me know if I'm on the right track. > > > > Thanks, > > Jeff > > > > > > On Sun, Feb 7, 2010 at 9:35 PM, James Patrick Sigmon >wrote: > > > >> Hey Jeff, > >> > >> It looks like you have not filled in your mac address information for > your > >> virtual machine. Vmware likes a particular format for this. Try > >> 00:50:56:2A:3B:00 for eth0macaddress and 00:50:56:2A:3B:01 for > >> eth1macaddress. > >> > >> The field "IPaddress" corresponds to the "public" address. Though, I > don't > >> think this will matter here. A public IP address typically will be > generate > >> for your machine. Try a reservation with the mac addresses and see if > that > >> fixes this. > >> > >> You may have already done these steps but I thought I would add them to > be > >> safe: > >> > >> You should have an entry for your virtual machine in your /etc/hosts > file. > >> (ex. 10.75.144.15 csuvm15). > >> > >> You should also have an entry in your dhcpd.conf file as well for each > >> virtual machine. > >> > >> Hope this helps, > >> > >> Patrick > >> > >> > >> On Feb 8, 2010, at 12:14 AM, Jeffrey Wisman wrote: > >> > >>> We're now at the point where we can create reservations and virtual > >> machines > >>> get loaded with images. The issue we're having is that the virtual > >> machines > >>> come up on their private IP addresses only. The reservation screen > shows > >>> the private IP and the RDP file has that IP in it. We have the virtual > >>> machines configured with two interfaces - one on the private network > for > >> VCL > >>> admin stuff, and the other on the public network where we have the > campus > >>> DHCP server configured to give it an IP. However, it doesn't seem to > be > >>> working, or at least if it is getting a public IP, VCL isn't telling us > >> what > >>> it is. > >>> > >>> I'm wondering if the issue is in the database. Each virtual machine has > >> an > >>> "IPaddress" and a "privateIPaddress". On our virtual machines, they > are > >> set > >>> to the same thing. Here is an example: > >>> > >>> mysql> select * from computer; > >>> > >> > ++-+-++++--+-+-+---++---+-+---+-+--+++++---+-+---+---+--+--++--++--+-+--+--+ > >>> | id | stateid | ownerid | platformid | scheduleid | currentimageid | > >>> preferredimageid | nextimageid | imagerevisionid | RAM | procnumber | > >>> procspeed | network | hostname | IPaddress | > >>> privateIPaddress | eth0macaddress | eth1macaddress | type | > >>> provisioningid | drivetype | deleted | notes | lastcheck | location | > dsa > >> | > >>> dsapub | rsa | rsapub | host | hostpub | vmhostid | vmtypeid | > >>> > >> > ++-+-++++--+-+-+---++---+-+---+-+--+++++---+-+---+---+--+--++--++--