[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
First, you must check that Diogene87's daemon is running (see section 8.1 Start the deamon).
For diogene87, a target is a computer where jobs will be run. The `dio87d' daemon must be launched on each target computer. The system target `localhost' represents the local computer, this target can't be deleted.
We use the tl
command to print the target list, and the
ti
command to print informations about the `localhost'
target :
$ dio87c -- tl localhost $ $ dio87c -- ti localhost Target name: localhost Description: Opened: true Host name : IP Port: 9993 $ $ |
If we want to create a target for a remote computer, we must call
the ta
command. For example, we can add a second target for
the `egon' computer :
$ ping egon PING egon (192.168.0.1): 56 data bytes 64 bytes from 192.168.0.1: icmp_seq=0 ttl=255 time=0.6 ms 64 bytes from 192.168.0.1: icmp_seq=1 ttl=255 time=0.2 ms --- egon ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 0.2/0.4/0.6 ms $ dio87c -- ta egon $ dio87c -- tl localhost egon $ |
If the target name is too long (more than 60 characters) or if you want to
keep short friendly name to define targets, you can use tsh
command to define a long hostname for the target. For example, you can
create a target named `my_computer' with a long host name
(`a_very_long.name_for_a_computer.com') :
$ dio87c ta my_computer $ $ dio87c tsh my_computer "a_very_long.name_for_a_computer.com" $ $ dio87c ti my_computer Target name: my_computer Description: Host Name: a_very_long.name_for_a_computer.com IP Port: 9993 $ |
A target can be closed to stop the job execution : when a target is closed, new jobs which are submited are holded until the target is re-opened. The jobs which are running on the target before closing continue.
This feature is very useful if a computer must be halt. The operator closes the target and waits that running jobs finishes. He can quietly boot the server. When he is finished, he can re-open the target. Jobs which were holded will be run.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |