Re: [Nolug] Perl question

From: Dustin Puryear <dpuryear_at_usa.net>
Date: Tue, 3 Feb 2004 12:57:44 -0600
Message-ID: <014e01c3ea87$aa0a4470$490a000a@yourqqh4336axf>

I don't think we need a presentation on VMware. I'm talking about your
presentation on administering VMware using perl scripts. Next month?

----- Original Message -----
From: "Wimprine, Thomas" <twimprine@stei.com>
To: <nolug@joeykelly.net>
Sent: Tuesday, February 03, 2004 12:28 PM
Subject: RE: [Nolug] Perl question

> 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
>
>

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

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