...
Log in as root on kb-test-adm-001
kbssh
test@kb-test-adm-
001
su
Stop the postgresdb and wait a couple of minutes.
/etc/init.d/postgresql stop
- Verify that the GUI has lost the connection to the database by listing domains or harvest definitions.
Restart the database
/etc/init.d/postgresql start
- Check that the different GUI pages works as usual.
- Create a new active selecive and verify the a job is created and started.
...
login on to kb-test-adm-001 as root and stop the networkinterface by installing a cron-job that does this for you:
Install script restartNetworkWithWait.sh as root cronjob (Add 0 17 * * * (/root/restartNetworkWithWait.sh) to restart network at 5 PM)#!/bin/bash
# stopping network
/etc/init.d/network stop
# waiting
3
minutes
/bin/sleep 3m
# starting network
/etc/init.d/network start
- Check that the connection to the GUI is lost.
- After 5 minutes verify the system comes back online
- Verify that the GUI pages are working properly.
- Create a new active selective harvest definition and verify that a new job is created and started.
- Run a batch job or two and verify these work correctly.
...