how to bring ssvm up in developer installation

2014-09-12 Thread sandeep khandekar
Dear cloudstackers,

I am trying to install cloudstack 4.2 devloper version using ubuntu 12.04
and virtualbox for devcloud2.
I have added devcloud2 using the following documentation(
http://docs.cloudstack.apache.org/en/master/developer_guide.html)
everything went ok, I am getting the following error.

  [storage.image.TemplateServiceImpl] (AgentTaskPool-1:) Downloading
builtin template tiny Linux to data center: 1
INFO  [storage.endpoint.DefaultEndPointSelector] (AgentTaskPool-1:) No
running ssvm is found, so command will be sent to LocalHostEndPoint
INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-3:) No
running ssvm is found, so command will be sent to LocalHostEndPoint
WARN  [apache.cloudstack.alerts] (CapacityChecker:)  alertType:: 5 //
dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: System
Alert: Number of unallocated private IPs is low in pod test00 of
availability zone DevCloud0
INFO  [storage.resource.NfsSecondaryStorageResource] (pool-70-thread-1:)
snapshots directory created/exists on Secondary Storage.
INFO  [storage.resource.NfsSecondaryStorageResource] (pool-70-thread-1:)
volumes directory created/exists on Secondary Storage.
INFO  [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:)
No running secondary storage vms found in datacenter id=1, starting one
INFO  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:) No
stopped secondary storage vm is available, need to allocate a new secondary
storage vm
INFO  [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:) Found
a stopped console proxy, bring it up to running pool. proxy vm id : 2
INFO  [cloud.vm.VirtualMachineManagerImpl] (consoleproxy-1:) Insufficient
capacity
com.cloud.exception.InsufficientAddressCapacityException: Unable to get a
management ip addressScope=interface com.cloud.dc.Pod; id=1
at
com.cloud.network.guru.PodBasedNetworkGuru.reserve(PodBasedNetworkGuru.java:121)
at
com.cloud.network.NetworkManagerImpl.prepareNic(NetworkManagerImpl.java:2166)
at
com.cloud.network.NetworkManagerImpl.prepare(NetworkManagerImpl.java:2136)


, will recycle it and start a new one
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-21:) callHostPlugin
failed for cmd: setDNATRule with args add: false,  due to
UNKNOWN_XENAPI_PLUGIN_FUNCTIONsetDNATRule
WARN  [agent.manager.DirectAgentAttache] (DirectAgent-21:) Seq
1-1261830169: Exception Caught while executing command
com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for
cmd: setDNATRule with args add: false,  due to
UNKNOWN_XENAPI_PLUGIN_FUNCTIONsetDNATRule


INFO  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:)
Unable to start secondary storage vm for standby capacity, secStorageVm vm
Id : 35, will recycle it and start a new one
INFO  [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:)
Primary secondary storage is not even started, wait until nex

so how to start primary storage and secondary storage if I have followed
the above link for installation(how to start nfs on ubuntu how to mount nfs
on devcloud) none of the steps are included in doc.


Thankyou..





-- 
SANDEEP KHANDEKAR
Assistant Professor
Department of Computer science and engineering
Sreenidhi Institute of science and Technology
Hyderabad


how to add devcloud

2014-09-11 Thread sandeep khandekar
Dear cloudstackers,

I am trying to install cloudstack 4.2  developer version from the following
link.
http://docs.cloudstack.apache.org/en/master/developer_guide.html

How to add devcloud?
downloaded and started devcloud on virtualbox,

when I login I cant see primary and secondary storage, default templates
not yet started?
My doubt is do I need to execute the following commands in devcloud or my
management server host
Adding DevCloud as an Hypervisor

Picking up from a clean build:

mvn -Pdeveloper,systemvm clean install
mvn -P developer -pl developer,tools/devcloud -Ddeploydb

 At this stage install marvin similarly than with the simulator:

pip install tools/marvin/dist/Marvin-0.1.0.tar.gz

 Start the management server

mvn -pl client jetty:run

 Then you are going to configure CloudStack to use the running DevCloud
instance:

cd tools/devcloud
python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg

I execute the above commands on host not in devcloud.
My management server is in ubuntu and devcloud is on virtualbox.

How to add secstorage and primary storage after executing the below command

python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg

How to bring ssvm up and how to install tiny linux?

Thank you.

-- 
SANDEEP KHANDEKAR
Assistant Professor
Department of Computer science and engineering
Sreenidhi Institute of science and Technology
Hyderabad


Willing to join cloudstack developer community

2014-05-10 Thread sandeep khandekar
Hi,
I would like to join these community to write some programs using the API s
provided by cloudstack on java platform is it possible and how?

Refer some good books for cloudstack programming.
Thankyou

-- 
SANDEEP KHANDEKAR
Assistant Professor
Department of Computer science and engineering
Sreenidhi Institute of science and Technology
Hyderabad