Automated Testing

Automated Testing

Automated Testing

Build an automated testing process to enable continuous integration of your hybrid cloud applications including z/OS

 View Only
  • 1.  Standard image

    Posted Sat December 20, 2025 04:53 AM

    I see there is a standard image available from passport advantage, but there is little documentation for it.
    Does anyone know the password - or any documentation for it?

    Colin



    ------------------------------
    Colin Paice
    Retired
    Retired
    Stromness
    ------------------------------


  • 2.  RE: Standard image

    Posted Sun December 21, 2025 01:35 PM

    Hello Colin

    I did this procedure to change the IBMUSER password. It worked for me in a previous version of "Stock image".

    Hope this helps

    PROCEDURE:

    Go to:

    cd /home/ibmsys1/volumes

    Extract the IEASYM member used by the system when it is loaded with LOADPARM DE28NVM.

    pdsUtil /home/ibmsys1/volumes/OPEVS1 SYS1.PARMLIB/IEASYMAU --extract

    Modify /home/ibmsys1/volumes/IEASYMAU.txt to update &HOMEIPADDRESS1 and &DEFAULTROUTEADDR variables.

    In my current ADCD system (the old ADCD version) I need to use the IP addresses 10.1.1.2 and 10.1.1.1.

    SYMDEF(&HOMEIPADDRESS1.='10.1.1.2')

    SYMDEF(&VPCVSIIPADDRESS.='&HOMEIPADDRESS1.')

    SYMDEF(&DEFAULTROUTEADDR.='10.1.1.1')

    Overwrite the data so that when the system starts, it uses that IP and we can connect via SSH 

    pdsUtil /home/ibmsys1/volumes/OPEVS1 SYS1.PARMLIB/IEASYMAU --overlay

    Add tape drives to devmap file (in my case, /home/ibmsys1/volumes/devmap)

    [manager]

    name awstape 0580

    device 580 3490 3490

    device 581 3490 3490

    device 582 3490 3490

    device 583 3490 3490

    Generate a SSH key in Ubuntu. We'll need to add the public key to the authorized_keys file for the IBMUSER user on the system.

    ssh-keygen -t rsa -b 2048

    Copy the contents of /home/ibmsys1/.ssh/id_rsa.pub to a new file named IBMUSER.SSHKEY.

    Split the key into multiple lines, each with a record length of 80 characters.

    For example:

    /home/ibmsys1/volumes/IBMUSER.SSHKEY

    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/xbmg4L0Sl9ad1iZyEw9Q1cNL7o0hdXHRWIkYpqfw

    PN40BQs2SClMakUaC/UHwOhysgEwvgbFC7PJOzw3vUoBZeMYaxCSb+APmisB5f9kX8WKiw9fLCwwppf9

    nZHVutePslypKWMiLlObLRQyWIT1k/Kx3+6dr002iY7AVTypHjQ89vzni/SogSz5KpzeCpCx4qvpvb7/

    Tv2xrUV+qA1utssepaCH6rKpxjwIrCjM17mjGVfRq3y5ABVXxUmEeDLwMWp7M6RQ1dkSzs9p5r1rqlmx

    9LoSmkdTqmIVJKNB+wozTAsm1keHF1EBoHXajSP0jU0BGeGSJwBs/i5COiy1 ibmsys1@zdt

    Use the following command to copy the file to a new tape. Tape name must be "123456"

    card2tape -a /home/ibmsys1/volumes/IBMUSER.SSHKEY /home/ibmsys1/volumes/123456

    Start the system using the following LOADPARM:

    ipl DE27 parm DE28NVM

    On the z/OS System Console, issue the following command:

    S SUBMIT,DS=IBMUSER.JCL,M=SSHKYCP

    This starts SYS1.PROCLIB(SUBMIT) to execute IBMUSER.JCL(SSHKYCP)

    Both members are provided with the "STOCK IMAGE" system.

    - 16.34.24 VS01 S SUBMIT,DS=IBMUSER.JCL,M=SSHKYCP

    - 16.34.25 VS01 STC00085 IEF404I SUBMIT - ENDED - TIME=16.34.25

    *16.34.25 VS01 JOB00086 *IEF233A M 0580,123456,,SSHKYCP,COPYTAPE

    Run the following command in the Linux terminal to mount the tape containing the SSHKEY:

    awsmount 0580 -m /home/ibmsys1/volumes/123456

    16.35.04 VS01 JOB00086 IEF404I SSHKYCP - ENDED - TIME=16.35.04

    Now, access to the system via SSH.

    ssh ibmuser@10.1.1.2

    ibmsys1@zdt:~/volumes$ ssh ibmuser@10.1.1.2

    The authenticity of host '10.1.1.2 (10.1.1.2)' can't be established.

    ED25519 key fingerprint is SHA256:t32mDPkyHoFE1NKiLtdxt7ObVkoQyH7lObgWZ8EZn9c.

    This key is not known by any other names.

    Are you sure you want to continue connecting (yes/no/[fingerprint])? yes

    Warning: Permanently added '10.1.1.2' (ED25519) to the list of known hosts.

    IBMUSER:/u/ibmuser #

    Once connected to the system via SSH, issue the following command to set the desired password for the IBMUSER account.

    tsocmd "ALTUSER IBMUSER PHRASE('YOUR PASSWORD PHRASE') NOEXPIRE RESUME"

    For example:

    tsocmd "ALTUSER IBMUSER PHRASE('mainframe12mainframe') NOEXPIRE RESUME"



    ------------------------------
    Javier Fernandez Garcia
    ------------------------------