Re: How to configure a new computing node?

2011-09-23 Thread Huang,Lei
Thanks for all of you for your help. Yes, Greg is right that my networks
were switched. It works now after I switch them back.

Many many thanks,
Lei

On 9/23/11 12:32 PM, "Alexander Patterson"
 wrote:

>I am posting this on behalf of Greg Duhon
>
>I have one more suggestion to add.  Verify that the networks are not
>switched.  In other words, is the public network on the private
>interface or private network on the public interface.  I can't tell
>you how many times this one dinged us when we first started using VCL.
>
>-Greg Duhon
>
>On Fri, Sep 23, 2011 at 9:32 AM, James O'Dell 
>wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> If you can't ping your gateway, it's either a network problem,
>> or a firewall problem.
>>
>> Try pinging the gateway, and then dumping your arp table
>> ('arp -an'). If you see the mac address for the gateway in
>> your arp table, it's probably a firewall issue. If the
>> mac address isn't there, it's a network problem
>>
>> __Jim
>>
>>
>> On 9/23/2011 9:27 AM, Huang,Lei wrote:
>>> Hi Alex,
>>>
>>> Thanks for your suggestions! For the image, it works fine when it
>>> lauches on virtual hosts on existing nodes. The problem happens
>>> when it runs on a new node. I assume the sshd works fine on the
>>> image itself.
>>>
>>> I have set up the ssh key to allow the management node to log in
>>> the node successfully. After I log into the new node running
>>> VMware, I can see that my network eth0 and eth1 have private and
>>> public ip address. However, I found that I cann't ping my gateway
>>> from the node. Are there any settings I need to do?
>>>
>>> Thanks, Lei
>>>
>>>  From: Alexander Patterson
>>> [alexander.patter...@csueastbay.edu] Sent: Friday, September 23,
>>> 2011 11:08 AM To: vcl-user@incubator.apache.org Cc:
>>> aaron_pee...@ncsu.edu Subject: Re: How to configure a new computing
>>> node?
>>>
>>> Hello,
>>>
>>> Did you check su - Log in as root for the image you are working on
>>> Password: Turn on sshd by typing /etc/init.d/sshd start Got to the
>>> /etc/init.d/ then type chkconfig sshd on
>>>
>>> Have you made sure that you can ssh -i /etc/vcl/vcl.key >> or IP address> ?
>>>
>>> I had this issue with ssh not kicking off before as well and it was
>>> a issue with the image itself.
>>>
>>> Another helpfull command to check would be ssh -vv (IP address)
>>>
>>> Have you logged into your box running VMware to see if you are
>>> getting a public and private ip address?
>>>
>>> On Fri, Sep 23, 2011 at 9:00 AM, Huang,Lei 
>>> wrote:
>>>> Sorry for asking again. I suspect that the problem may be related
>>>> to network setting. I don't understand why ssd on VM was not
>>>> active. Is it possible that the IP address of VM is not correct?
>>>> Any suggestions/hints would be very much appreciated!
>>>>
>>>> Thanks, Lei  From:
>>>> Huang,Lei [lhu...@pvamu.edu] Sent: Thursday, September 22, 2011
>>>> 10:36 AM To: vcl-user@incubator.apache.org;
>>>> aaron_pee...@ncsu.edu Subject: Re: How to configure a new
>>>> computing node?
>>>>
>>>> Aaron,
>>>>
>>>> Thank you for your reply. I copied some log information as
>>>> follows. It looks like the VM was started, but sshd on the VM was
>>>> not active. The script looped and waited for half an hour and
>>>> failed at the end. The image works fine on existing blades. I
>>>> wonder if there is some configuration of VM server I didn't set
>>>> correctly for the new node.
>>>>
>>>> Thanks, Lei
>>>>
>>>> ===
>>>>
>>>> 2011-09-21
>>>> 23:31:27|14402|518:512|new|utils.pm:run_ssh_command(6180)|executing
>>>> SSH command on CSB308: |14402|518:512|new| /usr/bin/ssh -i
>>>> /etc/vcl/vcl.key  -l root -p 22 -x CSB308 'vmware-cmd
>>>>
>>>>/install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_
>>>>5-ba
>>>>
>>>>
>> se10-v0vmguest-10.vmx start' 2>&1
>>>> 2011-09-21 23:31:31|3929|vcld:main(165)|lastcheckin time updated
>>>> for management node 1: 

