2 separate instances of ssh under same Solaris 10 service

2007-12-25 6:03:00

I'm trying to have two separate instances of ssh controlled under the
same service.

The instances are on different ports and with different authorization
settings, however I would like to control and monitor them under the
same service.

Modifying the file /lib/svc/method/ssh is simple but how to convince
/var/svc/manifest/network/ssh.xml to monitor both instances and restart
them if either fails.

Currently, after modifying only /lib/svc/method/ssh, only the first
instance of ssh is monitored and if the other one dies, no restart occurs.

If nothing else works, I'll put each instance under a separate service.

Thanks

alex

Comments

Got something to say?

You must be logged in to post a comment.