Go to main content

Oracle® Rack Universal Power Distribution Unit User's Guide

Exit Print View

Updated: May 2019
 
 

Configuring DHCP for IPv4 in Windows

You can configure the DHCP server for HPDU devices using IPv4 addresses. This procedure is based on Microsoft Windows Server 2012.

  1. Add a new vendor class for the HPDU under IPv4.
    1. Right-click the IPv4 node in DHCP to select Define Vendor Classes.
    2. Click Add to add a new vendor class.
    3. In the New Class dialog box, type a unique name for this vendor class and the binary codes of the HPDU.
    4. Define one DHCP standard option, Vendor Class Identifier.
      1. Right-click the IPv4 node in DHCP and select Set Predefined Options.
      2. Select DHCP Standard Options in the Option class field, and Vendor Class Identifier in the Option name field. Leave the String field blank.
    5. Add three options to the new vendor class for the HPDU.
      1. Select the HPDU in the Option class field.
      2. Click Add to add the first option. Type pdu-tftp-server in the Name field, select IP Address as the data type, and type 1 in the Code field.
      3. Click Add to add the second option. Type pdu-update-control-file in the Name field, select String as the data type, and type 2 in the Code field.
      4. Click Add to add the third one. Type pdu-update-magic in the Name field, select String as the data type, and type 3 in the Code field.
  2. Create a new policy associated with the vendor class.
    1. Right-click the Policies node under IPv4 and select New Policy.
    2. Specify a policy name, and click Next.
    3. Click Add to add a new condition.
    4. Select the vendor class for the HPDU in the Value field, click Add, and click OK.
    5. Click Next.
  3. Select DHCP Standard Options in the Vendor class field, select 060 Vendor Class Identifier from the Available Options list, and type the HPDU name in the String value field.
  4. Select the HPDU name in the Vendor class field, select 001 pdu-tftp-server from the Available Options list, and type the TFTP server IPv4 address in the IP address field.
  5. Select 002 pdu-update-control-file from the Available Options list, and type the file name fwupdate.cfg in the String value field.
  6. Select 003 pdu-update-magic from the Available Options list, and type any string in the String value field.

    The third option/code is the magic cookie to prevent the fwupdate.cfg commands from being executed repeatedly. It does not matter whether the IPv4 magic cookie is identical to or different from the IPv6 magic cookie.

    The magic cookie is a string comprising numerical and/or alphabetical digits in any format. For example, you can use a combination of a date and a serial number.


    Note -  The magic cookie is transmitted to and stored in HPDU at the time of executing the fwupdate.cfg commands. The DHCP/TFTP operation is triggered only when there is a mismatch between the magic cookie in DHCP and the one stored in the HPDU. Modify the magic cookie value in DHCP when intending to execute the fwupdate.cfg commands the next time.