/srv/irclogs.ubuntu.com/2016/04/13/#ubuntu-s390x.txt

xnoxcpaelzer, do you know at all how to enable z/vm monitoring?13:34
xnoxhttps://www.ibm.com/support/knowledgecenter/linuxonibm/com.ibm.linux.z.lgdd/lgdd_t_monst_setup_gvm.html?lang=en13:34
cpaelzerxnox: what you linked is for Linux to provide extra data to the monitor13:53
cpaelzerxnox: do you mean that or how to enable monitoring in general so that you can feed data into it?13:54
xnoxcpaelzer, yes.13:54
xnoxcpaelzer, i did all the linux side things, and the kernel is telling me "not allowed to write data"13:54
xnoxso 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
cpaelzerI 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 it13:55
xnoxcpaelzer, i thought MONITOR SAMPLE ENABLE APPLDATA ALL et.al. are z/VM CP commands, no?13:55
cpaelzergive me a sec13:55
xnoxi tried to run that through #vmcp and it told me to go away =(13:56
cpaelzerthey are cp commands13:56
cpaelzerbut you have to have that stuff installed13:56
cpaelzerwhat you have looks like the config for monwriteer13: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
cpaelzeryep14:00
xnoxwhat is z/VM user directory? how do i check which options it has? how do i change them?14:00
cpaelzerconsider it a bit (only a bit) the virsh.xml of your guest14:01
cpaelzerdepending on permissions you can modify yours - more often you need an admin login14:01
cpaelzeryou can (try to) edit your current profile - usually with "x profile exec a"14:01
cpaelzerx is the editor14:02
cpaelzerbe aware if you thought vi is strange a decade ago14:02
cpaelzer"profile+exec" is like "file+extension"14:02
cpaelzera is where it is -on your a disk14:02
cpaelzerwhen you log on to a guest14:02
cpaelzerthen your profile is executed14:03
cpaelzerah you forgot the CP14:03
cpaelzerwell no vmcp already goes to cp14:03
xnoxcp says unknown monitor command, if i like get a c3270 console up14:03
cpaelzerI'd recommend x327014:03
cpaelzerhttp://www.redbooks.ibm.com/redbooks/pdfs/sg248147.pdf14:04
cpaelzercontains an example on editing your profile14:04
cpaelzeron page 24714:04
cpaelzerthey even have the enables you wanted14:04
cpaelzerthey enable more - for the perf monitoring that I mentioned14:04
cpaelzersection 9.4.1 is what you currently d14:06
cpaelzerdo14:06
cpaelzerthere is a reference for "OPTION APPLMON"14:06
cpaelzerI never needed to set that, but then my systems always might just have had it enabled by some friendly admins14:06
cpaelzerOption applmon is for your directory entry14:07
cpaelzerthat now is the real counterpart to a virsh.xml14:07
cpaelzerrule of thumb:14:07
cpaelzerdirectory entry = virsh.xm14:08
cpaelzerprofile = autoexec.bat (yes old win example I know)14:08
cpaelzerpage 183 has an example of the option being enabled in the driectory14:08
cpaelzerFYI - DIAG X#DC' seems to be the way it is implemented - see http://publib.boulder.ibm.com/epubs/pdf/hcse5c00.pdf14:10
cpaelzerthat is how the hipercall is made from linux to the hipervisor14:10
cpaelzerbut that is done for you in the appl* modules14:10
cpaelzerjust if you ever need to debug it14:10
cpaelzeryou might need inaddy or an IS admin to change your directory14:13
cpaelzerI currently look for a query how you could check if it is enabled14:13
cpaelzerxnox: ^^14:13
xnoxcpaelzer, 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
xnoxcurses, but yeah.14:13
cpaelzerwhatever works for you14:14
* cpaelzer lacks $ for high DPI14:14
cpaelzerhttp://www.ibm.com/support/knowledgecenter/SSB27U_6.2.0/com.ibm.zvm.v620.hcpa5/option.htm%23option14:14
cpaelzerabout setting OPTION APPLMON14:14
xnoxit came out of my toys budget =)14:14
cpaelzerfamiliy consumes toy budged14:15
* xnox is single :-P14:16
cpaelzerxnox: what does "vmcp query monitor all" give you14:18
cpaelzerI really think we need to check that it is enabled as step114:18
xnox$ sudo vmcp query monitor all14:18
xnox[sudo] password for ubuntu:14:18
xnoxHCPCFC003E Invalid option - MONITOR14:18
xnoxError: non-zero CP response for command 'QUERY MONITOR ALL': #314:18
cpaelzerthat seems very disabled/unavailable to me14:19
cpaelzerthere should have been so much stuff in the report - like if the appldata domain is active and all that14:20
cpaelzerhttps://www.ibm.com/support/knowledgecenter/SSB27U_6.3.0/com.ibm.zvm.v630.hcpb7/qmon.htm14:20
cpaelzerbut it seems monitor itself is unavailable - as I said I always had the luxury of such basics being set up :-)14:21
cpaelzerlets consider it is not installed7enabled14:21
cpaelzerxnox: I've asked a few people that should know better - need to wait til they reply14:27
xnoxcool14:28
xnoxthanks!14:28
cpaelzerxnox: there might be my family-evening-break in between, but I definetly come back to you later14:28
cpaelzerxnox: well we are totally without privileges14:35
cpaelzerxnox: even to query if enabled it need a user with A or E14:36
cpaelzerbut we only have G14:36
cpaelzerThat very likely applies to your enable as well14:36
cpaelzerwe need someone to change the entries of you login14:36
cpaelzerwhile doing so he can ensure you have Option applmon enabled14:37
cpaelzerinaddy: ^^ - can you do that ?14:37
cpaelzerRT ticket ?14:37
cpaelzeralso I really think that xnox user should get like ABEGU privclasses14:37
xnoxwel.... maybe not.14:37
cpaelzerxnox: yes the MONITOR command for your enable is Priv class A and E as well14:39
cpaelzerso without that you won't do a lot :-)14:39
cpaelzerxnox: so really - open a RT ticket to get your z/VM login (that of your guest) also priv class A and E14:43
cpaelzerxnox: otherwise I don't see you continuing to work on this14:44
cpaelzerand once you have that you can start with the query to see what actually is enabled14:44
cpaelzerthen enable it with the command you already had14:44
cpaelzerthen query again14:44
cpaelzerthen cross fingers and do it14:44
cpaelzerxnox: away with the kids for a while, let me know if you need more14:45
inaddysorry guys my daughter was born yesterday. still in hospital. could u ping frank14:47
inaddycpaelzer: ^14:47
cpaelzerinaddy: absolutely - I hope everything is fine - and gratz17:56

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!