Re: How to configure a new computing node?

2011-09-23 Thread Alexander Patterson
I am posting this on behalf of Greg Duhon

I have one more suggestion to add.  Verify that the networks are not
switched.  In other words, is the public network on the private
interface or private network on the public interface.  I can't tell
you how many times this one dinged us when we first started using VCL.

-Greg Duhon

On Fri, Sep 23, 2011 at 9:32 AM, James O'Dell  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> If you can't ping your gateway, it's either a network problem,
> or a firewall problem.
>
> Try pinging the gateway, and then dumping your arp table
> ('arp -an'). If you see the mac address for the gateway in
> your arp table, it's probably a firewall issue. If the
> mac address isn't there, it's a network problem
>
> __Jim
>
>
> On 9/23/2011 9:27 AM, Huang,Lei wrote:
>> Hi Alex,
>>
>> Thanks for your suggestions! For the image, it works fine when it
>> lauches on virtual hosts on existing nodes. The problem happens
>> when it runs on a new node. I assume the sshd works fine on the
>> image itself.
>>
>> I have set up the ssh key to allow the management node to log in
>> the node successfully. After I log into the new node running
>> VMware, I can see that my network eth0 and eth1 have private and
>> public ip address. However, I found that I cann't ping my gateway
>> from the node. Are there any settings I need to do?
>>
>> Thanks, Lei
>>
>> ________ From: Alexander Patterson
>> [alexander.patter...@csueastbay.edu] Sent: Friday, September 23,
>> 2011 11:08 AM To: vcl-user@incubator.apache.org Cc:
>> aaron_pee...@ncsu.edu Subject: Re: How to configure a new computing
>> node?
>>
>> Hello,
>>
>> Did you check su - Log in as root for the image you are working on
>> Password: Turn on sshd by typing /etc/init.d/sshd start Got to the
>> /etc/init.d/ then type chkconfig sshd on
>>
>> Have you made sure that you can ssh -i /etc/vcl/vcl.key > or IP address> ?
>>
>> I had this issue with ssh not kicking off before as well and it was
>> a issue with the image itself.
>>
>> Another helpfull command to check would be ssh -vv (IP address)
>>
>> Have you logged into your box running VMware to see if you are
>> getting a public and private ip address?
>>
>> On Fri, Sep 23, 2011 at 9:00 AM, Huang,Lei 
>> wrote:
>>> Sorry for asking again. I suspect that the problem may be related
>>> to network setting. I don't understand why ssd on VM was not
>>> active. Is it possible that the IP address of VM is not correct?
>>> Any suggestions/hints would be very much appreciated!
>>>
>>> Thanks, Lei  From:
>>> Huang,Lei [lhu...@pvamu.edu] Sent: Thursday, September 22, 2011
>>> 10:36 AM To: vcl-user@incubator.apache.org;
>>> aaron_pee...@ncsu.edu Subject: Re: How to configure a new
>>> computing node?
>>>
>>> Aaron,
>>>
>>> Thank you for your reply. I copied some log information as
>>> follows. It looks like the VM was started, but sshd on the VM was
>>> not active. The script looped and waited for half an hour and
>>> failed at the end. The image works fine on existing blades. I
>>> wonder if there is some configuration of VM server I didn't set
>>> correctly for the new node.
>>>
>>> Thanks, Lei
>>>
>>> ===
>>>
>>> 2011-09-21
>>> 23:31:27|14402|518:512|new|utils.pm:run_ssh_command(6180)|executing
>>> SSH command on CSB308: |14402|518:512|new| /usr/bin/ssh -i
>>> /etc/vcl/vcl.key  -l root -p 22 -x CSB308 'vmware-cmd
>>> /install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
>>>
>>>
> se10-v0vmguest-10.vmx start' 2>&1
>>> 2011-09-21 23:31:31|3929|vcld:main(165)|lastcheckin time updated
>>> for management node 1: 2011-09-21 23:31:31 2011-09-21
>>> 23:31:36|3929|vcld:main(165)|lastcheckin time updated for
>>> management node 1: 2011-09-21 23:31:36 2011-09-21
>>> 23:31:40|14122|517:511|inuse|utils.pm:check_connection(1765)|checking
>>> for connection by admin on vmguest-2, attempt 27 2011-09-21
>>> 23:31:40|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing
>>> SSH command on vmguest-2: |14122|517:511|inuse| /usr/bin/ssh -i
>>> /etc/vcl/vcl.key  -l root -p 22 -x vmguest-2 'netstat -an' 2>&1
>>> 2011-09-21
>>> 23:31:40|14122|517:51

