Sun Microsystems
Products & Services
 
Support & Training
 
 

Previous Previous     Contents     Index     Next Next

ProcedureTo Configure the DHCP Static Boot Policy

  1. Log in to the master node as superuser.

  2. Update the DHCP configuration table for the NIC0 interface of the diskless node:

    # dhtadm -A -m macro-name -d \
    ':NhCgtpAddr=local-cgtp-addr:Include=Common:\
    BootFile=inetboot.sun4u.os:\
    SrootPTH=/export/root/diskless-node-name:\
    SswapPTH=/export/swap/diskless-node-name:Include=subnet:'

    • macro-name is the NIC0 IP address of the node.

    • local-cgtp-addr is the IP address of the cgtp0 interface of the node.

    • os is the operating system. Specify Solaris_8 or Solaris_9 depending on the Solaris version you installed.

    • diskless-node-name is the name of the node.

    • subnet is the NIC0 subnet.

    For a diskless node, netraDISKLESS1, with the NIC0 IP address 10.250.1.30 and Solaris 9, type:

    # dhtadm -A -m 10.250.1.30 -d \
    ':NhCgtpAddr=10.250.3.30:Include=Common:BootFile=inetboot.sun4u.Solaris_9:\
    SrootPTH=/export/root/netraDISKLESS1:\
    SswapPTH=/export/swap/netraDISKLESS1:Include=10.250.1.0:'

  3. Update the DHCP container for the NIC0 interface of the diskless node.

    # pntadm -A IP-address \
    -i Ethernet-address \
    -f PERMANENT+MANUAL -m macro-name subnet

    • IP-address is the NIC0 IP address of the node.

    • Ethernet-address of the board of the node. The letters of the address must be in upper-case

    • macro-name is the NIC1 IP address of the node.

    • subnet is the NIC0 subnet.

    For the diskless node with the NIC0 IP address 10.250.1.30 and Ethernet address 01080020F9B360, type:

    # pntadm -A 10.250.1.30 -i 01080020F9B360 -f PERMANENT+MANUAL \
    -m 10.250.1.30 10.250.1.0

  4. Update the DHCP configuration table for the NIC1 interface of the diskless node:

    # dhtadm -A -m macro-name -d \
    ':NhCgtpAddr=local-cgtp-addr:Include=Common:\
    BootFile=inetboot.sun4u.os:\
    SrootPTH=/export/root/diskless-node-name:\
    SswapPTH=/export/swap/diskless-node-name:Include=subnet:'

    • macro-name is the NIC1 IP address of the node.

    • local-cgtp-addr is the IP address of the cgtp0 interface of the node.

    • os is the operating system. Specify Solaris_8 or Solaris_9 depending on the Solaris version you installed.

    • diskless-node-name is the name of the node.

    • subnet is the NIC1 subnet.

    For the diskless node, netraDISKLESS1, with the NIC1 IP address 10.250.2.30 and Solaris 9, type:

    # dhtadm -A -m 10.250.2.30 -d \
    ':NhCgtpAddr=10.250.3.30:Include=Common:BootFile=inetboot.sun4u.Solaris_9:\
    SrootPTH=/export/root/netraDISKLESS1:\
    SswapPTH=/export/swap/netraDISKLESS1:Include=10.250.2.0:'

  5. Update the DHCP container for the NIC1 interface of the diskless node:

    # pntadm -A IP-address \
    -i Ethernet-address \
    -f PERMANENT+MANUAL -m macro-name subnet

    • IP-address is the NIC1 IP address of the node.

    • Ethernet-address of the board of the node.

    • macro-name is the NIC1 IP address of the node.

    • subnet is the NIC1 subnet.

    For the diskless node with the NIC1 IP address 10.250.2.30 and Ethernet address 01080020F9B361, type:

    # pntadm -A 10.250.2.30 -i 01080020F9B361 \
    -f PERMANENT+MANUAL -m 10.250.2.30 10.250.2.0

ProcedureTo Configure the DHCP Client ID Boot Policy

This procedure can only be performed on nodes with CompactPCI technology. For information specific to the hardware you are using, see the corresponding hardware documentation.

  1. Create or retrieve the client ID for the diskless node.

    1. Log in to the diskless node as superuser.

    2. Get the ok prompt.

    3. Check for the client ID of the diskless node:

      ok> printenv dhcp-clientid

      If a client ID is not configured, configure it:

      ok> setenv dhcp-clientid client-id-name

      where client-id-name is an ASCII string. In this procedure, test is used as an example client ID.

    4. Convert the ASCII string to hexadecimal.

      For example, if test is your client ID, the hexadecimal equivalent is 74 65 73 74.

  2. Log in to the master node.

  3. Declare the diskless node's client ID in the /export/root/diskless-node-name/etc/default/dhcpagent file.

    For example, if the hexadecimal equivalent of your client ID is 74 65 73 74 on a Netra CT 810 machine, add the following line to the dhcpagent file:

    CLIENT_ID=0x74657374

    For information about the format of the CLIENT_ID on the hardware you are using, see the corresponding hardware documentation.

  4. Update the DHCP configuration table for the NIC0 interface of the diskless node:

    # dhtadm -A -m macro-name -d \
    ':NhCgtpAddr=local-cgtp-addr:Include=Common:\
    BootFile=inetboot.sun4u.os:\
    SrootPTH=/export/root/diskless-node-name:\
    SswapPTH=/export/swap/diskless-node-name:Include=subnet:'

    • macro-name is the NIC0 IP address of the node.

    • local-cgtp-addr is the IP address of the cgtp0 interface of the node.

    • os is the operating system. Specify Solaris_8 or Solaris_9 depending on the Solaris version you installed.

    • diskless-node-name is the name of the node.

    • subnet is the NIC0 subnet.

    For a diskless node, netraDISKLESS1, with the NIC0 IP address 10.250.1.30 and Solaris 9, type:

    # dhtadm -A -m 10.250.1.30 -d \
    ':NhCgtpAddr=10.250.3.30:Include=Common:BootFile=inetboot.sun4u.Solaris_9:\
    SrootPTH=/export/root/netraDISKLESS1:\
    SswapPTH=/export/swap/netraDISKLESS1:Include=10.250.1.0:'

  5. Update the DHCP network table for the NIC0 interface of the diskless node:

    # pntadm -A IP-address -i diskless-node-clientID \
    -f PERMANENT+MANUAL -m macro-name subnet

    • IP-address is the NIC0 IP address of the node.

    • diskless-node-clientID is the hexadecimal equivalent of the client ID.

    • macro-name is the NIC0 IP address of the node.

    • subnet is the subnet of the NIC0 interface.

    For a Netra CT 810 diskless node with the NIC0 IP address 10.250.1.30 and client ID 74657374, type:

    # pntadm -A 10.250.1.30 -i 74657374 \
    -f PERMANENT+MANUAL -m 10.250.1.30 10.250.1.0

    For information about the format of the CLIENT_ID on the hardware you are using, see the corresponding hardware documentation.

  6. Update the DHCP configuration table for the NIC1 interface of the diskless node:

    # dhtadm -A -m macro-name -d \
    ':NhCgtpAddr=local-cgtp-addr:Include=Common:\
    BootFile=inetboot.sun4u.os:\
    SrootPTH=/export/root/diskless-node-name:\
    SswapPTH=/export/swap/diskless-node-name:Include=subnet:'

    • macro-name is the NIC1 IP address of the node.

    • local-cgtp-addr is the IP address of the cgtp0 interface of the node.

    • os is the operating system. Specify Solaris_8 or Solaris_9 depending on the Solaris version you installed.

    • diskless-node-name is the name of the node.

    • subnet is the NIC1 subnet.

    For the diskless node, netraDISKLESS1, with the NIC1 IP address 10.250.2.30 and Solaris 9, type:

    # dhtadm -A -m 10.250.2.30 -d \
    ':NhCgtpAddr=10.250.3.30:Include=Common:BootFile=inetboot.sun4u.Solaris_9:\
    SrootPTH=/export/root/netraDISKLESS1:\
    SswapPTH=/export/swap/netraDISKLESS1:Include=10.250.2.0:'

  7. Update the DHCP container for the NIC1 interface of the diskless node.

    # pntadm -A IP-address -i diskless-node-clientID \
    -f PERMANENT+MANUAL -m macro-name subnet

    • IP-address is the NIC1 IP address of the node.

    • diskless-node-clientID is the hexadecimal equivalent of the client ID.

    • macro-name is the NIC1 IP address of the node.

    • subnet is the NIC1 subnet.

    For the diskless node with NIC1 IP address 10.250.2.30 and client ID 74657374, type:

    # pntadm -A 10.250.2.30 -i 74657374 \
    -f PERMANENT+MANUAL -m 10.250.2.30 10.250.2.0

    For information about the format of the CLIENT_ID on the hardware you are using, see the corresponding hardware documentation.

Previous Previous     Contents     Index     Next Next