To get at the original question, try "vmcp q userid" and look in the third token in the response. This should tell you which system you're on. Or are you really looking for the LPAR name?
-- Robert P. Nix Mayo Foundation .~. RO-OE-5-55 200 First Street SW /V\ 507-284-0844 Rochester, MN 55905 /( )\ ----- ^^-^^ "In theory, theory and practice are the same, but in practice, theory and practice are different." On 2/19/09 1:14 PM, "Scott Rohling" <[email protected]> wrote: > Do a HELP CPQUERY LPARS .. there are a few conditions for this command to > work -- one is dynamic i/o turned on. > > Scott > > On Thu, Feb 19, 2009 at 12:04 PM, Bernie Wu <[email protected]> wrote: > >> Hi Richard, >> When I try "vmcp q lpars" this is what I get : >> No LPAR data is available >> >> Is this indicative of a zVM install problem ? >> >> Bernie Wu >> >> -----Original Message----- >> From: Linux on 390 Port [mailto:[email protected]] On Behalf Of >> Richard Gasiorowski >> Sent: Thursday, February 19, 2009 10:27 AM >> To: [email protected] >> Subject: Re: How to determine which lpar a linux guest is hosted on ? >> >> you can use vmcp q lpars if you have the correct authorization for CP >> queries >> >> 'Where ever you go - There you are!! ' >> Richard (Gaz) Gasiorowski >> System z - Linux Product Manager >> Portfolio Platform Services >> CSC >> 3170 Fairview Park Dr., Falls Church, VA 22042 >> 845-773-9243 Work|845-392-7889 Cell|[email protected]|www.csc.com >> >> >> >> >> This is a PRIVATE message. If you are not the intended recipient, please >> delete without copying and kindly advise us by e-mail of the mistake in >> delivery. >> NOTE: Regardless of content, this e-mail shall not operate to bind CSC to >> any order or other contract unless pursuant to explicit written agreement >> or government initiative expressly permitting the use of e-mail for such >> purpose. >> >> >> >> Stewart Thomas J <[email protected]> >> Sent by: Linux on 390 Port <[email protected]> >> 02/19/2009 10:12 AM >> Please respond to >> Linux on 390 Port <[email protected]> >> >> >> To >> [email protected] >> cc >> >> Subject >> Re: How to determine which lpar a linux guest is hosted on ? >> >> >> >> >> >> >> On my RHEL4 system, I use cat /proc/sysinfo and it indicates the LPAR name >> and guest name. >> >> >> >> -----Original Message----- >> From: Linux on 390 Port [mailto:[email protected]] On Behalf Of >> Bernie Wu >> Sent: Thursday, February 19, 2009 9:09 AM >> To: [email protected] >> Subject: How to determine which lpar a linux guest is hosted on ? >> >> Hi Listers, >> We have 2 LPARS, each hosting VM, which in turn hosts several linux >> guests. >> From a Linux guest, how do I determine which LPAR the guest is on ? >> >> TIA >> Bernie Wu >> >> ________________________________ >> The information contained in this e-mail message is intended only for the >> personal and confidential use of the recipient(s) named above. This >> message may be an attorney-client communication and/or work product and as >> such is privileged and confidential. If the reader of this message is not >> the intended recipient or an agent responsible for delivering it to the >> intended recipient, you are hereby notified that you have received this >> document in error and that any review, dissemination, distribution, or >> copying of this message is strictly prohibited. If you have received this >> communication in error, please notify us immediately by e-mail, and delete >> the original message. >> >> ---------------------------------------------------------------------- >> 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 >> >> ---------------------------------------------------------------------- >> 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 >> >> >> ---------------------------------------------------------------------- >> 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 >> >> The information contained in this e-mail message is intended only for the >> personal and confidential use of the recipient(s) named above. This message >> may be an attorney-client communication and/or work product and as such is >> privileged and confidential. If the reader of this message is not the >> intended recipient or an agent responsible for delivering it to the intended >> recipient, you are hereby notified that you have received this document in >> error and that any review, dissemination, distribution, or copying of this >> message is strictly prohibited. If you have received this communication in >> error, please notify us immediately by e-mail, and delete the original >> message. >> >> ---------------------------------------------------------------------- >> 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 >> > > ---------------------------------------------------------------------- > 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 ---------------------------------------------------------------------- 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