Re: How to configure a new computing node?

2011-09-23 Thread James O'Dell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

If you can't ping your gateway, it's either a network problem,
or a firewall problem.

Try pinging the gateway, and then dumping your arp table
('arp -an'). If you see the mac address for the gateway in
your arp table, it's probably a firewall issue. If the
mac address isn't there, it's a network problem

__Jim


On 9/23/2011 9:27 AM, Huang,Lei wrote:
> Hi Alex,
> 
> Thanks for your suggestions! For the image, it works fine when it
> lauches on virtual hosts on existing nodes. The problem happens
> when it runs on a new node. I assume the sshd works fine on the
> image itself.
> 
> I have set up the ssh key to allow the management node to log in
> the node successfully. After I log into the new node running
> VMware, I can see that my network eth0 and eth1 have private and
> public ip address. However, I found that I cann't ping my gateway
> from the node. Are there any settings I need to do?
> 
> Thanks, Lei
> 
>  From: Alexander Patterson
> [alexander.patter...@csueastbay.edu] Sent: Friday, September 23,
> 2011 11:08 AM To: vcl-user@incubator.apache.org Cc:
> aaron_pee...@ncsu.edu Subject: Re: How to configure a new computing
> node?
> 
> Hello,
> 
> Did you check su - Log in as root for the image you are working on 
> Password: Turn on sshd by typing /etc/init.d/sshd start Got to the
> /etc/init.d/ then type chkconfig sshd on
> 
> Have you made sure that you can ssh -i /etc/vcl/vcl.key  or IP address> ?
> 
> I had this issue with ssh not kicking off before as well and it was
> a issue with the image itself.
> 
> Another helpfull command to check would be ssh -vv (IP address)
> 
> Have you logged into your box running VMware to see if you are
> getting a public and private ip address?
> 
> On Fri, Sep 23, 2011 at 9:00 AM, Huang,Lei 
> wrote:
>> Sorry for asking again. I suspect that the problem may be related
>> to network setting. I don't understand why ssd on VM was not
>> active. Is it possible that the IP address of VM is not correct?
>> Any suggestions/hints would be very much appreciated!
>> 
>> Thanks, Lei ________________ From:
>> Huang,Lei [lhu...@pvamu.edu] Sent: Thursday, September 22, 2011
>> 10:36 AM To: vcl-user@incubator.apache.org;
>> aaron_pee...@ncsu.edu Subject: Re: How to configure a new
>> computing node?
>> 
>> Aaron,
>> 
>> Thank you for your reply. I copied some log information as
>> follows. It looks like the VM was started, but sshd on the VM was
>> not active. The script looped and waited for half an hour and
>> failed at the end. The image works fine on existing blades. I
>> wonder if there is some configuration of VM server I didn't set
>> correctly for the new node.
>> 
>> Thanks, Lei
>> 
>> ===
>> 
>> 2011-09-21 
>> 23:31:27|14402|518:512|new|utils.pm:run_ssh_command(6180)|executing
>> SSH command on CSB308: |14402|518:512|new| /usr/bin/ssh -i
>> /etc/vcl/vcl.key  -l root -p 22 -x CSB308 'vmware-cmd 
>> /install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
>>
>> 
se10-v0vmguest-10.vmx start' 2>&1
>> 2011-09-21 23:31:31|3929|vcld:main(165)|lastcheckin time updated
>> for management node 1: 2011-09-21 23:31:31 2011-09-21
>> 23:31:36|3929|vcld:main(165)|lastcheckin time updated for 
>> management node 1: 2011-09-21 23:31:36 2011-09-21 
>> 23:31:40|14122|517:511|inuse|utils.pm:check_connection(1765)|checking
>> for connection by admin on vmguest-2, attempt 27 2011-09-21 
>> 23:31:40|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing
>> SSH command on vmguest-2: |14122|517:511|inuse| /usr/bin/ssh -i
>> /etc/vcl/vcl.key  -l root -p 22 -x vmguest-2 'netstat -an' 2>&1 
>> 2011-09-21 
>> 23:31:40|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing
>> SSH command on vmguest-2: |14122|517:511|inuse| /usr/bin/ssh -i
>> /etc/vcl/vcl.key  -l root -p 22 -x vmguest-2 'who' 2>&1 
>> 2011-09-21 
>> 23:31:41|14122|517:511|inuse|utils.pm:run_ssh_command(6262)|run_ssh_command
>>
>> 
output:
>> |14122|517:511|inuse| none 2011-09-21
>> 23:31:41|14122|517:511|inuse|utils.pm:run_ssh_command(6276)|SSH 
>> command executed on vmguest-2, returning (0, "none") 2011-09-21
>> 23:31:41|3929|vcld:main(165)|lastcheckin time updated for 
>> management node 1: 2011-09-21 23:31:41 2011-09-21
>> 23:31:46|3929|vcld:main(165)|lastcheckin time updated for 
>> management node 1: 2011-09-2

RE: How to configure a new computing node?

2011-09-23 Thread Huang,Lei
Hi Alex,

  Thanks for your suggestions! For the image, it works fine when it lauches on 
virtual hosts on existing nodes. The problem happens when it runs on a new 
node. I assume the sshd works fine on the image itself.

   I have set up the ssh key to allow the management node to log in the node 
successfully. After I log into the new node running VMware, I can see that my 
network eth0 and eth1 have private and public ip address. However, I found that 
I cann't ping my gateway from the node. Are there any settings I need to do?

Thanks,
Lei


From: Alexander Patterson [alexander.patter...@csueastbay.edu]
Sent: Friday, September 23, 2011 11:08 AM
To: vcl-user@incubator.apache.org
Cc: aaron_pee...@ncsu.edu
Subject: Re: How to configure a new computing node?

Hello,

Did you check su -
Log in as root for the image you are working on
Password:
Turn on sshd by typing /etc/init.d/sshd start
Got to the /etc/init.d/ then type chkconfig sshd on

Have you made sure that you can ssh -i /etc/vcl/vcl.key  ?

I had this issue with ssh not kicking off before as well and it was a
issue with the image itself.

Another helpfull command to check would be ssh -vv (IP address)

Have you logged into your box running VMware to see if you are getting
a public and private ip address?

