version 1.6, 2009/01/13 18:27:33
|
version 1.6.8.2, 2013/11/21 17:59:38
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
<html><head> |
<html> |
|
<head> |
<meta http-equiv="Content-Language" content="en-us"> | <meta http-equiv="Content-Language" content="en-us"> |
<meta name="GENERATOR" content="Microsoft FrontPage 6.0"> | <meta name="GENERATOR" content="Microsoft FrontPage 6.0"> |
<meta name="ProgId" content="FrontPage.Editor.Document"> | <meta name="ProgId" content="FrontPage.Editor.Document"> |
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title>OpenPegasus 2.6 README</title> |
<meta http-equiv="Content-Type" |
|
content="text/html; charset=windows-1252"> |
<link rel="stylesheet" href="http://www.opengroup.org/stylesheets/info1+margins.css"> |
<title>OpenPegasus README</title> |
|
<link rel="stylesheet" |
|
href="http://www.opengroup.org/stylesheets/info1+margins.css"> |
<style> | <style> |
<!-- | <!-- |
table.MsoNormalTable | table.MsoNormalTable |
|
|
<body> | <body> |
<hr> | <hr> |
<p><b>Abstract:</b> Installation, build, | <p><b>Abstract:</b> Installation, build, |
and operation |
and operation information on |
information on |
the OpenPegasus . Note that if this readme |
the OpenPegasus Version 2.8.0 |
|
Release. Note that if this readme |
|
conflicts with the documentation in the release notes or interface | conflicts with the documentation in the release notes or interface |
definition documents for a particular release, those documents should | definition documents for a particular release, those documents should |
be considered authoritative. This is a simplified | be considered authoritative. This is a simplified |
|
|
DMTF CIM objects written in C++ | DMTF CIM objects written in C++ |
and hosted by The Open Group </p> | and hosted by The Open Group </p> |
<a href="#Overview">OpenPegasus Overview</a> | <a href="#Overview">OpenPegasus Overview</a> |
<blockquote style="margin-top: 0pt; margin-bottom: 0pt;"> <a href="#avail_of_peg">Availability</a><br> |
<blockquote style="margin-top: 0pt; margin-bottom: 0pt;"> <a |
|
href="#avail_of_peg">Availability</a><br> |
<a href="#peg_sup_plat">Supported Platforms</a><br> | <a href="#peg_sup_plat">Supported Platforms</a><br> |
<a href="#peg_dep">Dependencies</a><br> | <a href="#peg_dep">Dependencies</a><br> |
<a href="#cmnd">Commands</a><br> | <a href="#cmnd">Commands</a><br> |
|
|
<a href="#part">How to Participate</a><br> | <a href="#part">How to Participate</a><br> |
</blockquote> | </blockquote> |
<a href="#inst_peg">Installing OpenPegasus</a> | <a href="#inst_peg">Installing OpenPegasus</a> |
<blockquote style="margin-top: 0pt; margin-bottom: 0pt;"><a href="#download">Download or Checkout</a><br> |
<blockquote style="margin-top: 0pt; margin-bottom: 0pt;"><a |
|
href="#download">Download or Checkout</a><br> |
<a href="#vfy_req_sw">Verify Dependencies</a><br> | <a href="#vfy_req_sw">Verify Dependencies</a><br> |
<a href="#set_envt_var">Set the Environment Variables</a><br> | <a href="#set_envt_var">Set the Environment Variables</a><br> |
<a href="#bld_peg">Build the Executables</a><br> | <a href="#bld_peg">Build the Executables</a><br> |
|
|
Building with SSL</a><br> | Building with SSL</a><br> |
</blockquote> | </blockquote> |
<a href="#test">Testing an OpenPegasus installation</a><br> | <a href="#test">Testing an OpenPegasus installation</a><br> |
<blockquote style="margin-top: 0pt; margin-bottom: 0pt;"> <a href="#test_icu">Testing with ICU enabled</a><br> |
<blockquote style="margin-top: 0pt; margin-bottom: 0pt;"> <a |
|
href="#test_icu">Testing with ICU enabled</a><br> |
</blockquote> | </blockquote> |
<hr> | <hr> |
<h1><a name="Overview">OpenPegasus Overview</a> | <h1><a name="Overview">OpenPegasus Overview</a> |
|
|
functions.</li> | functions.</li> |
<li>More complete information on the exact functions | <li>More complete information on the exact functions |
and their functional state is available from the Release Notes | and their functional state is available from the Release Notes |
(pegasus/ReleaseNotes.htm) and the OpenPegasus <a href="http://www.openpegasus.org/page.tpl?CALLER=index.tpl&ggid=799">Feature |
(pegasus/ReleaseNotes.htm) and the OpenPegasus <a |
|
href="http://www.openpegasus.org/page.tpl?CALLER=index.tpl&ggid=799">Feature |
Status Page</a>.</li> | Status Page</a>.</li> |
</ol> | </ol> |
</blockquote> | </blockquote> |
|
|
Group. OpenPegasus is maintained under the license defined in | Group. OpenPegasus is maintained under the license defined in |
the | the |
doc | doc |
directory of this release. The specific file is: <font style="color: rgb(0, 0, 0);">pegasus/doc/license.txt</font>. |
directory of this release. The specific file is: <font |
|
style="color: rgb(0, 0, 0);">pegasus/doc/license.txt</font>. |
This licensing is intended to support as | This licensing is intended to support as |
wide a | wide a |
distribution as possible with minimal demands on the users. | distribution as possible with minimal demands on the users. |
|
|
<p style="margin-left: 40px;">More information on this | <p style="margin-left: 40px;">More information on this |
project, access | project, access |
to the CVS, and | to the CVS, and |
documentation<span style="color: rgb(255, 0, 0);"><span style="text-decoration: line-through;"></span></span> |
documentation<span style="color: rgb(255, 0, 0);"><span |
|
style="text-decoration: line-through;"></span></span> |
is available | is available |
from the Ope<span style="color: rgb(255, 0, 0);"><span style="text-decoration: line-through;"></span></span>nPegasus |
from the Ope<span style="color: rgb(255, 0, 0);"><span |
|
style="text-decoration: line-through;"></span></span>nPegasus |
web | web |
site. | site. |
</p> | </p> |
|
|
<ol style="color: rgb(0, 0, 0);"> | <ol style="color: rgb(0, 0, 0);"> |
OpenPegasus can be obtained via any of the following:<br> | OpenPegasus can be obtained via any of the following:<br> |
<ol> | <ol> |
<li>Released tarballs (see <a href="http://www.openpegasus.org/page.tpl?CALLER=page.tpl&ggid=392">ZIP/GZ/EXE |
<li>Released tarballs (see <a |
|
href="http://www.openpegasus.org/page.tpl?CALLER=page.tpl&ggid=392">ZIP/GZ/EXE |
link for this release</a>)</li> | link for this release</a>)</li> |
<li>CVS (See <a href="http://www.openpegasus.org/protected/page.tpl?CALLER=index.tpl&ggid=667">CVS |
<li>CVS (See <a |
|
href="http://www.openpegasus.org/protected/page.tpl?CALLER=index.tpl&ggid=667">CVS |
code repository</a> for | code repository</a> for |
more information)</li> | more information)</li> |
<li>Linux RPMs | <li>Linux RPMs |
(see <a href="http://www.openpegasus.org/page.tpl?CALLER=page.tpl&ggid=392">RPM |
(see <a |
|
href="http://www.openpegasus.org/page.tpl?CALLER=page.tpl&ggid=392">RPM |
link for this release</a>)</li> | link for this release</a>)</li> |
</ol> | </ol> |
</ol> | </ol> |
<p style="margin-left: 40px;"><span class="norm"></span><font style="color: rgb(0, 0, 0);">CVS |
<p style="margin-left: 40px;"><span class="norm"></span><font |
|
style="color: rgb(0, 0, 0);">CVS |
write accounts are managed by Martin Kirk of The Open Group </font> | write accounts are managed by Martin Kirk of The Open Group </font> |
(<a href="mailto:%28k.m.kirk@opengroup.org">m.kirk@opengroup.org</a>) | (<a href="mailto:%28k.m.kirk@opengroup.org">m.kirk@opengroup.org</a>) |
</p> | </p> |
|
|
variety of platforms by the | variety of platforms by the |
development group. The results of the nightly tests can be | development group. The results of the nightly tests can be |
found | found |
here on our <a href="http://cvs.opengroup.org/cgi-bin/pegasus-build-status.cgi">Nightly |
here on our <a |
Build and Test Status</a> page. The Release Notes |
href="http://cvs.opengroup.org/cgi-bin/pegasus-build-status.cgi">Nightly |
|
Build and Test Status</a> page. The Release Notes for each |
|
release |
(pegasus/ReleaseNotes.htm) provide additional details | (pegasus/ReleaseNotes.htm) provide additional details |
regarding the platforms for the current release.<br> |
regarding the platforms, compilers, etc. for the current release.<br> |
</p> | </p> |
<h2><a name="peg_dep">Dependencies</a></h2> | <h2><a name="peg_dep">Dependencies</a></h2> |
<p style="margin-left: 40px;"> | <p style="margin-left: 40px;"> |
|
|
using GNUMAKE 3.79.1 successfully both in Windows and Linux | using GNUMAKE 3.79.1 successfully both in Windows and Linux |
environments. It is available from <a href="http://www.gnu.org">http://www.gnu.org</a>. | environments. It is available from <a href="http://www.gnu.org">http://www.gnu.org</a>. |
The windows version of GNUMAKE is available on the Pegasus | The windows version of GNUMAKE is available on the Pegasus |
web site <a href="http://www.openpegasus.org/pb/protected/index.tpl?CALLER=index.tpl"> |
web site <a |
|
href="http://www.openpegasus.org/pb/protected/index.tpl?CALLER=index.tpl"> |
tools page</a>.</li> | tools page</a>.</li> |
<li><b>FLEX</b> and <b>BISON</b> - | <li><b>FLEX</b> and <b>BISON</b> - |
These tools were used to develop the MOF | These tools were used to develop the MOF |
|
|
is taken from a combination of text files and header files themselves. | is taken from a combination of text files and header files themselves. |
This documentation is formatted with Doxygen and GAWK. This | This documentation is formatted with Doxygen and GAWK. This |
is required <b>ONLY</b> if you want to build documentation | is required <b>ONLY</b> if you want to build documentation |
from the source tree. <span class="norm"></span><font style="color: rgb(0, 0, 0);">These tools are required to |
from the source tree. <span class="norm"></span><font |
|
style="color: rgb(0, 0, 0);">These tools are required to |
build the | build the |
interface documentation set.</font> </li> | interface documentation set.</font> </li> |
<li><b>ICU Internationalization libraries</b> - | <li><b>ICU Internationalization libraries</b> - |
|
|
<li><b>OpenSSL | <li><b>OpenSSL |
</b>- If it | </b>- If it |
is intended to use SSL on the | is intended to use SSL on the |
communication protocol, the OpenSSL libraries are required (<a href="http://www.openssl.org">http://www.openssl.org</a>).</li> |
communication protocol, the OpenSSL libraries are required (<a |
|
href="http://www.openssl.org">http://www.openssl.org</a>).</li> |
<li><span style="font-weight: bold;">OpenSLP</span> | <li><span style="font-weight: bold;">OpenSLP</span> |
- If you choose | - If you choose |
to use | to use |
OpenSLP as your choice of SLP implementations, then it will need to be | OpenSLP as your choice of SLP implementations, then it will need to be |
installed and available to OpenPegasus. Refer to the | installed and available to OpenPegasus. Refer to the |
PEGASUS_USE_OPENSLP and PEGASUS_OPENSLP_HOME build variables in the | PEGASUS_USE_OPENSLP and PEGASUS_OPENSLP_HOME build variables in the |
doc/BuildAndReleaseOptions.html file, and the OpenSLP web site (<a href="http://www.openslp.org">http://www.openslp.org</a>).</li> |
doc/BuildAndReleaseOptions.html file, and the OpenSLP web site (<a |
|
href="http://www.openslp.org">http://www.openslp.org</a>).</li> |
<li><span style="font-weight: bold;">zlib | <li><span style="font-weight: bold;">zlib |
</span>- If you choose to | </span>- If you choose to |
enable the compressed repository feature with the | enable the compressed repository feature with the |
PEGASUS_ENABLE_COMPRESSED_REPOSITORY build variable, you will need to | PEGASUS_ENABLE_COMPRESSED_REPOSITORY build variable, you will need to |
install the gzip (GNU zip) compression utility. Refer to | install the gzip (GNU zip) compression utility. Refer to |
readme.compressed_repository in OpenPegasus source tree, and the gzip | readme.compressed_repository in OpenPegasus source tree, and the gzip |
web site (<a style="color: rgb(204, 51, 204);" href="http://www.gzip.org">http://www.gzip.org</a>).</li> |
web site (<a style="color: rgb(204, 51, 204);" |
|
href="http://www.gzip.org">http://www.gzip.org</a>).</li> |
<li><span style="font-weight: bold;">sqlite</span> | <li><span style="font-weight: bold;">sqlite</span> |
- If you choose to enable the use of sqlite for the repository, refer | - If you choose to enable the use of sqlite for the repository, refer |
to the doc/BuildAndReleaseOptions.html file for the defintion of the | to the doc/BuildAndReleaseOptions.html file for the defintion of the |
build variables and the sqlite implementation which may be obtained | build variables and the sqlite implementation which may be obtained |
either as part of a standard distribution or from <a href="http://www.sqlite.org">http://www.sqlite.org</a>.</li> |
either as part of a standard distribution or from <a |
|
href="http://www.sqlite.org">http://www.sqlite.org</a>.</li> |
</ol> | </ol> |
<p style="margin-left: 40px;"><span style="font-weight: bold;">NOTE</span>: | <p style="margin-left: 40px;"><span style="font-weight: bold;">NOTE</span>: |
A set of the required | A set of the required |
tools for building on the Windows platform is available on the | tools for building on the Windows platform is available on the |
OpenPegasus <a href="http://www.openpegasus.org/pb/index.tpl?CALLER=index.tpl">Tools</a> |
OpenPegasus <a |
|
href="http://www.openpegasus.org/pb/index.tpl?CALLER=index.tpl">Tools</a> |
web page.<br> | web page.<br> |
</p> | </p> |
<h2><a name="cmnd">Commands</a></h2> | <h2><a name="cmnd">Commands</a></h2> |
|
|
command, | command, |
invoke it with the "--help" option.<br> | invoke it with the "--help" option.<br> |
</p> | </p> |
<div style="margin-left: 40px;"><span style="font-weight: bold;">Some of |
<div style="margin-left: 40px;"><span style="font-weight: bold;">Some |
|
of |
the basic commands:</span> | the basic commands:</span> |
<br> | <br> |
</div> | </div> |
|
|
(Enables the | (Enables the |
OperatingSystem provider)</li> | OperatingSystem provider)</li> |
<li><span style="font-family: monospace;">cimuser | <li><span style="font-family: monospace;">cimuser |
-a -u guest _w <ThePassword></span> (Adds |
-a -u guest -w <ThePassword></span> (Adds |
the user <span style="font-style: italic;">guest</span> | the user <span style="font-style: italic;">guest</span> |
with specified password)<br> | with specified password)<br> |
</li> | </li> |
|
|
<li>The cimuser command is used to manage OpenPegasus users | <li>The cimuser command is used to manage OpenPegasus users |
only when | only when |
the CIM Server is compiled without the PEGASUS_PAM_AUTHENTICATION | the CIM Server is compiled without the PEGASUS_PAM_AUTHENTICATION |
environment variable defined. See <a href="http://www.openpegasus.org/pp/uploads/40/16781/PEP308_RecommendedReleaseOptions.htm"> |
environment variable defined. See <a |
|
href="http://www.openpegasus.org/pp/uploads/40/16781/PEP308_RecommendedReleaseOptions.htm"> |
PEP 308</a> for more information on these configuration options.<br> | PEP 308</a> for more information on these configuration options.<br> |
</li> | </li> |
</ol> | </ol> |
|
|
<p style="margin-left: 40px;">Much | <p style="margin-left: 40px;">Much |
of | of |
OpenPegasus | OpenPegasus |
is documented in the <a href="http://www.openpegasus.org/pp/index.tpl?CALLER=index.tpl">Pegasus |
is documented in the <a |
|
href="http://www.openpegasus.org/pp/index.tpl?CALLER=index.tpl">Pegasus |
Enhancement Process (PEPs)</a> which are the basis for approval | Enhancement Process (PEPs)</a> which are the basis for approval |
of | of |
OpenPegasus functionality, changes, plans, etc. The approved | OpenPegasus functionality, changes, plans, etc. The approved |
PEPs | PEPs |
are publicly available on the OpenPegasus web site.<span style="color: rgb(255, 0, 0);"><br> |
are publicly available on the OpenPegasus web site.<span |
|
style="color: rgb(255, 0, 0);"><br> |
</span></p> | </span></p> |
<p style="margin-left: 40px;">Other | <p style="margin-left: 40px;">Other |
documentation available | documentation available |
|
|
from the | from the |
source tree, see pegasus/doc/apidoc) and other miscellaneous | source tree, see pegasus/doc/apidoc) and other miscellaneous |
documentation | documentation |
in the doc directory. Also, there is a set of Release Notes for each |
in the CVS doc directory and the pegasus CVS root as readme files. |
|
Also, there is a set of Release Notes for each |
release in the OpenPegasus root | release in the OpenPegasus root |
source directory of CVS.</p> |
source directory of CVS and as a Pegasus PEP.</p> |
<p style="margin-left: 40px;">The <a href="http://www.openpegasus.org/">OpenPegasus web |
|
site</a> will be the source |
|
of most |
|
documentation in the future, and today is the source of most discussion |
|
and |
|
design documentation. </p> |
|
<h2><a name="part">How to Participate</a></h2> | <h2><a name="part">How to Participate</a></h2> |
<p style="margin-left: 40px;"><font style="color: rgb(0, 0, 0);">Contributors | <p style="margin-left: 40px;"><font style="color: rgb(0, 0, 0);">Contributors |
are welcome to participate in the OpenPegasus development effort. Join | are welcome to participate in the OpenPegasus development effort. Join |
the mailing list by going to the <a href="http://www.openpegasus.org/mailinglists.tpl?CALLER=index.tpl">Mailing |
the mailing list by going to the <a |
|
href="http://www.openpegasus.org/mailinglists.tpl?CALLER=index.tpl">Mailing |
Lists</a> web page from the OpenPegasus site.</font></p> | Lists</a> web page from the OpenPegasus site.</font></p> |
<h1> | <h1> |
<a name="inst_peg">Installing OpenPegasus</a> </h1> | <a name="inst_peg">Installing OpenPegasus</a> </h1> |
|
|
</p> | </p> |
<p style="margin-left: 40px;">If you want to install | <p style="margin-left: 40px;">If you want to install |
pre-built Pegasus | pre-built Pegasus |
executables instead of building from source code, then refer to the <a href="http://www.openpegasus.org/pr/">RPM installation |
executables instead of building from source code, then refer to the <a |
|
href="http://www.openpegasus.org/pr/">RPM installation |
instructions</a>.<br> | instructions</a>.<br> |
</p> | </p> |
<h2><strong><strong><a name="vfy_req_sw"></a>Verify | <h2><strong><strong><a name="vfy_req_sw"></a>Verify |
Dependencies</strong></strong><strong><strong><span style="font-weight: normal;"></span></strong></strong></h2> |
Dependencies</strong></strong><strong><strong><span |
<p style="margin-left: 40px;"><strong><strong><span style="font-weight: normal;">Be</span></strong></strong>fore |
style="font-weight: normal;"></span></strong></strong></h2> |
|
<p style="margin-left: 40px;"><strong><strong><span |
|
style="font-weight: normal;">Be</span></strong></strong>fore |
you build, install, or run OpenPegasus, be sure you have the proper set | you build, install, or run OpenPegasus, be sure you have the proper set |
of software | of software |
it depends on. Refer to the section <a href="#peg_dep">Dependencies</a> | it depends on. Refer to the section <a href="#peg_dep">Dependencies</a> |
|
|
that will contain all output from building and running OpenPegasus, it | that will contain all output from building and running OpenPegasus, it |
can be the same as PEGASUS_ROOT if desired.</li> | can be the same as PEGASUS_ROOT if desired.</li> |
<li>PEGASUS_PLATFORM -- The | <li>PEGASUS_PLATFORM -- The |
platform on which OpenPegasus is being built.<br> |
platform on which OpenPegasus is being built.</li> |
</li> |
|
</ul> | </ul> |
</ul> | </ul> |
|
<div style="margin-left: 40px;">There are a significant number of |
|
environment variables that control the compile and test of features in |
|
the OpenPegasus package in addition to the 3 variables described above. |
|
These variables are documented in the Pegasus documentation in CVS (see |
|
the pegasus/doc directory).</div> |
<h2><a name="bld_peg"></a>Build the Executables<br> | <h2><a name="bld_peg"></a>Build the Executables<br> |
</h2> | </h2> |
<div style="margin-left: 40px;">OpenPegasus | <div style="margin-left: 40px;">OpenPegasus |
is compiled and linked using a make structure that recurses through | is compiled and linked using a make structure that recurses through |
the OpenPegasus source tree.<br> | the OpenPegasus source tree.<br> |
<font><font color="RED"><span style="color: rgb(0, 0, 0); font-weight: bold;"><br> |
<font><font color="RED"><span |
|
style="color: rgb(0, 0, 0); font-weight: bold;"><br> |
Makefile commands | Makefile commands |
</span></font></font><br> | </span></font></font><br> |
<br> | <br> |
|
|
<li>alltests - Builds the | <li>alltests - Builds the |
repository entries and other resources required by the tests, and then | repository entries and other resources required by the tests, and then |
executes all automated tests.</li> | executes all automated tests.</li> |
|
<li>world - Builds the complete environment and runs the test suite.</li> |
</ul> | </ul> |
For a comprehensive | For a comprehensive |
list of the | list of the |
make targets, refer to <big><span style="font-family: Courier New,Courier,monospace;">pegasus/Makefile</span></big> |
make targets, refer to <big><span |
|
style="font-family: Courier New,Courier,monospace;">pegasus/Makefile</span></big> |
at the top of the OpenPegasus source directory.<br> | at the top of the OpenPegasus source directory.<br> |
</div> | </div> |
<ul> | <ul> |
|
|
cimmof compiler.<br> | cimmof compiler.<br> |
</p> | </p> |
<p style="margin-left: 40px;">The 'make repository' target | <p style="margin-left: 40px;">The 'make repository' target |
in the makefile <big><span style="font-family: Courier New,Courier,monospace;">pegasus/Makefile</span></big> |
in the makefile <big><span |
|
style="font-family: Courier New,Courier,monospace;">pegasus/Makefile</span></big> |
performs several functions including: | performs several functions including: |
</p> | </p> |
<ul> | <ul> |
|
|
(SNMP, Events, Alert, Threshold, etc) | (SNMP, Events, Alert, Threshold, etc) |
internal to Pegasus. </li> | internal to Pegasus. </li> |
<li>Registers included CIM Providers (libOSProvider.so, | <li>Registers included CIM Providers (libOSProvider.so, |
libDNSProvider.so, … ) in OpenPegasus (which are located in |
libDNSProvider.so, … ) in OpenPegasus (which are located in |
src/Providers) <br> | src/Providers) <br> |
</li> | </li> |
</ul> | </ul> |
|
|
<p style="margin-left: 40px;">OpenPegasus registers | <p style="margin-left: 40px;">OpenPegasus registers |
Providers using a | Providers using a |
set of provider registration classes | set of provider registration classes |
encoded in MOF. This set of classes is close |
encoded in MOF. This classes are proprietary to OpenPegasus |
to, but not |
today. </p> |
exactly the same as, the experimental DMTF definition (See the DMTF |
|
Interop |
|
schema, experimental versions starting with 2.6). This will be |
|
harmonized in the future when the DMTF schema is moved to final |
|
status. </p> |
|
<p style="margin-left: 40px;">Registration | <p style="margin-left: 40px;">Registration |
is performed by creating instances of the | is performed by creating instances of the |
registration classes that represent the provider module, providers, | registration classes that represent the provider module, providers, |
capabilities, etc. to be | capabilities, etc. to be |
registered. The easiest way to create a new | registered. The easiest way to create a new |
registration today is to copy from one of the existing registration | registration today is to copy from one of the existing registration |
MOFs. See the <big><span style="font-family: Courier New,Courier,monospace;">pegasus/src/Providers/sample/Load</span></big> |
MOFs. See the <big><span |
|
style="font-family: Courier New,Courier,monospace;">pegasus/src/Providers/sample/Load</span></big> |
directory for examples of | directory for examples of |
several registration instance implementations that do work with | several registration instance implementations that do work with |
OpenPegasus | OpenPegasus |
today.</p> | today.</p> |
|
<p style="margin-left: 40px;">Registration may be performed by creating |
|
compiling the registration mof with either the on-line or off-line |
|
Pegasus mof compiler. It is recommended that providers be |
|
registered with the on-line compiler because this allows pegasus to |
|
validate the registration information.</p> |
<h2><a name="note_bld_peg_lnx">Notes about | <h2><a name="note_bld_peg_lnx">Notes about |
Building on Linux </a></h2> | Building on Linux </a></h2> |
<p style="margin-left: 40px;"> | <p style="margin-left: 40px;"> |
|
|
PEGASUS_PLATFORM is normally LINUX_IX86_64_GNU. Use the g++ | PEGASUS_PLATFORM is normally LINUX_IX86_64_GNU. Use the g++ |
compiler to compile and link the executables. All of the supported | compiler to compile and link the executables. All of the supported |
platform | platform |
definitions are defined in <big><span style="font-family: Courier New,Courier,monospace;">pegasus/mak</span></big> |
definitions are defined in <big><span |
|
style="font-family: Courier New,Courier,monospace;">pegasus/mak</span></big> |
as make files with the | as make files with the |
definition:</p> | definition:</p> |
<p style="margin-left: 40px;"> <span style="font-family: monospace;"> |
<p style="margin-left: 40px;"> <span |
|
style="font-family: monospace;"> |
platform_<operatingSystem>_<architecture>_<compiler></span></p> | platform_<operatingSystem>_<architecture>_<compiler></span></p> |
<p style="margin-left: 40px;">The | <p style="margin-left: 40px;">The |
<operatingSystem>_<architecture>_<compiler> | <operatingSystem>_<architecture>_<compiler> |
|
|
<p style="margin-left: 40px;"> | <p style="margin-left: 40px;"> |
Use of Windows 2000 SP3 or later is recommended. OpenPegasus | Use of Windows 2000 SP3 or later is recommended. OpenPegasus |
is | is |
regularly tested on both Windows 2000 and Windows XP using the |
regularly tested on mulitple windows platforms.</p> |
Microsoft Visual C++ compilers.</p> |
<p style="margin-left: 40px;">We build OpenPegasus |
<p style="margin-left: 40px;">Today we build OpenPegasus |
|
on Windows | on Windows |
using a set of Makefiles | using a set of Makefiles |
contained | contained |
in the source distribution, the Microsoft compilers (DevStudio 5.x is | in the source distribution, the Microsoft compilers (DevStudio 5.x is |
not supported, Visual Studio 6.0 (SP5) or later is supported) and the | not supported, Visual Studio 6.0 (SP5) or later is supported) and the |
GNUMAKE | GNUMAKE |
make utility. Note that you MUST have the OpenPegasus <a href="#mu_utility">mu.exe </a>utility compiled and |
make utility. Note that you MUST have the OpenPegasus <a |
|
href="#mu_utility">mu.exe </a>utility compiled and |
available | available |
before trying to compile OpenPegasus on the normal windows platform. |
before trying to compile OpenPegasus on the normal windows platform |
|
(This utility allows use of unix command line semantics for certain |
|
operations in windows). |
The | The |
following is the basic setup steps for the environment. | following is the basic setup steps for the environment. |
</p> | </p> |
|
|
following for an | following for an |
example environment: </p> | example environment: </p> |
<blockquote> | <blockquote> |
<pre style="margin-left: 40px;"><span style="font-family: monospace;">REM call the standard Microsoft .bat for VC 6 setup. </span><br style="font-family: monospace;"><span style="font-family: monospace;">call 'C:/Program Files\Microsoft Visual Studio\VC98\Bin\Vcvars32.bat' </span><br style="font-family: monospace;"><span style="font-family: monospace;">REM Set debug to something if you want to compile in debug mode </span><br style="font-family: monospace;"><span style="font-family: monospace;">set PEGASUS_DEBUG=true </span><br style="font-family: monospace;"><span style="font-family: monospace;">REM set PEGASUS_ROOT to top of source tree </span><br style="font-family: monospace;"><span style="font-family: monospace;">set PEGASUS_ROOT=C:/cimom/pegasus </span><br style="font-family: monospace;"><span style="font-family: monospace;">REM (Note: </span><span style="font-family: monospace;" class="norm">The '/' characters are intentional and required by the OpenPegasus build system). <br>REM Also the disk designator (C:) is required for at least some newer versions of the Microsoft<br>REM compilers to avoid confusion between options and paths<br></span><span style="font-family: monospace;">REM set PEGASUS_HOME to where you want repository and executables, it can be the same as PEGASUS_ROOT</span><br style="font-family: monospace;"><span style="font-family: monospace;">set PEGASUS_HOME=%PEGASUS_ROOT% </span><br style="font-family: monospace;"><span style="font-family: monospace;">REM set PEGASUS_PLATFORM for Windows</span><br style="color: rgb(255, 0, 0); font-family: monospace;"><span style="font-family: monospace;">set PEGASUS_PLATFORM=WIN32_IX86_MSVC</span><br style="font-family: monospace;"><span style="font-family: monospace;">REM setup the path to the runtime files. </span><br style="font-family: monospace;"><span style="font-family: monospace;">set path=%path%;%PEGASUS_HOME%\bin </span><br></pre> |
<pre style="margin-left: 40px;"><span style="font-family: monospace;">REM call the standard Microsoft .bat for VC 6 setup. </span><br |
|
style="font-family: monospace;"><span style="font-family: monospace;">call 'C:/Program Files\Microsoft Visual Studio\VC98\Bin\Vcvars32.bat' </span><br |
|
style="font-family: monospace;"><span style="font-family: monospace;">REM Set debug to something if you want to compile in debug mode </span><br |
|
style="font-family: monospace;"><span style="font-family: monospace;">set PEGASUS_DEBUG=true </span><br |
|
style="font-family: monospace;"><span style="font-family: monospace;">REM set PEGASUS_ROOT to top of source tree </span><br |
|
style="font-family: monospace;"><span style="font-family: monospace;">set PEGASUS_ROOT=C:/cimom/pegasus </span><br |
|
style="font-family: monospace;"><span style="font-family: monospace;">REM (Note: </span><span |
|
style="font-family: monospace;" class="norm">The '/' characters are intentional and required by the OpenPegasus build system). <br>REM Also the disk designator (C:) is required for at least some newer versions of the Microsoft<br>REM compilers to avoid confusion between options and paths<br></span><span |
|
style="font-family: monospace;">REM set PEGASUS_HOME to where you want repository and executables, it can be the same as PEGASUS_ROOT</span><br |
|
style="font-family: monospace;"><span style="font-family: monospace;">set PEGASUS_HOME=%PEGASUS_ROOT% </span><br |
|
style="font-family: monospace;"><span style="font-family: monospace;">REM set PEGASUS_PLATFORM for Windows</span><br |
|
style="color: rgb(255, 0, 0); font-family: monospace;"><span |
|
style="font-family: monospace;">set PEGASUS_PLATFORM=WIN32_IX86_MSVC</span><br |
|
style="font-family: monospace;"><span style="font-family: monospace;">REM setup the path to the runtime files. </span><br |
|
style="font-family: monospace;"><span style="font-family: monospace;">set path=%path%;%PEGASUS_HOME%\bin </span><br></pre> |
</blockquote> | </blockquote> |
<h3> | <h3> |
<a name="mu_utility">The MU Utility </a></h3> | <a name="mu_utility">The MU Utility </a></h3> |
|
|
(expansion of wildcards) so | (expansion of wildcards) so |
you can do things like this: | you can do things like this: |
</p> | </p> |
<p style="margin-left: 40px;"><font face="Courier New"> </font><span style="font-family: monospace;"> |
<p style="margin-left: 40px;"><font face="Courier New"> </font><span |
|
style="font-family: monospace;"> |
C:\> mu rm *.obj *.exe</span> </p> | C:\> mu rm *.obj *.exe</span> </p> |
<p style="margin-left: 40px;">MU is required to build | <p style="margin-left: 40px;">MU is required to build |
under the Windows | under the Windows |
|
|
available as part | available as part |
of the distribution of OpenPegasus.<br> | of the distribution of OpenPegasus.<br> |
</p> | </p> |
<div style="margin-left: 40px;"><span style="font-weight: bold;">NOTE:</span> The binary for |
<div style="margin-left: 40px;"><span style="font-weight: bold;">NOTE:</span> |
|
The binary for |
MU.EXE is not | MU.EXE is not |
distributed in the OpenPegasus bin | distributed in the OpenPegasus bin |
directory. | directory. |
|
|
in the directory src/utils/MU with its own make file. You must compile | in the directory src/utils/MU with its own make file. You must compile |
MU | MU |
before you initiate the OpenPegasus make. A copy of the binary is made | before you initiate the OpenPegasus make. A copy of the binary is made |
available as a zip file on the OpenPegasus <a href="http://www.openpegasus.org/pb/index.tpl?CALLER=index.tpl">Tools</a> |
available as a zip file on the OpenPegasus <a |
|
href="http://www.openpegasus.org/pb/index.tpl?CALLER=index.tpl">Tools</a> |
web page.<br> | web page.<br> |
</div> | </div> |
<h2><a name="note_bld_peg_ssl">Notes about | <h2><a name="note_bld_peg_ssl">Notes about |
|
|
<li><b>make alltests</b> - execute both the | <li><b>make alltests</b> - execute both the |
unit and end-to-end tests.</li> | unit and end-to-end tests.</li> |
</ul> | </ul> |
|
|
<h2><a name="test_icu">Testing with ICU enabled</a></h2> | <h2><a name="test_icu">Testing with ICU enabled</a></h2> |
<p style="margin-left: 40px;">ICU (International | <p style="margin-left: 40px;">ICU (International |
Components for | Components for |
|
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p> | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p> |
<hr> | <hr> |
</body></html> |
|
|
</body> |
|
</html> |