Blame readme.binary_repository

Packit Service 0f5ca9
//%LICENSE////////////////////////////////////////////////////////////////
Packit Service 0f5ca9
//
Packit Service 0f5ca9
// Licensed to The Open Group (TOG) under one or more contributor license
Packit Service 0f5ca9
// agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
Packit Service 0f5ca9
// this work for additional information regarding copyright ownership.
Packit Service 0f5ca9
// Each contributor licenses this file to you under the OpenPegasus Open
Packit Service 0f5ca9
// Source License; you may not use this file except in compliance with the
Packit Service 0f5ca9
// License.
Packit Service 0f5ca9
//
Packit Service 0f5ca9
// Permission is hereby granted, free of charge, to any person obtaining a
Packit Service 0f5ca9
// copy of this software and associated documentation files (the "Software"),
Packit Service 0f5ca9
// to deal in the Software without restriction, including without limitation
Packit Service 0f5ca9
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
Packit Service 0f5ca9
// and/or sell copies of the Software, and to permit persons to whom the
Packit Service 0f5ca9
// Software is furnished to do so, subject to the following conditions:
Packit Service 0f5ca9
//
Packit Service 0f5ca9
// The above copyright notice and this permission notice shall be included
Packit Service 0f5ca9
// in all copies or substantial portions of the Software.
Packit Service 0f5ca9
//
Packit Service 0f5ca9
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
Packit Service 0f5ca9
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
Packit Service 0f5ca9
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Packit Service 0f5ca9
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
Packit Service 0f5ca9
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
Packit Service 0f5ca9
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
Packit Service 0f5ca9
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Packit Service 0f5ca9
//
Packit Service 0f5ca9
//////////////////////////////////////////////////////////////////////////
Packit Service 0f5ca9
    Binary Repository readme
Packit Service 0f5ca9
    ========================
Packit Service 0f5ca9
Packit Service 0f5ca9
    Filename:  readme.binary_repository
Packit Service 0f5ca9
    Authors:   Karl Schopmeyer, Jim Wunderlich,
Packit Service 0f5ca9
    Date:      20 April 2005	
Packit Service 0f5ca9
Packit Service 0f5ca9
      PEP 164 added the capability to write and read a repository in
Packit Service 0f5ca9
      binary mode as opposed to XML. The binary repository is approximately
Packit Service 0f5ca9
      42% smaller than a regular xml text based repository. This allows
Packit Service 0f5ca9
      significant disk space savings and also results in shorter file
Packit Service 0f5ca9
      load times.
Packit Service 0f5ca9
Packit Service 0f5ca9
      The binary repository functionality supports both XML and binary
Packit Service 0f5ca9
      objects concurrently within the same repository. That is it supports
Packit Service 0f5ca9
      mixed mode repositorys since the encoding and decoding is done on
Packit Service 0f5ca9
      a per object basis.
Packit Service 0f5ca9
Packit Service 0f5ca9
Packit Service 0f5ca9
    Building binary objects within the repository using Makefile (cimmofl)
Packit Service 0f5ca9
    ======================================================================
Packit Service 0f5ca9
Packit Service 0f5ca9
      The  REPOSITORY_MODE environement variable controls whether
Packit Service 0f5ca9
      new repository objects are written in XML or Binary mode by
Packit Service 0f5ca9
      the makefiles using cimmofl. It can be set to XML or BIN and
Packit Service 0f5ca9
      defaults to XML.
Packit Service 0f5ca9
Packit Service 0f5ca9
Packit Service 0f5ca9
	1. Set REPOSITORY_MODE to BIN
Packit Service 0f5ca9
Packit Service 0f5ca9
                 export PEGASUS_REPOSITORY_MODE=BIN	(Unix)
Packit Service 0f5ca9
		 set PEGASUS_REPOSITORY_MODE=BIN        (Windows)
Packit Service 0f5ca9
Packit Service 0f5ca9
Packit Service 0f5ca9
	2. Build the repository
Packit Service 0f5ca9
Packit Service 0f5ca9
                make repository
Packit Service 0f5ca9
Packit Service 0f5ca9
Packit Service 0f5ca9
Packit Service 0f5ca9
    Building binary objects within the repository using Maekfile (cimmof)
Packit Service 0f5ca9
    =====================================================================
Packit Service 0f5ca9
Packit Service 0f5ca9
      The enableBinaryRepository configuration variable controls
Packit Service 0f5ca9
      whether new repository objects are written in XML or Binary
Packit Service 0f5ca9
      mode when the server is running (cimmof).
Packit Service 0f5ca9
Packit Service 0f5ca9
	1. Use the cimconfig utility to set the enableBinaryRepository
Packit Service 0f5ca9
           flag to true in the planed configuration file as follows.
Packit Service 0f5ca9
Packit Service 0f5ca9
                 cimconfig -ps enableBinaryRepository=true
Packit Service 0f5ca9
Packit Service 0f5ca9
	2. Start the cimserver
Packit Service 0f5ca9
Packit Service 0f5ca9
		cimserver start
Packit Service 0f5ca9
Packit Service 0f5ca9
	3. Build the repository
Packit Service 0f5ca9
Packit Service 0f5ca9
                make repositoryServer
Packit Service 0f5ca9
Packit Service 0f5ca9
Packit Service 0f5ca9
    Building binary objects within the repository using cimmofl
Packit Service 0f5ca9
    ===========================================================
Packit Service 0f5ca9
      The cimmofl command accepts a command line argument,
Packit Service 0f5ca9
      REPOSITORY_MODE (-M), that controls whether new repository
Packit Service 0f5ca9
      objects are written in XML (XML) or Binary (BIN) mode.
Packit Service 0f5ca9
Packit Service 0f5ca9
	1. cimmofl -M BIN .......
Packit Service 0f5ca9
Packit Service 0f5ca9
Packit Service 0f5ca9
Packit Service 0f5ca9
======================================================================
Packit Service 0f5ca9
Packit Service 0f5ca9
For additional information refer to PEP16 and to the help information
Packit Service 0f5ca9
available from the following commands.
Packit Service 0f5ca9
Packit Service 0f5ca9
Packit Service 0f5ca9
	cimmofl -h
Packit Service 0f5ca9
	cimconfig -h
Packit Service 0f5ca9