On Fri, Sep 23, 2011 at 9:00 AM, Huang,Lei  wrote:
> Sorry for asking again. I suspect that the problem may be related to network 
> setting. I don't understand why ssd on VM was not active. Is it possible that 
> the IP address of VM is not correct? Any suggestions/hints would be very much 
> appreciated!
>
> Thanks,
> Lei
> 
> From: Huang,Lei [lhu...@pvamu.edu]
> Sent: Thursday, September 22, 2011 10:36 AM
> To: vcl-user@incubator.apache.org; aaron_pee...@ncsu.edu
> Subject: Re: How to configure a new computing node?
>
> Aaron,
>
>  Thank you for your reply. I copied some log information as follows. It
> looks like the VM was started, but sshd on the VM was not active. The
> script looped and waited for half an hour and failed at the end. The image
> works fine on existing blades. I wonder if there is some configuration of
> VM server I didn't set correctly for the new node.
>
> Thanks,
> Lei
>
> ===
>
> 2011-09-21
> 23:31:27|14402|518:512|new|utils.pm:run_ssh_command(6180)|executing SSH
> command on CSB308:
> |14402|518:512|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
> CSB308 'vmware-cmd
> /install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
> se10-v0vmguest-10.vmx start' 2>&1
> 2011-09-21 23:31:31|3929|vcld:main(165)|lastcheckin time updated for
> management node 1: 2011-09-21 23:31:31
> 2011-09-21 23:31:36|3929|vcld:main(165)|lastcheckin time updated for
> management node 1: 2011-09-21 23:31:36
> 2011-09-21
> 23:31:40|14122|517:511|inuse|utils.pm:check_connection(1765)|checking for
> connection by admin on vmguest-2, attempt 27
> 2011-09-21
> 23:31:40|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
> command on vmguest-2:
> |14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
> vmguest-2 'netstat -an' 2>&1
> 2011-09-21
> 23:31:40|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
> command on vmguest-2:
> |14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
> vmguest-2 'who' 2>&1
> 2011-09-21
> 23:31:41|14122|517:511|inuse|utils.pm:run_ssh_command(6262)|run_ssh_command
>  output:
> |14122|517:511|inuse| none
> 2011-09-21 23:31:41|14122|517:511|inuse|utils.pm:run_ssh_command(6276)|SSH
> command executed on vmguest-2, returning (0, "none")
> 2011-09-21 23:31:41|3929|vcld:main(165)|lastcheckin time updated for
> management node 1: 2011-09-21 23:31:41
> 2011-09-21 23:31:46|3929|vcld:main(165)|lastcheckin time updated for
> management node 1: 2011-09-21 23:31:46
> 2011-09-21
> 23:31:48|14402|518:512|new|utils.pm:run_ssh_command(6262)|run_ssh_command
> output:
> |14402|518:512|new| start() = 1
> 2011-09-21 23:31:48|14402|518:512|new|utils.pm:run_ssh_command(6276)|SSH
> command executed on CSB308, returning (0, "start() = 1")
> 2011-09-21 23:31:48|14402|518:512|new|vmware.pm:load(808)|started
> /install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
> se10-v0vmguest-10.vmx on CSB308
> 2011-09-21
> 23:31:48|14402|518:512|new|utils.pm:insertloadlog(4710)|inserted
> computer=17, startvm, started vm on CSB308
>
> |14402|518:512|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
> CSB308 'vmware-cmd
> /install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
> se10-v0vmguest-10.vmx getst

Re: How to configure a new computing node?

2011-09-23 Thread Alexander Patterson
Hello,

Did you check su -
Log in as root for the image you are working on
Password:
Turn on sshd by typing /etc/init.d/sshd start
Got to the /etc/init.d/ then type chkconfig sshd on

Have you made sure that you can ssh -i /etc/vcl/vcl.key  ?

I had this issue with ssh not kicking off before as well and it was a
issue with the image itself.

Another helpfull command to check would be ssh -vv (IP address)

Have you logged into your box running VMware to see if you are getting
a public and private ip address?

