Re: Pushing replies to Linux SLES 11 upgrade from a REXX EXEC
>>> On 8/5/2010 at 09:09 AM, Tom Duggan wrote: > I'm trying to automate the replies up until the point in the > process where SSH is launched to start yast. Is this really an upgrade from a prior version, or a new install? As others have pointed out, the parmfile will get you to the point of SSH running without any scripting. If it is a brand new install, then you really want to use AutoYaST. Beginning with SLES11, a complete AutoYaST file, coupled with the (declared) use of VNC will allow you to perform completely unattended installs. That is, you don't have to connect via SSH or VNC for the install to run from start to finish. Mark Post Novell Technical Support
Re: Pushing replies to Linux SLES 11 upgrade from a REXX EXEC
You've already received good responses to the original question. But there may be more when the question is looked at from a different direction. Why would you need a script to reply to upgrade prompts? Could you not have one "golden image" Linux server disk that is cloned for each server to use (or linked R/O)? That's the beauty of running under z/VM... you can have one Linux "system disk", all linked read-only by many servers. Then individual server upgrades are made simply by changing a LINK statement in their directory entry, shutting them down. logging them off, and XAUTOLOGing them back on. They come up with the new (presumable well-tested) Linux distro maintenance. Obviously, there are a lot of steps involved to get to that point - but it should be worth the effort of you have many Linux servers - you will save lots of disk space - you know that all servers are running the same exact tested/audited system - upgrade implementations become extremely easy (and more successful) There are many IBM Redbooks, Redpapers, and other doc related to this method. There is a 100% chance of someone else sharing (before the end of the day) pointers to current-state methods to do this. Mike Walter Hewitt Associates The opinions expressed herein are mine alone, not my employer's. Tom Duggan Sent by: "The IBM z/VM Operating System" 08/05/2010 08:09 AM Please respond to "The IBM z/VM Operating System" To IBMVM@LISTSERV.UARK.EDU cc Subject Pushing replies to Linux SLES 11 upgrade from a REXX EXEC I hope this gets through...(and a Hello! from a new member if it does!) I've been assigned a recent project of trying to automate the initial responses of a SLES 11 upgrade to servers running under z/VM 5.3. I'm trying to automate the replies up until the point in the process where SSH is launched to start yast. I've tried PUSH and QUEUE without success. I'm more of a VM'er than "Linuxite" and just looking for a nudge in the right direction. I'm working on a 3270 emulator macro (Passport PC to Host) at present, which is a little tedious. What I'm seeing is after the guest machine's reader is IPL'd, CMS goes away and we're in a Linux environment, no? The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail.
Re: Pushing replies to Linux SLES 11 upgrade from a REXX EXEC
On Thursday, 08/05/2010 at 09:37 EDT, Tom Duggan wrote: > I hope this gets through...(and a Hello! from a new member if it does!) > > I've been assigned a recent project of trying to automate > the initial responses of a SLES 11 upgrade to servers > running under z/VM 5.3. > > I'm trying to automate the replies up until the point in the > process where SSH is launched to start yast. > > I've tried PUSH and QUEUE without success. I'm more of a VM'er > than "Linuxite" and just looking for a nudge in the right direction. > > I'm working on a 3270 emulator macro (Passport PC to Host) at present, > which is a little tedious. > > What I'm seeing is after the guest machine's reader is IPL'd, CMS > goes away and we're in a Linux environment, no? That's exactly right. Automation if this sort requires TWO virtual machines. One drives the other via the Single Console Image Facility (SCIF): UserA: CP SET SECUSER USERB UserB: CP SEND CP USERA IPL 999 UserB: UserB: CP SEND USERA Answer number 1 UserB: UserB: CP SEND USERA Answer number 2 and so on. All command output and other virtual machine console I/O is sent to UserB. UserB can trap it with the WAKEUP command or other home-grown solutions. There are commercial automation offerings such as IBM Operations Manager for z/VM that have this kind of thing already built into them (among other capabilities). You tell them what user(s) to watch, what to watch for, and how to respond. Alan Altmark z/VM Development IBM Endicott
Re: Pushing replies to Linux SLES 11 upgrade from a REXX EXEC
A config file with all the prompts and responses is what you're looking for. Something like this RAMDISK_SIZE=98304 ROOT=/DEV/RAM1 RO INIT=/LINUXRC TERM=DUMB HostIP=nnn.nnn.nnn.nnn Hostname=host.domain Gateway=nnn.nnn.nnn.nnn Nameserver=nnn.nnn.nnn.nnn InstNetDev=osa Netmask=255.255.255.0 Broadcast=nnn.nnn.nnn.nnn OsaInterface=qdio OsaMedium=eth ReadChannel=0.0.0100 WriteChannel=0.0.0101 DataChannel=0.0.0102 portname=SWCH1 Install=http://nnn.nnn.nnn.nnn/sles10-sp2 OSAHWAddr='' PortNo=0 Usevnc=1 layer2=1 vncpassword=password On Thu, Aug 5, 2010 at 9:09 AM, Tom Duggan wrote: > I hope this gets through...(and a Hello! from a new member if it does!) > > I've been assigned a recent project of trying to automate > the initial responses of a SLES 11 upgrade to servers > running under z/VM 5.3. > > I'm trying to automate the replies up until the point in the > process where SSH is launched to start yast. > > I've tried PUSH and QUEUE without success. I'm more of a VM'er > than "Linuxite" and just looking for a nudge in the right direction. > > I'm working on a 3270 emulator macro (Passport PC to Host) at present, > which is a little tedious. > > What I'm seeing is after the guest machine's reader is IPL'd, CMS > goes away and we're in a Linux environment, no? > -- Mark D Pace Senior Systems Engineer Mainline Information Systems