Solaris WBEM Developer's Guide


The Solaris WBEM Developer's Guide explains Common Information Model (CIM) concepts. In addition, this guide describes how to administer Web-Based Enterprise Management (WBEM) services in the SolarisTM operating environment.

In addition, this guide describes the Solaris Web-Based Enterprise Management Software Developer's Kit (WBEM SDK). The WBEM SDK enables developers to create standards-based applications that manage resources in the Solaris operating environment. Developers can also use this toolkit to write providers, which are programs that communicate with managed resources to access data.

The Solaris WBEM SDK includes the following items:

Who Should Use This Book

This book is for the following types of software developers:

Before You Read This Book

This book requires a solid understanding of the following information:

If you are unfamiliar with these areas, you might find the following references useful:

The following web sites are useful resources when working with WBEM technologies:

How This Book Is Organized

Chapter 1, Overview of Solaris Web-Based Enterprise Management introduces Web-Based Enterprise Management (WBEM), the Common Information Model (CIM), the application programming interfaces (APIs) in the Solaris WBEM SDK, and CIM Workshop.

Chapter 2, Using the CIM Object Manager describes the CIM Object Manager. This chapter covers how to start and how to stop the CIM Object Manager and how to upgrade the CIM Object Manager Repository.

Chapter 3, Using the Sample Programs describes the sample programs that are provided with the Solaris WBEM SDK.

Chapter 4, Writing a Client Program explains how to use the client APIs to write client programs.

Chapter 5, Writing WBEM Queries explains how to use the WBEM Query Language (WQL) and the Query APIs to write and handle queries.

Chapter 6, Writing a Provider Program explains how to use the provider APIs to write provider programs.

Chapter 7, Creating JavaBeans Components Using the MOF Compiler explains how to use the MOF compiler.

Chapter 8, Administering Security describes WBEM security mechanisms and the features that the CIM Object Manager enforces.

Chapter 9, Troubleshooting describes how to view log data and explains the error messages that are generated by components of the Solaris WBEM SDK.

Appendix A, Solaris Schema describes the MOF files that are included with the Solaris WBEM SDK.

Related Information

You might also want to refer to the following related documentation:

Accessing Sun Documentation Online

The docs.sun.comSM Web site enables you to access Sun technical documentation online. You can browse the archive or search for a specific book title or subject. The URL is

Typographic Conventions

The following table describes the typographic changes used in this book.

Table P–1 Typographic Conventions

Typeface or Symbol 




 The names of commands, files, and directories; on-screen computer output

Edit your .login file.

Use ls -a to list all files.

machine_name% you have mail.


 What you type, contrasted with on-screen computer output

machine_name% su



 Command-line placeholder: replace with a real name or value

To delete a file, type rm filename.


Book titles, new words, or terms, or words to be emphasized. 

Read Chapter 6 in User's Guide.

These are called class options.

You must be root to do this.

Shell Prompts in Command Examples

The following table shows the default system prompt and superuser prompt for the C shell, Bourne shell, and Korn shell.

Table P–2 Shell Prompts



 C shell promptmachine_name%
 C shell superuser promptmachine_name#
 Bourne shell and Korn shell prompt$
 Bourne shell and Korn shell superuser prompt#