Nfs Server Configuration; Connecting To The Switch Using Ftp - HP bh5700 User Manual

Ethernet switch blade atca 14-slot blade server
Table of Contents

Advertisement

All the necessary servers are included in /etc/init.d/rcS but are commented out by default.
To automatically start all NFS client services each time you boot, uncomment the NFS Client
servers. Go to the /etc/init.d/rcS file. Uncomment the following command lines by
removing the # sign.
/sbin/portmap
/sbin/rpc.statd
/usr/sbin/rpc.mountd -r
You can also include commands to mount remote NFS file systems at boot time. There is an
example line included at the appropriate location in /etc/init.d/rcS. Uncomment and alter
the mount command included for your particular configuration.
NOTE: A "sleep" of 5 seconds is included to allow time for the links to come up prior to
attempting the mount.
sleep 5
mount 10.0.0.1:/nfs –t nfs –o noac /mnt

NFS Server Configuration

The switch also contains an NFS server so that you can mount the switch file system from other
systems. To enable the NFS server, first follow the steps to enable the NFS client. Then, edit
/etc/exports to include the file systems you wish to export. Consult a standard Linux Network
Administrator's Guide (or man pages) regarding options for exported file systems. Generally, an
entry in /etc/exports looks like the following:
/nfs
*.localdomain.com(ro)
Now start nfsd to export the mount points and begin answering requests from remote clients.
/sbin/rpc.nfsd –r
To export file systems automatically on boot, edit /etc/init.d/rcS, uncomment the
/sbin/rpc.nfsd command line by removing the #.
/sbin/rpc.nfsd -r

Connecting to the Switch Using FTP

Use ftp to transfer files to or from the switch. See the Linux Reference Guide for details of the ftp
command. In general, you can use ftp to connect to any system running an ftp server, including
other OpenArchitect switches, to either get (transfer files from the remote host to the switch) or
put (transfer files from the switch to the remote host) files.
ftp <remote_host>
Ethernet Switch Blade User's Guide
release 3.2.2j
page 131
Downloaded from
www.Manualslib.com
manuals search engine

Advertisement

Table of Contents
loading

Table of Contents