X-Git-Url: http://git.openafs.org/?p=openafs-wiki.git;a=blobdiff_plain;f=InstallingAdditionalServerMachines.mdwn;h=6d8d78006d177bcc1abe90022b9f4c9270f78cb0;hp=1136286847b0cfdf144392a671f97ef82057be7f;hb=4df39856832cfa871056ec6494cc1f7f0c027960;hpb=bc411d59e4c4872b9d4a97b3cfe7ccccbfd0c7c6 diff --git a/InstallingAdditionalServerMachines.mdwn b/InstallingAdditionalServerMachines.mdwn index 1136286..6d8d780 100644 --- a/InstallingAdditionalServerMachines.mdwn +++ b/InstallingAdditionalServerMachines.mdwn @@ -1,61 +1,6 @@ -
- -
- -# Installing Additional Server Machines +[[!toc levels=3]] + +# Installing Additional Server Machines Instructions for the following procedures appear in the indicated section of this chapter. @@ -79,7 +24,7 @@ The instructions make the following assumptions. - All files on the CD-ROM are owned by root. i.e. The files that you install should be owned by root, or the standard application user for the system. -# Installing an Additional File Server Machine +# Installing an Additional File Server Machine The procedure for installing a new file server machine is similar to installing the first file server machine in your cell. There are a few parts of the installation that differ depending on whether the machine is the same AFS system type as an existing file server machine or is the first file server machine of its system type in your cell. The differences mostly concern the source for the needed binaries and files, and what portions of the Update Server you install: @@ -109,7 +54,7 @@ To install a new file server machine, perform the following procedures: After completing the instructions in this section, you can install database server functionality on the machine according to the instructions in Installing Database Server Functionality. -# Creating AFS Directories and Performing Platform-Specific Procedures +# Creating AFS Directories and Performing Platform-Specific Procedures Create the /usr/afs and /usr/vice/etc directories on the local disk. Subsequent instructions copy files from the AFS distribution CD-ROM into them, at the appropriate point for each system type. @@ -147,125 +92,125 @@ To continue, proceed to the section for this system type: - Getting Started on Solaris Systems -# Getting Started on AIX Systems +# Getting Started on AIX Systems -[[Loading AFS into the AIX Kernel|Main/LoadingAFSIntoTheAIXKernel]] +[[Loading AFS into the AIX Kernel|LoadingAFSIntoTheAIXKernel]] -## Replacing the fsck Program Helper on AIX Systems +## Replacing the fsck Program Helper on AIX Systems Never run the standard fsck program on AFS server partitions. It discards AFS volumes. -[[Replacing the fsck Program Helper on AIX Systems|Main/ReplacingTheFsckProgramHelperOnAIXSystems]] +[[Replacing the fsck Program Helper on AIX Systems|ReplacingTheFsckProgramHelperOnAIXSystems]] -## Configuring Server Volumes on AIX Systems +## Configuring Server Volumes on AIX Systems If this system is going to be used as a file server to share some of its disk space, create a directory called /vicepxx for each AFS server partition you are configuring (there must be at least one). If it is not going to be a file server you can skip this step. -[[Configuring Server Volumes on AIX|Main/ConfiguringServerVolumesOnAIX]] +[[Configuring Server Volumes on AIX|ConfiguringServerVolumesOnAIX]] -If the machine is to remain an AFS client, incorporate AFS into its authentication system, following the instructions in [[Enabling AFS Login on AIX Systems|Main/EnablingAFSLoginOnAIXSystems]]. +If the machine is to remain an AFS client, incorporate AFS into its authentication system, following the instructions in [[Enabling AFS Login on AIX Systems|EnablingAFSLoginOnAIXSystems]]. Proceed to Starting Server Programs. -# Getting Started on Digital UNIX Systems +# Getting Started on Digital UNIX Systems Begin by building AFS modifications into the kernel, then configure server partitions and replace the Digital UNIX fsck program with a version that correctly handles AFS volumes. If the machine's hardware and software configuration exactly matches another Digital UNIX machine on which AFS is already built into the kernel, you can copy the kernel from that machine to this one. In general, however, it is better to build AFS modifications into the kernel on each machine according to the following instructions. -[[Building AFS into the Digital UNIX Kernel|Main/BuildingAFSIntoTheDigitalUNIXKernel]] +[[Building AFS into the Digital UNIX Kernel|BuildingAFSIntoTheDigitalUNIXKernel]] -## Replacing the fsck Program on Digital UNIX Systems +## Replacing the fsck Program on Digital UNIX Systems Never run the standard fsck program on AFS server partitions. It discards AFS volumes. -[[Replacing the fsck Program on Digital UNIX Systems|Main/ReplacingTheFsckProgramOnDigitalUNIXSystems]] +[[Replacing the fsck Program on Digital UNIX Systems|ReplacingTheFsckProgramOnDigitalUNIXSystems]] -## Configuring Server Volumes on Digital UNIX Systems +## Configuring Server Volumes on Digital UNIX Systems If this system is going to be used as a file server to share some of its disk space, create a directory called /vicepxx for each AFS server partition you are configuring (there must be at least one). If it is not going to be a file server you can skip this step. -[[Configuring Server Volumes on Digital UNIX|Main/ConfiguringServerVolumesOnDigitalUNIX]] +[[Configuring Server Volumes on Digital UNIX|ConfiguringServerVolumesOnDigitalUNIX]] -If the machine is to remain an AFS client, incorporate AFS into its authentication system, following the instructions in [[Enabling AFS Login on Digital UNIX Systems|Main/EnablingAFSLoginOnDigitalUNIXSystems]]. +If the machine is to remain an AFS client, incorporate AFS into its authentication system, following the instructions in [[Enabling AFS Login on Digital UNIX Systems|EnablingAFSLoginOnDigitalUNIXSystems]]. Proceed to Starting Server Programs. -# Getting Started on HP-UX Systems +# Getting Started on HP-UX Systems Begin by building AFS modifications into the kernel, then configure server partitions and replace the HP-UX fsck program with a version that correctly handles AFS volumes. -[[Building AFS into the HP-UX Kernel|Main/BuildingAFSIntoTheHP-UXKernel]] +[[Building AFS into the HP-UX Kernel|BuildingAFSIntoTheHP-UXKernel]] -## Configuring the AFS-modified fsck Program on HP-UX Systems +## Configuring the AFS-modified fsck Program on HP-UX Systems Never run the standard fsck program on AFS server partitions. It discards AFS volumes. -[[Configuring the AFS-modified fsck Program on HP-UX Systems|Main/ConfiguringTheAFS-modifiedFsckProgramOnHP-UXSystems]] +[[Configuring the AFS-modified fsck Program on HP-UX Systems|ConfiguringTheAFS-modifiedFsckProgramOnHP-UXSystems]] -## Configuring Server Volumes on HP-UX Systems +## Configuring Server Volumes on HP-UX Systems If this system is going to be used as a file server to share some of its disk space, create a directory called /vicepxx for each AFS server partition you are configuring (there must be at least one). If it is not going to be a file server you can skip this step. -[[Configuring Server Volumes on HP-UX|Main/ConfiguringServerVolumesOnHP-UX]] +[[Configuring Server Volumes on HP-UX|ConfiguringServerVolumesOnHP-UX]] -If the machine is to remain an AFS client, incorporate AFS into its authentication system, following the instructions in [[Enabling AFS Login on HP-UX Systems|Main/EnablingAFSLoginOnHP-UXSystems]]. +If the machine is to remain an AFS client, incorporate AFS into its authentication system, following the instructions in [[Enabling AFS Login on HP-UX Systems|EnablingAFSLoginOnHP-UXSystems]]. Proceed to Starting Server Programs. -# Getting Started on IRIX Systems +# Getting Started on IRIX Systems Begin by incorporating AFS modifications into the kernel. Either use the ml dynamic loader program, or build a static kernel. Then configure partitions to house AFS volumes. AFS supports use of both EFS and XFS partitions for housing AFS volumes. SGI encourages use of XFS partitions. You do not need to replace IRIX fsck program, because the version that SGI distributes handles AFS volumes properly. -[[Loading AFS into the IRIX Kernel|Main/LoadingAFSIntoTheIRIXKernel]] +[[Loading AFS into the IRIX Kernel|LoadingAFSIntoTheIRIXKernel]] -## Configuring Server Volumes on IRIX Systems +## Configuring Server Volumes on IRIX Systems If this system is going to be used as a file server to share some of its disk space, create a directory called /vicepxx for each AFS server partition you are configuring (there must be at least one). If it is not going to be a file server you can skip this step. -[[Configuring Server Volumes on IRIX|Main/ConfiguringServerVolumesOnIRIX]] +[[Configuring Server Volumes on IRIX|ConfiguringServerVolumesOnIRIX]] -1. If the machine is to remain an AFS client, incorporate AFS into its authentication system, following the instructions in [[Enabling AFS Login on IRIX Systems|Main/EnablingAFSLoginOnIRIXSystems]]. +1. If the machine is to remain an AFS client, incorporate AFS into its authentication system, following the instructions in [[Enabling AFS Login on IRIX Systems|EnablingAFSLoginOnIRIXSystems]]. 1. Proceed to Starting Server Programs. -# Getting Started on Linux Systems +# Getting Started on Linux Systems -[[Loading AFS into the Linux Kernel|Main/LoadingAFSIntoTheLinuxKernel]] +[[Loading AFS into the Linux Kernel|LoadingAFSIntoTheLinuxKernel]] -## Configuring Server Volumes on Linux Systems +## Configuring Server Volumes on Linux Systems If this system is going to be used as a file server to share some of its disk space, create a directory called /vicepxx for each AFS server partition you are configuring (there must be at least one). If it is not going to be a file server you can skip this step. -[[Configuring Server Volumes on Linux|Main/ConfiguringServerVolumesOnLinux]] +[[Configuring Server Volumes on Linux|ConfiguringServerVolumesOnLinux]] -If the machine is to remain an AFS client, incorporate AFS into its authentication system, following the instructions in [[Enabling AFS Login on Linux Systems|Main/EnablingAFSLoginOnLinuxSystems]]. +If the machine is to remain an AFS client, incorporate AFS into its authentication system, following the instructions in [[Enabling AFS Login on Linux Systems|EnablingAFSLoginOnLinuxSystems]]. Proceed to Starting Server Programs. -# Getting Started on Solaris Systems +# Getting Started on Solaris Systems -[[Loading AFS into the Solaris Kernel|Main/LoadingAFSIntoTheSolarisKernel]] +[[Loading AFS into the Solaris Kernel|LoadingAFSIntoTheSolarisKernel]] -## Configuring the AFS-modified fsck Program on Solaris Systems +## Configuring the AFS-modified fsck Program on Solaris Systems Never run the standard fsck program on AFS server partitions. It discards AFS volumes. -[[Configuring the AFS-modified fsck Program on Solaris Systems|Main/ConfiguringTheAFS-modifiedFsckProgramOnSolarisSystems]] +[[Configuring the AFS-modified fsck Program on Solaris Systems|ConfiguringTheAFS-modifiedFsckProgramOnSolarisSystems]] -## Configuring Server Volumes On Solaris +## Configuring Server Volumes On Solaris If this system is going to be used as a file server to share some of its disk space, create a directory called /vicepxx for each AFS server partition you are configuring (there must be at least one). If it is not going to be a file server you can skip this step. -[[Configuring Server Volumes on Solaris|Main/ConfiguringServerVolumesOnSolaris]] +[[Configuring Server Volumes on Solaris|ConfiguringServerVolumesOnSolaris]] -If the machine is to remain an AFS client, incorporate AFS into its authentication system, following the instructions in [[Enabling AFS Login on Solaris Systems|Main/EnablingAFSLoginOnSolarisSystems]]. +If the machine is to remain an AFS client, incorporate AFS into its authentication system, following the instructions in [[Enabling AFS Login on Solaris Systems|EnablingAFSLoginOnSolarisSystems]]. Proceed to Starting Server Programs. -# Starting Server Programs +# Starting Server Programs In this section you initialize the BOS Server, the Update Server, the controller process for NTPD, and the fs process. You begin by copying the necessary server files to the local disk. @@ -279,9 +224,8 @@ In this section you initialize the BOS Server, the Update Server, the controller - - Copy files from the CD-ROM to the local /usr/afs directory. - # cd /cdrom//dest/root.server/usr/afs - - # cp -rp * /usr/afs + `# cd /cdrom//dest/root.server/usr/afs` + `# cp -rp * /usr/afs` 1. Copy the contents of the /usr/afs/etc directory from an existing file server machine, using a remote file transfer protocol such as ftp or NFS. If you use a system control machine, it is best to copy the contents of its /usr/afs/etc directory. If you choose not to run a system control machine, copy the directory's contents from any existing file server machine. @@ -295,6 +239,7 @@ In this section you initialize the BOS Server, the Update Server, the controller By default, the Update Server performs updates every 300 seconds (five minutes). Use the -t argument to specify a different number of seconds. For the machine name argument, substitute the name of the machine you are installing. The command appears on multiple lines here only for legibility reasons. + # ./bos create upclientetc simple \ "/usr/afs/bin/upclient \ [-t