RE: Changing BIOS Boot Order from Linux Command Line w/out Complete OM Install

2010-03-25 Thread Donald Harper
dmidecode -s system-serial-number

gives me the Service tag number on my host.  RHEL 5, M610...

or:
dmidecode | grep -A4 'System Information' | tail -n1 | awk '{print $NF}'

if you have an older version of dmidecode.

Now, resetting it is a different ball of wax...

don

--
Don Harper, RHCE 

Unix Systems Group - Americas 
Macquarie Holdings - Houston 
Phone: +1.713.275.6294 
Cell: +1.832.235.8374 


-Original Message-
From: linux-poweredge-boun...@dell.com
[mailto:linux-poweredge-boun...@dell.com] On Behalf Of J. Epperson
Sent: Thursday, March 25, 2010 11:38 AM
To: linux-poweredge@dell.com
Subject: Re: Changing BIOS Boot Order from Linux Command Line w/out
Complete OM Install

On Thu, March 25, 2010 11:00, Dameon Wagner wrote:
>
> Does your distro have the SMBios tools?  I use Debian, and with the
> libsmbios-bin package I have a tool called `serviceTag` which spits
> out, and allows you to change, the Dell service tag for the box.
>

That sounds like what I want (although it appears that libsmbios-bin
package has been replaced with smbios-utils package).  But if I
bootstrap
from the instructions on
http://linux.dell.com/libsmbios/main/index.html,
with smbios-utils-bin installed I end up with no serviceTag tool,
although
although it's listed as one of the supported binaries on
http://linux.dell.com/libsmbios/main/cmdlinetools.html.

Dell has done a better job than most vendors in Linux support, and Matt
Domsch in particular is a blessing on the Linux community, but their
repo
collection ought to be called the "Dell Ducktape Repositories". 
Dependencies and obsolescences aren't dealt with consistently, presence
of
old repo files on a system can wreck the bus (and are not dealt with by
later bootstraps), etc

Maybe I can get some IP cameras installed in the data center so I can
read
the asset tags off the front of the systems.

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

Unless otherwise indicated, this message is intended only for the personal and 
confidential use of the designated recipient(s) named above. If you are not the 
intended recipient of this message you are hereby notified that any review, 
dissemination, distribution or copying of this message is strictly prohibited. 
This communication is for information purposes only and should not be regarded 
as an offer to sell or as a solicitation of an offer to buy any financial 
product or service, an official confirmation of any transaction, or as an 
official statement of the entity sending this message. Email transmission 
cannot be guaranteed to be secure or error-free. Therefore, we do not represent 
that this information is complete or accurate and it should not be relied upon 
as such. All information is subject to change without notice.

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


RE: Changing BIOS Boot Order from Linux Command Line w/out Complete OM Install

2010-03-25 Thread J. Epperson
On Thu, March 25, 2010 14:15, Donald Harper wrote:
> dmidecode -s system-serial-number
>
> gives me the Service tag number on my host.  RHEL 5, M610...
>
> or:
> dmidecode | grep -A4 'System Information' | tail -n1 | awk '{print $NF}'
>
> if you have an older version of dmidecode.
>
> Now, resetting it is a different ball of wax...
>

And that's the ball of wax I need to melt.  Original post stated that, I
guess I trimmed too much in my rant about the Dell repos.  I have means of
querying service tag, but it's blank on systems where MB has been
replaced, under warranty, by Dell field support.

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


Re: Changing BIOS Boot Order from Linux Command Line w/out Complete OM Install

2010-03-25 Thread J. Epperson
On Thu, March 25, 2010 11:00, Dameon Wagner wrote:
>
> Does your distro have the SMBios tools?  I use Debian, and with the
> libsmbios-bin package I have a tool called `serviceTag` which spits
> out, and allows you to change, the Dell service tag for the box.
>

That sounds like what I want (although it appears that libsmbios-bin
package has been replaced with smbios-utils package).  But if I bootstrap
from the instructions on http://linux.dell.com/libsmbios/main/index.html,
with smbios-utils-bin installed I end up with no serviceTag tool, although
although it's listed as one of the supported binaries on
http://linux.dell.com/libsmbios/main/cmdlinetools.html.

Dell has done a better job than most vendors in Linux support, and Matt
Domsch in particular is a blessing on the Linux community, but their repo
collection ought to be called the "Dell Ducktape Repositories". 
Dependencies and obsolescences aren't dealt with consistently, presence of
old repo files on a system can wreck the bus (and are not dealt with by
later bootstraps), etc

Maybe I can get some IP cameras installed in the data center so I can read
the asset tags off the front of the systems.

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


Re: Changing BIOS Boot Order from Linux Command Line w/out Complete OM Install

2010-03-25 Thread Dameon Wagner
On Thu, Mar 25, 2010 at 09:55:51AM -0400, J. Epperson scribbled
 in "Re: Changing BIOS Boot Order from Linux Command Line w/out Complete OM 
Install":
> On Wed, March 17, 2010 23:06, Matt Domsch wrote:
> > On Wed, Mar 17, 2010 at 09:07:49PM -0400, Roehrig, Jack (John) wrote:
> >> Does anyone know of a utility that exists that will allow me to modify
> >> the BIOS boot order for Dell servers (specifically Poweredge
> >> [126][6789]50s and R[4567]10) from the Linux command line? I need a
> >> tool that is very non-intrusive, minimal, script-friendly, and will
> >> allow me to configure a machine to attempt a network boot before any
> >> other devices. I cannot install a full copy of OpenManage on these
> >> machines, but am not opposed to using a precompiled binary or making
> >> the nvram device. The distributions vary, but all will have Linux
> >> 2.[46] kernels.
> >
> 
> OK, so the syscfg program from dell-toolkit.rpm will allow setting the
> BIOS boot order from the command line.  But it will not set the BIOS
> service tag, which is often the only way I can track down an error when
> someone mungs the inventory (short of the long drive and intense physical
> security to eyeball the physical asset tags).  When Dell replaces a
> motherboard, they do not set the service tag on the new board, so this is
> an issue with a number of machines.
> 
> Is there a way to set the BIOS service tag from a Linux command line?  I
> know about the asset.com "/s" switch, but booting each box into DOS is not
> really a reasonable solution.

