Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
title/etc/init.d/ps-universal.sh
TOOL="Services"

Sample ps-universal.sh script attached.

Step 2. Creating conf files

...

Code Block
title/mnt/store/knoppix.local.sh

#!/bin/bash

# symbolic link to perfSONAR universal script
ln -s /etc/init.d/ps-universal.sh /etc/rc3.d/S18perfsonar.sh
ln -s /etc/init.d/mysql /etc/rc3.d/S17mysq.sh

# copy "port 8075" conf files to /usr/local/etc/perfSONAR
# so that services deliberately fail to launch
# since we have already launched these
cp /mnt/store/ps-confs/*.conf /usr/local/etc/perfSONAR/

Now create a directory "/mnt/store/ps-confs" and copy all modified conf files (with all port and arguments as 8075 and ls_instance value 8075). Sample conf file:

Code Block
title/mnt/store/ps-confs/PingER.conf or pSB_MA.conf or SNMP_MA.conf or hLS.conf

..
<port 8075>
..
  ..
    ..
      ls_instance     http://localhost:8075/perfSONAR_PS/services/hLS
    ..
  ..
..
</port>
..
ls_instance     http://locahost:8075/perfSONAR_PS/services/hLS
..

Samples attached: PingER.sh, pSB.conf, hLS.conf and SNMP_MA.conf

To test reboot the system and try netstat or telnet to see whether this works.

...