62.2 Performing a Multicast Session

62.2.1 Initiating an Automatic Multicast Session in ConsoleOne

To initiate an automatic multicast session in ConsoleOne:

  1. (Optional) Install the ZENworks Imaging Windows Agent on each of the participating workstations.

    IMPORTANT:If you do not install the ZENworks Imaging Windows Agent on each participating machine, those machines will have duplicate network identities. For more information, see Limitations of Multicasting Images.

  2. In ConsoleOne, right-click the server object, click Properties, then click the ZENworks Imaging tab.

    If you do not see the ZENworks Imaging tab, click the right-arrow on the right side of the displayed tabs until it is displayed.

    Multicast Session page.
  3. Click Add, enter a name for the multicast session, then click OK.

    Multicast Session Settings page.
  4. Specify the Master Image Source.

    You can specify an image file or a master workstation.

    A workstation cannot be the master if it is being used as a master in another multicast session or if it explicitly participates in any other session.

  5. Decide how many participating workstations you want to have booted up before the multicast session begins. Specify this number in the Clients Have Joined text box.

    The default if you do not specify a number is 5 workstations.

  6. If not enough workstations have booted up to fulfill the Clients Have Joined requirement, the multicast session begins if a participating workstation boots up and a certain amount of time passes without another participating workstation booting. Specify this amount of time in the Minutes Have Elapsed Since a New Client Has Joined text box.

    The default if you do not specify a time is 15 minutes.

  7. (Optional) To delete the session after it has finished, select the last check box.

  8. Click the down-arrow on Multicast Session tab, then click Participation.

    Multicast Session Participation page.
  9. Click Add Workstation under Include the Following Workstations to explicitly add the workstation objects that you want to include in this multicast session.

    or

    To create rules to select the workstations you want to participate in this multicast session, click Add Rule under Include Machines Which Meet Any of These Criteria.

    New Rule dialog box.

    Click Help on the Participation page for more information.

  10. Click OK to return to the ZENworks Imaging Multicast Sessions page.

  11. The check box next to the multicast session name is automatically selected, showing that the session is enabled. If you want to disable a multicast session, deselect the check box next to the session name.

  12. (Optional) If you want to change the position of a session in the list, select the multicast session name, then click Move Up or Move Down.

    If multiple multicast sessions are defined that use rules to select participating workstations, it is possible that a workstation could qualify to participate in more than one session. If this occurs, the first enabled session in this list for which the workstation qualifies takes precedence over the other enabled sessions.

  13. Click OK.

To initiate the muticast session in manual mode from the workstation enter the img auto command at the bash prompt of the workstation.

62.2.2 Performing a Manual Multicast Session

If you want to perform a manual multicast session, you need to start the multicast session from the ZENworks Imaging server (Linux, NetWare®, or Windows) and physically visit each participating workstation. Performing a manual multicast session is particularly useful in a lab environment in which a small number of workstations participate.

The following sections contain step-by-step information about performing a manual multicast session:

To perform a manual multicast session, you must perform the steps in both sections; however, the order in which you perform the tasks does not matter.

Initiating a Multicast Session from the ZENworks Imaging Server

You can use any ZENworks Imaging server to initiate a multicast session.

Initiating a Multicast Session from a Linux ZENworks Imaging Server

On the Linux ZENworks Imaging server, do the following to initiate the multicast session:

  1. In the shell console, enter the following command to enable a multicast session:

    /opt/novell/zenworks/preboot/bin/novell-zmgmcast -mcast arguments
    

    where arguments represents the following:

    Argument

    Description

    session_name

    (Required) The session name is any string that uniquely identifies this multicast session from other multicast sessions that might be in progress on the network.

    -p path

    (Required) The path to the image to be multicast, which is located on the ZENworks Imaging server. This must be the full path.

    -i IP_address

    (Optional) The IP address of the ZENworks Imaging server.

    -f file_set_number

    (Optional) File sets are assigned to the current ZENworks image using this information. File sets are defined on the ZENworks Imaging server from the base image using the Image Explorer utility, which can be run on a Windows device from a Linux server running Samba. The Image Explorer utility is located at /opt/novel/zenworks/zdm/imaging/winutils/ImgExp.exe on the Linux server.

    When you define a file set using Image Explorer, you specify files and directories to be excluded from the image. Thus, a file set is a subset of the original image that excludes the files you select in Image Explorer. A separate image file is not created for the file set; instead, a file set contains internal attributes representing the excluded information. Therefore, even though a file set does not exist as a separate, physical image file, it is accessed as though it is, placing the image on the receiving device, minus the excluded files.

    For example, device1image.zmg is the image file on your ZENworks Imaging server. You use Image Explorer to determine which data to exclude and assign this to a file set number, such as 2. When a device associated with this ZENworks image boots, it is imaged with the smaller version (file set 2) of device1image.zmg.

    File sets provide an advantage because you can create a base image and modify it slightly for various devices, instead of creating separate, somewhat different base images for each device. However, because file sets only concern excluded files, if you add files to the base image using Image Explorer, all file sets include those additional files. If you don’t want them included in a file set, you must use Image Explorer to exclude these new files from that file set.

    There are a maximum of 10 file sets. Each of the ten file set numbers represents the original base image, until you use Image Explorer and assign the results to a file set number.

    IMPORTANT:If you create 10 different file sets, then the original image can be lost. If you want to maintain the original image’s information, do not use Image Explorer to assign exclusions to file set 1, which is the default file set if you don’t select a file set when using this wizard.

    -t time_wait

    (Optional) If not enough devices have booted to fulfill the Client Count requirement, the multicast session begins if a participating device boots and a certain amount of time passes without another participating device booting. Specify this amount of time. The default is 5 minutes.

    -c client_count

    (Optional) The number of participating devices you want to have booted before the multicast session begins. If you do not specify a number, the default is 1.

    IMPORTANT:The image is sent to and put down on each participating device only after you initiate the multicast session from each participating client.

  2. To view the status of the multicast session, enter:

    /opt/novell/zenworks/preboot/bin/novell-zmgmcast -status -i proxy_IP_address
    

    The -i argument is optional.

  3. To view the list of multicast sessions, enter:

    /opt/novell/zenworks/preboot/bin/novell-zmgmcast -list -i proxy_IP_address
    

    The -i argument is optional.

  4. To stop a multicast session, enter:

    /opt/novell/zenworks/preboot/bin/novell-zmgmcast -stop session_name -i proxy_IP_address
    

    The session_name is required and the -i argument is optional.

  5. Continue with Initiating a Multicast Session from Each Client.

