MS Windows extension tool over DRBL environment
|
||||||||||||
It supports Windows client to accecpt command from DRBL server and to solve related problems via using image clone tool on MS winodws. | ||||||||||||
Free Software Labs , NCHC ,Taiwan GPL ceasar _at_ nchc org tw, steven _at_ nchc org tw ******************************************************* |
||||||||||||
|
||||||||||||
Page Index
DRBL-Winroll is a tool that enables MS-Windows client to accept commands from DRBL server, and it resolve windows hostname, SID duplication problem via using image clone tool at single local LAN.It can also adjust "workgroup" name and Windows network configuration automatically. Feature :
Support : Windows 2000/ Windows XP/Windows 2003/Vista/Windows 7/Windows 2008
Start to install DRBL-Winroll
By default, DRBL-winroll use the last six numbers of IP with one prefix string : "PC" as HOSTNAME for Windows, ex:
IP is 192.168.1.52 , the its hostname would be : PC-001-052 You can follow the steps to change HOSTNAME format : The parameter guide is as follow :
# HN_WSNAME_PARAM = /N:PC-$ZFIP[3+] (Last IP (ex:192.168.1.52) 3 chars with zero-filled, got:'PC-052'. Due to IP string became to '192-168-001-052';As default vaule.) # HN_WSNAME_PARAM = /N:PC-$ZFIP[4+] (Last IP 4 chars with zero-filled, got:'PC--052') # ----- Other common parameters # HN_WSNAME_PARAM = /N:PC-$MAC (ex: PC-000C294EEF53) # HN_WSNAME_PARAM = /N:PC-$MAC[+8] (First 8 codes of Mac Adress ", ex: PC-000C294E) # HN_WSNAME_PARAM = /N:PC-$IP[3+] (Last 3 characters of IP, got: 'PC--52'. Due to IP string became to '192-168-1-52') # HN_WSNAME_PARAM = /N:PC-$IP[4+] (Last 4 characters of IP, got: 'PC-1-52') DRBL-winroll also provide to setup HOSTNAME by a config file from local. Please edit "HN_WSNAME_PARAM = xxxx " as the follow:
HN_WSNAME_PARAM = /RDF:C:\cygwin\drbl_winroll-config\hosts.conf /DFK:$MAC
Note: /RDF define the path of local file, /DFK define the field for searching key
A ref erence format in hosts.conf is : "IP or MAc Address" = "hostname" , the follow for more detail :
00-0C-29-4E-EF-53 = Student-01 # (Assign "Student-01" as hostname if its MAC address is 000C294EEF53 )
192-168-1-12 = Student-02 # (Assign "Student-02" as hostname for IP address is 192.168.1.12 client. Replace dot '.' symbol with dash '-') Note: Hostname would be assigned as "Student-01" via /DFK:$MAC ; /DFK:$IP it would be "Student-02"
By this way, mananger can define hostname free! But we suggest you to collect all MAC address in template macine first. The other cloned machines would be named hostname automatically. PS: In DRBL-Winroll, it changes the hostname by wsname tool. So the format of hostname we provide is fully consistent with wsname tool so far. Windows have to reboot if its HOSTNAME or WORKGROUP be changed
DRBL-winroll provides three options :
ip:192.168.20.2 NM:255.255.255.0=> workgroup will be "GROUP-020"
ip:172.18.1.5 NM:255.255.0.0 => workgroup will be "GROUP-018-001"
DNS Suffix Search List. . . . . . : my.org.domain=> WORKGROUP will be "WG-my-org" Note :
DRBL-Winroll use FIX STRING "WG" as default format for WORKGROUP
The parameter guide is as follow :
CONFIG_NETWORK_MODE = dhcp (use DHCP method) CONFIG_NETWORK_MODE = /RDF:C:\cygwin\drbl_winroll-config\client-mac-network.conf (By config file from local) CONFIG_NETWORK_MODE = none (skip network configuration, even no use dhcp )
then edit c:\cygwin\drbl_winroll-config\client-mac-network.conf The follow is a sample for client-mac-network.conf : _DEFAULT_NETWORK = 192.168.100.254/24 # assign network and netmask _DEFAULT_GATEWAY = 192.168.100.254 # assign default gateway _DEFAULT_DNS = 168.95.1.1 # DNS, it could be empty, one or many values (use "comma"(,) as separated ) _DEFAULT_WINS = 192.168.100.1 # WINS, it could be empty, one or many values (use "comma"(,) as separated ) _DEFAULT_DNS_SUFFIX = # DNS_SUFFIX, it could be empty, subnet 10.0.2.0/8 { THIS_GATEWAY = 10.0.2.2 # use 10.0.2.2 as default gateway for this network THIS_DNS = 10.0.1.1 # use 10.0.1.1 as default DNS for this network THIS_WINS = # Use nothing as _DEFAULT_WINS value # This subnet would inherit the "_DEFAULT_DNS_SUFFIX" value form global settings # because no set value for it in this session } subnet 192.168.0.0/24 { THIS_GATEWAY = 192.168.0.254 THIS_DNS = 192.168.0.1 #THIS _WINS # This subnet would inherit "_DEFAULT_WINS" and # "_DEFAULT_DNS_SUFFIX" value form global settings } [IP Address] 00-00-00-00-00-01 = 192.168.100.11 00-00-00-00-00-02 = 10.0.2.30 # it would use settings of subnet 10.0.2.0/8 00-00-00-00-00-03 = 192.168.0.7 # it would use settings of subnet 192.168.0.0/24 00-00-00-00-00-04 = dhcp # uses dhcp 00-00-00-00-00-05 = none # skip this NIC
Explanation : Note : Windows Vista : please refer here Windows 7/Server 2008 : please refer here
sudo apt-get install apache2 munin munin-node
$ tar xzf server-site-v167.tgz ; cd server-site ; sudo ./gen_munin_clients_conf.sh
Note :
Setup 'SID-check' service
Firt time to start SID-check service after installation and wait until system reboot by itself
$ ssh-keygen -d
Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: fe:56:XX:XX:XX:XX:XX:XX:XX:XX:83:ff:42 root@drbl-server
$ ls /root/.ssh
id_dsa id_dsa.pub Store public key in c:\cygwin\home\administrator\.ssh named as "authorized_keys"
$ ssh administrator@[win-client-ip]
ipconfig Note :
Description: A easy toolkit to send commands from windows client to server
Description: Windows user desktop recover tool. More detail please read inside document.
|
||||||||||||
DRBL-Winroll is powered by Free Software Lab , NCHC, Taiwan |