Re: [OPSAWG] VMM-MIB: Proposal: Joe -3 (Was Re: Comments on draft-asai-vmm-mib-04)

Hirochika Asai <panda@hongo.wide.ad.jp> Tue, 08 October 2013 12:07 UTC

Return-Path: <panda@hongo.wide.ad.jp>
X-Original-To: opsawg@ietfa.amsl.com
Delivered-To: opsawg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F14A021E8198 for <opsawg@ietfa.amsl.com>; Tue, 8 Oct 2013 05:07:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.904
X-Spam-Level:
X-Spam-Status: No, score=0.904 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, RELAY_IS_203=0.994]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bB9oOICYQNF8 for <opsawg@ietfa.amsl.com>; Tue, 8 Oct 2013 05:07:18 -0700 (PDT)
Received: from mail.hongo.wide.ad.jp (mail.hongo.wide.ad.jp [203.178.135.13]) by ietfa.amsl.com (Postfix) with ESMTP id C704621E81B8 for <opsawg@ietf.org>; Tue, 8 Oct 2013 05:07:02 -0700 (PDT)
Received: from [157.82.5.2] (unknown [157.82.5.2]) by mail.hongo.wide.ad.jp (Postfix) with ESMTPSA id 8B680108E50A; Tue, 8 Oct 2013 21:07:01 +0900 (JST)
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
Content-Type: text/plain; charset="iso-2022-jp"
From: Hirochika Asai <panda@hongo.wide.ad.jp>
In-Reply-To: <5215067C.3040000@cisco.com>
Date: Tue, 08 Oct 2013 21:07:01 +0900
Content-Transfer-Encoding: quoted-printable
Message-Id: <4191F938-9BE8-4CD3-AB12-B709E57E04ED@hongo.wide.ad.jp>
References: <521158A7.2090407@cisco.com> <1831198276.32845557.1376936766818.JavaMail.root@vmware.com> <20130819183443.GB477@elstar.local> <52128244.8060107@cisco.com> <20130820063754.GC1861@elstar.local> <5215067C.3040000@cisco.com>
To: Joe Marcus Clarke <jclarke@cisco.com>
X-Mailer: Apple Mail (2.1510)
Cc: opsawg@ietf.org
Subject: Re: [OPSAWG] VMM-MIB: Proposal: Joe -3 (Was Re: Comments on draft-asai-vmm-mib-04)
X-BeenThere: opsawg@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: OPSA Working Group Mail List <opsawg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/opsawg>, <mailto:opsawg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/opsawg>
List-Post: <mailto:opsawg@ietf.org>
List-Help: <mailto:opsawg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/opsawg>, <mailto:opsawg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Oct 2013 12:07:23 -0000

Hi,

I'm working on revising our draft and updating our implementation
now.  Here I'd like to go on this topic again because I found some
points to be discussed.

According to this discussion, the MAX-ACCESS of vmMinCpuNumber etc.
is left as read-write with "MUST NOT persist" sentence.

I think vmCurCpuNumber and vmCurMem are more operational parameters
than vmMax* and vmMin*.  So shall we change the MAX-ACCESS of these
two objects to read-write?  It depends on the hypervisor
implementation whether these objects as well as vmMax* and vmMin*
can be changed without persisted.  It also dependes on a guest OS
whether vmCur* can be changed for running virtual machines.

Could you give us your comments on this?

Thank you,
Hirochika


On Aug 22, 2013, at 3:27 AM, Joe Marcus Clarke <jclarke@cisco.com> wrote:

> On 8/20/13 2:37 AM, Juergen Schoenwaelder wrote:
>> On Mon, Aug 19, 2013 at 04:38:28PM -0400, Joe Marcus Clarke wrote:
>>>> 
>>>> We seem to agree on the general scope. Now we have to determine which
>>>> objects reasonably have a MAX-ACCESS or read-write. For me, it seems
>>>> that vmAutoStart likely should indeed be read-only. However, as far as
>>>> I know, Xen allows to change vmMinCpuNumber, vmMaxCpuNumber, vmMinMem,
>>>> and vmMaxMem at runtime without touching persistent config state.
>>> 
>>> If the WG's intent is to leave them as RW (and I can see that certain
>>> HV's allow this sans persistence), then there should be stronger
>>> guidance (I think) that indicates that these are operational-only
>>> objects and the new values should not be persisted.  But that may be too
>>> messy.
> 
> Sorry for the delay.  I've been in meetings this week.
> 
>> 
>> There is already text like this:
>> 
>>      Changes to this object may not persist across restarts of the
>>      hypervisor.
>> 
>> What is your proposal to make this clearer / stronger?
> 
> This leaves it open to one persisting it.  You could use normative
> language and say, MUST NOT persist...
> 
>> 
>>> Is there a strong push from operators to toggle these values via SNMP?
>> 
>> Remeber that this is a MAX-ACCESS. RFC 2578 section 7.3 says that it
>> 'defines whether it makes "protocol sense" to read, write and/or
>> create an instance of the object, or to include its value in a
>> notification'. The compliance statement vmReadOnlyCompliances says
>> that write access is not required to be implemented. I believe this is
>> how we commonly do things in a MIB module - we allow read-write
>> implementations but we do not require read-write implementations.
>> Hence, I prefer to make no changes (except perhaps vmAutoStart but I
>> need to check whether there are hypervisors that actually allow to
>> change autostart behaviour of the running instance without touching
>> persistent config - this might actually be possible).
> 
> That's fair.  I was not aware of the ability to adjust VM CPU and memory
> on the fly without touching the config.  That said, I struggle to
> understand the use case of doing this via SNMP versus a more reliable API.
> 
> I would also ask that some language be added to the compliance section
> like you have in Section 3.2 about only implementing read-write if the
> changes can be made dynamically and independent of the config.
> 
> Joe
> 
>> 
>> /js
>> 
> 
> 
> -- 
> Joe Marcus Clarke, CCIE #5384,         |          |
> SCJP, SCSA, SCNA, SCSECA, VCP        |||||      |||||
> Distinguished Services Engineer ..:|||||||||::|||||||||:..
> Phone: +1 (919) 392-2867         c i s c o  S y s t e m s
> Email: jclarke@cisco.com
> 
> ----------------------------------------------------------------------------
> _______________________________________________
> OPSAWG mailing list
> OPSAWG@ietf.org
> https://www.ietf.org/mailman/listinfo/opsawg
> 

-- 
Hirochika Asai <panda@hongo.wide.ad.jp>, The University of Tokyo