svencarante

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-01-04
12:21
1352 views
Removing oes dhcp leases
Hi,
Does anyone have a script to remove a lease from the dhcp.leases file.
Or another way to remove a single lease from the dhcp.leases file, without manually editing it in a text editor.
We need a way for all our admins to do this without manually having to edit the leases file.
Any help is greatly appreciated. Please let me know if more detail is needed.
Does anyone have a script to remove a lease from the dhcp.leases file.
Or another way to remove a single lease from the dhcp.leases file, without manually editing it in a text editor.
We need a way for all our admins to do this without manually having to edit the leases file.
Any help is greatly appreciated. Please let me know if more detail is needed.
2 Replies
Marcel_Cox

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-01-04
15:37
Hi,
I have no script for you, but suffering from the same shortcomming, I suggest you also enter an enhancement request at http://www.novell.com/rms to ask for this functionality to be added to the java tool. The biggest part of the job has already been done in the DNSDHCP Management tool by implementing the functionality to view leases. The same API on the DHCP server can also be used to manage leases (deleting or modifying leases). The functionality is there in the server product. It is just not implemented on the management side.
I have no script for you, but suffering from the same shortcomming, I suggest you also enter an enhancement request at http://www.novell.com/rms to ask for this functionality to be added to the java tool. The biggest part of the job has already been done in the DNSDHCP Management tool by implementing the functionality to view leases. The same API on the DHCP server can also be used to manage leases (deleting or modifying leases). The functionality is there in the server product. It is just not implemented on the management side.
joharmon

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-02-09
21:04
Marcel is right, it has to be done vi the leases file directly. OES 2 SP 3 and later allow you to view the leases using the java management console, but that is a read only function. I believe a bug or enhancement request was filed some time ago to include functionality to manipulate the entries via the management console, but I don't remember what came of it, and I can't find the bug. It wouldn't hurt to file an enhancement request. Squeaky wheel gets the oil.