Hello, David I went ahead and applied your change to the inuse.pm

I did a Grep command on Vmware-48 the vmware guest I was testing

|23072|29165:28901|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
vmguest-48 'net user "sd8454" "zJxvFh" /ADD /EXPIRES:NEVER /COMMENT:"Account
created by VCL" && net localgroup "Remote Desktop Users" "sd8454" /ADD &&
net localgroup "Administrators" "sd8454" /ADD' 2>&1
2010-11-29 12:26:59|23072|29165:28901|new|Windows.pm:create_user(1463)|added
user sd8454 (zJxvFh) to vmguest-48
2010-11-29 12:26:59|23072|29165:28901|new|Windows.pm:add_users(1293)|added 1
users to vmguest-48
2010-11-29 12:26:59|23072|29165:28901|new|new.pm:reserve_computer(1240)|updated
sublog 9400 for node vmguest-48 IPaddress 137.145.58.240
2010-11-29 12:26:59|23072|29165:28901|new|new.pm:process(381)|vmguest-48
with vmwarewinxp-SPSSPASWStatisticsAmos1844-v4 successfully reserved
2010-11-29 12:26:59|23072|29165:28901|new|utils.pm:insertloadlog(4710)|inserted
computer=52, reserved, vmguest-48 successfully reserved with
vmwarewinxp-SPSSPASWStatisticsAmos1844-v4
2010-11-29 12:26:59|23072|29165:28901|new|new.pm:process(417)|vmguest-48
state set to 'reserved'
2010-11-29 12:26:59|23072|29165:28901|new|utils.pm:insertloadlog(4710)|inserted
computer=52, info, vmguest-48 successfully set to reserved with
vmwarewinxp-SPSSPASWStatisticsAmos1844-v4
2010-11-29 12:26:59|23072|29165:28901|new|new.pm:process(439)|inserted
computerloadlog entry: vmguest-48 successfully set to reserved with
vmwarewinxp-SPSSPASWStatisticsAmos1844-v4
2010-11-29 12:26:59|24402|29165:28901|reserved|reserved.pm:process(158)|computer
info: id=52, type=virtualmachine, hostname=vmguest-48
|24434|29168:28904|reload| vmwarewinxp-CSUNWinXPOffice200791-v0vmguest-48
|24434|29168:28904|reload| vmwarewinxp-MicrosoftOffice201075-v3vmguest-48
|24434|29168:28904|reload|
vmwarewinxp-SPSSPASWStatisticsAmos1844-v4vmguest-48


