4.12.4 Set the NTP Server Address on an InfiniBand Network Fabric Switch

You can set or change the Network Time Protocol (NTP) server settings on an InfiniBand Network Fabric switch.

You can choose to change the NTP server settings by using the ILOM Web interface or the ILOM command-line interface on each InfiniBand Network Fabric switch.

  • To change the NTP server settings using the ILOM Web interface:

    1. Log in as the switch administrator (root) to the ILOM Web interface at http://switch_hostname_or_IP_address.

    2. In the navigation pane on the left side of the window, expand ILOM Administration, then click on Date and Time.

    3. Select the Clock tab.

    4. Click the Enabled check box next to Synchronize Time Using NTP.

    5. In the Server 1 text box, enter the IP address of the primary NTP server you want to use.

    6. In the Server 2 text box, optionally enter the IP address of the secondary NTP server you want to use.

    7. Click Save.

    8. Select the Timezone tab.

    9. Select from the Timezone drop-down list.

    10. Click Save.

  • To change the NTP server settings using the ILOM command-line interface:

    1. Start the ILOM command-line interface.

      You can access the ILOM command-line interface using various methods, including any of the following:

      • Connect to the InfiniBand Network Fabric switch using SSH as the ilom-admin user.

        $ ssh -l ilom-admin switch_hostname_or_IP_address
      • Connect to the InfiniBand Network Fabric switch using SSH as the switch administrator (root) and then run the ILOM service processor shell (spsh).

        $ ssh -l root switch_hostname_or_IP_address
        # spsh
    2. Using the ILOM command-line interface, run the following commands:

      -> set /SP/clients/ntp/server/1 address=ntp_ip1
      -> set /SP/clients/ntp/server/2 address=ntp_ip2
      -> set /SP/clock usentpserver=enabled

      In the commands, ntp_ip1 and ntp_ip2 are the primary and secondary NTP server IP addresses. Setting the secondary NTP server IP address is optional.

    3. Verify the changes by examining the output from the following commands:

      -> show /SP/clock
      -> show /SP/clients/ntp/server/1
      -> show /SP/clients/ntp/server/2