Does your distro have the SMBios tools?  I use Debian, and with the
libsmbios-bin package I have a tool called `serviceTag` which spits
out, and allows you to change, the Dell service tag for the box.

The package also has many other useful tools in it, so it's worth
installing.

Cheers.

Dameon.

-- 
><> ><> ><> ><> ><> ><> ooOoo <>< <>< <>< <>< <>< <><
Dr. Dameon Wagner,
Senior ICT Specialist,
Depts. of Computer Science & Information Systems,
Rhodes University, Grahamstown, South Africa.
:Beta tester for Pegasus & Mercury/32 (www.pmail.com):
><> ><> ><> ><> ><> ><> ooOoo <>< <>< <>< <>< <>< <><

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


Re: Changing BIOS Boot Order from Linux Command Line w/out Complete OM Install

2010-03-25 Thread J. Epperson
On Wed, March 17, 2010 23:06, Matt Domsch wrote:
> On Wed, Mar 17, 2010 at 09:07:49PM -0400, Roehrig, Jack (John) wrote:
>> Does anyone know of a utility that exists that will allow me to modify
>> the BIOS boot order for Dell servers (specifically Poweredge
>> [126][6789]50s and R[4567]10) from the Linux command line? I need a
>> tool that is very non-intrusive, minimal, script-friendly, and will
>> allow me to configure a machine to attempt a network boot before any
>> other devices. I cannot install a full copy of OpenManage on these
>> machines, but am not opposed to using a precompiled binary or making
>> the nvram device. The distributions vary, but all will have Linux
>> 2.[46] kernels.
>

OK, so the syscfg program from dell-toolkit.rpm will allow setting the
BIOS boot order from the command line.  But it will not set the BIOS
service tag, which is often the only way I can track down an error when
someone mungs the inventory (short of the long drive and intense physical
security to eyeball the physical asset tags).  When Dell replaces a
motherboard, they do not set the service tag on the new board, so this is
an issue with a number of machines.

Is there a way to set the BIOS service tag from a Linux command line?  I
know about the asset.com "/s" switch, but booting each box into DOS is not
really a reasonable solution.

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


RE: Changing BIOS Boot Order from Linux Command Line w/out Complete OM Install

2010-03-23 Thread Roehrig, Jack (John)
I believe so. Check out raidcfg in the package.

--
Jack

-Original Message-
From: linux-poweredge-boun...@dell.com 
[mailto:linux-poweredge-boun...@dell.com] On Behalf Of Robin Bowes
Sent: Thursday, March 18, 2010 2:15 AM
To: linux-poweredge@dell.com
Subject: Re: Changing BIOS Boot Order from Linux Command Line w/out Complete OM 
Install

On 18/03/10 03:06, Matt Domsch wrote:
> You want Deployment Toolkit (DTK).  It's available on support.dell.com
> and ftp.dell.com/sysman/.

I have 42 R410 servers arriving imminently. They will have PERC 6/i
controllers with 4 disks configured for RAID5 as, for some reason, Dell
are no longer able to supply them with RAID10 (our last batch of 34 had
exactly the same hardware config and came configured for RAID10).

So, I have 42 servers to re-configure as RAID10 before I can provision them.

Is DTK the right tool for this task? I don't fancy doing 42 servers by
launching the java console from a web browser and doing it all manually
through the PERC card bios set up tool!

R.

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


Re: Changing BIOS Boot Order from Linux Command Line w/out Complete OM Install

2010-03-18 Thread Robin Bowes
On 18/03/10 03:06, Matt Domsch wrote:
> You want Deployment Toolkit (DTK).  It's available on support.dell.com
> and ftp.dell.com/sysman/.

I have 42 R410 servers arriving imminently. They will have PERC 6/i
controllers with 4 disks configured for RAID5 as, for some reason, Dell
are no longer able to supply them with RAID10 (our last batch of 34 had
exactly the same hardware config and came configured for RAID10).

So, I have 42 servers to re-configure as RAID10 before I can provision them.

Is DTK the right tool for this task? I don't fancy doing 42 servers by
launching the java console from a web browser and doing it all manually
through the PERC card bios set up tool!

R.

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


Re: Changing BIOS Boot Order from Linux Command Line w/out Complete OM Install

2010-03-17 Thread Matt Domsch
On Wed, Mar 17, 2010 at 09:07:49PM -0400, Roehrig, Jack (John) wrote:
>Does anyone know of a utility that exists that will allow me to modify the
>BIOS boot order for Dell servers (specifically Poweredge [126][6789]50s
>and R[4567]10) from the Linux command line? I need a tool that is very
>non-intrusive, minimal, script-friendly, and will allow me to configure a
>machine to attempt a network boot before any other devices. I cannot
>install a full copy of OpenManage on these machines, but am not opposed to
>using a precompiled binary or making the nvram device. The distributions
>vary, but all will have Linux 2.[46] kernels.

You want Deployment Toolkit (DTK).  It's available on support.dell.com
and ftp.dell.com/sysman/.

-- 
Matt Domsch
Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq