Skip to content
This repository was archived by the owner on Jul 21, 2019. It is now read-only.

Commit 053f055

Browse files
author
Charles Loomis
committed
corrections and expanded information
1 parent b8f9647 commit 053f055

File tree

3 files changed

+76
-8
lines changed

3 files changed

+76
-8
lines changed

source/admin-tutorial/02-prerequisites.rst

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,20 @@ The machine must have a CPU that supports the VT-x virtualization
2929
extensions and must have this support enabled in the BIOS. **Many
3030
vendors ship machines with these extensions disabled.**
3131

32-
RedHat has a `good document <http://virt-tools.org/learning/check-hardware-virt/>`__
33-
for checking if your machine will support virtualization. In short, check
34-
the `/proc/cpuinfo` for the proper flags and check the `dmesg` console
35-
for any KVM errors when trying to load the KVM kernel module.
32+
RedHat has a `good document
33+
<http://virt-tools.org/learning/check-hardware-virt/>`__ for checking
34+
if your machine will support virtualization. In short, check the
35+
`/proc/cpuinfo` for the proper flags::
36+
37+
$ grep vmx /proc/cpuinfo
38+
39+
and check the `dmesg` console for any KVM errors when trying to load
40+
the KVM kernel module::
41+
42+
$ dmesg | grep kvm
43+
44+
looking for any messages about KVM not supporting virtualisation or
45+
having it disabled in BIOS.
3646

3747
Operating System
3848
----------------
@@ -100,6 +110,21 @@ configuration parameters below as necessary.
100110

101111
The "Node" machine can be configured with a single LVM group.
102112

113+
You can see the configured volume groups with the command::
114+
115+
$ vgdisplay
116+
117+
--- Volume group ---
118+
VG Name rootvg
119+
System ID
120+
Format lvm2
121+
...
122+
123+
You'll need the volume group name "VG Name" of the volume group you'll
124+
be using for the cloud storage. Verify that the device associated
125+
with the group name exists. Here for example, the device is
126+
`/dev/rootvg`.
127+
103128
Software
104129
--------
105130

@@ -131,6 +156,9 @@ The configuration for the CentOS repository is done when the system is
131156
installed and the IGTF repository will be configured by the StratusLab
132157
tools as necessary. The others require explicit configuration.
133158

159+
The directory `/etc/yum.repos.d` contains the currently configured yum
160+
repositories.
161+
134162
EPEL Repository
135163
^^^^^^^^^^^^^^^
136164

source/admin-tutorial/04-config-params.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ for the Persistent Disk service::
4747

4848
# *** NOTE: Copy the following exactly. Be careful of ***
4949
# *** the opening and closing single quotes! ***
50+
5051
$ stratus-config persistent_disk_backend_sections '
5152
[%(persistent_disk_ip)s]
5253
type=LVM
@@ -70,9 +71,11 @@ Use the frontend as the general gateway for the cloud::
7071

7172
Set the IP and mac addresses for virtual machines::
7273

74+
# space-separated list
7375
$ stratus-config one_public_network_addr \
7476
134.158.xx.yy 134.158.xx.yy 134.158.xx.yy
7577

78+
# space-separated list
7679
$ stratus-config one_public_network_mac \
7780
0a:0a:86:9e:49:2a 0a:0a:86:9e:49:2b 0a:0a:86:9e:49:2c
7881

@@ -99,9 +102,11 @@ the Front End. Do the following::
99102
$ stratus-config dhcp_lease_time 3600
100103

101104
$ stratus-config dhcp_one_public_network True
102-
$ stratus-config dhcp_one_local_network_routers $FRONTEND_IP
103-
$ stratus-config dhcp_one_local_network_domain_name lal.in2p3.fr
104-
$ stratus-config dhcp_one_local_network_domain_name_servers \
105+
$ stratus-config dhcp_one_public_network_routers $FRONTEND_IP
106+
$ stratus-config dhcp_one_public_network_domain_name lal.in2p3.fr
107+
108+
# comma-separated list
109+
$ stratus-config dhcp_one_public_network_domain_name_servers \
105110
134.158.91.80, 134.158.88.149
106111

107112
Use **your** values for these parameters!

source/admin-tutorial/05-frontend.rst

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,45 @@ Now that we have defined all of the configuration parameters, you can
66
now do the full Front End installation by issuing the following
77
command::
88

9-
$ stratus-install -vv
9+
$ stratus-install -vv 2>&1 | tee frontend-install.log
1010

1111
To get more details on what the command is (because of curiosity or
1212
errors), use the option ``-v``, ``-vv``, or ``-vvv``.
1313

1414
If you run into errors, the ``stratus-install`` command can simply be
1515
rerun after adjusting the configuration parameters.
16+
17+
When the installation completes successfully, you should see the
18+
following services running on the machine::
19+
20+
$ service nginx status
21+
nginx (pid 15215) is running...
22+
23+
$ service one-proxy status
24+
Checking arguments to Jetty:
25+
...
26+
Jetty running pid=15847
27+
28+
$ service pdisk status
29+
Checking arguments to Jetty:
30+
...
31+
Jetty running pid=17099
32+
33+
You should also see a web page running at `https://${FRONTEND_HOST}/`
34+
that lists these services::
35+
36+
$ curl -k https://${FRONTEND_HOST}/
37+
<html>
38+
...
39+
<a href="readme.html">readme.html</a>
40+
...
41+
<a href="svc-one-proxy.html">svc-one-proxy.html</a>
42+
...
43+
<a href="svc-pdisk.html">svc-pdisk.html</a>
44+
...
45+
</html>
46+
47+
If the page doesn't appear or any of the services are not running, you
48+
should investigate the errors in the log files. The log files for all
49+
StratusLab services are in `/var/log/stratuslab`. Each service in a
50+
separate subdirectory.

0 commit comments

Comments
 (0)