On Fri, Sep 23, 2011 at 9:00 AM, Huang,Lei  wrote:
> Sorry for asking again. I suspect that the problem may be related to network 
> setting. I don't understand why ssd on VM was not active. Is it possible that 
> the IP address of VM is not correct? Any suggestions/hints would be very much 
> appreciated!
>
> Thanks,
> Lei
> 
> From: Huang,Lei [lhu...@pvamu.edu]
> Sent: Thursday, September 22, 2011 10:36 AM
> To: vcl-user@incubator.apache.org; aaron_pee...@ncsu.edu
> Subject: Re: How to configure a new computing node?
>
> Aaron,
>
>  Thank you for your reply. I copied some log information as follows. It
> looks like the VM was started, but sshd on the VM was not active. The
> script looped and waited for half an hour and failed at the end. The image
> works fine on existing blades. I wonder if there is some configuration of
> VM server I didn't set correctly for the new node.
>
> Thanks,
> Lei
>
> ===
>
> 2011-09-21
> 23:31:27|14402|518:512|new|utils.pm:run_ssh_command(6180)|executing SSH
> command on CSB308:
> |14402|518:512|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
> CSB308 'vmware-cmd
> /install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
> se10-v0vmguest-10.vmx start' 2>&1
> 2011-09-21 23:31:31|3929|vcld:main(165)|lastcheckin time updated for
> management node 1: 2011-09-21 23:31:31
> 2011-09-21 23:31:36|3929|vcld:main(165)|lastcheckin time updated for
> management node 1: 2011-09-21 23:31:36
> 2011-09-21
> 23:31:40|14122|517:511|inuse|utils.pm:check_connection(1765)|checking for
> connection by admin on vmguest-2, attempt 27
> 2011-09-21
> 23:31:40|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
> command on vmguest-2:
> |14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
> vmguest-2 'netstat -an' 2>&1
> 2011-09-21
> 23:31:40|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
> command on vmguest-2:
> |14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
> vmguest-2 'who' 2>&1
> 2011-09-21
> 23:31:41|14122|517:511|inuse|utils.pm:run_ssh_command(6262)|run_ssh_command
>  output:
> |14122|517:511|inuse| none
> 2011-09-21 23:31:41|14122|517:511|inuse|utils.pm:run_ssh_command(6276)|SSH
> command executed on vmguest-2, returning (0, "none")
> 2011-09-21 23:31:41|3929|vcld:main(165)|lastcheckin time updated for
> management node 1: 2011-09-21 23:31:41
> 2011-09-21 23:31:46|3929|vcld:main(165)|lastcheckin time updated for
> management node 1: 2011-09-21 23:31:46
> 2011-09-21
> 23:31:48|14402|518:512|new|utils.pm:run_ssh_command(6262)|run_ssh_command
> output:
> |14402|518:512|new| start() = 1
> 2011-09-21 23:31:48|14402|518:512|new|utils.pm:run_ssh_command(6276)|SSH
> command executed on CSB308, returning (0, "start() = 1")
> 2011-09-21 23:31:48|14402|518:512|new|vmware.pm:load(808)|started
> /install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
> se10-v0vmguest-10.vmx on CSB308
> 2011-09-21
> 23:31:48|14402|518:512|new|utils.pm:insertloadlog(4710)|inserted
> computer=17, startvm, started vm on CSB308
>
> |14402|518:512|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
> CSB308 'vmware-cmd
> /install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
> se10-v0vmguest-10.vmx getstate' 2>&1
> 2011-09-21 23:32:11|3929|vcld:main(165)|lastcheckin time updated for
> management node 1: 2011-09-21 23:32:11
> 2011-09-21 23:32:16|3929|vcld:main(165)|lastcheckin time updated for
> management node 1: 2011-09-21 23:32:16
> 2011-09-21
> 23:32:21|14122|517:511|inuse|utils.pm:check_connection(1765)|checking for
> connection by admin on vmguest-2, attempt 29
> 2011-09-21
> 23:32:21|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
> command on vmguest-2:
> |14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
> vmguest-2 'netstat -an' 2>&1
> 2011-09-21 23:32:21|3929|vcld:main(165)|lastcheckin time updated for
> management node 1: 2011-09-21 23:32:21
> 2011-09-21
> 23:32:21|14122|517:511|inuse|ut

RE: How to configure a new computing node?

2011-09-23 Thread Huang,Lei
Sorry for asking again. I suspect that the problem may be related to network 
setting. I don't understand why ssd on VM was not active. Is it possible that 
the IP address of VM is not correct? Any suggestions/hints would be very much 
appreciated!

Thanks,
Lei

From: Huang,Lei [lhu...@pvamu.edu]
Sent: Thursday, September 22, 2011 10:36 AM
To: vcl-user@incubator.apache.org; aaron_pee...@ncsu.edu
Subject: Re: How to configure a new computing node?

Aaron,

  Thank you for your reply. I copied some log information as follows. It
looks like the VM was started, but sshd on the VM was not active. The
script looped and waited for half an hour and failed at the end. The image
works fine on existing blades. I wonder if there is some configuration of
VM server I didn't set correctly for the new node.

