Since you're running under VM, you could read a file from a CMS
minidisk using the cmsfs program, or play some tricks using virtual
devices.  For instance, your boot process could check to see if a
device exists at a certain virtual address, and if so, don't start
WebSphere.  An easy device to create is a virtual printer, as in CP
DEF PRT AS 9999.  Then, see if it exists using hcp q v 9999 (or the
vmcp command).  If you don't want to depend on the hcp command, define
a 1 cyl tdisk and check to see if it appears in /proc/dasd/devices or
in the output of the lsdasd command (assuming it is a dasd address
defined to the kernel.)  If you want to pass a string using a device,
define a printer and put some data in the tag area (up to 136
characters) for the device.  You'd have to read that data using the
hcp command.

And then there is the already mentioned method for passing kernel
parameters, as long as you're on SLES 9 or equivalent.

On 3/2/06, James Melin <[EMAIL PROTECTED]> wrote:
> Hi. We'd like to be able to IPL our linux guests at system maintenance time 
> but tell them to not start WebSphere until we tell them to. What is the
> best way to pass a parameter to the guest, read the parameter from within the 
> guest and then act on it?
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>


--
Bruce Hayden
IBM Global Services System z Linux
Endicott, NY

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to