<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CPU reverts to original number after vparmodify in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-reverts-to-original-number-after-vparmodify/m-p/5183417#M460342</link>
    <description>is The node part of a WLM or gWLM configuration? If it's managed by gWLM then the command:&lt;BR /&gt;&lt;BR /&gt;gwlmstatus&lt;BR /&gt;&lt;BR /&gt;should give you an indication of that&lt;BR /&gt;&lt;BR /&gt;If WLM, then look for the wlmd or wlmpard process.&lt;BR /&gt;&lt;BR /&gt;In either case, if WLM or gWLM is responsible for managing the node, you shouldn't be adjusting CPU entitlements manually. &lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
    <pubDate>Wed, 24 Jun 2009 05:24:13 GMT</pubDate>
    <dc:creator>Duncan Edmonstone</dc:creator>
    <dc:date>2009-06-24T05:24:13Z</dc:date>
    <item>
      <title>CPU reverts to original number after vparmodify</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-reverts-to-original-number-after-vparmodify/m-p/5183416#M460341</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I recently ran across this situation where whenever I remove CPU from one vpar (vpar1) and add it to vpar2, it succeeds but shortly after that, vpar2's CPU count reverts back to the original CPU count prior to the change. &lt;BR /&gt;&lt;BR /&gt;So what I did was put the static attribute to "Static". That worked, the CPUs that were added stayed. But then I notice from syslog that a process attempts to revert it back to original number (of course it failed because I set it to static). What's going on there?&lt;BR /&gt;&lt;BR /&gt;Here's a log:&lt;BR /&gt;&lt;BR /&gt;Virtual Partition Name         State Attributes   Kernel Path             Opts&lt;BR /&gt;============================== ===== ============ ======================= =====&lt;BR /&gt;vpar1                       Up    Stat,Auto,Nsr/stand/vmunix                &lt;BR /&gt;vpar2                       Up    Stat,Auto,Nsr/stand/vmunix                &lt;BR /&gt;&lt;BR /&gt;[Virtual Partition Resource Summary]&lt;BR /&gt;                                CPU      Num   Num     Memory Granularity&lt;BR /&gt;Virtual Partition Name          Min/Max  CPUs  IO       ILM         CLM&lt;BR /&gt;==============================  =======  ====  ====  ==========  ==========&lt;BR /&gt;vpar1                          4/ 24    4     5         128         128    &lt;BR /&gt;vpar2                          4/ 24     24     5         128         128    &lt;BR /&gt;&lt;BR /&gt;1. From that output, vpar1 has 4 CPUs, vpar2 has 24 CPUs.&lt;BR /&gt;&lt;BR /&gt;2. I removed 20 CPUs from vpar2:&lt;BR /&gt;vpar1&amp;gt; vparmodify -S dynamic -p vpar2 -d cpu::20 -S static&lt;BR /&gt;&lt;BR /&gt;3. there are now 20 available CPUs:&lt;BR /&gt;vpar1&amp;gt; vparstatus -A | grep "Available CPUs"&lt;BR /&gt;&lt;BR /&gt;[Available CPUs]:  20&lt;BR /&gt;&lt;BR /&gt;4. I added those 20 CPUs to vpar1:&lt;BR /&gt;&lt;BR /&gt;vpar1&amp;gt; vparstatus -S dynamic -p vpar1 -a cpu::20 -S static&lt;BR /&gt;&lt;BR /&gt;5. That worked, vparstatus now shows vpar1 has 24 CPUs.&lt;BR /&gt;&lt;BR /&gt;6. But look at vpar1's syslog.log. Every second, something's trying to put it back to 4! What process is doing that? Of course that fails because I set it to static, but when I previously ran vparmodify when the vpars were dynamic, that command succeeds and reverts the CPU count right away after a successful add. And what's vparmodify -t? I dont see that option in the man page.&lt;BR /&gt;&lt;BR /&gt;Any ideas?? Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;vpar1&amp;gt; model&lt;BR /&gt;ia64 hp superdome server SD32B&lt;BR /&gt;vpar1&amp;gt; uname -a&lt;BR /&gt;HP-UX vpar1 B.11.31 U ia64 1708439072 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vpar1&amp;gt; tail /var/adm/syslog/syslog.log&lt;BR /&gt;Jun 24 03:49:07 vpar1 vparmodify[14265]: user root: /usr/sbin/vparmodify -t -p vpar1 -m cpu::4 &lt;BR /&gt;Jun 24 03:49:07 vpar1 vparmodify[14265]: exit status 1&lt;BR /&gt;Jun 24 03:49:08 vpar1 vparmodify[14266]: user root: /usr/sbin/vparmodify -t -p vpar1 -m cpu::4 &lt;BR /&gt;Jun 24 03:49:08 vpar1 vparmodify[14266]: exit status 1&lt;BR /&gt;Jun 24 03:49:08 vpar1 vparmodify[14267]: user root: /usr/sbin/vparmodify -t -p vpar1 -m cpu::4 &lt;BR /&gt;Jun 24 03:49:08 vpar1 vparmodify[14267]: exit status 1&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jun 2009 02:57:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-reverts-to-original-number-after-vparmodify/m-p/5183416#M460341</guid>
      <dc:creator>Victor Sien</dc:creator>
      <dc:date>2009-06-24T02:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: CPU reverts to original number after vparmodify</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-reverts-to-original-number-after-vparmodify/m-p/5183417#M460342</link>
      <description>is The node part of a WLM or gWLM configuration? If it's managed by gWLM then the command:&lt;BR /&gt;&lt;BR /&gt;gwlmstatus&lt;BR /&gt;&lt;BR /&gt;should give you an indication of that&lt;BR /&gt;&lt;BR /&gt;If WLM, then look for the wlmd or wlmpard process.&lt;BR /&gt;&lt;BR /&gt;In either case, if WLM or gWLM is responsible for managing the node, you shouldn't be adjusting CPU entitlements manually. &lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Wed, 24 Jun 2009 05:24:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-reverts-to-original-number-after-vparmodify/m-p/5183417#M460342</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2009-06-24T05:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: CPU reverts to original number after vparmodify</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-reverts-to-original-number-after-vparmodify/m-p/5183418#M460343</link>
      <description>&lt;BR /&gt;There's no gwlm but there's WLM. How do I go about verifying what are the restrictions imposed?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vpar1&amp;gt; gwlmstatus&lt;BR /&gt;Product Name:   null&lt;BR /&gt;License Status: Unknown. Please check any CMS associated with agent.&lt;BR /&gt;&lt;BR /&gt;Status of gwlmagent on host vpar1:   Not running&lt;BR /&gt;SRD:    No SRD deployed on host vpar1.&lt;BR /&gt;vpar1&amp;gt; ps -ef | grep wlm&lt;BR /&gt;    root  5806     1  0 05:50:08 ?         0:00 /opt/wlm/bin/wlmcomd&lt;BR /&gt;    root  5803     1  0 05:50:08 ?         0:08 /opt/wlm/bin/wlmpard -a /etc/wlm_par.conf&lt;BR /&gt;    root  5786     1  0 05:50:07 ?         0:17 /opt/wlm/bin/wlmd -a /etc/wlm.conf&lt;BR /&gt;    root  5791  5786  0 05:50:08 ?         0:29 /opt/wlm/lbin/wlmparc -i1 -z1052672 -Pvpar1&lt;BR /&gt;    root 16985 13664  1 13:31:36 pts/1     0:00 grep wlm&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jun 2009 12:36:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-reverts-to-original-number-after-vparmodify/m-p/5183418#M460343</guid>
      <dc:creator>Victor Sien</dc:creator>
      <dc:date>2009-06-24T12:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: CPU reverts to original number after vparmodify</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-reverts-to-original-number-after-vparmodify/m-p/5183419#M460344</link>
      <description>If you don't know WLM you should probably review the documentation before changing anything:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/netsys/index.html#HP-UX%20Workload%20Manager" target="_blank"&gt;http://docs.hp.com/hpux/netsys/index.html#HP-UX%20Workload%20Manager&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There's a Java based X-Windows GUI that should make things a little simpler to follow. Set your DISPLAY variable appropriately and run:&lt;BR /&gt;&lt;BR /&gt;wlmgui&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Wed, 24 Jun 2009 15:52:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-reverts-to-original-number-after-vparmodify/m-p/5183419#M460344</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2009-06-24T15:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: CPU reverts to original number after vparmodify</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-reverts-to-original-number-after-vparmodify/m-p/5183420#M460345</link>
      <description>&lt;BR /&gt;Thanks guys. It was indeed due to WLM. I disabled it and the problem went away. It was actually the default config. I find it strange though no where in the documentation does it explain what vparmodify -t is.</description>
      <pubDate>Thu, 25 Jun 2009 13:37:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-reverts-to-original-number-after-vparmodify/m-p/5183420#M460345</guid>
      <dc:creator>Victor Sien</dc:creator>
      <dc:date>2009-06-25T13:37:28Z</dc:date>
    </item>
  </channel>
</rss>

