On 07/Mar/2008 22:39 Ivan Garcia wrote ..
Hi Jamie,

the DHCP servers can have a different configuration, the suggestion of connecting via SSh is because we have around 23 DHCP servers to mantain and install webmin in all of them can be tedious if I'm not wrong.

Not really .. if your servers all support RPM packages, you can install Webmin on them via SSH with a single command like :
ssh root@someserver rpm -U http://www.webmin.com/download/rpm/webmin-current.rpm

This will set it up to allow logins by root with the Unix root password.

Anyway, in the case we decide to create a webmin cluster in all of them, could we list all the DHCP leases from a single centralized page? I also woud like to show the samba Windows Users logged using that machine-IP(analizing the samba log file) so it could be a powerful monitoring centralized page.

That could certainly be implemented, as the remote servers already provide functions to get the Samba users and DHCP leases. But it's not in the current release of Webmin ..

 - Jamie

Resuming: We would like to create a page like this:

Centralized DHCP Leases:

- Localhost:
   IP,                    MAC , Samba User, HostName,          Active, Lease duration
--------------------------------------------------------------------------------------------------------------------
  192.168.0.2 , ff:ff:ff:ff:ff ,      sandra        samba-laptop     YES     1day                    (Remove Lease) (Make static)
   etc

-Branch1 (10.1.5.1)

   IP,                    MAC , Samba User, HostName,          Active, Lease duration
--------------------------------------------------------------------------------------------------------------------
  192.168.3.1 , ff:ff:ff:ff:ee ,      peter        peter-desktop     YES    4hours                   (Remove Lease) (Make static)


etc.

I hope you understand my idea.

Best Regards.


On Sat, Mar 8, 2008 at 2:08 PM, Jamie Cameron <jcameron@webmin.com> wrote:

Hi Ivan,

I would tend to favour option 1, as that is the way all the other Webmin cluster modules work - there is no dependency on SSH or need to configure it, instead the remote system just has to be added in the Webmin Servers Index module.

In this case, would you want all these DHCP servers to share the same configuration or leases? If not, you could just install Webmin on each system and login to them remotely from a single PC to configure their DHCP servers independently ..

 - Jamie

On 07/Mar/2008 22:05 Ivan Garcia wrote ..

Hello Jamie,

Currently the DHCP leases funciton of Webmin works locally with the dchp.leases file and the dhcpd.conf (for configuration and static hosts), could our local Webmin server connect internally via ssh to other linux servers to read and modify these files in order to be able to list and configure their DHCP?

These could be done in 2 ways:
1 - Using a webmin cluster:
    - Advantage: No need to store their passwords(in case that we share the same user/password in all the cluster)
    - Disadvantage: We need to install webmin in all the other remote DHCP servers.
2 -Connect to the remote DHCP servers via SSH:
   - Advantage: No need to install webmin on them.
   - Note(to Confirm): If we create an root user in the remote DHCP servers with the same password than our current webmin administrator, then we don't need to store passwords in our Webmin.

That's the reason I would sugest the 2nd way. Let me know your feedback about it.

By the way, is there any already implemented webmin module that connects internally trought ssh to another sever(no webmin) to view or modify any configuration?

Best Regards.
Ivan.

On Sat, Mar 8, 2008 at 3:02 AM, Jamie Cameron <jcameron@webmin.com> wrote:
On 06/Mar/2008 23:35 Ivan Garcia wrote ..
Hi everybody, is it possible centralize the crontab management and DHCP leases for many servers using only one Webmin server? Does the cluster allow to do this? Do we need to install Webmin in all the remote servers or webmin will connect internally trought SSH and manage Cron and DHCP?

If it's not implemented, can you give us an example of something similar already done in Webmin?

Webmin does have a Cluster Cron Jobs module that can run commands on multiple systems, although they do all need to have webmin installed.

What do you want to do with a DHCP cluster though? Are you looking for a way to have multiple redundant servers with the same configs .. and if so, is that even possible without them stepping on each others' toes due to differences in the lease files?

 - Jamie



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-
Forwarded by the Webmin development list at webmin-devel@webmin.com
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-
Forwarded by the Webmin development list at webmin-devel@webmin.com
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel