DOCUMENT ID:  1147-02

SYNOPSIS:     Turning your Solaris x86 stand-alone machine into a server

OS RELEASE:   

PRDUCT:       Solaris x86

KEYWORDS:     Configure workstation nfs client server nfsd mountd


DESCRIPTION:

Configuring a workstation to be a server has usually required
re-installing the operating system from scratch to be a server, or
manually starting the necessary network daemons by hand. 

In order for an nfs client to become an nfs server, 5 networking daemons
must be started, e.g.  nfsd, mountd, in.rarpd, rpc.bootparamd, and the
rpld.  If using the server to install other clients, the rpl daemon may
also need to be patched, depending on which version of Solaris you are
using.  Once these processes are started, the server may be used to
install other clients by following the instructions on pages 93 and 115
of the Solaris 2.x System Configuration and Installation Guide for x86. 


SOLUTION:

Most of the instructions necessary to start the network daemons running
are to be found in the /etc/init.d/nfs.server startup script.  It is
also necessary to define the default router to be used as well as the
directories to share as mountable file- systems on network clients. 


First make sure that your system knows where its router is.  If you wish
to specify explicit routes to be added on startup, you may edit the
/etc/rc2.d/S69inet file, or if there is only one router for your
machine, place its ip address in the /etc/defaultrouter file.  Line 29
of the S69inet script will automatically add the route specified in the
/etc/defaultrouter file. 

Next, the nfs.server script in /etc/init.d should be linked to a startup
file in /etc/rc2.d to start server processes when the system comes up. 
To do this, type:

ln /etc/init.d/nfs.server /etc/rc2.d/S74nfs.server

Lastly, run /usr/sbin/share to make local resources available for
mounting by remote systems.  Examine the man page for share since share
uses the -F option to specify the file-system type.  If the -F option is
omitted, the first file system type listed in the /etc/dfs/fstypes file
will be used as the default. 

When invoked with only a file system type (the -F option), share will
display all resources shared by the given file system to the local
system.  When invoked with no arguments, share displays all resources
shared by the local system.  The exports and sharetab files may then be
edited as appropriate to your installation. 


DATE APPROVED: 10/10/95