1 a.dunfey 1.1 // ===================================================================
2 // Title: System Operating System
3 // $State: Preliminary $
4 // $Date: 2005/01/12 17:35:47 $
5 // $Source: /home/dmtf2/dotorg/var/cvs/repositories/dev/Schema/MOF/System_OperatingSystem.mof,v $
6 // $Revision: 1.7 $
7 // ===================================================================
8 //#pragma inLine ("Includes/copyright.inc")
9 // Copyright 1998-2005 Distributed Management Task Force, Inc. (DMTF).
10 // All rights reserved.
11 // DMTF is a not-for-profit association of industry members dedicated
12 // to promoting enterprise and systems management and interoperability.
13 // DMTF specifications and documents may be reproduced for uses
14 // consistent with this purpose by members and non-members,
15 // provided that correct attribution is given.
16 // As DMTF specifications may be revised from time to time,
17 // the particular version and release date should always be noted.
18 //
19 // Implementation of certain elements of this standard or proposed
20 // standard may be subject to third party patent rights, including
21 // provisional patent rights (herein "patent rights"). DMTF makes
22 a.dunfey 1.1 // no representations to users of the standard as to the existence
23 // of such rights, and is not responsible to recognize, disclose, or
24 // identify any or all such third party patent right, owners or
25 // claimants, nor for any incomplete or inaccurate identification or
26 // disclosure of such rights, owners or claimants. DMTF shall have no
27 // liability to any party, in any manner or circumstance, under any
28 // legal theory whatsoever, for failure to recognize, disclose, or
29 // identify any such third party patent rights, or for such party's
30 // reliance on the standard or incorporation thereof in its product,
31 // protocols or testing procedures. DMTF shall have no liability to
32 // any party implementing such standard, whether such implementation
33 // is foreseeable or not, nor to any patent owner or claimant, and shall
34 // have no liability or responsibility for costs or losses incurred if
35 // a standard is withdrawn or modified after publication, and shall be
36 // indemnified and held harmless by any party implementing the
37 // standard from any and all claims of infringement by a patent owner
38 // for such implementations.
39 //
40 // For information about patents held by third-parties which have
41 // notified the DMTF that, in their opinion, such patent may relate to
42 // or impact implementations of DMTF standards, visit
43 a.dunfey 1.1 // http://www.dmtf.org/about/policies/disclosures.php.
44 //#pragma inLine
45 // ===================================================================
46 // Description: The System Model defines system related management
47 // concepts. This file defines the specific concepts for
48 // operating systems.
49 //
50 // The object classes below are listed in an order that
51 // avoids forward references. Required objects, defined
52 // by other working groups, are omitted.
53 // ==================================================================
54 // Change Log for v2.7 Final
55 // CR935 - Rename OperationSystem.OSTypes value "VM/ESA" to "VM" and
56 // add new "z/OS" value
57 //
58 // Change Log for v2.7
59 // CR757 - Change the subclassing of OperatingSystem from Logical
60 // Element to EnabledLogicalElement
61 // CR767 - Add the Compostion qualifer to InstalledOS
62 // CR770 - Extend OperatingSystem.OSType to include "Windows XP"
63 // - Add model correspondence to OperatingSystem.OSType
64 a.dunfey 1.1 // CR876 - Rename the "Digital Unix" operating system type to
65 // "Tru64 UNIX".
66 // ===================================================================
67
68 #pragma locale ("en_US")
69
70
71 // ===================================================================
72 // OperatingSystem
73 // ===================================================================
74 [Version ( "2.7.0" ), Description (
75 "An OperatingSystem is software/firmware that makes a "
76 "ComputerSystem's hardware usable, and implements and/or "
77 "manages the resources, file systems, processes, user "
78 "interfaces, services, ... available on the ComputerSystem.")]
79 class CIM_OperatingSystem : CIM_EnabledLogicalElement {
80
81 [Key, Propagated ( "CIM_ComputerSystem.CreationClassName" ),
82 Description (
83 "The scoping ComputerSystem's CreationClassName."),
84 MaxLen ( 256 )]
85 a.dunfey 1.1 string CSCreationClassName;
86
87 [Key, Propagated ( "CIM_ComputerSystem.Name" ), Description (
88 "The scoping ComputerSystem's Name."),
89 MaxLen ( 256 )]
90 string CSName;
91
92 [Key, Description (
93 "CreationClassName indicates the name of the class or the "
94 "subclass used in the creation of an instance. When used "
95 "with the other key properties of this class, this property "
96 "allows all instances of this class and its subclasses to be "
97 "uniquely identified."),
98 MaxLen ( 256 )]
99 string CreationClassName;
100
101 [Key, Override ( "Name" ), Description (
102 "The inherited Name serves as key of an OperatingSystem "
103 "instance within a ComputerSystem."),
104 MaxLen ( 256 ),
105 MappingStrings { "MIF.DMTF|Operating System|001.2" }]
106 a.dunfey 1.1 string Name;
107
108 [Description (
109 "A integer indicating the type of OperatingSystem."),
110 //#pragma inLine ("Includes\OSTypes.inc")
111 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
112 "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
113 "20", "21", "22", "23", "24", "25", "26", "27", "28", "29",
114 "30", "31", "32", "33", "34", "35", "36", "37", "38", "39",
115 "40", "41", "42", "43", "44", "45", "46", "47", "48", "49",
116 "50", "51", "52", "53", "54", "55", "56", "57", "58", "59",
117 "60", "61", "62", "63", "64", "65", "66", "67", "68", "69",
118 "70" },
119 Values { "Unknown", "Other", "MACOS", "ATTUNIX", "DGUX",
120 "DECNT", "Tru64 UNIX", "OpenVMS", "HPUX", "AIX",
121 //10
122 "MVS", "OS400", "OS/2", "JavaVM", "MSDOS", "WIN3x", "WIN95",
123 "WIN98", "WINNT", "WINCE",
124 //20
125 "NCR3000", "NetWare", "OSF", "DC/OS", "Reliant UNIX",
126 "SCO UnixWare", "SCO OpenServer", "Sequent", "IRIX",
127 a.dunfey 1.1 "Solaris",
128 //30
129 "SunOS", "U6000", "ASERIES",
130 "HP NonStop OS" , "HP NonStop OSS", "BS2000", "LINUX",
131 "Lynx", "XENIX", "VM",
132 //40
133 "Interactive UNIX", "BSDUNIX", "FreeBSD", "NetBSD",
134 "GNU Hurd", "OS9", "MACH Kernel", "Inferno", "QNX", "EPOC",
135 //50
136 "IxWorks", "VxWorks", "MiNT", "BeOS", "HP MPE", "NextStep",
137 "PalmPilot", "Rhapsody", "Windows 2000", "Dedicated",
138 //60
139 "OS/390", "VSE", "TPF","Windows (R) Me", "Caldera Open UNIX",
140 "OpenBSD", "Not Applicable", "Windows XP", "z/OS",
141 "Microsoft Windows Server 2003",
142 "Microsoft Windows Server 2003 64-Bit" },
143 //#pragma inLine
144 ModelCorrespondence {
145 "CIM_OperatingSystem.OtherTypeDescription",
146 "CIM_SoftwareElement.TargetOperatingSystem" }]
147 uint16 OSType;
148 a.dunfey 1.1
149 [Description (
150 "A string describing the manufacturer and OperatingSystem "
151 "type - used when the OperatingSystem property, OSType, is "
152 "set to 1 or 59 (\"Other\" or \"Dedicated\"). The format of "
153 "the string inserted in OtherTypeDescription should be "
154 "similar in format to the Values strings defined for OSType. "
155 "OtherTypeDescription should be set to NULL when OSType is "
156 "any value other than 1 or 59."),
157 MaxLen ( 64 ),
158 ModelCorrespondence { "CIM_OperatingSystem.OSType" }]
159 string OtherTypeDescription;
160
161 [Description (
162 "A string describing the Operating System's version number. "
163 "The format of the version information is as follows: <Major "
164 "Number>.<Minor Number>.<Revision> or <Major Number>.<Minor "
165 "Number>.<Revision Letter>."),
166 MappingStrings { "MIF.DMTF|Operating System|001.3" }]
167 string Version;
168
169 a.dunfey 1.1 [Description (
170 "Time when the OperatingSystem was last booted."),
171 MappingStrings { "MIF.DMTF|General Information|001.5" }]
172 datetime LastBootUpTime;
173
174 [Description (
175 "OperatingSystem's notion of the local date and time of day."),
176 MappingStrings { "MIB.IETF|HOST-RESOURCES-MIB.hrSystemDate",
177 "MIF.DMTF|General Information|001.6" }]
178 datetime LocalDateTime;
179
180 [Description (
181 "CurrentTimeZone indicates the number of minutes the "
182 "OperatingSystem is offset from Greenwich Mean Time. Either "
183 "the number is positive, negative or zero."),
184 Units ( "Minutes" )]
185 sint16 CurrentTimeZone;
186
187 [Description (
188 "Number of user licenses for the OperatingSystem. If "
189 "unlimited, enter 0.")]
190 a.dunfey 1.1 uint32 NumberOfLicensedUsers;
191
192 [Description (
193 "Number of user sessions for which the OperatingSystem is "
194 "currently storing state information."),
195 Gauge,
196 MappingStrings { "MIF.DMTF|Host System|001.4",
197 "MIB.IETF|HOST-RESOURCES-MIB.hrSystemNumUsers" }]
198 uint32 NumberOfUsers;
199
200 [Description (
201 "Number of process contexts currently loaded or running on "
202 "the OperatingSystem."),
203 Gauge,
204 MappingStrings { "MIF.DMTF|Host System|001.5",
205 "MIB.IETF|HOST-RESOURCES-MIB.hrSystemProcesses" }]
206 uint32 NumberOfProcesses;
207
208 [Description (
209 "Maximum number of process contexts the OperatingSystem can "
210 "support. If there is no fixed maximum, the value should be "
211 a.dunfey 1.1 "0. On systems that have a fixed maximum, this object can "
212 "help diagnose failures that occur when the maximum is "
213 "reached."),
214 MappingStrings { "MIF.DMTF|Host System|001.6",
215 "MIB.IETF|HOST-RESOURCES-MIB.hrSystemMaxProcesses" }]
216 uint32 MaxNumberOfProcesses;
217
218 [Description (
219 "Total swap space in Kbytes. This value may be NULL "
220 "(unspecified) if swap space is not distinguished from page "
221 "files. However, some Operating Systems distinguish these "
222 "concepts. For example, in UNIX, whole processes can be "
223 "'swapped out' when the free page list falls and remains "
224 "below a specified amount."),
225 Units ( "KiloBytes" )]
226 uint64 TotalSwapSpaceSize;
227
228 [Description (
229 "Number of Kbytes of virtual memory. For example, this may "
230 "be calculated by adding the amount of total RAM to the "
231 "amount of paging space (ie, adding the amount of memory "
232 a.dunfey 1.1 "in/aggregated by the ComputerSystem to the property, "
233 "SizeStoredInPagingFiles."),
234 Units ( "KiloBytes" ),
235 MappingStrings { "MIF.DMTF|System Memory Settings|001.5" }]
236 uint64 TotalVirtualMemorySize;
237
238 [Description (
239 "Number of Kbytes of virtual memory currently unused and "
240 "available. For example, this may be calculated by adding "
241 "the amount of free RAM to the amount of free paging space "
242 "(ie, adding the properties, FreePhysicalMemory and "
243 "FreeSpace InPagingFiles)."),
244 Units ( "KiloBytes" ), Gauge,
245 MappingStrings { "MIF.DMTF|System Memory Settings|001.6" }]
246 uint64 FreeVirtualMemory;
247
248 [Description (
249 "Number of Kbytes of physical memory currently unused and "
250 "available."),
251 Units ( "KiloBytes" ), Gauge,
252 MappingStrings { "MIF.DMTF|System Memory Settings|001.2",
253 a.dunfey 1.1 "MIF.UNIX|Host Physical Memory|6.1" }]
254 uint64 FreePhysicalMemory;
255
256 [Description (
257 "The total amount of physical memory (in Kbytes) available "
258 "to the OperatingSystem. This value does not necessarily "
259 "indicate the true amount of physical memory, but what is "
260 "reported to the OperatingSystem as available to it."),
261 Units ( "KiloBytes" )]
262 uint64 TotalVisibleMemorySize;
263
264 [Description (
265 "The total number of KBytes that can be stored in the "
266 "OperatingSystem's paging files. 0 indicates that there are "
267 "no paging files."),
268 Units ( "KiloBytes" ),
269 MappingStrings { "MIF.DMTF|System Memory Settings|001.3" }]
270 uint64 SizeStoredInPagingFiles;
271
272 [Description (
273 "The total number of KBytes that can be mapped into the "
274 a.dunfey 1.1 "OperatingSystem's paging files without causing any other "
275 "pages to be swapped out. 0 indicates that there are no "
276 "paging files."),
277 Units ( "KiloBytes" ), Gauge,
278 MappingStrings { "MIF.DMTF|System Memory Settings|001.4" }]
279 uint64 FreeSpaceInPagingFiles;
280
281 [Description (
282 "Maximum number of Kbytes of memory that can be allocated to "
283 "a Process. For Operating Systems with no virtual memory, "
284 "this value is typically equal to the total amount of "
285 "physical Memory minus memory used by the BIOS and OS. For "
286 "some Operating Systems, this value may be infinity - in "
287 "which case, 0 should be entered. In other cases, this value "
288 "could be a constant - for example, 2G or 4G."),
289 Units ( "KiloBytes" )]
290 uint64 MaxProcessMemorySize;
291
292 [Description (
293 "Boolean indicating whether the OperatingSystem is "
294 "distributed across several ComputerSystem nodes. If so, "
295 a.dunfey 1.1 "these nodes should be grouped as a Cluster.")]
296 boolean Distributed;
297
298 [Description (
299 "A value that indicates the maximum processes that a user "
300 "can have associate with it.")]
301 uint32 MaxProcessesPerUser;
302
303 [Description (
304 "Requests a reboot of the OperatingSystem. The return value "
305 "should be 0 if the request was successfully executed, 1 if "
306 "the request is not supported and some other value if an "
307 "error occurred. In a subclass, the set of possible return "
308 "codes could be specified, using a ValueMap qualifier on the "
309 "method. The strings to which the ValueMap contents are "
310 "'translated' may also be specified in the subclass as a "
311 "Values array qualifier.")]
312 uint32 Reboot();
313
314 [Description (
315 "Requests a shutdown of the OperatingSystem. The return "
316 a.dunfey 1.1 "value should be 0 if the request was successfully executed, "
317 "1 if the request is not supported and some other value if "
318 "an error occurred. It is up to the implementation or "
319 "subclass of OperatingSystem to establish dependencies "
320 "between the Shutdown and Reboot methods, and for example, "
321 "to provide more sophisticated capabilities such as "
322 "scheduled shutdown/ reboot, etc. In a subclass, the set of "
323 "possible return codes could be specified, using a ValueMap "
324 "qualifier on the method. The strings to which the ValueMap "
325 "contents are 'translated' may also be specified in the "
326 "subclass as a Values array qualifier.")]
327 uint32 Shutdown();
328 };
329
330
331 // ===================================================================
332 // InstalledOS
333 // ===================================================================
334 [Association, Aggregation, Composition, Version ( "2.7.0" ),
335 Description (
336 "A link between the ComputerSystem and the OperatingSystem(s) "
337 a.dunfey 1.1 "installed or loaded on it. An OperatingSystem is 'installed' "
338 "on a ComputerSystem, when placed on one of its StorageExtents "
339 "- for example, copied to a disk drive or downloaded to Memory. "
340 "Using this definition, an OperatingSystem is 'installed' on a "
341 "NetPC when downloaded via the network.")]
342 class CIM_InstalledOS : CIM_SystemComponent {
343
344 [Aggregate, Override ( "GroupComponent" ), Min ( 1 ), Max ( 1 ),
345 Description (
346 "The ComputerSystem.")]
347 CIM_ComputerSystem REF GroupComponent;
348
349 [Override ( "PartComponent" ), Weak, Description (
350 "The OperatingSystem installed on the ComputerSystem.")]
351 CIM_OperatingSystem REF PartComponent;
352
353 [Description (
354 "Boolean indicating that the OperatingSystem is the default "
355 "OS for the ComputerSystem."),
356 MappingStrings { "MIF.DMTF|Operating System|001.4" }]
357 boolean PrimaryOS;
358 a.dunfey 1.1 };
359
360
361 // ===================================================================
362 // RunningOS
363 // ===================================================================
364 [Association, Version ( "2.6.0" ), Description (
365 "RunningOS indicates the currently executing OperatingSystem. "
366 "At most one OperatingSystem can execute at any time on a "
367 "ComputerSystem. 'At most one' is specified, since the Computer "
368 "System may not be currently booted, or its OperatingSystem may "
369 "be unknown.")]
370 class CIM_RunningOS : CIM_Dependency {
371
372 [Override ( "Antecedent" ), Max ( 1 ), Description (
373 "The OperatingSystem currently running on the "
374 "ComputerSystem.")]
375 CIM_OperatingSystem REF Antecedent;
376
377 [Override ( "Dependent" ), Max ( 1 ), Description (
378 "The ComputerSystem.")]
379 a.dunfey 1.1 CIM_ComputerSystem REF Dependent;
380 };
381
382
383 // ===================================================================
384 // BootOSFromFS
385 // ===================================================================
386 [Association, Version ( "2.6.0" ), Description (
387 "A link between the OperatingSystem and the FileSystem(s) from "
388 "which this OperatingSystem is loaded. The association is many- "
389 "to-many since a Distributed OS could depend on several File "
390 "Systems in order to correctly and completely load.")]
391 class CIM_BootOSFromFS : CIM_Dependency {
392
393 [Override ( "Antecedent" ), Description (
394 "The FileSystem from which the OperatingSystem is loaded.")]
395 CIM_FileSystem REF Antecedent;
396
397 [Override ( "Dependent" ), Description (
398 "The OperatingSystem.")]
399 CIM_OperatingSystem REF Dependent;
400 a.dunfey 1.1 };
401
402
403 // ===================================================================
404 // end of file
405 // ===================================================================
|