Ftping To The Hmc Removable Media - IBM ZVM - FOR LINUX V6 RELEASE 1 Getting Started

Getting started with linux on system z
Table of Contents

Advertisement

FTPing to the HMC removable media

Before using FTP, you must grant authority in the FTP server to the user ID that
accesses the HMC removable media. This user ID is the one you enter when the
z/VM FTP client prompts USER (identify yourself to the host):. This example
uses the user ID SIMONW.
You must also establish the HMC removable media as the default (initial) directory
for the user ID accessing the removable media. The z/VM FTP server recognizes
the fixed string /../HMC:/ (case insensitive) to specify access to the removable
media in the HMC. When there are multiple HMCs, the z/VM FTP server contacts
the HMC that is linked to the LPAR using the Access Removable Media function
described in "Linking the HMC removable media to your z/VM logical partition"
on page 139.
These steps show how to grant authority and establish the initial directory. For the
user ID accessing the HMC removable media, you must queue an HMCAUTH YES
string followed by a /../HMC:/ string to the program stack in the z/VM FTP server
CHKIPADR exit.
Perform these steps to ftp to the HMC removable media through the z/VM FTP
server:
1. For the user ID accessing the HMC removable media, grant authority to ftp to
2. For your A-disk, access a disk large enough to hold the boot files (the 192 disk
140
z/VM: Getting Started with Linux on System z
Important: Keep the Access Removable Media panel open until you finish
the transfer (clicking OK on the panel closes access to the removable
media). Only when you are done using the removable media should you
click OK to end access.
the HMC removable media through the z/VM FTP server. To grant authority,
xedit the CHKIPADR SAMPEXEC file on the TCPMAINT 198 disk.
a. Locate and remove the unconditional exit line (Exit 0).
/*---------------------------------------------------------------------*
/* Unconditional Exit - Simulate result of nonexistent exit.
/*---------------------------------------------------------------------*
/* To enable the SAMPLE STATEMENTS provided within this file (or to
/* enable the execution of your customized statements and logic),
/* DELETE the "Exit 0" statement that follows this comment block.
/*---------------------------------------------------------------------*
Exit 0
/* delete this line */
b. Add the following case for the user ID that you use to access the removable
media. For example, add the case for SIMONW:
When (Userid = 'SIMONW') Then
Do
Queue 'HMCAUTH YES'
Queue '/../HMC:/'
End
c. Save the file as CHKIPADR EXEC.
d. Restart the z/VM FTP server.
in the example) and then ftp to the loopback address as follows:
Note: Parts in bold indicate commands you would issue.
access 192 a
DMSACC724I 192 replaces A (191)
Ready;
*
*
*
*

Advertisement

Table of Contents
loading

Table of Contents