...
Code Block | ||
---|---|---|
| ||
TOOL="Services" |
Sample ps-universal.sh script attached.
Step 2. Creating conf files
...
Code Block | ||
---|---|---|
| ||
#!/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 | ||
---|---|---|
| ||
..
<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.
...