RE: [Nolug] Perl question

From: Wimprine, Thomas <twimprine_at_stei.com>
Date: Tue, 3 Feb 2004 12:28:40 -0600
Message-ID: <7A727C65F1901E46BBFE6D9C4C5D82FC34BD5A@lajeffeex02.stei.com>

Yes it's for ESX. Presentation on VMWare, hadn't planned on it.

This is a script to add a REDO log to the disks of the VM systems, then I
can do a backup of those files. When the backup is complete I apply any
changes that had been made. Also if a developer thinks he/she is going to
screw up a system I can start a REDO and if they toast it, simply delete the
log and reboot the system. Very cool.

I'm finished with both scripts if anyone would like them email and I'll send
them to you.

-----Original Message-----
From: Dustin Puryear [mailto:dpuryear@usa.net]
Sent: Tuesday, February 03, 2004 11:39 AM
To: nolug@joeykelly.net
Subject: Re: [Nolug] Perl question

I didn't even realize you could interface with VMware like this. Is this for
ESX? Thomas, when is your presentation on this? Next month?

----- Original Message -----
From: "Mark A. Hershberger" <mah@everybody.org>
To: <nolug@joeykelly.net>
Sent: Tuesday, February 03, 2004 11:23 AM
Subject: Re: [Nolug] Perl question

> On Tue, 2004-02-03 at 11:00, Wimprine, Thomas wrote:
> > I'm working on a perl script and I'm getting this error
>
> > Can't use an undefined value as an ARRAY reference at ./logdisk.pl line
23.
>
> I think your problem is this line:
>
> my @devices = @{$vm->get("Status.devices")};
>
> $vm->get("Status.devices") is returning undef.
>
> I could be wrong, but that's the only attempt to treat anything as ARRAY
> reference that I see in the script.
>
> Mark.
>
> ___________________
> Nolug mailing list
> nolug@nolug.org
>
>

___________________
Nolug mailing list
nolug@nolug.org
___________________
Nolug mailing list
nolug@nolug.org
Received on 02/03/04

This archive was generated by hypermail 2.2.0 : 12/19/08 EST