Re: VIM_SSH failed to login error

2012-04-17 Thread B Hartlieb

Hi,

It turned out to be as simple as a time sync problem between the
database server and the web server.

Thanks,
.Brian

--
--
  Brian Hartlieb
 System Administrator
TIS - Rensselaer at Hartford
   Rensselaer Polytechnic Institute (RPI)
  (860) 548-5459
 har...@rpi.edu


Re: Windows 7 and DHCP

2012-04-17 Thread Mike Haudenschild
Is your "private" (VCL) DHCP server also running as a VM on the same ESXi
host?

You may want to check this:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1557


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



On Tue, Apr 17, 2012 at 17:05, Hechler, Adam  wrote:

> Thanks for the reply Andy,
>
> I had actually tried the ignoredefaultroutes=enabled once before and it
> didn't work. I tried it again. Still didn't work.
>
> I also disabled the IPv6 early in the experimentation but I did also
> disable the Link-Layer Topology and I set the NIC for 100Mbps Full Duplex.
> I disabled the public interface. I tried to remove the route 0.0.0.0 but
> it did not exist. Just for ha-ha's I removed all routes and then disabled
> and re-enabled the private interface. And ... No good. I still get an
> autoconfiguration address of 169.254.104.39
>
> There are no switches or routers in between. In fact the DHCP server is on
> the same server as VMWare Server.
>
> Our guys are going to double check the DHCP config against the DHCP server
> that is working. All things being equal, if the public interface pulls an
> address without problem from the public DHCP server but the private
> interface has troubles getting an IP address from the private DHCP server
> than it might be the DHCP server?
>
>
> Thanks,
> Adam
>
>
> > -Original Message-
> > From: Andy Kurth [mailto:andy_ku...@ncsu.edu]
> > Sent: Tuesday, April 17, 2012 11:54 AM
> > To: vcl-user@incubator.apache.org
> > Subject: Re: Windows 7 and DHCP
> >
> > A few things to try...
> >
> > Run the following command and then try to get a private DHCP address:
> > netsh interface ip set interface ""
> > ignoredefaultroutes=enabled
> >
> > This causes Windows to never route any traffic on the private
> > interface through the default gateway.  The VCL capture code actually
> > sets this to prevent known/common routing problems with Windows
> > 7/2008.
> >
> > If this doesn't help, try disabling the public interface and delete
> > all default routes by running "route delete 0.0.0.0".  Try to get a
> > private DHCP address.
> >
> > Could also try:
> > -Disable IPv6
> > -Set a static speed and duplex for the interface
> > -Disable Link-Layer Topology Discovery* on the interface
> >
> > Are there any switches or routers between the Windows 7 computer and
> > the private DHCP server?  I have seen posts discussing similar DHCP
> > issues which were caused by the proxy arp configuration on a router.
> >
> > Hope this helps,
> > Andy
> >
> > On Tue, Apr 17, 2012 at 9:57 AM, Hechler, Adam  wrote:
> > > Thanks Mike and Dmitri,
> > >
> > >
> > >
> > > As to Mike reply.  I've disabled the firewall completely, no help.
> I've also
> > > set a static IP (with the one the DHCP server is offering) and I am
> able to
> > > ssh from the management node to the vm.
> > >
> > >
> > >
> > > As to Dmitri's reply. I've checked out that KB article and added those
> > > entries to the registry. No help.  There is no Relay Agent being used.
> The
> > > DHCP server is the same subnet as the management node.
> > >
> > >
> > >
> > > Does anyone else have any other suggestions? How many of us are running
> > > Windows 7 VMs with VMWare Server 2.x?
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Adam
> > >
> > >
> > >
> > >
> > >
> > > From: Dmitri Chebotarov [mailto:dcheb...@gmu.edu]
> > > Sent: Monday, April 16, 2012 12:45 PM
> > > To: vcl-user@incubator.apache.org
> > > Subject: Re: Windows 7 and DHCP
> > >
> > >
> > >
> > > Hi
> > >
> > >
> > >
> > > I have the same issue with DHCP, which seems to only affect Win 7 (32
> and
> > > 64). Linux and XP work OK.
> > >
> > >
> > >
> > > I've disabled dhcp broadcast flag
> > (http://support.microsoft.com/kb/928233)
> > > on both private and public interface on Win 7 image.
> > >
> > > Since then I get a lot less DHCP errors on Win 7 reservations, but
> still get
> > > few once in a while.
> > >
> > >
> > >
> > > Looking at my dhcpd logs files it seems like Win 7 doesn't not accept
> > > DHCPOFFER - I see multiple requests from Win 7, but it never gets IP
> > > address. Even when I manually run ipconfig /release, /renew.
> > >
> > >
> > >
> > > Where is your DHCP server located?
> > >
> > > Is it on the same subnet/broadcast domain or you have DHCP Relay agent
> > on
> > > your subnet to communicate with DHCP server?
> > >
> > >
> > >
> > > 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, April 16, 2012 at 12:33 , Mike Haudenschild wrote:
> > >
> > > Hi Adam,
> > >
> > >
> > >
> > > Not to jump to the goofy, but could the Windows firewall be blocking
> it?
> > >
> > >
> > >
> > > Also, if you han

RE: Windows 7 and DHCP

2012-04-17 Thread Hechler, Adam
Thanks for the reply Andy,

I had actually tried the ignoredefaultroutes=enabled once before and it didn't 
work. I tried it again. Still didn't work.

I also disabled the IPv6 early in the experimentation but I did also disable 
the Link-Layer Topology and I set the NIC for 100Mbps Full Duplex. 
I disabled the public interface. I tried to remove the route 0.0.0.0 but it did 
not exist. Just for ha-ha's I removed all routes and then disabled and 
re-enabled the private interface. And ... No good. I still get an 
autoconfiguration address of 169.254.104.39

There are no switches or routers in between. In fact the DHCP server is on the 
same server as VMWare Server. 

Our guys are going to double check the DHCP config against the DHCP server that 
is working. All things being equal, if the public interface pulls an address 
without problem from the public DHCP server but the private interface has 
troubles getting an IP address from the private DHCP server than it might be 
the DHCP server? 


Thanks,
Adam


> -Original Message-
> From: Andy Kurth [mailto:andy_ku...@ncsu.edu]
> Sent: Tuesday, April 17, 2012 11:54 AM
> To: vcl-user@incubator.apache.org
> Subject: Re: Windows 7 and DHCP
> 
> A few things to try...
> 
> Run the following command and then try to get a private DHCP address:
> netsh interface ip set interface ""
> ignoredefaultroutes=enabled
> 
> This causes Windows to never route any traffic on the private
> interface through the default gateway.  The VCL capture code actually
> sets this to prevent known/common routing problems with Windows
> 7/2008.
> 
> If this doesn't help, try disabling the public interface and delete
> all default routes by running "route delete 0.0.0.0".  Try to get a
> private DHCP address.
> 
> Could also try:
> -Disable IPv6
> -Set a static speed and duplex for the interface
> -Disable Link-Layer Topology Discovery* on the interface
> 
> Are there any switches or routers between the Windows 7 computer and
> the private DHCP server?  I have seen posts discussing similar DHCP
> issues which were caused by the proxy arp configuration on a router.
> 
> Hope this helps,
> Andy
> 
> On Tue, Apr 17, 2012 at 9:57 AM, Hechler, Adam  wrote:
> > Thanks Mike and Dmitri,
> >
> >
> >
> > As to Mike reply.  I've disabled the firewall completely, no help. I've also
> > set a static IP (with the one the DHCP server is offering) and I am able to
> > ssh from the management node to the vm.
> >
> >
> >
> > As to Dmitri's reply. I've checked out that KB article and added those
> > entries to the registry. No help.  There is no Relay Agent being used. The
> > DHCP server is the same subnet as the management node.
> >
> >
> >
> > Does anyone else have any other suggestions? How many of us are running
> > Windows 7 VMs with VMWare Server 2.x?
> >
> >
> >
> > Thanks,
> >
> > Adam
> >
> >
> >
> >
> >
> > From: Dmitri Chebotarov [mailto:dcheb...@gmu.edu]
> > Sent: Monday, April 16, 2012 12:45 PM
> > To: vcl-user@incubator.apache.org
> > Subject: Re: Windows 7 and DHCP
> >
> >
> >
> > Hi
> >
> >
> >
> > I have the same issue with DHCP, which seems to only affect Win 7 (32 and
> > 64). Linux and XP work OK.
> >
> >
> >
> > I've disabled dhcp broadcast flag
> (http://support.microsoft.com/kb/928233)
> > on both private and public interface on Win 7 image.
> >
> > Since then I get a lot less DHCP errors on Win 7 reservations, but still get
> > few once in a while.
> >
> >
> >
> > Looking at my dhcpd logs files it seems like Win 7 doesn't not accept
> > DHCPOFFER - I see multiple requests from Win 7, but it never gets IP
> > address. Even when I manually run ipconfig /release, /renew.
> >
> >
> >
> > Where is your DHCP server located?
> >
> > Is it on the same subnet/broadcast domain or you have DHCP Relay agent
> on
> > your subnet to communicate with DHCP server?
> >
> >
> >
> > 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, April 16, 2012 at 12:33 , Mike Haudenschild wrote:
> >
> > Hi Adam,
> >
> >
> >
> > Not to jump to the goofy, but could the Windows firewall be blocking it?
> >
> >
> >
> > Also, if you hand-assign an appropriate IP (disable DHCP on the adapter)
> can
> > Windows communicate properly on the interface?
> >
> >
> >
> > Regards,
> >
> > Mike
> >
> >
> > --
> >
> > Mike Haudenschild
> >
> > Education Systems Manager
> >
> > Longsight Group
> >
> > (740) 599-5005 x809
> >
> > m...@longsight.com
> >
> > www.longsight.com
> >
> >
> >
> > On Mon, Apr 16, 2012 at 11:52, Hechler, Adam  wrote:
> >
> > Hi,
> >
> >
> >
> > We're having a similar issue that's been noted on the list before but I
> > can't seem to find if it was ever resolved. Here's a link to the archives
> > where it was discussed.
> > http://mail-archives.apache.org/mod_mbox/incubator-vcl-
> user/201104.mbox/%

Re: Windows 7 and DHCP

2012-04-17 Thread Andy Kurth
A few things to try...

Run the following command and then try to get a private DHCP address:
netsh interface ip set interface ""
ignoredefaultroutes=enabled

This causes Windows to never route any traffic on the private
interface through the default gateway.  The VCL capture code actually
sets this to prevent known/common routing problems with Windows
7/2008.

If this doesn't help, try disabling the public interface and delete
all default routes by running "route delete 0.0.0.0".  Try to get a
private DHCP address.

Could also try:
-Disable IPv6
-Set a static speed and duplex for the interface
-Disable Link-Layer Topology Discovery* on the interface

Are there any switches or routers between the Windows 7 computer and
the private DHCP server?  I have seen posts discussing similar DHCP
issues which were caused by the proxy arp configuration on a router.

Hope this helps,
Andy

On Tue, Apr 17, 2012 at 9:57 AM, Hechler, Adam  wrote:
> Thanks Mike and Dmitri,
>
>
>
> As to Mike reply…  I’ve disabled the firewall completely, no help. I’ve also
> set a static IP (with the one the DHCP server is offering) and I am able to
> ssh from the management node to the vm.
>
>
>
> As to Dmitri’s reply… I’ve checked out that KB article and added those
> entries to the registry. No help.  There is no Relay Agent being used. The
> DHCP server is the same subnet as the management node.
>
>
>
> Does anyone else have any other suggestions? How many of us are running
> Windows 7 VMs with VMWare Server 2.x?
>
>
>
> Thanks,
>
> Adam
>
>
>
>
>
> From: Dmitri Chebotarov [mailto:dcheb...@gmu.edu]
> Sent: Monday, April 16, 2012 12:45 PM
> To: vcl-user@incubator.apache.org
> Subject: Re: Windows 7 and DHCP
>
>
>
> Hi
>
>
>
> I have the same issue with DHCP, which seems to only affect Win 7 (32 and
> 64). Linux and XP work OK.
>
>
>
> I've disabled dhcp broadcast flag (http://support.microsoft.com/kb/928233)
> on both private and public interface on Win 7 image.
>
> Since then I get a lot less DHCP errors on Win 7 reservations, but still get
> few once in a while.
>
>
>
> Looking at my dhcpd logs files it seems like Win 7 doesn't not accept
> DHCPOFFER - I see multiple requests from Win 7, but it never gets IP
> address. Even when I manually run ipconfig /release, /renew.
>
>
>
> Where is your DHCP server located?
>
> Is it on the same subnet/broadcast domain or you have DHCP Relay agent on
> your subnet to communicate with DHCP server?
>
>
>
> 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, April 16, 2012 at 12:33 , Mike Haudenschild wrote:
>
> Hi Adam,
>
>
>
> Not to jump to the goofy, but could the Windows firewall be blocking it?
>
>
>
> Also, if you hand-assign an appropriate IP (disable DHCP on the adapter) can
> Windows communicate properly on the interface?
>
>
>
> Regards,
>
> Mike
>
>
> --
>
> Mike Haudenschild
>
> Education Systems Manager
>
> Longsight Group
>
> (740) 599-5005 x809
>
> m...@longsight.com
>
> www.longsight.com
>
>
>
> On Mon, Apr 16, 2012 at 11:52, Hechler, Adam  wrote:
>
> Hi,
>
>
>
> We’re having a similar issue that’s been noted on the list before but I
> can’t seem to find if it was ever resolved. Here’s a link to the archives
> where it was discussed.
> http://mail-archives.apache.org/mod_mbox/incubator-vcl-user/201104.mbox/%3C4DB59638.5000609%40ncsu.edu%3E
>
>
>
> Anyway,
>
>
>
> I have a Windows 7 base image (not captured yet). Both network interfaces
> are set to DHCP. The public interface successfully grabs an IP address but
> the private interface does not. All it does is assign on auto-configuration
> address (169.254.x.x).
>
>
>
> We’ve tried the recommendation in the email message I linked to. Here’s what
> I see in the messages log:
>
> (note: I’ve changed the actual IP address offered to x.x.x.x – a real IP was
> offered).
>
>
>
> Apr 16 11:39:45 vclserver dhcpd: DHCPDISCOVER from 00:50:56:1a:01:11 via
> vmnet1
>
> Apr 16 11:39:45 vclserver dhcpd: DHCPOFFER on x.x.x.x to 00:50:56:1a:01:11
> via vmnet1
>
> Apr 16 11:39:48 vclserver dhcpd: DHCPDISCOVER from 00:50:56:1a:01:11 via
> vmnet1
>
> Apr 16 11:39:48 vclserver dhcpd: DHCPOFFER on x.x.x.x to 00:50:56:1a:01:11
> via vmnet1
>
> Apr 16 11:39:56 vclserver dhcpd: DHCPDISCOVER from 00:50:56:1a:01:11 via
> vmnet1
>
> Apr 16 11:39:56 vclserver dhcpd: DHCPOFFER on x.x.x.x to 00:50:56:1a:01:11
> via vmnet1
>
> Apr 16 11:40:11 vclserver dhcpd: DHCPDISCOVER from 00:50:56:1a:01:11 via
> vmnet1
>
> Apr 16 11:40:11 vclserver dhcpd: DHCPOFFER on x.x.x.x to 00:50:56:1a:01:11
> via vmnet1
>
> Apr 16 11:40:44 vclserver dhcpd: DHCPDISCOVER from 00:50:56:1a:01:11 via
> vmnet1
>
> Apr 16 11:40:44 vclserver dhcpd: DHCPOFFER on x.x.x.x to 00:50:56:1a:01:11
> via vmnet1
>
> Apr 16 11:40:48 vclserver dhcpd: DHCPDISCOVER from 00:50:56:1a:01:11 via
> vmnet1
>
> Apr 16 11:40:48 vclserver dhcpd: DHC

RE: Windows 7 and DHCP

2012-04-17 Thread Hechler, Adam
Thanks Mike and Dmitri,

As to Mike reply…  I’ve disabled the firewall completely, no help. I’ve also 
set a static IP (with the one the DHCP server is offering) and I am able to ssh 
from the management node to the vm.

As to Dmitri’s reply… I’ve checked out that KB article and added those entries 
to the registry. No help.  There is no Relay Agent being used. The DHCP server 
is the same subnet as the management node.

Does anyone else have any other suggestions? How many of us are running Windows 
7 VMs with VMWare Server 2.x?

Thanks,
Adam


From: Dmitri Chebotarov [mailto:dcheb...@gmu.edu]
Sent: Monday, April 16, 2012 12:45 PM
To: vcl-user@incubator.apache.org
Subject: Re: Windows 7 and DHCP

Hi

I have the same issue with DHCP, which seems to only affect Win 7 (32 and 64). 
Linux and XP work OK.

I've disabled dhcp broadcast flag (http://support.microsoft.com/kb/928233) on 
both private and public interface on Win 7 image.
Since then I get a lot less DHCP errors on Win 7 reservations, but still get 
few once in a while.

Looking at my dhcpd logs files it seems like Win 7 doesn't not accept DHCPOFFER 
- I see multiple requests from Win 7, but it never gets IP address. Even when I 
manually run ipconfig /release, /renew.

Where is your DHCP server located?
Is it on the same subnet/broadcast domain or you have DHCP Relay agent on your 
subnet to communicate with DHCP server?

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, April 16, 2012 at 12:33 , Mike Haudenschild wrote:
Hi Adam,

Not to jump to the goofy, but could the Windows firewall be blocking it?

Also, if you hand-assign an appropriate IP (disable DHCP on the adapter) can 
Windows communicate properly on the interface?

Regards,
Mike

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


On Mon, Apr 16, 2012 at 11:52, Hechler, Adam 
mailto:hec...@rpi.edu>> wrote:


Hi,



We’re having a similar issue that’s been noted on the list before but I can’t 
seem to find if it was ever resolved. Here’s a link to the archives where it 
was discussed. 
http://mail-archives.apache.org/mod_mbox/incubator-vcl-user/201104.mbox/%3C4DB59638.5000609%40ncsu.edu%3E



Anyway,



I have a Windows 7 base image (not captured yet). Both network interfaces are 
set to DHCP. The public interface successfully grabs an IP address but the 
private interface does not. All it does is assign on auto-configuration address 
(169.254.x.x).



We’ve tried the recommendation in the email message I linked to. Here’s what I 
see in the messages log:

(note: I’ve changed the actual IP address offered to x.x.x.x – a real IP was 
offered).



Apr 16 11:39:45 vclserver dhcpd: DHCPDISCOVER from 00:50:56:1a:01:11 via vmnet1

Apr 16 11:39:45 vclserver dhcpd: DHCPOFFER on x.x.x.x to 00:50:56:1a:01:11 via 
vmnet1

Apr 16 11:39:48 vclserver dhcpd: DHCPDISCOVER from 00:50:56:1a:01:11 via vmnet1

Apr 16 11:39:48 vclserver dhcpd: DHCPOFFER on x.x.x.x to 00:50:56:1a:01:11 via 
vmnet1

Apr 16 11:39:56 vclserver dhcpd: DHCPDISCOVER from 00:50:56:1a:01:11 via vmnet1

Apr 16 11:39:56 vclserver dhcpd: DHCPOFFER on x.x.x.x to 00:50:56:1a:01:11 via 
vmnet1

Apr 16 11:40:11 vclserver dhcpd: DHCPDISCOVER from 00:50:56:1a:01:11 via vmnet1

Apr 16 11:40:11 vclserver dhcpd: DHCPOFFER on x.x.x.x to 00:50:56:1a:01:11 via 
vmnet1

Apr 16 11:40:44 vclserver dhcpd: DHCPDISCOVER from 00:50:56:1a:01:11 via vmnet1

Apr 16 11:40:44 vclserver dhcpd: DHCPOFFER on x.x.x.x to 00:50:56:1a:01:11 via 
vmnet1

Apr 16 11:40:48 vclserver dhcpd: DHCPDISCOVER from 00:50:56:1a:01:11 via vmnet1

Apr 16 11:40:48 vclserver dhcpd: DHCPOFFER on x.x.x.x to 00:50:56:1a:01:11 via 
vmnet1

Apr 16 11:40:56 vclserver dhcpd: DHCPDISCOVER from 00:50:56:1a:01:11 via vmnet1

Apr 16 11:40:56 vclserver dhcpd: DHCPOFFER on x.x.x.x to 00:50:56:1a:01:11 via 
vmnet1

Apr 16 11:41:12 vclserver dhcpd: DHCPDISCOVER from 00:50:56:1a:01:11 via vmnet1

Apr 16 11:41:12 vclserver dhcpd: DHCPOFFER on x.x.x.x to 00:50:56:1a:01:11 via 
vmnet1



Anything else I should be looking at?



Thanks,
Adam Hechler

  Senior Analyst /

PC Systems Administrator

  hec...@rpi.edu

(860) 548-2446

   Rensselaer at Hartford










Re: VIM_SSH failed to login error

2012-04-17 Thread Andy Kurth
On Mon, Apr 16, 2012 at 2:29 PM, B Hartlieb  wrote:
> Hi Andy,
>
> Once I added 'root' with an Administrator role to Vmware Server 2, as per
> your suggestion, it worked. I was able to capture a base image.

Glad you got it working.

> I added the Base Image to an Image Group.
>
> Mmm, I am noticed that the Base Image name has change it name with in Vmware
> server, which is good. But the instance is still running. which I assume is
> normal.

Yes, this is normal.  Whenever an image is created, the computer that
was used is automatically reloaded with the captured image when the
imaging process is complete.  The name wasn't just changed -- the
original VM was totally erased and a new one was created named after
the captured image.

> I'm guessing that the next step is to create a new image from this Base
> Image.
>
> I choose 'Create / Update an Image', and the Reservation screen opens, which
> is normal. I can't seem to be able to choose NOW. I can schedule a time in
> the future, and the reservation works fine. Is this normal? Is there a way
> to shut down the Base Image instance (letting vcl/database know that it is
> now free), with out making a reservation for some future time frame?

Have you defined more than 1 VM in VCL?  If the only VM you have
defined is the one that was used to capture the image then you won't
be able to make a reservation until the end time of the reload
reservation is reached.  You can look at the request table to see if
there are any reservations preventing you from making a "Now"
reservation.

If you have multiple VMs, then there are a few things to check.  First
check the state of the VMs which the image is configured to load on.
Look at Manage Computers > Computer Utilities.  Are there any VMs in
the "Available" state?

If there are available computers, check the image-computer grouping
and mapping.  Make sure a path exists from your image to the computers
which are available according to the diagram on this page:
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=25200408

If everything seems to be mapped correctly, does the database reside
on the same computer as the web server?  There could be a time sync or
timezone issue.

-Andy