Code Monkey home page Code Monkey logo

scxcore-osskits's Introduction

System Center Cross Platform Provider for Operations Manager (Open Source Kits)

The files in this directory reflect bundle files for each of our open-source OMI providers bundled with the System Center Cross Platform provider. Note that there are no hard-coded file paths here. Instead, filenames are determined dynamically.

At the time of this README file creation, this directory contains:

apache-cimprov-1.0.1-3.universal.1.i686.sh
apache-cimprov-1.0.1-3.universal.1.x86_64.sh
apache-oss-test.sh
mysql-cimprov-1.0.1-1.universal.1.i686.sh
mysql-cimprov-1.0.1-1.universal.1.x86_64.sh
mysql-oss-test.sh
README.md

Note that version numbers may change, and new cimprov kits may be added.

The bundle creation software expects the following for each open-source provider:

<provider-name>-oss-test.sh
<provider-name>-cimprov.*.i686.sh    (Only one match allowed)
<provider-name>-cimprov.*.x86_64.sh  (Only one match allowed)

It is assumed that each bundle will conform to the following:

  1. Will at least create a directory named
    /opt/microsoft/<provider-name>-cimprov
    This is used for removal of the package during SCX removal,
  2. For purposes of purging, after removal of the kit, the following directories will be deleted:
/etc/opt/microsoft/<provider-name>-cimprov
/opt/microsoft/<provider-name>-cimprov
/var/opt/microsoft/<provider-name>-cimprov

If files are created in other locations, the package should remove the files as part of the uninstall (purge) process.

Bundle creation software works as follows: For each *-oss-test.sh file,

  • Include the file itself into the bundle,
  • Include the associated i686.sh file for i386 builds,
  • Include the associated x86_64.sh file for x86_64 builds

Bundle installation works as follows: For each *-oss-test.sh file,

  • Run the file.
  • If it returns 0, that means that the associated bundle file should be installed (otherwise, the associated bundle file is NOT installed).

To add a new OSS provider to this directory, do the following:

  1. Create -oss-test.sh file to determine if bundle should be installed,
  2. Check in associated -cimprov-*.sh binary bundle files (built for release and for distribution to customers). Two should be checked in, one ending in .i686.sh and another ending in .x86_64.sh.

If you are updating old kits, remove the old kits, add the new kits, and commit.

Code of Conduct

This project has adopted the [Microsoft Open Source Code of Conduct] (https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ] (https://opensource.microsoft.com/codeofconduct/faq/) or contact [email protected] with any additional questions or comments.

scxcore-osskits's People

Contributors

jeffaco avatar jodie111 avatar microsoft-github-policy-service[bot] avatar nirsingh avatar sarojcare avatar shirelygu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scxcore-osskits's Issues

apache-cimprov fails with grep: this version of PCRE is compiled without UTF support

This seems so to be affecting OMS (Log Analytics extension) install that depends on this script.

Logs from OMS:

2021/06/18 07:02:19 Checking if Apache is installed ...
2021/06/18 07:02:19   Apache found, Apache agent will be installed
2021/06/18 07:02:19 Extracting...
2021/06/18 07:02:19 Updating Apache agent ...
2021/06/18 07:02:19 ----- Updating package: apache-cimprov (apache-cimprov-1.0.1-10.universal.1.x86_64) -----
2021/06/18 07:02:19 grep: this version of PCRE is compiled without UTF support
2021/06/18 07:02:19 ./oss-kits/apache-cimprov-1.0.1-10.universal.1.x86_64.sh: We only support Apache v2.2 or Apache v2.4
2021/06/18 07:02:19 apache provider package failed to upgrade and exited with status 1

Line that causes this:

    # Massage it to get the actual version
    APACHE_VERSION=`echo $APACHE_VERSION | grep -oP "/2\.[24]\."`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.