Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

  • Introduction

Smart Cities is an edge resource scheduling solution

PARSEC is an important open source component of Smart Cities, which provide a common API to secure services in a platform-agnostic way.


  • License

Apache License v2.0


  • How to use this document

The document describes how to compile and run parsec from source code.

The prerequisites and pre-installation software and hardware should be ready before executing the installation steps.


  • Deployment Architecture

PAESEC is deployed in a Virtual Machines in Amazon Web Service.

The following picture depicts the deployment architecture.

Image Added


  • Pre-Installation Requirements

    • Hardware Requirements

Minimum Hardware Requirements

CPU core: 1

RAM: 1G

HDD: 16G

Recommended Hardware Requirements

CPU core: 2

RAM: 4G

HDD: 32G


    • Software Prerequisites

    • Database Prerequisites

      • Schema scripts

    • Other Installation Requirements

      • Jump Host Requirements

      • Network Requirements

      • Bare Metal Node Requirements

      • Execution Requirements (Bare Metal Only)

  •    Installation High-Level Overview

    • Bare Metal Deployment Guide

      • Install Bare Metal Jump Host

      • Creating a Node Inventory File

      • Creating the Settings Files

      • Running

    • Virtual Deployment Guide

      • Standard Deployment Overview

      • Snapshot Deployment Overview

      • Special Requirements for Virtual Deployments

        • Install Jump Host

        • Verifying the Setup - VMs

    • Upstream Deployment Guide

      • Upstream Deployment Key Features

      • Special Requirements for Upstream Deployments

      • Scenarios and Deploy Settings for Upstream Deployments

      • Including Upstream Patches with Deployment

      • Running

      • Interacting with Containerized Overcloud

  • Verifying the Setup as defined the Akraino validation feature project plus any additional testing specific to the blue print

...

Developer Guide and Troubleshooting

  • Utilization of Images

  • Post-deployment Configuration

  • Debugging Failures

  • Reporting a Bug

...

Uninstall Guide

...

Troubleshooting

  • Error Message Guide

...

Maintenance

  • Blue Print Package Maintenance

    • Software maintenance
    • Hardware maintenance
  • Blue Print Deployment Maintenance

...

Frequently Asked Questions

...

License

...

References

...

System: Ubuntu 18.04 LTS


Dependent package installation:

sudo apt-get install build-essential cmake clang


Rust installation:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh


  • Build PARSEC

git clone git clone "https://gerrit.akraino.org/r/a/cassini"

cd cassini/smartcities/parsec

cargo build --release --features "mbed-crypto-provider,direct-authenticator"


  • Running PARSEC

RUST_LOG=info ./target/release/parsec -c e2e_tests/provider_cfg/mbed-crypto/config.toml


  • STOP PARSEC

pkill parsec


  • Build Parsec Tool

git clone https://github.com/parallaxsecond/parsec-tool.git

cd parsec-tool

cargo build


  • Parsec Tool connect Parsec Service

export PARSEC_SERVICE_ENDPOINT=unix:/tmp/parsec.sock

./parsec-tool/target/debug/parsec-tool ping


  • Maintenance

Blue Print Package Maintenance


  • Frequently Asked Questions

N/A


  • License

Any software developed by the "Akraino Enterprise Applications on Smart Cities is licensed under the
Apache License, Version 2.0 (the "License");
you may not use the content of this software bundle except in compliance with the License.
You may obtain a copy of the License at <https://www.apache.org/licenses/LICENSE-2.0>

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.



  • References

N/A


  • Definitions, acronyms and abbreviations

N/A