2010-11-29
12:41:55|27854|29165:28901|timeout|DataStructure.pm:get_computer_state_name(1946)|attempting
to retrieve current state of computer vmguest-48 from the database
2010-11-29
12:41:55|27854|29165:28901|timeout|DataStructure.pm:get_computer_state_name(1977)|retrieved
current state of computer vmguest-48 from the database: timeout
2010-11-29 
12:41:55|27854|29165:28901|timeout|utils.pm:run_ssh_command(6180)|executing
SSH command on vmguest-48:
|27854|29165:28901|timeout| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22
-x vmguest-48 'cat ~/currentimage.txt' 2>&1
2010-11-29 12:42:00|27854|29165:28901|timeout|utils.pm:run_ssh_command(6276)|SSH
command executed on vmguest-48, returning (0,
"vmwarewinxp-SPSSPASWStatistics...")
2010-11-29
12:42:00|27854|29165:28901|timeout|Windows.pm:get_currentimage_txt_contents(3885)|retrieved
currentimage.txt from vmguest-48
2010-11-29
12:42:00|27854|29165:28901|timeout|Windows.pm:get_currentimage_txt_contents(3897)|found
7 lines in currentimage.txt on vmguest-48
2010-11-29
12:42:00|27854|29165:28901|timeout|Windows.pm:get_current_image_name(3923)|retrieved
currentimage.txt contents from vmguest-48
2010-11-29
12:42:00|27854|29165:28901|timeout|Windows.pm:get_current_image_name(3938)|returning
name of image currently loaded on vmguest-48:
vmwarewinxp-SPSSPASWStatisticsAmos1844-v4
2010-11-29 12:42:00|27854|29165:28901|timeout|reclaim.pm:process(149)|retrieved
name of image currently loaded on vmguest-48:
vmwarewinxp-SPSSPASWStatisticsAmos1844-v4
2010-11-29 
12:42:00|27854|29165:28901|timeout|utils.pm:run_ssh_command(6180)|executing
SSH command on vmguest-48:
|27854|29165:28901|timeout| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22
-x vmguest-48 '$SYSTEMROOT/System32/ipconfig.exe /all' 2>&1
2010-11-29 
12:42:06|27854|29165:28901|timeout|utils.pm:run_ssh_command(6180)|executing
SSH command on vmguest-48:
|27854|29165:28901|timeout| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22
-x vmguest-48 'netsh.exe firewall delete portopening protocol = TCP port =
3389 interface = "Local Area Connection" ;netsh.exe firewall delete
portopening protocol = TCP port = 3389 interface = "Local Area Connection 2"
;netsh.exe firewall delete portopening protocol = TCP port = 3389 profile =
ALL' 2>&1
2010-11-29 12:42:16|27854|29165:28901|timeout|utils.pm:run_ssh_command(6276)|SSH
command executed on vmguest-48, returning (0, "Ok. Ok. Ok.")
2010-11-29
12:42:16|27854|29165:28901|timeout|Windows.pm:revoke_access(768)|firewall
was configured to deny RDP access on vmguest-48
2010-11-29
12:42:16|27854|29165:28901|timeout|Windows.pm:revoke_access(776)|access has
been revoked to vmguest-48
2010-11-29
12:42:16|27854|29165:28901|timeout|Windows.pm:delete_user(1570)|attempting
to delete user sd8454 from vmguest-48
2010-11-29 
12:42:16|27854|29165:28901|timeout|utils.pm:run_ssh_command(6180)|executing
SSH command on vmguest-48:
|27854|29165:28901|timeout| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22
-x vmguest-48 'net user sd8454 /DELETE' 2>&1
2010-11-29 12:42:22|27854|29165:28901|timeout|utils.pm:run_ssh_command(6276)|SSH
command executed on vmguest-48, returning (0, "The command completed
successf...")
2010-11-29
12:42:22|27854|29165:28901|timeout|Windows.pm:delete_user(1575)|deleted user
sd8454 from vmguest-48
2010-11-29 
12:42:22|27854|29165:28901|timeout|utils.pm:run_ssh_command(6180)|executing
SSH command on vmguest-48:
|27854|29165:28901|timeout| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22
-x vmguest-48 'cmd.exe /c dir /a /b "C:\\Documents and Settings\\sd8454"'
2>&1
2010-11-29
12:42:28|27854|29165:28901|timeout|Windows.pm:filesystem_entry_exists(1153)|filesystem
entry does NOT exist on vmguest-48: C:\\Documents and Settings\\sd8454
2010-11-29
12:42:28|27854|29165:28901|timeout|Windows.pm:delete_user(1591)|deleted
profile for user sd8454 from vmguest-48
2010-11-29
12:42:28|27854|29165:28901|timeout|Windows.pm:delete_users(1350)|deleted 1
users from vmguest-48
2010-11-29 12:42:28|27854|29165:28901|timeout|Windows.pm:sanitize(667)|users
have been deleted from vmguest-48
2010-11-29
12:42:28|27854|29165:28901|timeout|Windows.pm:sanitize(675)|vmguest-48 has
been sanitized
2010-11-29 12:42:28|27854|29165:28901|timeout|reclaim.pm:process(173)|vmguest-48
has been sanitized
2010-11-29 
12:42:28|27854|29165:28901|timeout|utils.pm:switch_state(8096)|req=29165:
computer vmguest-48 state changed: timeout->available

This was the old 15 minute time out to respond to what Aaron had asked

I need to setup a time to restart vcld, I have a bunch of users currently on
the system.

This Vmware was active here at 12:26 PM
On Mon, Nov 29, 2010 at 12:16 PM, David Hutchins
<david.hutch...@gmail.com>wrote:

> If I am interpreting this correctly, I think you need to change the value
> of  $connect_timeout_limit in /usr/local/vcl/lib/VCL/inuse.pm from 15 to
> 20
> as well.
>
> On Mon, Nov 29, 2010 at 2:54 PM, Aaron Peeler <aaron_pee...@ncsu.edu>
> wrote:
>
> > Hi Alex,
> >
> > The attached image doesn't give me any info other than the image has
> timed
> > out.
> >
> > Can you check your logs and report the delta of when the countdown starts
> > and then times out for a given reservation for both cases?
> >
> > Aaron
> >
> >
> >
> >
> >
> >
> > On 11/29/10 12:03 PM, Alexander Patterson wrote:
> >
> >> Hello Aaron,
> >>
> >> We wanted both 20 minutes for the connect button and 20 minutes for the
> >> idle time out. We are having issues with idle time out and idle connect
> >> time. Students and Staff would like to have more leave way and 20
> minutes
> >> steamed ideal.
> >>
> >> -Alex
> >>
> >> I just retested today and we are still only getting 15 minutes, see
> >> attached pictures
> >>
> >> http://tinypic.com/r/34nqozr/7
> >>
> >>
> >
> >
> > --
> >
> > Aaron Peeler
> > Program Manager
> > Virtual Computing Lab
> > NC State University
> > aaron_pee...@ncsu.edu
> > 919-513-4571
> >
> >
>



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

Reply via email to