Git Product home page Git Product logo

abcdsh's Introduction

abcdsh

The command control for the pods (bunch of sh's) for the Onboard Cloud project. The control commands are done seamlessly in the UI. These sh is bundled in the container.

Usage

OpenNebula[ONE] Adapter

Connect Host to Master

Master refers to ONE Frontend. Host refers to a compute node.

  1. To connect a host ip 127.0.0.1 to master using default: hypervisor kvm.
$ /var/lib/megam/abcdsh/one/connect-node.sh --hostip 127.0.0.1

  1. To connect a host with ip 127.0.0.1 to master using hypervisor xen
$ /var/lib/megam/abcdsh/one/connect-node.sh --hostip 127.0.0.1 --hypervisor xen

Create datastore

  1. To create a fs datastore in opennebula master
$ /var/lib/megam/abcdsh/one/connect-storage.sh --nodeip 127.0.0.1 --name fs_ds --fs fs
  1. To create a NFS datastore in opennebula master
$ /var/lib/megam/abcdsh/one/connect-storage.sh --nodeip 127.0.0.1  --name nfs_ds --fs nfs
  1. To create a LVM datastore in opennebula master
$ /var/lib/megam/abcdsh/one/connect-storage.sh --nodeip 127.0.0.1 --name lvm_ds --fs lvm  
  1. To create a CEPH datastore to opennebula master

For ceph datastore add extra parameter --secret f6f03141-2666 is required.

$ /var/lib/megam/abcdsh/one/connect-storage.sh --nodeip 127.0.0.1 --name ceph_ds --fs ceph --secret f6f03141-2666

Create template

  1. To create a Template in opennebula master
$ /var/lib/megam/abcdsh/one/create_template.sh

Create network

  1. To create a Network to opennebula master using default: type IP4 .
$ /var/lib/megam/abcdsh/one/connect-network.sh --name public-ipv4 --ip 192.168.1.2 --size 2 --gateway 192.168.1.1  --network_mask 255.255.255.0
  1. To create a Network to opennebula master using default: type IP6 .
$ /var/lib/megam/abcdsh/one/connect-network.sh  --name public-ipv6 --ip 6001:f288:aaaa:bbbb::cccc --size 2 --gateway fe80::1
  --network_mask 64 --type IP6

Create image

  1. To create a Image in opennebula master
$ /var/lib/megam/abcdsh/one/connect-image.sh --name ubuntu --image_url https://s3-ap-southeast-1.amazonaws.com/megampub/iso/megam.tar.gz --datastore ceph_ds

(or)

$ /var/lib/megam/abcdsh/one/connect-image.sh --name ubuntu --image_url http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/current/images/netboot/mini.iso --datastore lvm_ds

Create Cluster

  1. To create a cluster in opennebula master
$ /var/lib/megam/abcdsh/one/create-cluster.sh --cluster_name test --abcd_token u4M4bDqyw12nO2DsoNFSu1R4lae2khtQ6wxbO244dLs --abcd_url https://192.168.1.13:8443/api/v1/namespaces/default/configmaps/one-data
  1. Add host to cluster in opennebula master
$ /var/lib/megam/abcdsh/one/cluster-addhost.sh --cluster test --host 192.168.1.1
  1. Add vnet to cluster in opennebula master
$ /var/lib/megam/abcdsh/one/cluster-addvnet.sh --cluster test --vnet public-ipv4
  1. Add datastore to cluster in opennebula master
$ /var/lib/megam/abcdsh/one/cluster-adddatastore.sh --cluster test --datastore ceph_ds

Vertice Configuration Update

  1. To update vertice configuration file vertice.conf
$/var/lib/megam/abcdsh/vertice/connect-apiserver.sh --gateway-ip 192.168.1.100 --datastore-id 100 --cluster-id 101 --network_name PRIVATE-IPV4="net0" --network_name  PRIVATE-IPV6="net1" --network_name PUBLIC-IPV4="net2" --network_name  PUBLIC-IPV6="net3" --region  Romania

Nilavu Configuration Update

  1. To update api server ip in nilavu.conf
$/var/lib/megam/abcdsh/vertice/connect-apiserver.sh --gateway-ip 192.168.1.100

abcdsh's People

Contributors

ranjithamca avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.