To efficiently access the iLO web interfaces of your HPE Gen servers during initial boot (when only IPv6 is available), follow these steps:
1. Confirm iLO Supports IPv6
HPE iLO versions 4 and above support IPv6. Check the iLO version via the server's initial boot screen or documentation. If unsure, proceed assuming IPv6 is available.
2. Obtain the iLO's IPv6 Address
Option A: From the Server's Initial Boot Screen
- During POST (power-on self-test), the server's display shows the iLO IPv6 address (e.g.,
fe80::xxxx:xxxx:xxxx:xxxx). Note this address for each server.
Option B: Calculate via MAC Address
If the IPv6 address isn’t visible, derive it from the iLO’s MAC address (found on the server’s label or via the HPE toolchain):
-
MAC-to-EUI-64 Conversion:
- Example MAC:
00:1B:44:11:3A:B7
- Split into two parts:
00:1B:44 and 11:3A:B7.
- Insert
FFFE between them: 00:1B:44:FF:FE:11:3A:B7.
- Flip the 7th bit of the first octet (already done if the MAC is valid).
- Combine into
001B:44FF:FE11:3AB7.
-
Form the Link-Local IPv6 Address:
- Prefix:
fe80:: (link-local scope).
- Full address:
fe80::001B:44FF:FE11:3AB7.
Option C: Use DHCPv6 or Global IPv6
If your network provides global IPv6 addresses (via DHCPv6 or SLAAC), the iLO will have a routable address. Use ping6 or nslookup to resolve it.
3. Access iLO via IPv6 in Your Browser
-
Syntax:
http://[IPv6_ADDRESS%INTERFACE] (for HTTP) or https://[IPv6_ADDRESS%INTERFACE] (for HTTPS).
Replace INTERFACE with your network interface (e.g., eth0, enp0s3).
-
Example:
If the iLO’s IPv6 is fe80::001B:44FF:FE11:3AB7 and your network interface is eth0:
https://[fe80::001B:44FF:FE11:3AB7%eth0]/
-
Note:
- Ensure your client machine has IPv6 enabled and is on the same network segment.
- If using a switch, confirm it supports IPv6 routing (for global addresses).
4. Automate Access for 100+ Servers
Use scripting to streamline the process:
Script Example (Python)
import requests
# List of iLO IPv6 addresses (replace with your list)
ilo_addresses = [
"fe80::001B:44FF:FE11:3AB7%eth0",
"fe80::001C:55FF:FE22:4BC8%eth0",
# ... add all addresses
]
for ipv6 in ilo_addresses:
try:
# Access via HTTPS (replace with your credentials)
response = requests.get(f"https://[{ipv6}]/", auth=('admin', 'password'))
print(f"Status for {ipv6}: {response.status_code}")
except Exception as e:
print(f"Error for {ipv6}: {str(e)}")
PowerShell Example
$iloList = @(
"fe80::001B:44FF:FE11:3AB7%eth0",
"fe80::001C:55FF:FE22:4BC8%eth0"
)
foreach ($ilo in $iloList) {
try {
$response = Invoke-WebRequest -Uri "https://[${ilo}]" -Credential (Get-Credential)
Write-Host "Success: $($ilo) - Status: $($response.StatusCode)"
} catch {
Write-Host "Failed: $($ilo) - Error: $_"
}
}
5. Additional Tips
- Firewall Rules: Ensure iLO’s ports (443/HTTPS, 17990/REST API) are open on both client and iLO.
- HPE OneView/Smart Update Manager: Use HPE’s management tools for bulk iLO configuration.
- Link-Local Limitations: Link-local addresses (
fe80::/10) are only reachable on the same network segment. Use a crossover cable or shared switch for direct access.
- IPv6 Neighbor Discovery: Use
ip -6 neighbor (Linux) to list connected devices on your network.
Summary
- Use IPv6 link-local addresses derived from the iLO’s MAC or observed during boot.
- Access via a browser or script with the correct IPv6 syntax.
- Automate with Python/PowerShell for efficiency across 100+ servers.
This approach avoids IPv4 configuration and leverages native IPv6 capabilities for rapid iLO access.