Skip to content

Charm of juju for Virtual-Storage_manager(VSM) Agent

Notifications You must be signed in to change notification settings

zhubx007/charm-vsm-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

charm-vsm-agent

Charm of juju for Virtual-Storage-Manager(VSM) Agent.

  • VSM consists of vsm-controller and vsm-agent nodes.
  • The charm aims to deploy the vsm-agent with vsm-agent and vsm-physical.

Notice

  • Don't support to change the config now.
  • Don't support to add the data and journal devices for osds. Please add it from the vsm platform UI.

Prepare

  • OS: ubuntu 14.04.3
  • Juju: 1.25.5-trusty-amd64
  • You should install the juju by youself at first juju.
  • You have deploy the vsm-controller

Steps by Steps

  • login as root, then create an account for juju to use.
# useradd -m -s /bin/bash testuser
# passwd testuser
# su - testuser
$ mkdir -p charms/trusty
$ cd charms/trusty
$ git clone https://github.com/flyingfish007/charm-vsm-agent.git
$ mv charm-vsm-agent vsm-agent
  • deploy vsm-agent
$ juju deploy --repository=$HOME/charms local:trusty/vsm-agent
  • you can use command 'juju debug-log' to see whether the deployment has been done.
  • after you do as above, you can see that.
    pic1
  • add relation between vsm-agent and mysql and vsm-agent and rabbitmq-server.
    pic6
  • add relation between vsm-agent and vsm-controller.
    pic7
  • add new machine.
    pic2
  • scale the vsm-agent by 2.
    pic3
  • finally you will see as followed.
    pic5

About

Charm of juju for Virtual-Storage_manager(VSM) Agent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published