{"id":369,"date":"2015-03-03T14:59:36","date_gmt":"2015-03-03T19:59:36","guid":{"rendered":"http:\/\/www.hpux.ws\/?p=369"},"modified":"2015-03-03T15:01:42","modified_gmt":"2015-03-03T20:01:42","slug":"scopeux-and-midaemon-dont-want-to-run","status":"publish","type":"post","link":"https:\/\/www.hpux.ws\/?p=369","title":{"rendered":"scopeux and midaemon don&#8217;t want to run"},"content":{"rendered":"<p>midaemon and scopeux combine to collect performance data on HP-UX.<\/p>\n<p>They both need to be running to properly collect data.<\/p>\n<p>These are part of a depot called measureware which is part of the base OS.<\/p>\n<p>To see if it is installed:<br \/>\n<strong>swlist -l bundle TC097EA<\/strong><br \/>\nmyserv0:root > swlist -l bundle TC097EA<br \/>\n# Initializing&#8230;<br \/>\n# Contacting target &#8220;myserv0&#8243;&#8230;<br \/>\n#<br \/>\n# Target:  myserv0:\/<br \/>\n#<\/p>\n<p>  TC097EA       11.20.000      HP Operations Agent<\/p>\n<p>If not installed, HP Operations Agent can be downloaded from HP if you have a software contract with HP.<\/p>\n<p>It is also delivered as part of openview, which is a separately licensed product.<\/p>\n<p>I recently implemented performance data collection on a fleet of 100+ servers where I work.<\/p>\n<p>On three of the servers, the daemons refused to run normally.<\/p>\n<p>The following error was recorded in the file \/var\/opt\/perf\/status.mi<br \/>\nUnable to find newly enabled CPU.<br \/>\nPlease use -prealloc to allocate bufsets for all CPUs.<\/p>\n<p>Here are the steps to implement.<br \/>\n<strong>mwa stop all<br \/>\n\/opt\/perf\/bin\/ovpa stop<br \/>\n\/opt\/perf\/bin\/pctl stop<br \/>\nperfstat<br \/>\n<\/strong><br \/>\nkill any processes gently identified as running in perfstat output.<\/p>\n<p>Edit the file \/etc\/rc.config.d\/ovpa<br \/>\nMIPARMS=&#8221;-prealloc=2 -pids 10000 -kths 10000 -smdvss 512M&#8221;<br \/>\nexport MIPARMS<\/p>\n<p>2 is the number of physical cpus in the box.<br \/>\nIf present the file \/var\/opt\/perf\/datafiles\/RUN should be deleted.<\/p>\n<p><strong><br \/>\nmwa start all<br \/>\nperfstat<\/strong><\/p>\n<p>Check back in 1 hour and one day that midaemon and scopeux are still running.<br \/>\nCheck \/var\/opt\/perf\/datafiles for updated log files.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>midaemon and scopeux combine to collect performance data on HP-UX.<\/p>\n<p>They both need to be running to properly collect data.<\/p>\n<p>These are part of a depot called measureware which is part of the base OS.<\/p>\n<p>Here is a start up troubleshooting guide.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_kadence_starter_templates_imported_post":false,"footnotes":""},"categories":[28,10,12,39],"tags":[3,124,125,126,123],"class_list":["post-369","post","type-post","status-publish","format-standard","hentry","category-capacity-planning","category-patch","category-perf","category-scripting","tag-hpux","tag-midaemon","tag-miparm","tag-performance-monitor-hp-ux","tag-scopeux"],"_links":{"self":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/369"}],"collection":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=369"}],"version-history":[{"count":2,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/369\/revisions"}],"predecessor-version":[{"id":371,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/369\/revisions\/371"}],"wp:attachment":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}