| Advertise on warmetal.nl! Click for more information about advertising here. |
Did you find this website useful? Did I save you a lot of time? |
|
This is a notes page, extended with tips & tricks. This page is not really documentation, just stuff for me to remember. Sometimes things will get removed from these pages and turned into real documentation, sometimes not. You might find these notes to come in hand, maybe not. For me, it's just things I don't want to forget.
| Command | Description |
|---|---|
| img pl | List partitions |
| img pd1 | Delete partition 1 |
| img pc1 | Create NTFS partition 1 with maximum size |
| img pa1 | Activate partition 1 |
img rp 10.10.10.10 //a/images/image.zmg | Restore the image image.zmg from proxyserver 10.10.10.10 Notice that the “a” as the servername is random. It can be anything because it's not checked in case the proxy server is entered as a IP address |
img rp 10.10.10.10 //a/images/image.zmg a1:p1 | Update local Partition1 with pArtition1 from the image image.zmg |
img mp 10.10.10.10 //a/images/image.zmg | Make an image on the server 10.10.10.10 with the name image.zmg |
| zisedit JUSTIMAGED=true / false | Set the 'just imaged' files in the zis safe data to trigger the ZENworks Imaging Agent (or turn it off) |
| Command | Description |
|---|---|
| zwsreg | Register a workstation with ZENworks |
| zwsreg -unreg | Unregister a workstation with ZENworks |
| zwsreg -importserver 10.10.10.10 | Register a workstation with a specific import server |
#ZENworks WakeOnLan Settings #startWOL.ncf SEARCH ADD SYS:\JAVA\NJCLV2\BIN LOAD JAVA.NLM load nwsnut cls SYS:\system\zenWSImp.ncf SYS:\system\zenWSRem.ncf SYS:\system\pxeStart.ncf load SYS:\system\imgserv
load SYS:\system\tftp load SYS:\system\pdhcp load SYS:\system\dts
### ### S. Hooft - <sjoerd_@_warmetal_nl> ### ### Commands to reload ZENworks pdhcp: ### unload pdhcp ### load pdhcp ### # # SYS:SYSTEM\pdhcp.ini # # Configuration file for the ZENworks Preboot Proxy DHCP server # # VERBOSE=1 Use logging on the console # VERBOSE=0 # # Fill in the IP-address of the dts server in case it's not running on this server # TRANSACTION_SERVER_IP=10.10.100.100 # Fill in the IP-address of the tftp server in case it's not running on this server # TFTP_SERVER_IP=196.10.229.1 # Fill in the IP-address of the nic in the server where to bind to (multihomed server) # PDHCP_Server_IP=10.10.10.10 # Set to 0 if the DHCP and PDHCP services are both running on this server, otherwise set to 1 USE_DHCP_PORT=0 # Use the BINL port (4011) in stead of the DHCP port USE_BINL_PORT=1 #--------------------------------------------------------------------------- # PXE specific options #--------------------------------------------------------------------------- # Boot menu showtime - do not change #BOOT_MENU_TIMEOUT=1 # Multicast transfers are disabled - do not change #USE_MTFTP=0 #MTFTP_IP=234.0.0.0 #MTFTP_SERVER_PORT=360 #MTFTP_CLIENT_PORT=1000 #MTFTP_OPEN_TIMEOUT=2 # Keep this parameter enabled - do not change MTFTP_REOPEN_TIMEOUT=2 # end of file
#--------------------------------------------------------------------------- # This is the configuration file for the ZENworks Preboot Proxy DHCP server. # # By default all the options in this configuration file are commented out. # For most installations this is the correct configuration. # #--------------------------------------------------------------------------- # Setting VERBOSE to 1 will cause the server to write additional configuration # information to the console as it starts. #VERBOSE=0 #--------------------------------------------------------------------------- # IP ADDRESS SETTINGS # # When an option is NOT specified in this file, the server will automatically # supply the server IP address to a PXE client. # In the case of a multihomed server the Proxy DHCP server will supply the # server IP address of the network adapter that received the request. # # If the Proxy DHCP server is running on a different server to the # Transaction and TFTP servers, then uncomment the relevant fields and set # them to the IP address of the server running Transaction server (DTS.NLM) # and TFTP server (TFTP.NLM). #--------------------------------------------------------------------------- # The Preboot client will contact the server on this IP address to check for # imaging work. #TRANSACTION_SERVER_IP=196.10.229.76 # The PXE/Preboot client will contact the server on this IP address to # download the Preboot client (dinic.sys) and the Imaging engine if # imaging work is required. #TFTP_SERVER_IP=196.10.229.1 # If set the Proxy DHCP server will try to bind to this IP address on the # server. # The IP address set must be a valid IP address on the server. # This setting can be used to force the PDHCP server to respond on only one # interface on a multihomed server. #PDHCP_Server_IP=10.10.10.76 # Should the Proxy DHCP server listen on the dhcp port 67 USE_DHCP_PORT=0 # Should the Proxy DHCP server listen on the dhcp port 4011 USE_BINL_PORT=1 #--------------------------------------------------------------------------- # PXE specific options #--------------------------------------------------------------------------- # This settings controls how long the PXE boot menu is displayed as # a PXE workstation boots. #BOOT_MENU_TIMEOUT=1 # Set this option to 0 to disable multicast TFTP transfers. This is the # default setting. # Set this option to 1 to enable multicast TFTP transfers. In this mode # the PXE client will wait to join a multicast group for the transfer of # the initial dinic.sys file. Enabling this option will add 10 to 20 # seconds to the PXE boot up sequence, so this is not recommended. #USE_MTFTP=0 # This value specifies the multicast IP that the server should use for # MTFTP transfers. #MTFTP_IP=234.0.0.0 #This value specifies the server port to use for MTFTP transfers. #MTFTP_SERVER_PORT=360 #This value specifies the client port to use for MTFTP transfers. #MTFTP_CLIENT_PORT=1000 # Sets the time to wait before opening the MTFTP session. #MTFTP_OPEN_TIMEOUT=2 # Sets the time to wait before reopening the MTFTP session. MTFTP_REOPEN_TIMEOUT=2 # end of file
Discussion