Skip to content

Commit 3660402

Browse files
committed
Update README.md
1 parent 21c246d commit 3660402

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,31 +139,26 @@ batch_system = SLURM
139139
```
140140
Set these paths as needed. The raw stats data will be stored in the `archive_dir` and processed stats data in the `pickles_dir`. `machine` should match the system name used in the RabbitMQ server `QUEUE` field. This is the only field that needs to match
141141
anything in the `monitor` subpackage.
142-
143142
3. Install `tacc_stats`
144143
```
145144
$ pip install tacc_stats/
146145
```
147-
148146
4. Start the RabbitMQ server reader in the background, e.g.
149147
```
150148
$ nohup listend.py > /tmp/listend.log
151149
```
152150
Raw stats files will now be generated in the `archive_dir`.
153-
154151
5. A PostgreSQL database must be setup on the host. To do this, after installation
155152
run
156153
```
157154
$ python manage.py migrate
158155
```
159156
This will generate a table named `machine_db` in your database.
160-
161157
6. Setup cron jobs to process raw data and ingest into database. Add the following to your
162158
cron file
163159
```
164160
*/15 * * * * source /home/rtevans/testing/bin/activate; job_pickles.py; update_db.py > /tmp/ls5_update.log 2>&1
165161
```
166-
167162
7. Next configure the Apache server (make sure it is installed and the `mod_wsgi` Apache module is installed)
168163
A sample configuration file, `/etc/httpd/conf.d/ls5.conf`, looks like
169164
```
@@ -184,10 +179,8 @@ Require all granted
184179
</Directory>
185180
</VirtualHost>
186181
```
187-
188182
8. Start up Apache
189183

190-
191184
### Running `job_pickles.py`
192185
`job_pickles.py` can be run manually by:
193186

0 commit comments

Comments
 (0)