VM user and Virtual machine / guest os are indeed one and the same

LOGOFF, that's like pulling the plug out, not an orderly shutdown.  So
better stop your Linuxes with the appropriate Linux command and then enter
LOGOFF.

At the other hand: modern Linuxes register themselves to receive shutdown
signals from CP, what means that if the LPAR gets stopped, of when you issue
CP SHUTDOWN, or when one uses FORCE, these Linuxes will shutdown themselves
and CP gives them some to do that.  This time can be defined in SYSTEM
CONFIG (on MAINT CF1) or by a CP SET command; by default, the time is 0 and
FORCE or SHUTDOWN won't give Linuxes any time to stop.
To find out the details, use QUERY SIGNALS or QUERY SIGNAL SHUTDOWN (or
something like it, my memory isn't that good anymore to remember all details
of relatively new commands).  HELP CPQUERY MENU is a start to find the
details online.

-- 
Kris Buelens,
IBM Belgium, VM customer support

2007/10/20, GnanaShekar Subramani <[EMAIL PROTECTED]>:
>
> Hi,
>
> Thanks a lot for your help.
> I am now able to enter the CP commands.
>
> After logging in as a VM user if I log off (LOGOFF command), I guess the
> virtual machine / guest os is getting shutdown.
>
> I guess the VM user and Virtual machine / guest os are one and the same.
>
> I was also able to bring up the virtual machine / guest os using the IPL
> commands.  I did this because I knew the IPLSYS for the Virtual machine from
> one of my earlier screenshot and was able to IPL with "IPL <some number>
> CLEAR" command.
>
> However I still need to find out details about the virtual machines that
> are defined but not active.  and IPL them.
>
> Please suggest.    Also find the attachment.  In the mean while I am going
> through the zVMBasics pdf.
>
> Thanks & Regards,
> -GnanaShekar-
>
>
>
> On 10/20/07, Kris Buelens <[EMAIL PROTECTED]> wrote:
> >
> > I don't see an attached file...
> > To enter CP commands when Linux is active you have several choices
> > - hit the PA1 key, it will place you in CP READ and then you enter a CP
> > command
> > - issue #CP xxxx
> > - when logged on to a Linux user (like root) you can try HCP xxxx or
> > VMCP xxxx
> > - or use the SCIF, the Single Image Console Facility: from a VM user
> > with enough CP classes
> >   -- SET SECUSER LINUXxyz *
> >   -- SET SEND CP LINUXxyz xxxxx
> >   The first command defines you as secondary user of LINUXxyz which
> > means that all console output of LINUXxyz will be routed to you if LINUXxyz
> > is disconnected, the SEND command sends a CP command to LINUXxyz
> >
> > Note that the # character and PA1 can have been redefined with the CP
> > TERMinal command, issue Q TERM and look for LINEND and BREAKIN
> >
> > 2007/10/20, GnanaShekar Subramani < [EMAIL PROTECTED]>:
> > >
> > > Hi,
> > >
> > > After logging through the 3270 terminal emulator, I am being asked to
> > > login to the linux guest.
> > >
> > > So there is no provison to enter CP commands.
> > > Find the attached file for more details.
> > >
> > > Please suggest.
> > > Thanks & Regards,
> > > -GnanaShekar-
> > >
> > >
> > > On 10/18/07, RPN01 <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Another starting point, if the guests are connected via vSwitch,
> > > > would be to
> > > > "query vswitch" to get the name of the virtual switch. This will
> > > > also tell
> > > > you how many guests are attached to the virtual switch. Then "query
> > > > vswitch
> > > > <switchname> active" to list the individual guests attached to the
> > > > virtual
> > > > switch.
> > > >
> > > > Older methods might be reflected in the TCPIP definitions, which
> > > > should be
> > > > on TCPMAINT's minidisk 198.
> > > >
> > > > --
> > > >   .~.    Robert P. Nix             Mayo Foundation
> > > >   /V\    RO-OE-5-55                200 First Street SW
> > > > /( )\   507-284-0844              Rochester, MN 55905
> > > > ^^-^^   -----
> > > >        "In theory, theory and practice are the same, but
> > > >         in practice, theory and practice are different."
> > > >
> > > >
> > > >
> > > >
> > > > On 10/18/07 8:02 AM, "Dave Jones" < [EMAIL PROTECTED]> wrote:
> > > >
> > > > > Hello, GnanaShekar.
> > > > >
> > > > > Welcome to the wonderful world of z/VM and zLinux; I think you
> > > > will find
> > > > > it a very friendly and easy to use environment.
> > > > >
> > > > > To see how many guests (virtual machines) are running running, try
> > > > this
> > > > > command:
> > > > >
> > > > > CP Q Names
> > > > >
> > > > > This will show you a list of all of the virtual machines (guests)
> > > > that
> > > > > are currently running and whither or not they are connected to a
> > > > console
> > > > > (terminal) or not (DSC -- disconnected). Guests do not need to be
> > > > > connected to a console for them to continue to run.
> > > > >
> > > > > A good place for someone new to z/VM to start is to take a look at
> > > > this
> > > > > IBM document: "Introduction to the New Mainframe: z/VM Basics".
> > > > You can
> > > > > download a free copy from here:
> > > > > http://www.redbooks.ibm.com/redpieces/abstracts/sg247316.html?Open
> > > >
> > > > >
> > > > > Good luck and do not be afraid to ask any more questions that you
> > > > might
> > > > > have here on the list......we really do enjoy helping new comers
> > > > get to
> > > > > know z/VM!
> > > > >
> > > > >
> > > > > Have a good one.
> > > > >
> > > > > GnanaShekar Subramani wrote:
> > > > >> Hi,
> > > > >>
> > > > >> I am a newbie to IBM systemz / Mainframe / zVM / zLinux.  However
> > > > I am
> > > > >> familiar to IBM system p, AIX and LPAR / virtualization in AIX.
> > > > >> I have been given a username / password for zVM; and my client
> > > > wants me to
> > > > >> find out all the different partitions / guests that are existing.
> > > >
> > > > >> A long time ago somebody has setup linux guests on zVM and they
> > > > have used
> > > > >> zLinux in the project.
> > > > >>
> > > > >> We donot have a record of what was done earlier in relation to
> > > > zVM / zLinux
> > > > >> setup.
> > > > >>
> > > > >> I am clueless.  So thought of taking help from this forum.
> > > > >>
> > > > >> This is what appears for my zVM login.
> > > > >> --------------------------------------------------------
> > > > >>
> > > > >> z/VM
> > > > >> ONLINE
> > > > >>
> > > > >> z/VM Version 5 Release 2.0, Service Level 0602 (64-bit),
> > > > >> built on IBM Virtualization Technology
> > > > >> There is no logmsg data
> > > > >> FILES:   NO RDR,   NO PRT,   NO PUN
> > > > >> RECONNECTED AT 21:19:58 PDT WEDNESDAY 10/17/07
> > > > >> ----------------------------------------------------------
> > > > >>
> > > > >> I do not know even a single zVM command, so please suggest or
> > > > point me in
> > > > >> the right direction.
> > > > >>
> > > > >>
> > > > >> Thanks & Regards,
> > > > >> -GnanaShekar-
> > > > >>
> > > >
> > >
> > >
> >
> >
> > --
> > Kris Buelens,
> > IBM Belgium, VM customer support
> >
>
>

Reply via email to