How to Create Multiple Datacenter in CloudSim

551 views
Skip to first unread message

KOUIDRI Siham

unread,
Aug 17, 2012, 10:19:27 PM8/17/12
to clou...@googlegroups.com
Dear All;

I am new to cloudsim and I am using cloudsim 3.0 with netbean;

I want to simulate multiple datacenter, how I can create several datacenter using a loop?


Best regards


ASSIA


Azadeh Razmi

unread,
Aug 21, 2012, 2:23:42 AM8/21/12
to clou...@googlegroups.com

study cloudsim examples, they are very helpful
there is a solution like what you want in example4

Kouidri Siham

unread,
Aug 22, 2012, 3:54:51 PM8/22/12
to clou...@googlegroups.com
Hi Razmi;
I see the exmample 4 which allows
to create two datacenter, but i want create multiples datacenter with loop;
Thank you

Best regards



2012/8/21 Azadeh Razmi <a.r...@gmail.com>

study cloudsim examples, they are very helpful
there is a solution like what you want in example4

--
 
 
 

Neda Maleki

unread,
Aug 23, 2012, 1:01:33 AM8/23/12
to clou...@googlegroups.com
Hi Kouidri
u can use this loop:
        for(int i=0;i<2;i++){
            Datacenter datacenteri=createDatacenter("Datacenter_i");
            }

do u mean like this loop? let me know.
Regards
Neda

--
 
 
 

Lohit Kapoor

unread,
Aug 23, 2012, 5:48:19 AM8/23/12
to clou...@googlegroups.com
hii Koudiri ,
check ur mail i have mailed your problm  , but ur help for  cloudsim 3.0 is still not working with netbeans  :)

regards
lohit kapoor
Thapar University , IND

--
 
 
 

Reply all
Reply to author
Forward
0 new messages