Re: Changing LPAR Weights
I tried to get this manual Zseries API, but I could not find it. What the manual number. Thanks, Mohamed Juma --- On Thu, 1/29/09, Edward Jaffe edja...@phoenixsoftware.com wrote: From: Edward Jaffe edja...@phoenixsoftware.com Subject: Re: Changing LPAR Weights To: IBM-MAIN@bama.ua.edu Date: Thursday, January 29, 2009, 1:14 PM gsg wrote: Edward, Do we have to be running our HMC on Unix? We have not converted our HMC to unix. Yet. No. The zSeries API has been around for many years--long before the Linux-based HMC/SE. We first started using it on our z800 with an OS/2-based HMC/SE. I suggest you download and read the zSeries API manual from IBM's site. That book should answer any further questions you might have. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 edja...@phoenixsoftware.com http://www.phoenixsoftware.com/ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Changing LPAR Weights
Mohamed Juma wrote: I tried to get this manual Zseries API, but I could not find it. What the manual number. http://www.ibm.com/support/docview.wss?uid=isg27c10b677aa79464885256ced004fb19a -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 edja...@phoenixsoftware.com http://www.phoenixsoftware.com/ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Changing LPAR Weights
gsg pisze: I thought the BPXBATCH utility was for Unix or something? Are you saying it will work with a os/2 HMC? GSG (nice name btw), Yes, BPXBATCH is the utility for Unix or something. I would strongly suggest to CHECK IT IN YOUR DOCUMENTATION before asking. Ed suggested several times that you should read the manual. I would suggest something different: don't touch it before you learn the basics. Asking the questions on the forum is not replacement of education. Ad meritum: BPXBATCH is a program which one can use in EXEC statement to run Unix command or program. Unix aka Unix System Services (USS) - part of z/OS. So, it works on z/OS. -- Radoslaw Skorupka Lodz, Poland -- BRE Bank SA ul. Senatorska 18 00-950 Warszawa www.brebank.pl Sd Rejonowy dla m. st. Warszawy XII Wydzia Gospodarczy Krajowego Rejestru Sdowego, nr rejestru przedsibiorców KRS 025237 NIP: 526-021-50-88 Wedug stanu na dzie 01.01.2008 r. kapita zakadowy BRE Banku SA wynosi 118.642.672 zote i zosta w caoci wpacony. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Changing LPAR Weights
Edward, Do we have to be running our HMC on Unix? We have not converted our HMC to unix. Yet. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Changing LPAR Weights
I seem to recall that there are some licensing issues to the effect that customers are not permitted to modify the HMC software or hardware in any way. To do so would impair the CE's ability to service all of the HMC, SE, and the box itself. -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of gsg Sent: Thursday, January 29, 2009 9:45 AM To: IBM-MAIN@bama.ua.edu Subject: Re: Changing LPAR Weights Edward, Do we have to be running our HMC on Unix? We have not converted our HMC to unix. Yet. NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Changing LPAR Weights
gsg wrote: Edward, Do we have to be running our HMC on Unix? We have not converted our HMC to unix. Yet. No. The zSeries API has been around for many years--long before the Linux-based HMC/SE. We first started using it on our z800 with an OS/2-based HMC/SE. I suggest you download and read the zSeries API manual from IBM's site. That book should answer any further questions you might have. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 edja...@phoenixsoftware.com http://www.phoenixsoftware.com/ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Changing LPAR Weights
I thought the BPXBATCH utility was for Unix or something? Are you saying it will work with a os/2 HMC? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Changing LPAR Weights
No. The zSeries API has been around for many years--long before the Linux-based HMC/SE. We first started using it on our z800 with an OS/2-based HMC/SE. We used it under OPS/MVS on a 9672, IIRC. But, I know for sure it worked on z/900's. - Too busy driving to stop for gas! -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Changing LPAR Weights
gsg wrote: I thought the BPXBATCH utility was for Unix or something? Yes. BPXBATCH allows you to run z/OS UNIX shell scripts or commands in batch. That capability has nothing whatsoever to do with the HMC. Are you saying it will work with a os/2 HMC? Yes. It has worked this way for many, many years. Please download and read the zSeries API documentation from IBM's web site. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 edja...@phoenixsoftware.com http://www.phoenixsoftware.com/ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Changing LPAR Weights
Just checking, is there any other way to change the LPAR weights other than HMC or the Service Element? No system commands that I'm aware of that allow this, correct? TIA... -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Changing LPAR Weights
On Wed, 28 Jan 2009 07:21:12 -0800, Patrick Falcone patrick.falco...@verizon.net wrote: Just checking, is there any other way to change the LPAR weights other than HMC or the Service Element? No system commands that I'm aware of that allow this, correct? TIA... z/OS does not come with any commands to do this. There is some sort of an API where a z/OS application can talk to the HMC. But I don't know what all can be done with it. -- John -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Changing LPAR Weights
John McKown wrote: ... There is some sort of an API where a z/OS application can talk to the HMC. But I don't know what all can be done with it. It's called the zSeries API. The books are available from ResourceLink. LPAR weight adjustment is easily done using this interface. You'll have to get comfortable with SNMP and MIBs. You can also enable WLM LPAR Weight Management and let WLM adjust LPAR weights automatically based on real-time sampling. It's slow to react, but it eventually seems to do the right thing. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 edja...@phoenixsoftware.com http://www.phoenixsoftware.com/ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Changing LPAR Weights
Can this be done via a batch job? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Changing LPAR Weights
gsg wrote: Can this be done via a batch job? Yes. We do it using BPXBATCH. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 edja...@phoenixsoftware.com http://www.phoenixsoftware.com/ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Changing LPAR Weights
Would you be able to share your JCL? TIA -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Changing LPAR Weights
gsg wrote: Would you be able to share your JCL? Have you read the books on the zSeries API? I'm just using a slightly modified version of IBM's sample hwmcamvs.exe. When you unpax hwmcamvs.tar, you get the source code from which hwmcamvs.exe was built. It has a hard-coded SNMP community name. So, I copied the source, changed the community name on line #4 to match what we specify in our HMC. #define COMMUNITY your-name I then compiled my own hwmcaphx.exe using the following: c++ -c -W c,DLL -I /V1R4M0/usr/include/ hwmcaphx.c c++ -o hwmcaphx.exe hwmcaphx.o HWMCAAPI.x The hwmcamvs and/or hwmcaphx commands can be invoked from any OMVS prompt, SSH, telnet or from a shell script or REXX exec running under an OMVS environment. And, as I indicated, you can launch a script or REXX exec that invokes hwmcaxxx in batch using BPXBATCH. Ed Jaffe -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html