Skip to content

Commit adbd8b7

Browse files
committed
Fix for bnc #874171 ([doc] be clearer that copying files from ISOs is not required)
git-svn-id: http://svn.suse.de/svn/doc/trunk/cloud/en@59229 2463f871-af05-0410-bd21-ebfa852e3ce4
1 parent 34b1c65 commit adbd8b7

1 file changed

Lines changed: 37 additions & 21 deletions

File tree

xml/depl_inst_admin.xml

Lines changed: 37 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -916,13 +916,13 @@ smt-mirror -L /var/log/smt/smt-mirror_ha.log</screen>
916916
<title>Product Repositories</title>
917917
<para>
918918
The files in the product repositories for &sls; and &cloud; do not
919-
change, therefore they do not need to be synced with a remote source.
920-
It is sufficient (and recommended) to copy the data once, either from a
921-
remote host or directly from the installation media. Alternatively you
922-
may mount the product repository from a remote server via
923-
<literal>NFS</literal>. Note that the data
924-
<emphasis>must</emphasis> be directly available from the local
925-
directories listed below. It is not possible to use links.
919+
change, therefore they do not need to be synced with a remote source. It
920+
is sufficient to either copy the data (from a remote host or the
921+
installation media) or mount the product repository from a remote server
922+
via <literal>NFS</literal>. Alternatively you may copy the iso images of
923+
DVD1 from both products to the admin node and <quote>loop mount</quote>
924+
them. Note that the data <emphasis>must</emphasis> be directly available
925+
from the local directories listed below. It is not possible to use links.
926926
</para>
927927
<para>
928928
While the &sls; product repository must be made available locally, the
@@ -933,7 +933,8 @@ smt-mirror -L /var/log/smt/smt-mirror_ha.log</screen>
933933
</para>
934934
<para>
935935
The following product repositories need to be available for
936-
&productname; deployment:
936+
&productname; deployment. Make sure to create these directories prior to
937+
copying or mounting the data:
937938
</para>
938939
<table>
939940
<title>Local Product Repositories for &cloud;</title>
@@ -990,17 +991,15 @@ smt-mirror -L /var/log/smt/smt-mirror_ha.log</screen>
990991
it first (for example, after inserting the DVD in the &admserv; and
991992
waiting for the device to become ready):
992993
</para>
993-
<screen>mkdir -p /srv/tftpboot/suse-11.3/install/
994-
mount /dev/dvd /mnt
994+
<screen>mount /dev/dvd /mnt
995995
rsync -avP /mnt/ /srv/tftpboot/suse-11.3/install/
996996
umount /mnt</screen>
997997
<para>
998998
Also make the contents of the &productname; product repository
999999
available at <filename>/srv/tftpboot/repos/Cloud/</filename> the same
10001000
way:
10011001
</para>
1002-
<screen>mkdir -p /srv/tftpboot/repos/Cloud/
1003-
mount /dev/dvd /mnt
1002+
<screen>mount /dev/dvd /mnt
10041003
rsync -avP /mnt/ /srv/tftpboot/repos/Cloud/
10051004
umount /mnt</screen>
10061005
</sect4>
@@ -1020,15 +1019,32 @@ umount /mnt</screen>
10201019
way:
10211020
</para>
10221021
<screen>rsync -avPz /data/Cloud/ <replaceable>192.168.124.10</replaceable>:/srv/tftpboot/repos/Cloud/</screen>
1023-
<note>
1024-
<title>Target directories must exist</title>
1025-
<para>
1026-
Make sure the target directories for the rsync commands
1027-
(<filename>/srv/tftpboot/suse-11.3/install/</filename> and
1028-
<filename>/srv/tftpboot/repos/Cloud/</filename>) exist on the &admserv;
1029-
prior to executing rsync.
1030-
</para>
1031-
</note>
1022+
</sect4>
1023+
<sect4 id="sec.depl.inst.admserv.post.local_repos.product.media.nfs">
1024+
<title>Mounting from an NFS Share</title>
1025+
<para>
1026+
If the SLES installation data is provided via NFS by a remote machine,
1027+
mount them as follows:
1028+
</para>
1029+
<screen>mount -t nfs <replaceable>nfs.&exampledomain;:/exports/SLES-11-SP3/x86_64/DVD1/</replaceable> /srv/tftpboot/suse-11.3/install
1030+
mount -t nfs <replaceable>nfs.&exampledomain;:/exports/SUSE-CLOU/DVD1/</replaceable> /srv/tftpboot/repos/Cloud</screen>
1031+
<para>
1032+
To automatically mount these directories either create entries in
1033+
<filename>/etc/fstab</filename> or set up the automounter.
1034+
</para>
1035+
</sect4>
1036+
<sect4 id="sec.depl.inst.admserv.post.local_repos.product.media.iso">
1037+
<title>Mounting ISO Images</title>
1038+
<para>
1039+
The product repositories can also be made available by copying the iso
1040+
images of DVD1 to the &admserv; and mounting them:
1041+
</para>
1042+
<screen>mount -o loop <replaceable>/local/SLES-11-SP3-DVD-x86_64-DVD1.iso</replaceable> /srv/tftpboot/suse-11.3/install
1043+
mount -o loop <replaceable>/local/SUSE-CLOUD-3-DVD1.iso</replaceable> /srv/tftpboot/repos/Cloud</screen>
1044+
<para>
1045+
To automatically mount these directories either create entries in
1046+
<filename>/etc/fstab</filename> or set up the automounter.
1047+
</para>
10321048
</sect4>
10331049
</sect3>
10341050
<sect3 id="sec.depl.inst.admserv.post.local_repos.update">

0 commit comments

Comments
 (0)