xnox | cpaelzer, do you know at all how to enable z/vm monitoring? | 13:34 |
---|---|---|
xnox | https://www.ibm.com/support/knowledgecenter/linuxonibm/com.ibm.linux.z.lgdd/lgdd_t_monst_setup_gvm.html?lang=en | 13:34 |
cpaelzer | xnox: what you linked is for Linux to provide extra data to the monitor | 13:53 |
cpaelzer | xnox: do you mean that or how to enable monitoring in general so that you can feed data into it? | 13:54 |
xnox | cpaelzer, yes. | 13:54 |
xnox | cpaelzer, i did all the linux side things, and the kernel is telling me "not allowed to write data" | 13:54 |
xnox | so i assume that monitoring is not enabled on z/VM side of things, and/or e.g. i didn't bring online the needed CCW device or some such. | 13:54 |
cpaelzer | I always used monitor stuff for performance data, never for appldata - but I should be able to find a redbook or so that describes the host portion of it | 13:55 |
xnox | cpaelzer, i thought MONITOR SAMPLE ENABLE APPLDATA ALL et.al. are z/VM CP commands, no? | 13:55 |
cpaelzer | give me a sec | 13:55 |
xnox | i tried to run that through #vmcp and it told me to go away =( | 13:56 |
cpaelzer | they are cp commands | 13:56 |
cpaelzer | but you have to have that stuff installed | 13:56 |
cpaelzer | what you have looks like the config for monwriteer | 13:56 |
xnox | "Set this option in the z/VM user directory entry of the virtual machine in which the application that uses this device driver is to run:" | 14:00 |
cpaelzer | yep | 14:00 |
xnox | what is z/VM user directory? how do i check which options it has? how do i change them? | 14:00 |
cpaelzer | consider it a bit (only a bit) the virsh.xml of your guest | 14:01 |
cpaelzer | depending on permissions you can modify yours - more often you need an admin login | 14:01 |
cpaelzer | you can (try to) edit your current profile - usually with "x profile exec a" | 14:01 |
cpaelzer | x is the editor | 14:02 |
cpaelzer | be aware if you thought vi is strange a decade ago | 14:02 |
cpaelzer | "profile+exec" is like "file+extension" | 14:02 |
cpaelzer | a is where it is -on your a disk | 14:02 |
cpaelzer | when you log on to a guest | 14:02 |
cpaelzer | then your profile is executed | 14:03 |
cpaelzer | ah you forgot the CP | 14:03 |
cpaelzer | well no vmcp already goes to cp | 14:03 |
xnox | cp says unknown monitor command, if i like get a c3270 console up | 14:03 |
cpaelzer | I'd recommend x3270 | 14:03 |
cpaelzer | http://www.redbooks.ibm.com/redbooks/pdfs/sg248147.pdf | 14:04 |
cpaelzer | contains an example on editing your profile | 14:04 |
cpaelzer | on page 247 | 14:04 |
cpaelzer | they even have the enables you wanted | 14:04 |
cpaelzer | they enable more - for the perf monitoring that I mentioned | 14:04 |
cpaelzer | section 9.4.1 is what you currently d | 14:06 |
cpaelzer | do | 14:06 |
cpaelzer | there is a reference for "OPTION APPLMON" | 14:06 |
cpaelzer | I never needed to set that, but then my systems always might just have had it enabled by some friendly admins | 14:06 |
cpaelzer | Option applmon is for your directory entry | 14:07 |
cpaelzer | that now is the real counterpart to a virsh.xml | 14:07 |
cpaelzer | rule of thumb: | 14:07 |
cpaelzer | directory entry = virsh.xm | 14:08 |
cpaelzer | profile = autoexec.bat (yes old win example I know) | 14:08 |
cpaelzer | page 183 has an example of the option being enabled in the driectory | 14:08 |
cpaelzer | FYI - DIAG X#DC' seems to be the way it is implemented - see http://publib.boulder.ibm.com/epubs/pdf/hcse5c00.pdf | 14:10 |
cpaelzer | that is how the hipercall is made from linux to the hipervisor | 14:10 |
cpaelzer | but that is done for you in the appl* modules | 14:10 |
cpaelzer | just if you ever need to debug it | 14:10 |
cpaelzer | you might need inaddy or an IS admin to change your directory | 14:13 |
cpaelzer | I currently look for a query how you could check if it is enabled | 14:13 |
cpaelzer | xnox: ^^ | 14:13 |
xnox | cpaelzer, x3270 is aweful -> c3270 is so much better. I have a high dpi screen laptop, and x3270 is unusable. Plus c3270 has everything too. | 14:13 |
xnox | curses, but yeah. | 14:13 |
cpaelzer | whatever works for you | 14:14 |
* cpaelzer lacks $ for high DPI | 14:14 | |
cpaelzer | http://www.ibm.com/support/knowledgecenter/SSB27U_6.2.0/com.ibm.zvm.v620.hcpa5/option.htm%23option | 14:14 |
cpaelzer | about setting OPTION APPLMON | 14:14 |
xnox | it came out of my toys budget =) | 14:14 |
cpaelzer | familiy consumes toy budged | 14:15 |
* xnox is single :-P | 14:16 | |
cpaelzer | xnox: what does "vmcp query monitor all" give you | 14:18 |
cpaelzer | I really think we need to check that it is enabled as step1 | 14:18 |
xnox | $ sudo vmcp query monitor all | 14:18 |
xnox | [sudo] password for ubuntu: | 14:18 |
xnox | HCPCFC003E Invalid option - MONITOR | 14:18 |
xnox | Error: non-zero CP response for command 'QUERY MONITOR ALL': #3 | 14:18 |
cpaelzer | that seems very disabled/unavailable to me | 14:19 |
cpaelzer | there should have been so much stuff in the report - like if the appldata domain is active and all that | 14:20 |
cpaelzer | https://www.ibm.com/support/knowledgecenter/SSB27U_6.3.0/com.ibm.zvm.v630.hcpb7/qmon.htm | 14:20 |
cpaelzer | but it seems monitor itself is unavailable - as I said I always had the luxury of such basics being set up :-) | 14:21 |
cpaelzer | lets consider it is not installed7enabled | 14:21 |
cpaelzer | xnox: I've asked a few people that should know better - need to wait til they reply | 14:27 |
xnox | cool | 14:28 |
xnox | thanks! | 14:28 |
cpaelzer | xnox: there might be my family-evening-break in between, but I definetly come back to you later | 14:28 |
cpaelzer | xnox: well we are totally without privileges | 14:35 |
cpaelzer | xnox: even to query if enabled it need a user with A or E | 14:36 |
cpaelzer | but we only have G | 14:36 |
cpaelzer | That very likely applies to your enable as well | 14:36 |
cpaelzer | we need someone to change the entries of you login | 14:36 |
cpaelzer | while doing so he can ensure you have Option applmon enabled | 14:37 |
cpaelzer | inaddy: ^^ - can you do that ? | 14:37 |
cpaelzer | RT ticket ? | 14:37 |
cpaelzer | also I really think that xnox user should get like ABEGU privclasses | 14:37 |
xnox | wel.... maybe not. | 14:37 |
cpaelzer | xnox: yes the MONITOR command for your enable is Priv class A and E as well | 14:39 |
cpaelzer | so without that you won't do a lot :-) | 14:39 |
cpaelzer | xnox: so really - open a RT ticket to get your z/VM login (that of your guest) also priv class A and E | 14:43 |
cpaelzer | xnox: otherwise I don't see you continuing to work on this | 14:44 |
cpaelzer | and once you have that you can start with the query to see what actually is enabled | 14:44 |
cpaelzer | then enable it with the command you already had | 14:44 |
cpaelzer | then query again | 14:44 |
cpaelzer | then cross fingers and do it | 14:44 |
cpaelzer | xnox: away with the kids for a while, let me know if you need more | 14:45 |
inaddy | sorry guys my daughter was born yesterday. still in hospital. could u ping frank | 14:47 |
inaddy | cpaelzer: ^ | 14:47 |
cpaelzer | inaddy: absolutely - I hope everything is fine - and gratz | 17:56 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!