Network time protocol (ntp) client configuration, Network file system (nfs) client configuration – Znyx Networks bh5700 User Manual

Page 130

Advertising
background image

Network Time Protocol (NTP) Client Configuration

NTP is a protocol for setting the real time clock on a system. There are numerous primary and
secondary servers available on the network. For more NTP information, and a list of available
NTP servers, see the following URL:

http://www.ntp.org/

You will need to have your network settings properly configured to reach an available NTP
server on your local network or the Internet. To set the time and date, execute ntpdate with the
server of your choice. For example:

ntpdate –u ntp.ucsd.edu

The –u is required if the OpenArchitect switch is operating behind some types of firewalls.

If you wish for ntpdate to set your date and time automatically each time you boot,
uncomment the example ntpdate command line in /etc/init.d/rcS by removing the #
sign. ntpdate returns the Universal Time (UTC, formerly Greenwich Mean Time, or GMT). To
display the local time, set the TZ variable to the appropriate name and the number of hours offset
from UTC. For instance:

export TZ=PST8

for Pacific Standard Time offset from UTC by 8 hours. To set an environment variable, add the
entry to /etc/profile. Remember to zsync to make your changes permanent.

Network File System (NFS) Client Configuration

The OpenArchitect switch includes an NFS client for mounting remote file systems. You will
need to start NFS server processes in order to use NFS. You will need to start the following
servers:

/sbin/portmap

/sbin/rpc.statd

/usr/sbin/rpc.mountd -r

Once the above servers are started, you can mount a remote NFS file system.

mount rhost:nfs_file_system local_mount_point

If the remote NFS file system you’re mounting is on an OA switch, you should mount with
caching disabled.

mount rhost:nfs_file_system –o noac local_mount_point

Ethernet Switch Blade User's Guide

release 3.2.2j

page 130

Advertising