How Ghost Multicast Server
How Ghost Multicast Server
How Ghost Multicast Server
Knowledge Base X
How Ghost Multicasting communicates over the network PRINT THIS PAGE
Search
l Part 1 - How Ghost starts the session Find the support phone number
This section provides the steps to make Ghost initiate communications over the network. for your region.
l More information on packets, IP addresses, UDP/TCP protocols, and ports the information you were seeking
This section includes a table that illustrates the sequence of packets sent in Parts 1 through 3, and charts was not provided, please let us
UDP is fast and allows Ghost to stream the data: That is, Ghost is not required to wait for an acknowledgment before
sending the next packet.
Ghost Multicast Server, GhostCast Server, and Ghost Console require that the network switches and routers be IGMP-
capable. When the routers or switches are not IGMP-enabled, Ghost may flood the network with packets or not work
at all. See the document Ghost compatibility with IGMP.
Similarly, when the Ghost Server computer receives a packet, the NIC forwards the information through Winsock and
RML and then to the Ghost Server software. RML assigns "ports" to Windows applications to identify which application
to send the information to.
Addressing
The Ghost Server and the Ghost Clients recognize each other by their IP addresses. Messages are sent to one or
more of the following addresses:
l The Ghost Client's IP address
l The Ghost Server's IP address
l A Broadcast IP address in the form: 226.77.255.255.xxxx
l A Multicast IP address in the form: 224.77.255.255.xxxx
The details of addressing vary according to the IP Class of addresses on the network. On a network using Class C
addresses:
l The "255" figures in the address (as shown above) represent any value between 0 and 255, but not 0
nor 255.
l The "xxxx" in the address represents the port number assigned to the application on the server or client
computer.
The computer is identified by the 255.255.255.255 portion of the address. The application at each computer is
identified by the xxxx portion of the address (the port address). For instance, in the address 123.46.52.105.6666,
123.46.52.105 designates the specific computer and 6666 designates the specific application on that computer.
The port address is a number automatically assigned to applications by the TCP protocol. Each application has a
different number so that incoming packets can be routed to the appropriate application. The Ghost Server's port
number is assigned by RML (a part of the TCP stack).
Image Verification
Packets - All packets sent by means of the Ghost Multicasting protocol are protected by a checksum.
Images - An image file can be verified during the image creation only by using the Ghost verify function (that is, the
switches -VDW and -VFY). The switch -VDW verifies disk writes and the switch -VFY verifies each write to an image file
(not spanned images). To verify an image after it has already been created, use the Ghost integrity check. See the
document How to handle a corrupt image file.
When the Ghost Server reads the packet sent by the Ghost Client, it determines whether the Session Name in the
packet matches the Session Name you typed in at the Ghost server. If there is a match, the Ghost Server replies to
the Ghost Client's IP address. This reply contains the following information:
l The IP address of the server.
l The port number for the RML session.
NOTE: The port numbers will vary. For more information, see the section "Addressing."
The Ghost Server and Ghost Client then finish exchanging addressing information and verify what image data will be
sent from the Ghost Server to the Ghost Client (this image data is the same for all Ghost Client computers attached to
this session.)
To attach each Ghost Client to the session, repeat steps 1 through 4 for each Ghost Client computer.
When you have completed making the choices, the Ghost Client will display a message similar to "Proceed with image
file creation?" The answer defaults to No. Answer Yes to have the Ghost Client notify the Ghost Server that it is ready
to receive images.
The Ghost Server continues to establish connections with each Ghost client computer until the Multicast Auto Start
criteria have been met, or you click the Send button at the Ghost Server. Multiple clients can go through this process
in parallel.
If a client falls behind processing or receiving packets, it sends a message to the server.
l If possible, the server resends the missing packets (it can only resend them if they are in the server's buffer).
l If the client is far enough behind, and the missing packets are still in the server's buffer, the server will resend
the missing packets and make the client the Master Client.
l If it is not possible to resend the packets, the server cancels the client's participation in the session, displaying
the error message "RML Connection Reset by Server" at the client computer.
NOTE: If a Ghost Client computer fails to send the acknowledgment, the server assumes that the client failed
during the session and displays that client as failed. This is usually a good assumption. The client could have
failed further back in the session. If the client could not send anything to the server, it could not have notified
the server of any problems, and the server wouldn't know that the client had failed until the server failed to
receive the acknowledgment.
3. After sending an acknowledgment, the Ghost Client sends a "session complete" packet to the server.
4. The Ghost Server sends a packet to the Multicast address acknowledging the first "session complete" packet it
receives.
All messages are sent in UDP except Multicast messages, which are TCP.
Information sent:
l The IP address of the
Information sent:
l Ghost Client is
Information sent:
l Acknowledgments of
data received.
Closing the (2) All Ghost Clients <---- (1) The Ghost Server
session receive the packet. UDP sends a packet to the
Sends the first Broadcast address
two packets 226.77.255.255:xxxx
indicated, or all
four. Information sent:
There is no more data to
be sent.
(3) All Ghost Clients ----> (4) Ghost Server receives
acknowledge the packet, UDP the acknowledgment. In
addressed to the Ghost some cases, Ghost
Server's IP address. Multicast stops, and the
session is ended. In other
situations, the session
continues for two more
packets.
(5) All Ghost Clients ----> (6) Ghost Server receives
send a "session UDP the packet.
complete" packet to the
server's IP address.
(8) All Ghost Clients <---- (7) Ghost Server sends
receive the packet. TCP an acknowledgment to
224.77.255.255.xxxx for
the first "session
complete" packet it
receives.
Additional information
Here is another way of looking at communications between the server and client computers.
High Level Protocol used by the Ghost Enterprise Console and the Ghost Client
When the client computer is running Windows, the Ghost Client is NGctW32.exe. After the client computer has
restarted into the hidden Ghost boot partition, the Ghost Client is NGctDOS.exe.
High Level Protocol used by the Ghost Multicast Server & the Ghost executable
The Ghost executable is Ghost.exe, running on the client computer.
*By default, the IP address 224.77.xxx.xxx is a random address between 224.77.2.0 and 224.77.255.255. Starting
with Ghost 6.0, the address can be set at the Multicast server to be any desired multicast address, using the -M switch.
This switch is documented in the Ghost 6.01 User's Guide on page 133, and in the Ghost 6.03 User's Guide on page
162.
Available Translations:
--choose a language--- 6
converted by Web2PDFConvert.com