Sending a file to different z/VM guest virtual machines

6.14 z/VM guest

You can use the vmur command to send files to other z/VM® guest virtual machines.

About this task

This scenario describes how to send a file called lnxprofile.exec from the file system of an instance of Linux® on z/VM to other z/VM guest virtual machines.

For example, lnxprofile.exec could contain the content of a PROFILE EXEC file with CP and CMS commands to customize z/VM guest virtual machines for running Linux.

Procedure

  1. Send lnxprofile.exec to two z/VM guest virtual machines: z/VM user ID t2930020 at node boet2930 and z/VM user ID t6360025 at node boet6360.
    # vmur pun lnxprofile.exec -t -r -u t2930020 -n boet2930 -N PROFILE
    # vmur pun lnxprofile.exec -t -r -u t6360025 -n boet6360 -N PROFILE
  2. Log on to t2930020 at boet2930, IPL CMS, and issue the CP command:
    QUERY RDR ALL

    The command output shows the spool ID of PROFILE in the FILE column.

  3. Issue the CMS command:
    RECEIVE <spoolid> PROFILE EXEC A (REPL

    In the command, <spoolid> is the spool ID of PROFILE found in step 2.

  4. Repeat steps 2 and 3 for t6360025 at boet6360.