Novell Home

Group Wake on LAN

Novell Cool Solutions: Cool Tool

Digg This - Slashdot This

In Brief

Wake all workstations in groups in NDS.

Vitals

Product Categories:
  • ZENworks
  • Functional Categories:
  • Gadgets
  • Posted:6 Jan 2004
    File Size:3KB
    License:GPL
    Download:/coolsolutions/tools/downloads/nds_wake.pl
    Publisher:John Wohlers

    Disclaimer

    Please read the note from our friends in legal before using this file.


    Details

    This is a quick little utility I put together based on a code snippet I found on the Net.

    This script queries LDAP for workstations that are members of specified groups. The script then uses the "zenwmMACAddress" attribute of workstation objects to send a Wake on LAN packet to eachworkstation.

    I use this script to power on all of the workstations locatedin our library each morning.

    To use this script you will need Perl and the Net::LDAP module then,just customize the script to fit your environment.

    The following four changes are absolutely necessary:

    1. Edit the first line to reflect your path to Perl.
    2. Place the full DN to each workstation group you wish to wake in the"wakeup_groups" array. (notice the lack of a trailing comma on the lastgroup in the array)
    3. Edit the search_base variable to reflect your tree's organization.
    4. Edit "ldapservername" to reflect the name of your LDAP server.

    Any other changes you may need to make should be self-explanatory by using the comments in the script.

    Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

    © 2014 Novell