Thanks,
Lei

===

2011-09-21
23:31:27|14402|518:512|new|utils.pm:run_ssh_command(6180)|executing SSH
command on CSB308:
|14402|518:512|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
CSB308 'vmware-cmd
/install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
se10-v0vmguest-10.vmx start' 2>&1
2011-09-21 23:31:31|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:31:31
2011-09-21 23:31:36|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:31:36
2011-09-21
23:31:40|14122|517:511|inuse|utils.pm:check_connection(1765)|checking for
connection by admin on vmguest-2, attempt 27
2011-09-21
23:31:40|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
command on vmguest-2:
|14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
vmguest-2 'netstat -an' 2>&1
2011-09-21
23:31:40|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
command on vmguest-2:
|14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
vmguest-2 'who' 2>&1
2011-09-21
23:31:41|14122|517:511|inuse|utils.pm:run_ssh_command(6262)|run_ssh_command
 output:
|14122|517:511|inuse| none
2011-09-21 23:31:41|14122|517:511|inuse|utils.pm:run_ssh_command(6276)|SSH
command executed on vmguest-2, returning (0, "none")
2011-09-21 23:31:41|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:31:41
2011-09-21 23:31:46|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:31:46
2011-09-21
23:31:48|14402|518:512|new|utils.pm:run_ssh_command(6262)|run_ssh_command
output:
|14402|518:512|new| start() = 1
2011-09-21 23:31:48|14402|518:512|new|utils.pm:run_ssh_command(6276)|SSH
command executed on CSB308, returning (0, "start() = 1")
2011-09-21 23:31:48|14402|518:512|new|vmware.pm:load(808)|started
/install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
se10-v0vmguest-10.vmx on CSB308
2011-09-21
23:31:48|14402|518:512|new|utils.pm:insertloadlog(4710)|inserted
computer=17, startvm, started vm on CSB308

|14402|518:512|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
CSB308 'vmware-cmd
/install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
se10-v0vmguest-10.vmx getstate' 2>&1
2011-09-21 23:32:11|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:32:11
2011-09-21 23:32:16|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:32:16
2011-09-21
23:32:21|14122|517:511|inuse|utils.pm:check_connection(1765)|checking for
connection by admin on vmguest-2, attempt 29
2011-09-21
23:32:21|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
command on vmguest-2:
|14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
vmguest-2 'netstat -an' 2>&1
2011-09-21 23:32:21|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:32:21
2011-09-21
23:32:21|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
command on vmguest-2:
|14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
vmguest-2 'who' 2>&1
2011-09-21
23:32:22|14122|517:511|inuse|utils.pm:run_ssh_command(6262)|run_ssh_command
 output:
|14122|517:511|inuse| none
2011-09-21 23:32:22|14122|517:511|inuse|utils.pm:run_ssh_command(6276)|SSH
command executed on vmguest-2, returning (0, "none")
2011-09-21 23:32:26|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:32:26
2011-09-21
23:32:28|14402|518:512|new|utils.pm:run_ssh_command(6262)|run_ssh_command
output:
|14402|518:512|new| getstate() = on
2011-09-21 23:32:28|14402|518:512|new|utils.pm:run_ssh_command(6276)|SSH
command executed on CSB308, returning (0, "getstate() = on")
2011-09-21 23:32:28|14402|518:512|new|vmware.pm:load(831)|checking state
of vm vmguest-10
2011-09-21
23:32:28|14402|518:512|new|utils.pm:insertloadlog(4710)|inserted
computer=17, vmstage1, node has been

Re: How to configure a new computing node?

2011-09-22 Thread Huang,Lei
Aaron,

  Thank you for your reply. I copied some log information as follows. It
looks like the VM was started, but sshd on the VM was not active. The
script looped and waited for half an hour and failed at the end. The image
works fine on existing blades. I wonder if there is some configuration of
VM server I didn't set correctly for the new node.

Thanks,
Lei

===

2011-09-21
23:31:27|14402|518:512|new|utils.pm:run_ssh_command(6180)|executing SSH
command on CSB308:
|14402|518:512|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
CSB308 'vmware-cmd
/install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
se10-v0vmguest-10.vmx start' 2>&1
2011-09-21 23:31:31|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:31:31
2011-09-21 23:31:36|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:31:36
2011-09-21
23:31:40|14122|517:511|inuse|utils.pm:check_connection(1765)|checking for
connection by admin on vmguest-2, attempt 27
2011-09-21
23:31:40|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
command on vmguest-2:
|14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
vmguest-2 'netstat -an' 2>&1
2011-09-21
23:31:40|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
command on vmguest-2:
|14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
vmguest-2 'who' 2>&1
2011-09-21
23:31:41|14122|517:511|inuse|utils.pm:run_ssh_command(6262)|run_ssh_command
 output:
|14122|517:511|inuse| none
2011-09-21 23:31:41|14122|517:511|inuse|utils.pm:run_ssh_command(6276)|SSH
command executed on vmguest-2, returning (0, "none")
2011-09-21 23:31:41|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:31:41
2011-09-21 23:31:46|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:31:46
2011-09-21
23:31:48|14402|518:512|new|utils.pm:run_ssh_command(6262)|run_ssh_command
output:
|14402|518:512|new| start() = 1
2011-09-21 23:31:48|14402|518:512|new|utils.pm:run_ssh_command(6276)|SSH
command executed on CSB308, returning (0, "start() = 1")
2011-09-21 23:31:48|14402|518:512|new|vmware.pm:load(808)|started
/install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
se10-v0vmguest-10.vmx on CSB308
2011-09-21
23:31:48|14402|518:512|new|utils.pm:insertloadlog(4710)|inserted
computer=17, startvm, started vm on CSB308

|14402|518:512|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
CSB308 'vmware-cmd
/install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
se10-v0vmguest-10.vmx getstate' 2>&1
2011-09-21 23:32:11|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:32:11
2011-09-21 23:32:16|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:32:16
2011-09-21
23:32:21|14122|517:511|inuse|utils.pm:check_connection(1765)|checking for
connection by admin on vmguest-2, attempt 29
2011-09-21
23:32:21|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
command on vmguest-2:
|14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
vmguest-2 'netstat -an' 2>&1
2011-09-21 23:32:21|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:32:21
2011-09-21
23:32:21|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
command on vmguest-2:
|14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
vmguest-2 'who' 2>&1
2011-09-21
23:32:22|14122|517:511|inuse|utils.pm:run_ssh_command(6262)|run_ssh_command
 output:
|14122|517:511|inuse| none
2011-09-21 23:32:22|14122|517:511|inuse|utils.pm:run_ssh_command(6276)|SSH
command executed on vmguest-2, returning (0, "none")
2011-09-21 23:32:26|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:32:26
2011-09-21
23:32:28|14402|518:512|new|utils.pm:run_ssh_command(6262)|run_ssh_command
output:
|14402|518:512|new| getstate() = on
2011-09-21 23:32:28|14402|518:512|new|utils.pm:run_ssh_command(6276)|SSH
command executed on CSB308, returning (0, "getstate() = on")
2011-09-21 23:32:28|14402|518:512|new|vmware.pm:load(831)|checking state
of vm vmguest-10
2011-09-21
23:32:28|14402|518:512|new|utils.pm:insertloadlog(4710)|inserted
computer=17, vmstage1, node has been turned on
2011-09-21 23:32:28|14402|518:512|new|vmware.pm:load(838)|stage1 completed
vm vmguest-10 has been turned on
2011-09-21 23:32:28|14402|518:512|new|vmware.pm:load(839)|eth0MAC
00:50:56:1a:01:13 privateIPaddress 129.207.46.26
2011-09-21 23:32:28|14402|518:512|new|vmware.pm:load(848)|vmguest-10 ROUND
1 checks loop 0 of 40









|14402|518:512|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
CSB308 'vmware-cmd
/install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
se10-v0vmguest-10.vmx getstate' 2>&1
2011-09-22 00:05:41|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-22 00:05:

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  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 A&M 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.