Tabla de contenido
In this article, you’ll learn how to configure the Integrated Lights-Out (iLO) network of a bay in an HPE C7000 chassis. iLO is a remote management feature that allows system administrators to control and monitor HPE servers remotely. Setting up the iLO network correctly is crucial for ensuring secure and reliable access to the servers. Below, you’ll find two methods for configuring the iLO network in an HPE C7000 chassis.
How to Configure the iLO Network of a Bay from the OA Shell with hponcfg
To configure the iLO network of a bay from the Onboard Administrator (OA) shell using hponcfg and inline XML, follow these steps:
Log in to the OA SSH console using your favorite SSH client (like PuTTY or OpenSSH).
To configure the iLO of the server in the desired bay (for example, bay 7), run the following command with the inline XML content. Replace the IP addresses and passwords as needed:
hponcfg 7 << end_marker <RIBCL VERSION="2.0"> <LOGIN USER_LOGIN="Administrator" PASSWORD="password"> <RIB_INFO MODE="write"> <MOD_NETWORK_SETTINGS> <IP_ADDRESS VALUE="192.168.1.100"/> <SUBNET_MASK VALUE="255.255.255.0"/> <GATEWAY_IP_ADDRESS VALUE="192.168.1.1"/> <PRIM_DNS_SERVER VALUE=""/> <DHCP_ENABLE VALUE="N"/> </MOD_NETWORK_SETTINGS> </RIB_INFO> </LOGIN> </RIBCL> end_marker
Verify that the iLO network configuration has been applied correctly. You can do this using the show server info command followed by the server blade’s bay number. For example:
show server info 7
Look for the iLO IP address information in the command output. The IP address should match the one you set in the inline XML content.
How to Configure the iLO GATEWAY by Connecting from the OA
If you need to configure the iLO gateway and can’t do it using hponcfg, you can connect directly to the iLO from the OA using the “connect” command. Follow these steps:
Log in to the Onboard Administrator SSH console using your favorite SSH client (like PuTTY or OpenSSH).
To connect to the iLO of the server in the desired bay (for example, bay 7), run:
connect server 7
You should now be in the iLO command interface.
To change the gateway configuration, first, enter the iLO network configuration mode using the command:
Set the default gateway for the iLO using the set command followed by the corresponding parameter. For example, if you want to configure a gateway of 192.168.1.1, run:
Save the changes and restart the iLO to apply the configuration. To do this, return to the iLO main directory and run the reset command:
cd .. reset
Once you’ve completed these steps, the iLO gateway configuration should be updated according to the value you set.
Tips for iLO Configuration in an HPE C7000 Chassis
Keep your servers up-to-date: Make sure that the iLO and Onboard Administrator firmware are updated to the latest versions to ensure compatibility and take advantage of security and performance enhancements.
Use secure passwords: Make sure to use secure and unique passwords for the iLO and Onboard Administrator. Weak passwords can compromise the security of your servers and expose them to potential attacks.
Set up email alerts: The iLO allows you to set up email alerts for critical system events, such as hardware failures or temperature issues. Take advantage of this feature to stay informed about the status of your servers.
Monitor your servers regularly: Use the iLO and Onboard Administrator monitoring and logging tools to keep an eye on the performance and health of your servers. This will help you detect and fix problems before they become more serious issues.
In summary, in this article, we’ve covered how to configure the iLO network of a bay in an HPE C7000 chassis using two different methods: through the OA shell using hponcfg with inline XML and connecting directly to the iLO from the OA to configure the gateway. Both methods are useful in different scenarios and will allow you to effectively manage the iLO network on your HPE C7000 servers.