From owner-freebsd-arch Wed Jul 12 14:47:40 2000 Delivered-To: freebsd-arch@freebsd.org Received: from smtp05.primenet.com (smtp05.primenet.com [206.165.6.135]) by hub.freebsd.org (Postfix) with ESMTP id 3EFC737B94C for ; Wed, 12 Jul 2000 14:47:37 -0700 (PDT) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp05.primenet.com (8.9.3/8.9.3) id OAA15434; Wed, 12 Jul 2000 14:47:59 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp05.primenet.com, id smtpdAAAd1ay.D; Wed Jul 12 14:47:48 2000 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id OAA24077; Wed, 12 Jul 2000 14:47:20 -0700 (MST) From: Terry Lambert Message-Id: <200007122147.OAA24077@usr02.primenet.com> Subject: Re: Final call for review: Dynamic sysctls. To: abial@webgiro.com (Andrzej Bialecki) Date: Wed, 12 Jul 2000 21:47:20 +0000 (GMT) Cc: phk@critter.freebsd.dk (Poul-Henning Kamp), tlambert@primenet.com (Terry Lambert), freebsd-arch@FreeBSD.ORG In-Reply-To: from "Andrzej Bialecki" at Jul 12, 2000 08:05:37 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > >> Please obtain an OID arc from IANA, and establish your > > >> hierarchy under an OID, with both dynamic and static subtrees, > > >> so that these controls can also be exported via SNMP, ACAP, > > >> LDAP, SLPv2, Saluatation, HP JetSend, JINI, LISA, and T-Spaces, > > >> as well as other externalization protocols. > > > > > >Sounds like a good idea. How do I go about it? > > > > I already have registered a vendor OID with IANA for FreeBSD. > > Good! Then what it is? He can't just give it out and let you use it without allocating a sub-arc to the specific purpose. > > Terry on the other hand doesn't realize what he is saying here > > so don't pay too much attention to him for now. > > I disagree with you here. I certainly see merit in having a tree > that can easily be exported preserving 1:1 oid numbering wihtout fear that > they will clash with someone else's. Yes. More and more people (including IBM, since they bought Whistle) are using FreeBSD for thin servers. It would really piss me off if I couldn't put a thin server from one vendor on the network with a thin server from another, and use the same schema. > OTOH, since most oids are created nowadays with OID_AUTO, the > exact numbers will differ for the same nodes depending on how and > when they were created. Indeed, when we added OID_AUTO we more or > less abandoned the idea of having constant oid numbers that go > with names. As it is now, more reliable method would be actually > to create external oids from names using some hashing schema... :^)) Or have the OIDs _be_ the names, and use user space mappings for the humans who intend to deal with them. This would make them invariant, for the most part, if sparse. The big problem with variance and hashing is that you have to make it invariant, or get the same result on the hash, in order to be able to externalize the data. LDAP can externalize subschema or other attributes at the same time; this would be more difficult to achieve with SNMP, which doesn't intrinsically understand the idea of an indirect reference, and where schema is, more often than not, considered to be invariant, and as something that gets loaded into a management console and never changes. Even were you to do the indirection for LDAP, you would end up with a schema with its own statically assigned OID that then would use data, wherein the synthetic OIDs would just be some extraneous bit of information. Mapping from an LDAP modify request to a sysctl entry change on a particular machine would be a bear. 8-(. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message