Initiating a Multicast Session from a NetWare ZENworks Imaging Server
  1. From the Netware server, load the ZENworks Imaging server (imgserv.nlm).

  2. From the Main Menu, select Manually Start Multicast.

  3. Specify the path to the image archive.

    You can either enter the full path to the image file you want to use, or you can press Insert to browse for the image file.

  4. Specify the name for the multicast session.

  5. Decide how many participating workstations you want to have booted up before the multicast session begins and specify this number in the Number of Clients field.

    The default if you do not specify a number is 1 workstation.

  6. If not enough workstations have booted up to fulfill the Number of Clients requirement, the multicast session begins if a participating workstation boots up and a certain amount of time passes without another participating workstation booting. Specify this amount of time in the Maximum Time to Wait field.

    The default if you do not specify a time is 5 minutes.

  7. (Optional) Specify a file set.

  8. Press Esc, then select Yes to start the multicast session.

  9. (Conditional) If you have not done so, proceed with the steps under Initiating a Multicast Session from Each Client.

    After you initiate the multicast session from each participating client, the image is sent to and put down on each participating workstation.

At the Main Menu, select Multicast Sessions to see how many clients have registered and how many the session is still waiting for. For example, 3/2 means 3 clients have registered and 2 more need to register before the session can begin. You can delete any session listed, even if it is in progress, by selecting the session name, then pressing Delete.

Initiating a Multicast Session from a Windows ZENworks Imaging Server
  1. From the Windows taskbar, click the ZIS icon to start the ZENworks Imaging server software.

    The ZENworks Imaging Server dialog box.
  2. Click the Start Multicast Session tab.

    The Start Multicast Session tab.
  3. Specify the name for the multicast session.

  4. Browse to and specify the image archive file.

  5. Decide how many participating workstations you want to have booted up before the multicast session begins. Specify this in the Number of Clients text box.

    The default if you do not specify a number is 5 workstations.

  6. If not enough workstations have booted up to fulfill the Number of Clients requirement, the multicast session begins if a participating workstation boots up and a certain amount of time passes without another participating workstation booting. Specify this amount of time in the Maximum Time to Wait text box.

    The default if you do not specify a time is 15 minutes.

  7. (Optional) Specify a file set.

  8. Click Start.

  9. (Conditional) If you have not done so, proceed with the steps under Initiating a Multicast Session from Each Client.

You can click the Status tab to see how many Update Requests have been received, how many images have been sent or received, and the number of client referrals.

You can click the Multicast Sessions tab to view current multicast sessions. You can also delete any session listed, even if it is in progress, by selecting the session name, then clicking Delete. You can refresh a session by selecting the session name, then clicking Refresh.

Initiating a Multicast Session from Each Client

You can use the bash prompt or the ZENworks Imaging Engine menu to perform the multicast session as you physically visit each workstation.

