- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: force ilo2/DL385 with ipmitools to boot via px...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2008 06:21 AM
тАО01-07-2008 06:21 AM
force ilo2/DL385 with ipmitools to boot via pxe
IPMItool Version: ipmitool-1.8.9-2.7
ipmitool -I lanplus -H 192.168.111.43 -U root -P hproothp chassis bootdev pxe
and get the following output
Error: Unable to establish IPMI v2 / RMCP+ session Error setting Chassis Boot Parameter 0
Error: Unable to establish IPMI v2 / RMCP+ session Error setting Chassis Boot Parameter 4 so i tryes to use the following command response of this command
Error: Unable to establish LAN session Error setting Chassis Boot Parameter 0 Error setting Chassis Boot Parameter 4
What is the right way to access the HP DL385 G2 ILO2 over IPMI, to set the bootoption to pxe???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2008 07:18 AM
тАО01-07-2008 07:18 AM
Re: force ilo2/DL385 with ipmitools to boot via pxe
You don't boot a machine through or with its ilo card.
You boot the system through one of its normal NIC cards via PXE, if the bios supports it.
ilo2 is a systems management card meant to gain control of the system remotely. True you can boot the machine from there and even do an OS install via ilo, but you need another connected network interface to do the PXE install.
If PXE won't work, check the following:
1) Network switch, PXE can be blocked.
2) Network, won't live on the same network as an Ignite boot helper or Ignite server.
3) Configuration of the PXE server.
4) BIOS and firmware on the system.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2008 07:52 AM
тАО01-07-2008 07:52 AM
Re: force ilo2/DL385 with ipmitools to boot via pxe
├в You don't boot a machine through or with its ilo card.├в
in the DL385 bios I can Select the boot devices ├в ┬ж also network ├в ┬ж so there must be a way to set this option via the ssh/service processor(ilo2) like on a SUN V20z.
To explain what I want to do:
I├в m using an script to start an automatic (autoyast) installation, resore, backup,... of any Server for any SLES Version (8 - 10) ├в ┬ж so our AIX gurus are able to install an Linux server .. an need no special skills ├в the script an the pxe-server works fine with our SUN V20z, V40z abs IBM Power5 Server... and when I hit F12 on the boot of an DL385 the also PXE starts.
But the pxe should start automatic... after I triggered an installation with my installation script.
I called the hp support an they gave me the hint to use IPMI and
in http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00294268/c00294268.pdf
i found the following lines ...
"Server management through the IPMI is a standardized method for controlling and monitoring the server.
iLO 2 provides server management based on the IPMI version 2.0 specification."
So I thought that the DL385 is able so speak IMPI.
All I need is to force the server over ssh to boot from pxe. (like on SUN or Power5)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2008 09:09 AM
тАО01-07-2008 09:09 AM
Re: force ilo2/DL385 with ipmitools to boot via pxe
it ist possible to change the boot order via the set commnad in the ilo2 terminal ...
so i can connect via ssh an force the server to start from network.
an in the ipl menu (bios) i have to setup the right MAC (an the installation of the server).
i'm going to test this tomorrow ....
e.g.
hpiLO-> cd /system1/bootconfig1/bootsource3
status=0
status_tag=COMMAND COMPLETED
/system1/bootconfig1/bootsource3
hpiLO-> show
status=0
status_tag=COMMAND COMPLETED
/system1/bootconfig1/bootsource3
Targets
Properties
bootorder=4
Verbs
cd version exit show set
hpiLO-> set bootorder=1
status=0
status_tag=COMMAND COMPLETED
bootsource3=BootFmDisk bootorder=1
bootsource1=BootFmCd bootorder=2
bootsource2=BootFmFloppy bootorder=3
bootsource4=BootFmUSBKey bootorder=4
bootsource5=BootFmNetwork bootorder=5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2008 04:57 AM
тАО01-08-2008 04:57 AM
Re: force ilo2/DL385 with ipmitools to boot via pxe
the following script is my noIPMI solution to trigger a boot from pxe on a dl385 over ilo2 interface.
#!/bin/sh
# change: 2008.01.08 HilRi - create
# . . -
# functions
_usage()
{
echo
echo "script to change the bootorder with ssh and ilo2 commands "
echo
echo "Usage:"
echo " pxe.sh hostname bootsource# bootorder# "
echo " e.g. pxe.sh linux01 5 1 = bootsource 5 (network) is going to be the 1st boordevice"
echo
echo " show option: shows the bootorder of the selected bootsource"
echo " pxe.sh show hostname bootsource# "
exit 127
}
_notok()
{
echo "${1}"
exit ${2}
}
_setbootorder() # ilo2 set command
{
ssh ${ILO2HOSTNAME} set /system1/bootconfig1/bootsource${BOOTSOURCE} bootorder=${BOOTORDER} 2>&1 || _notok "Remote Command failed" 1
}
_showbootorder() # ilo2 show command
{
ssh ${ILO2HOSTNAME} show /system1/bootconfig1/bootsource${BOOTSOURCE} 2>&1 || _notok "Remote Command failed" 1
}
# main
export ILO2HOSTNAME=${1}
export ILO2CMD=${2}
export BOOTSOURCE=${3}
export BOOTORDER=${4}
case ${ILO2CMD} in
(show)
[ "${BOOTSOURCE}" = "" ] && _usage
_showbootorder ${BOOTSOURCE};;
(set)
[ "${BOOTSOURCE}" = "" ] && _usage
[ "${BOOTORDER}" = "" ] && _usage
_setbootorder ;;
(*)
_usage
esac