NAME

makentp - Setup NTP server on the management node and the service node.

SYNOPSIS

makentp [-h|--help]

makentp [-v|--version]

makentp [-a|--all] [-V|--verbose]

DESCRIPTION

makentp command sets up the NTP server on the xCAT management node and the service node.

By default, it sets up the NTP server for xCAT management node. If -a flag is specified, the command will setup the ntp servers for management node as well as all the service nodes that have servicenode.ntpserver set. It honors the site table attributes extntpservers and ntpservers described below:

To setup NTP on the compute node, add setupntp postscript to the postscripts table and run updatenode node -P setupntp command.

OPTIONS

-a|--all

Setup NTP servers for both management node and the service node. If management node has SLES installed and used as ntpservers, it is recommended to use the setupntp postscript to set up NTP server for service nodes.

-h|--help

Display usage message.

-v|--version

Command Version.

-V|--verbose

Verbose output.

RETURN VALUE

0 The command completed successfully.

1 An error has occurred.

EXAMPLES

1. To setup NTP server on the management node:
 makentp
2. To setup NTP servers on both management node and the service node:
 makentp -a

FILES

/opt/xcat/bin/makentp

SEE ALSO