Using the Bash Prompt to Perform the Multicast Session
  1. (Optional) Install the ZENworks Imaging Windows Agent on each of the participating workstations.

    If you do not install the ZENworks Imaging Windows Agent on each participating machine, the machines will have duplicate network identities. For more information, see Limitations of Multicasting Images.

  2. Create an imaging boot CD or DVD for each person who assists with the multicast session, or enable PXE on the participating workstations.

    If you don’t know how to do this, see Preparing an Imaging Boot Method.

  3. At each workstation, including the master workstation (unless you are starting the multicast session from the ZENworks Imaging server), access a Linux prompt by using the imaging boot CD or DVD, or if it is PXE-enabled, boot it.

  4. Enter manual at the boot prompt.

  5. To identify each participating workstation in the multicast session, enter the following command at the bash prompt of every workstation:

    img session name
    

    where name is any string that uniquely identifies this multicast session from other multicast sessions that might be in progress on the network. Use the same session name on each of the participating workstations in this multicast session. You can specify any multicast session, including one that originates from the ZENworks Imaging server (as long as you specify the session name used by the ZENworks Imaging server).

    Example: img session mcast01

    The img session command can take other parameters that allow you to designate the master workstation and the imaging start time beforehand. See Section 64.0, ZENworks Imaging Engine Commands for details.

  6. (Conditional) If you have not already done so, start the multicast session from the master workstation or from the ZENworks Imaging server.

    Master Workstation: To start the multicast session from the master workstation, after all of the other workstations have registered as participants, click Start Session.

    If you start the session from the master workstation, the session master must be a workstation. If you start the session from the ZENworks Imaging server, the session master must be a previously saved image file.

    The ZENworks Imaging Engine begins creating the image of the master workstation and the image is sent to and put down on each participating workstation. Any problems are reported and displayed on the master workstation.

    Imaging Server: To start the multicast session from the ZENworks Imaging server, follow the steps under Initiating a Multicast Session from the ZENworks Imaging Server.

  7. At each participating workstation, when the imaging is done, do the following to boot the workstation with the new operating system:

    1. At the Linux prompt, type grub.s, then press Enter.

    2. Press Ctrl+Alt+Delete.

      If the workstation doesn’t boot to the new operating system (that is, if the Linux prompt is displayed), enter the grub.s command again and reboot the workstation a second time.

Using the ZENworks Imaging Engine Menu to Perform the Multicast Session
  1. (Optional) Install the ZENworks Imaging Windows Agent on each of the participating workstations.

    If you do not install the ZENworks Imaging Windows Agent on each participating machine, the machines will have duplicate network identities. For more information, see Limitations of Multicasting Images.

  2. Create an imaging boot CD or DVD for each person who assists with the multicast session, or enable PXE on the participating workstations.

    If you don’t know how to do this, see Preparing an Imaging Boot Method.

  3. At each workstation, including the master workstation (unless you are starting the multicast session from the ZENworks Imaging server), access a Linux prompt by using the imaging boot CD or DVD, or if it is PXE-enabled, boot it.

  4. Enter manual at the boot prompt.

    or

    Select Start ZENworks Imaging in Maintenance Mode from the PXE menu.

  5. To identify each participating workstation in the multicast session, type img at the bash prompt to display the ZENworks Imaging Engine menu.

  6. Click Imaging, then click Multicast Session.

  7. Enter a session name.

    The session name is any string that uniquely identifies this multicast session from other multicast sessions that might be in progress on the network. Use the same session name on each of the participating workstations in this multicast session. You can specify any multicast session, including one that originates from the ZENworks Imaging server (as long as you specify the session name used by the ZENworks Imaging server).

  8. Select a Session Role option:

    Master: Select this option if this is the session master.

    Client: Select this option if this is a participating workstation.

  9. (Optional) If you chose Master in Step 8, specify any additional options:

    • Compression Level: Specify the compression level you want to use for this multicast session:

      • None: No data compression is used. Data is sent immediately across the network to participating workstations. You might use this option if the master workstation has a slow CPU; the amount of time to compress the data is eliminated and the data is immediately sent across the network. Using this option, however, the multicast session creates more network traffic than if you selected one of the other compression levels (Speed, Balanced, or Size).

      • Speed: Takes the least amount of time to compress the data before the data is sent across the network to participating workstations. You might use this option if the master workstation has a slow CPU; the amount of time to compress the data is reduced before the data is sent across the network. With this option, however, the multicast session creates more network traffic than if you selected either the Balanced or Size compression level.

      • Balanced: Represents a compromise between data compression and the amount of network traffic that the multicast session creates.

      • Size: Takes the most amount of time to compress the data before sending it across the network to participating workstations. You might use this option if the master workstation has a fast CPU. Using this option requires the most CPU resources to compress the data but creates less network traffic to transfer the data to the participating workstations.

    • Automated Session: Click Enabled to specify the number of participating workstations (clients) that must register before starting the automated multicast session and to specify the amount of time, in minutes, that can expire without the number of participating workstations to register before starting the automated multicast session. If you do not select the Enabled check box, you must manually start the multicast session.

  10. Click Next, then click Start Session.

  11. At each participating workstation, when the imaging is done, do the following to boot the workstation with the new operating system:

    1. At the Linux prompt, type grub.s, then press Enter.

    2. Press Ctrl+Alt+Delete.

      If the workstation doesn’t boot to the new operating system (that is, if the Linux prompt is displayed), enter the grub.s command again and reboot the workstation a second time.