Structure changes to the linuxemu chapter. Whitespace. No content.

This commit is contained in:
Tom Rhodes 2002-05-16 17:14:49 +00:00
parent 9ba764ae23
commit f7e4314f90
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=13104

View file

@ -1179,51 +1179,60 @@ export PATH</programlisting>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>Number</entry>
<entry>Title</entry>
</row>
</thead>
<tbody>
<row>
<entry>0015023</entry> <entry>Initializing table TCPDB (RSXP0004)
(EBCDIC)</entry>
</row>
<row>
<entry>0045619</entry> <entry>R/3 with several languages or
typefaces</entry>
</row>
<row>
<entry>0171356</entry> <entry>SAP Software on Linux: Essential
Comments</entry>
</row>
<row>
<entry>0195603</entry> <entry>RedHat 6.1 Enterprise version:
Known problems</entry>
</row>
<row>
<entry>0212876</entry> <entry>The new archiving tool SAPCAR</entry>
</row>
<row>
<entry>0300900</entry> <entry>Linux: Released DELL Hardware</entry>
</row>
<row>
<entry>0377187</entry> <entry>RedHat 6.2: important remarks</entry>
</row>
<row>
<entry>0387074</entry> <entry>INST: R/3 4.6C SR2 Installation on
UNIX</entry>
</row>
<row>
<entry>0387077</entry> <entry>INST: R/3 4.6C SR2 Inst. on UNIX -
Oracle</entry>
</row>
<row>
<entry>0387078</entry> <entry>SAP Software on UNIX: OS Dependencies
4.6C SR2</entry>
</row>
</tbody>
<thead>
<row>
<entry>Number</entry>
<entry>Title</entry>
</row>
</thead>
<tbody>
<row>
<entry>0015023</entry> <entry>Initializing table TCPDB (RSXP0004)
(EBCDIC)</entry>
</row>
<row>
<entry>0045619</entry> <entry>R/3 with several languages or
typefaces</entry>
</row>
<row>
<entry>0171356</entry> <entry>SAP Software on Linux: Essential
Comments</entry>
</row>
<row>
<entry>0195603</entry> <entry>RedHat 6.1 Enterprise version:
Known problems</entry>
</row>
<row>
<entry>0212876</entry> <entry>The new archiving tool SAPCAR</entry>
</row>
<row>
<entry>0300900</entry> <entry>Linux: Released DELL Hardware</entry>
</row>
<row>
<entry>0377187</entry> <entry>RedHat 6.2: important remarks</entry>
</row>
<row>
<entry>0387074</entry> <entry>INST: R/3 4.6C SR2 Installation on
UNIX</entry>
</row>
<row>
<entry>0387077</entry> <entry>INST: R/3 4.6C SR2 Inst. on UNIX -
Oracle</entry>
</row>
<row>
<entry>0387078</entry> <entry>SAP Software on UNIX: OS Dependencies
4.6C SR2</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</sect3>
@ -1237,50 +1246,52 @@ export PATH</programlisting>
use, a more exact sizing is of course needed:</para>
<informaltable>
<tgroup cols="3">
<thead>
<row>
<entry>Component</entry>
<entry>4.6B</entry>
<entry>4.6C</entry>
</row>
</thead>
<tbody>
<row>
<entry>Processor</entry>
<entry>2 x 800MHz Pentium III</entry>
<entry>2 x 800MHz Pentium III</entry>
</row>
<row>
<entry>Memory</entry>
<entry>1GB ECC</entry>
<entry>2GB ECC</entry>
</row>
<row>
<entry>Hard Disk Space</entry>
<entry>50-60GB (IDES)</entry>
<entry>50-60GB (IDES)</entry>
</row>
</tbody>
<tgroup cols="3">
<thead>
<row>
<entry>Component</entry>
<entry>4.6B</entry>
<entry>4.6C</entry>
</row>
</thead>
<tbody>
<row>
<entry>Processor</entry>
<entry>2 x 800MHz Pentium III</entry>
<entry>2 x 800MHz Pentium III</entry>
</row>
<row>
<entry>Memory</entry>
<entry>1GB ECC</entry>
<entry>2GB ECC</entry>
</row>
<row>
<entry>Hard Disk Space</entry>
<entry>50-60GB (IDES)</entry>
<entry>50-60GB (IDES)</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<para>For use in production, Xeon-Processors with large cache,
high-speed disk access (SCSI, RAID hardware controller), USV
and ECC-RAM is recommended. The large amount of hard disk
space is due to the preconfigured IDES System, which creates
space is due to the preconfigured IDES System, which creates
27 GB of database files during installation. This space is
also sufficient for initial production systems and application
data.</para>
<sect3 id="hardware-46b">
<title>SAP R/3 4.6B, Oracle 8.0.5</title>
<title>SAP R/3 4.6B, Oracle 8.0.5</title>
<para>The following off-the-shelf hardware was used: a dual processor
board with 2 800MHz Pentium III processors, Adaptec 29160 Ultra160
SCSI adapter (for accessing a 40/80 GB DLT tape drive and CDROM),
<para>The following off-the-shelf hardware was used: a dual processor
board with 2 800MHz Pentium III processors, Adaptec 29160 Ultra160
SCSI adapter (for accessing a 40/80 GB DLT tape drive and CDROM),
Mylex AcceleRAID (2 channels, firmware 6.00-1-00 with 32MB RAM).
To the Mylex Raid-controller are attached two 17GB hard disks
To the Mylex Raid-controller are attached two 17GB hard disks
(mirrored) and four 36GB hard disks (RAID level 5).</para>
</sect3>
@ -1301,7 +1312,7 @@ export PATH</programlisting>
<para>First you have to install FreeBSD. There are several ways to do
this (FreeBSD 4.3 was installed via FTP, FreeBSD 4.5 directly from
release-CD).</para>
release-CD).</para>
<sect3 id="disk-layout">
<title>Disk Layout</title>
@ -1309,86 +1320,92 @@ export PATH</programlisting>
<para>To keep it simple, the same disk layout both for the
<application>SAP R/3 46B-</application> and <application>SAP R/3 46C
SR2-</application>installation was used. Only the device names
changed, as the installations were on different hardware (/dev/da
changed, as the installations were on different hardware (/dev/da
and /dev/amr respectively, so if using an AMI MegaRAID, one will see
/dev/amr0s1a instead of /dev/da0s1a):</para>
/dev/amr0s1a instead of /dev/da0s1a):</para>
<informaltable>
<tgroup cols="4">
<thead>
<row>
<entry>Filesystem</entry>
<entry>Size (1k-blocks)</entry>
<entry>Size (GB)</entry>
<entry>Mounted on</entry>
</row>
</thead>
<tbody>
<row>
<entry>/dev/da0s1a</entry>
<entry>1.016.303</entry>
<entry>1</entry>
<entry>/</entry>
</row>
<row>
<entry>/dev/da0s1b</entry>
<entry> </entry>
<entry>6</entry>
<entry>&lt;swap&gt;</entry>
</row>
<row>
<entry>/dev/da0s1e</entry>
<entry>2.032.623</entry>
<entry>2</entry>
<entry>/var</entry>
</row>
<row>
<entry>/dev/da0s1f</entry>
<entry>8.205.339</entry>
<entry>8</entry>
<entry>/usr</entry>
</row>
<row>
<entry>/dev/da1s1e</entry>
<entry>45.734.361</entry>
<entry>45</entry>
<entry>/compat/linux/oracle</entry>
</row>
<row>
<entry>/dev/da1s1f</entry>
<entry>2.032.623</entry>
<entry>2</entry>
<entry>/compat/linux/sapmnt</entry>
</row>
<row>
<entry>/dev/da1s1g</entry>
<entry>2.032.623</entry>
<entry>2</entry>
<entry>/compat/linux/usr/sap</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<informaltable>
<tgroup cols="4">
<thead>
<row>
<entry>Filesystem</entry>
<entry>Size (1k-blocks)</entry>
<entry>Size (GB)</entry>
<entry>Mounted on</entry>
</row>
</thead>
<tbody>
<row>
<entry>/dev/da0s1a</entry>
<entry>1.016.303</entry>
<entry>1</entry>
<entry>/</entry>
</row>
<row>
<entry>/dev/da0s1b</entry>
<entry> </entry>
<entry>6</entry>
<entry>&lt;swap&gt;</entry>
</row>
<row>
<entry>/dev/da0s1e</entry>
<entry>2.032.623</entry>
<entry>2</entry>
<entry>/var</entry>
</row>
<row>
<entry>/dev/da0s1f</entry>
<entry>8.205.339</entry>
<entry>8</entry>
<entry>/usr</entry>
</row>
<row>
<entry>/dev/da1s1e</entry>
<entry>45.734.361</entry>
<entry>45</entry>
<entry>/compat/linux/oracle</entry>
</row>
<row>
<entry>/dev/da1s1f</entry>
<entry>2.032.623</entry>
<entry>2</entry>
<entry>/compat/linux/sapmnt</entry>
</row>
<row>
<entry>/dev/da1s1g</entry>
<entry>2.032.623</entry>
<entry>2</entry>
<entry>/compat/linux/usr/sap</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<para>Configure and initialize the two logical drives
with the Mylex- or PERC/3 RAID software beforehand.
The software can be started during the
with the Mylex- or PERC/3 RAID software beforehand.
The software can be started during the
bios boot phase.</para>
<para> Please note that this disk layout differs slightly from
the SAP recommendations, as SAP suggests mounting the
oracle-subdirectories (and some others) separately - I
decided to just create them as real subdirectories for
simplicity.</para>
<para> Please note that this disk layout differs slightly from
the SAP recommendations, as SAP suggests mounting the
oracle-subdirectories (and some others) separately - I
decided to just create them as real subdirectories for
simplicity.</para>
</sect3>
<sect3 id="makeworldandnewkernel">
<title><command>make world</command> and a New Kernel</title>
<title><command>make world</command> and a New Kernel</title>
<para>Download the latest stable-sources. Rebuild world and your
custom kernel after configuring your kernel configuration file.
Here you should also include the
<link linkend="kerneltuning">kernel parameters</link>
<link linkend="kerneltuning">kernel parameters</link>
which are required for both <application>SAP R/3</application>
and <application>Oracle</application>.</para>
</sect3>
@ -1398,72 +1415,73 @@ export PATH</programlisting>
<title>Installing the Linux Environment</title>
<para>During the first installation with FreeBSD 4.3-STABLE I had some
trouble downloading the required RPM-files (for 4.3 stable, 2nd May
trouble downloading the required RPM-files (for 4.3 stable, 2nd May
2001), but with FreeBSD 4.5-STABLE, everything went very smooth.
Should you encounter some problems, try to download those files by
hand. For a list of RPM-Mirrors and required files, see the
corresponding makefile.</para>
<sect3 id="installinglinuxbase-system">
<title>Installing Linux Base-system</title>
<title>Installing Linux Base-system</title>
<para>First the <link linkend="linuxemu-libs-port">linux_base</link>
<para>First the <link linkend="linuxemu-libs-port">linux_base</link>
port needs to be installed (as <username>root</username>). This is
currently <filename>linux_base-6</filename>.</para>
<screen>&prompt.root; <userinput>cd /usr/ports/emulators/linux_base</userinput>
<screen>&prompt.root; <userinput>cd /usr/ports/emulators/linux_base</userinput>
&prompt.root; <userinput>make package</userinput></screen>
</sect3>
<sect3 id="installinglinuxdevelopment">
<title>Installing Linux Development</title>
<title>Installing Linux Development</title>
<para>The Linux development is needed, if you want to install
<para>The Linux development is needed, if you want to install
<application>Oracle</application> on FreeBSD according to the
corresponding description in the handbook:</para>
<screen>&prompt.root; <userinput>cd /usr/ports/devel/linux_devtools</userinput>
<screen>&prompt.root; <userinput>cd /usr/ports/devel/linux_devtools</userinput>
&prompt.root; <userinput>make package</userinput></screen>
<para>Linux Development has only been installed for the <application>SAP
<para>Linux Development has only been installed for the <application>SAP
R/3 46B IDES-</application> installation. It is not needed, if
the <application>Oracle DB</application> is not relinked on the
FreeBSD system. This is the case if you are using the
<application>Oracle</application> tarball from a linux system.</para>
<application>Oracle</application> tarball from a linux system.</para>
</sect3>
<sect3 id="installingnecessaryrpms">
<title>Installing Necessary RPMs</title>
<title>Installing Necessary RPMs</title>
<indexterm><primary>RPMs</primary></indexterm>
<para>To start the R3SETUP-Program, pam support is needed.
<para>To start the R3SETUP-Program, pam support is needed.
During the first SAP-Installation on FreeBSD 4.3-STABLE I
tried to install pam with all the required packages and
finally forced the installation of the pam package, which
worked. For <application>SAP R/3 4.6C SR2</application> I
directly forced the installation of pam rpm, which also
directly forced the installation of pam rpm, which also
works, so it seems the dependend packages are not needed:</para>
<screen>&prompt.root; <userinput>rpm -i --ignoreos --nodeps --root /compat/linux --dbpath /var/lib/rpm \
pam-0.68-7.i386.rpm</userinput></screen>
<screen>&prompt.root; <userinput>rpm -i --ignoreos --nodeps --root /compat/linux --dbpath /var/lib/rpm \
pam-0.68-7.i386.rpm</userinput></screen>
<para>For <application>Oracle 8.0.5</application> to run the
intelligent agent, I also had to install the RedHat Tcl package
<filename>tcl-8.0.5-30.i386.rpm</filename> (otherwise the
relinking during <application>Oracle</application> install
will not work). There are some other issues regarding
relinking of <application>Oracle</application>, but that is
intelligent agent, I also had to install the RedHat Tcl package
<filename>tcl-8.0.5-30.i386.rpm</filename> (otherwise the
relinking during <application>Oracle</application> install
will not work). There are some other issues regarding
relinking of <application>Oracle</application>, but that is
a Oracle-Linux issue, not FreeBSD specific.</para>
</sect3>
<sect3 id="linuxprocandfallbackelfbrand">
<title>Some additional hints</title>
<para>It might also be a good idea to add <filename>linprocfs</filename>
to <filename>/etc/fstab</filename>. See <command>man linprocfs</command>.
Another parameter to set is <emphasis>kern.fallback_elf_brand=3</emphasis>
@ -1475,41 +1493,43 @@ export PATH</programlisting>
<title>Creating the SAP/R3 Environment</title>
<sect3 id="filesystemsandmountpoints">
<title>Creating the Necessary Filesystems and Mountpoints</title>
<title>Creating the Necessary Filesystems and Mountpoints</title>
<para>For a simple installation, it is sufficient to create the
<para>For a simple installation, it is sufficient to create the
following filesystems:</para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>mountpoint</entry>
<entry>size in GB</entry>
</row>
</thead>
<tbody>
<row>
<entry>/compat/linux/oracle</entry>
<entry>45 GB</entry>
</row>
<row>
<entry>/compat/linux/sapmnt</entry>
<entry>2 GB</entry>
</row>
<row>
<entry>/compat/linux/usr/sap</entry>
<entry>2 GB</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>mountpoint</entry>
<entry>size in GB</entry>
</row>
</thead>
<tbody>
<row>
<entry>/compat/linux/oracle</entry>
<entry>45 GB</entry>
</row>
<para>It is also necessary to created some links. Otherwise
<row>
<entry>/compat/linux/sapmnt</entry>
<entry>2 GB</entry>
</row>
<row>
<entry>/compat/linux/usr/sap</entry>
<entry>2 GB</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<para>It is also necessary to created some links. Otherwise
the SAP-Installer will complain, as it is checking the
created links:</para>
<screen>&prompt.root; <userinput>ln -s /compat/linux/oracle /oracle</userinput>
<screen>&prompt.root; <userinput>ln -s /compat/linux/oracle /oracle</userinput>
&prompt.root; <userinput>ln -s /compat/linux/sapmnt /sapmnt</userinput>
&prompt.root; <userinput>ln -s /compat/linux/usr/sap /usr/sap</userinput></screen>
@ -1518,7 +1538,7 @@ export PATH</programlisting>
<application>SAP R/3 4.6C SR2</application>
installation):</para>
<screen>INFO 2002-03-19 16:45:36 R3LINKS_IND_IND SyLinkCreate:200
<screen>INFO 2002-03-19 16:45:36 R3LINKS_IND_IND SyLinkCreate:200
Checking existence of symbolic link /usr/sap/PRD/SYS/exe/dbg to
/sapmnt/PRD/exe. Creating if it does not exist...
@ -1534,9 +1554,9 @@ ERROR 2002-03-19 16:45:36 R3LINKS_IND_IND Ins_SetupLinks:0
</sect3>
<sect3 id="creatingusersanddirectories">
<title>Creating Users and Directories</title>
<title>Creating Users and Directories</title>
<para><application>SAP R/3</application> needs two users and
<para><application>SAP R/3</application> needs two users and
three groups. The usernames depend on the
<application>SAP</application> system id (SID) which consists
of three letters. Some of these SIDs are reserved