[OPSAWG] Comments on draft-asai-vmm-mib-04
Joe Marcus Clarke <jclarke@cisco.com> Sun, 18 August 2013 23:28 UTC
Return-Path: <jclarke@cisco.com>
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 6DAB711E8186 for <opsawg@ietfa.amsl.com>; Sun, 18 Aug 2013 16:28:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.582
X-Spam-Level:
X-Spam-Status: No, score=-10.582 tagged_above=-999 required=5 tests=[AWL=0.017, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 t43yIBx79VcF for <opsawg@ietfa.amsl.com>; Sun, 18 Aug 2013 16:28:42 -0700 (PDT)
Received: from av-tac-bru.cisco.com (weird-brew.cisco.com [144.254.15.118]) by ietfa.amsl.com (Postfix) with ESMTP id F41A411E80AD for <opsawg@ietf.org>; Sun, 18 Aug 2013 16:28:41 -0700 (PDT)
X-TACSUNS: Virus Scanned
Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-bru.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id r7INSdOC025274 for <opsawg@ietf.org>; Mon, 19 Aug 2013 01:28:40 +0200 (CEST)
Received: from rtp-jclarke-8912.cisco.com (rtp-jclarke-8912.cisco.com [10.117.46.163]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id r7INSdVx009280 for <opsawg@ietf.org>; Sun, 18 Aug 2013 19:28:39 -0400 (EDT)
Message-ID: <521158A7.2090407@cisco.com>
Date: Sun, 18 Aug 2013 19:28:39 -0400
From: Joe Marcus Clarke <jclarke@cisco.com>
Organization: Cisco Systems, Inc.
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: opsawg@ietf.org
X-Enigmail-Version: 1.5.2
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Subject: [OPSAWG] 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: Sun, 18 Aug 2013 23:28:47 -0000
Sorry for the big delay between IETF-87 and now. I wanted to officially record my comments about this proposed MIB module on the mailing list to backup what I said on the mic in the working group session. Please see JMC below. Section 1: The design of this MIB module has been derived from enterprise specific MIB modules, namely a MIB module for managing guests of the Xen hypervisor, a MIB module for managing virtual machines controlled by the VMware hypervisor, and a MIB module using the libvirt programming interface to access different hypervisors. JMC: While I think the intention is to say that this MIB pulls from other, existing MIBs for common virtualization platforms, it may come across as being limited to only those platforms. Perhaps it is good to say that this MIB then attempts to generalize those modules to support other hypervisors as well? Section 3.3: Concerning vmTable JMC: I think there should be an object in this table such as vmMgmtAddr, which lists the management IP address of the VM. This would be akin to what one would see in vCenter for a VMware-controlled VM. As a manager, this would be very useful in being able to discover other potential SNMP agents in the network. JMC: The purpose of this MIB is not to provide configuration of the hypervisor. Quoting section 3.2: "The MIB module provides a few writable objects that can be used to make non-persistent changes, e.g., changing the memory allocation or the CPU allocation. It is not the goal of this MIB module to provide a configuration interface for virtual machines since other protocols and data modeling languages are more suitable for this task." To that end, I find objects like vmAutoStart, vmMinCpuNumber, vmMaxCpuNumber, vmMinMem, and vmMaxMem strange. For starters, vmAutoStart mentions the word "configuration" in its description. And the other objects, at least from a VMware standpoint are actually specified in the VM's configuration. One would have to, for example, shutdown the VM to increase the number of vCPUs allocated to the VM. Therefore, I feel all of these objects represent persistent changes to the hypervisor in support of the respective VM. I think these objects should go away and only the read-only objects showing current vCPU allocation, affinity, and memory stats should remain. As for auto-start, that can be read-only. The alternative is to say that some persistent changes will be allowed (such as auto-start), but general VM resource configuration will be out of scope. Section 3.3: vmNetworkEntry OBJECT-TYPE SYNTAX VmNetworkEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry for one virtual storage device attached to the virtual machine." INDEX { vmIndex, vmNetworkIndex } ::= { vmNetworkTable 1 } JMC: Note how the description describes this as "storage" device... Section 3.3: Concerning vmNetworkTable. JMC: I think there should be a vmNetworkVlan object in this table that describes the VLAN ID associated to the underlying interface. This need not be used for every hypervisor, but I think it is very important in some (like VMware). JMC: What would one expect if I have a VM connected to multiple vSwitches in a VMware environment? What object will tell me to what vSwitch I am connected? Should there also be a name here for the virtual interface? I'm thinking of the case where something like a Cisco Nexus 1000v switch is used. In that case, knowing that I am connected to Ethernet1/1 might be useful. JMC: Like in the VM table, I wonder if it makes sense to have a network management address for the case where the associated virtual network device can be independently managed. Section 3.3: Concerning vmNotifications. JMC: I think there should be a general notification for VM changing state. The reason for this is that some of the state transitions described in section 3.2 Figure 2 can take a long time (e.g., running -> shuttingdown -> shutdown). In that case, an administrator may have to wait minutes before being alerted to the fact that her VM is offline. If there was a notification for vmStateChange, then the admin would be notified immediately if a VM entered a degraded state. I think that's all I noticed. Thanks. Joe -- 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] Comments on draft-asai-vmm-mib-04 Joe Marcus Clarke
- [OPSAWG] VMM-MIB: Proposal: Joe-1 (was Re: Commen… Michael MacFaden
- [OPSAWG] VM-MIB: Proposal: Joe-2 (was Re: Comment… Michael MacFaden
- Re: [OPSAWG] VMM-MIB: Proposal: Joe-1 (was Re: Co… Joe Marcus Clarke
- Re: [OPSAWG] VM-MIB: Proposal: Joe-2 (was Re: Com… Joe Marcus Clarke
- [OPSAWG] VMM-MIB: Proposal: Joe -3 (Was Re: Comme… Michael MacFaden
- Re: [OPSAWG] VM-MIB: Proposal: Joe-2 (was Re: Com… Juergen Schoenwaelder
- Re: [OPSAWG] VMM-MIB: Proposal: Joe -3 (Was Re: C… Juergen Schoenwaelder
- Re: [OPSAWG] VMM-MIB: Proposal: Joe -3 (Was Re: C… Joe Marcus Clarke
- Re: [OPSAWG] VM-MIB: Proposal: Joe-2 (was Re: Com… Michael MacFaden
- Re: [OPSAWG] VM-MIB: Proposal: Joe-2 (was Re: Com… Joe Marcus Clarke
- [OPSAWG] VMM-MIB: Proposal: Joe-4 (was Re: Commen… Michael MacFaden
- Re: [OPSAWG] VM-MIB: Proposal: Joe-2 (was Re: Com… Juergen Schoenwaelder
- [OPSAWG] VMM-MIB: Proposal: Joe-5 (was Re: Commen… Michael MacFaden
- [OPSAWG] VMM-MIB: Proposal: Joe-7 (was Re: Commen… Michael MacFaden
- Re: [OPSAWG] VM-MIB: Proposal: Joe-2 (was Re: Com… Joe Marcus Clarke
- Re: [OPSAWG] VMM-MIB: Proposal: Joe -3 (Was Re: C… Joe Marcus Clarke
- Re: [OPSAWG] VMM-MIB: Proposal: Joe-5 (was Re: Co… Joe Marcus Clarke
- Re: [OPSAWG] VMM-MIB: Proposal: Joe-7 (was Re: Co… Joe Marcus Clarke
- Re: [OPSAWG] VM-MIB: Proposal: Joe-2 (was Re: Com… Michael MacFaden
- Re: [OPSAWG] VM-MIB: Proposal: Joe-2 (was Re: Com… Joe Marcus Clarke
- Re: [OPSAWG] VMM-MIB: Proposal: Joe-5 (was Re: Co… Michael MacFaden
- Re: [OPSAWG] VMM-MIB: Proposal: Joe -3 (Was Re: C… Juergen Schoenwaelder
- Re: [OPSAWG] VMM-MIB: Proposal: Joe -3 (Was Re: C… Joe Marcus Clarke
- Re: [OPSAWG] VMM-MIB: Proposal: Joe -3 (Was Re: C… Juergen Schoenwaelder
- [OPSAWG] Proposal: mrm-1 Remove or move configura… Michael MacFaden
- Re: [OPSAWG] Proposal: mrm-1 Remove or move confi… Juergen Schoenwaelder
- Re: [OPSAWG] Proposal: mrm-1 Remove or move confi… Michael MacFaden
- Re: [OPSAWG] Proposal: mrm-1 Remove or move confi… Tina TSOU
- Re: [OPSAWG] VMM-MIB: Proposal: Joe -3 (Was Re: C… Joe Marcus Clarke
- Re: [OPSAWG] VMM-MIB: Proposal: Joe -3 (Was Re: C… Michael MacFaden
- Re: [OPSAWG] VMM-MIB: Proposal: Joe -3 (Was Re: C… Joe Marcus Clarke
- Re: [OPSAWG] VMM-MIB: Proposal: Joe -3 (Was Re: C… Hirochika Asai
- Re: [OPSAWG] VMM-MIB: Proposal: Joe -3 (Was Re: C… Joe Marcus Clarke
- Re: [OPSAWG] VM-MIB: Proposal: Joe-2 (was Re: Com… Hirochika Asai
- Re: [OPSAWG] VM-MIB: Proposal: Joe-2 (was Re: Com… Hirochika Asai
- Re: [OPSAWG] VM-MIB: Proposal: Joe-2 (was Re: Com… Michael MacFaden
- Re: [OPSAWG] VM-MIB: Proposal: Joe-2 (was Re: Com… Hirochika Asai
- Re: [OPSAWG] VM-MIB: Proposal: Joe-2 (was Re: Com… Michael MacFaden
- Re: [OPSAWG] VMM-MIB: Proposal: Joe -3 (Was Re: C… Hirochika Asai
- Re: [OPSAWG] VMM-MIB: Proposal: Joe -3 (Was Re: C… Joe Marcus Clarke
- Re: [OPSAWG] VMM-MIB: Proposal: Joe -3 (Was Re: C… Hirochika Asai