Command-line option examples using GhostCast Server

Following are examples for using GhostCast Server.

Table 3-2 GhostCast Server command-line examples
Summary
Syntax
Description
Creating an image file of a complete disk from a client computer and saving to image file c:\test123.gho using the session name labmodel
ghostsrv c:\test123.gho labmodel -d
Starts a GhostCast session called labmodel and creates or overwrites the image file c:\test123.gho. The first connecting client's IP address appears on-screen, and the session starts automatically. The client computer indicates the source drive to use for the image file creation.
Creating an image file of a partition from a client computer to an image file
ghostsrv c:\test123.gho TestSession -d -p
Starts a GhostCast session called TestSession and creates or overwrites the image file c:\test123.gho. The first connecting client's IP address appears on-screen, and the session starts automatically. The client computer indicates the source drive and partitions to include in the image created.
Restoring a disk image file onto client computers
ghostsrv.exe c:\test123.gho TestSession
Starts a GhostCast session called TestSession and uses the image file c:\test123.gho. The connecting clients' IP addresses appear on-screen. Start the session transmission.
Restoring a specific partition from an image file onto client computers
ghostsrv c:\test123.gho TestSession -p2
Starts a GhostCast session called TestSession, and uses the second partition in the image file c:\test123.gho. The connecting clients' IP addresses appear on-screen.
GhostCasting a specific partition from an image file to a specific partition on a destination drive
ghostsrv c:\test123.gho TestSession -p1 -DISK1
-PART2
Starts a GhostCast session called TestSession, uses the first partition in the image file c:\test123.gho, and places it in the second partition of the clients' first disk. The connecting clients' IP addresses appear on-screen. Start the GhostCast transmission.
Specifying the number of clients to Auto Start
ghostsrv c:\test123.gho TestSession -n10
Starts a GhostCast session called TestSession and uses the image file c:\test123.gho. The connecting clients' IP addresses appear on-screen. Once ten clients have connected, the session transmission starts automatically.
Specifying a time for Auto Start
ghostsrv c:\test123.gho TestSession -t13:30
Starts a GhostCast session called TestSession and uses the image file c:\test123.gho. The connecting clients' IP addresses appear on-screen. At half past one in the afternoon (1:30 PM), the session transmission starts automatically.
Specifying time-based and client-count Auto Start and automatic closing
ghostsrv c:\test123.gho TestSession -t13:30 -n10 -c
Starts a GhostCast session called TestSession and uses the image file c:\test123.gho. The connecting clients' IP addresses appear on-screen. At either half past one in the afternoon (1:30 PM), or after 10 clients join the session, transmission starts automatically. Ghostsrv does not wait for both conditions to be met. When the GhostCast session is completed, ghostsrv closes down as requested.
Isolating problems
ghostsrv c:\test123.gho TestSession -la -ferrlog.txt
-n10
Starts a GhostCast session called TestSession and uses the image file c:\test123.gho. The connecting clients' IP addresses appear on-screen. Once 10 clients connect, the session transmission starts automatically and a log file, Errlog.txt, is created for debugging. Creating a log file reduces the performance of the GhostCast transmission.


Объявления: