It is currently Tue Feb 07, 2012 5:05 pm


All times are UTC




Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: External Hypervisor and idlepc
PostPosted: Wed Jun 30, 2010 4:56 am 
Offline

Joined: Mon Apr 12, 2010 8:32 pm
Posts: 13
I am trying to set up a large lab, 14 routers, across 2 PC's, both quad cores. I am using 3725 routers for everything, I have 9 routers on my local PC and CPU is running fairly low, but the remote hypervisor runs all 4 cores at 100%. I have tried the same idlepc value that i am using on my local pc and that doesnt help.

If I run the same image using gns3 on the remote PC, CPU runs about 15%. I tried using that value in my local config for the remote hypervisor and that didn't help.
Is there something I need to do to get the remote hypervisor to take the idlepc value? the routers on the remote pc freeze up after a couple seconds.






Top
 Profile  
 
 Post subject: Re: External Hypervisor and idlepc
PostPosted: Wed Jun 30, 2010 6:37 am 
Offline

Joined: Fri Nov 07, 2008 12:04 pm
Posts: 127
and, on the the remote PC, the high CPU is caused by ? hypervisors ?

_________________
GNS3 Lab Workbook v0.2

Image Image Image Image


Top
 Profile  
 
 Post subject: Re: External Hypervisor and idlepc
PostPosted: Wed Jun 30, 2010 4:27 pm 
Offline

Joined: Mon Apr 12, 2010 8:32 pm
Posts: 13
No I am running GNS3 and dynamips on my local PC and dynamips on the remote PC, client/server. The lab uses routers on the local pc and on the remote pc

My local PC applies the idlepc value but the remote machine does not, which causes the high CPU usage. I have looked at the console window and it looks like GNS3 doesnt pass the idlepc parameter to the remote dynamips server

Since I have to start dynamips on the remote PC before launching the lab on my local PC, I have been trying to pass idlepc values to the command on the remote PC but it doesn't take, dynamips just starts then stops.

Example:

dynamips --idle-pc=0x61234567 -H 7201

If it makes a difference I am using linux on both boxes


Top
 Profile  
 
 Post subject: Re: External Hypervisor and idlepc
PostPosted: Wed Jun 30, 2010 5:09 pm 
Offline

Joined: Fri Nov 07, 2008 12:04 pm
Posts: 127
Please check the following:

maybe U are using a decompressed version of IOS, and U have a different version of IOS on remote, than local, and trying to use the same idle pc.

I can tell U that this is working for sure, I'm currently using 4 remote servers at the same time. 12 remote hypervisors.
(all remote hypervisors have the same IOS, same working dir, only IP:PORT is different)

_________________
GNS3 Lab Workbook v0.2

Image Image Image Image


Top
 Profile  
 
 Post subject: Re: External Hypervisor and idlepc
PostPosted: Wed Jun 30, 2010 6:42 pm 
Offline

Joined: Mon Apr 12, 2010 8:32 pm
Posts: 13
I am using an uncompressed version of the ios. I tried using the compressed version, c3725-adventerprisek9_ivs-mz.124-21.bin
and I get the same result.

Am I missing something? I start dynamips on the remote server by running "dynamips -H 7201" and then I launch GNS3 on my local PC and load the lab, the routers using the remote dynamips server lock up after a minute or two, and CPU usage on that server is maxed out.


Top
 Profile  
 
 Post subject: Re: External Hypervisor and idlepc
PostPosted: Wed Jun 30, 2010 7:36 pm 
Offline

Joined: Fri Nov 07, 2008 12:04 pm
Posts: 127
for sure U are missing something.

Please post the .net content.

_________________
GNS3 Lab Workbook v0.2

Image Image Image Image


Top
 Profile  
 
 Post subject: Re: External Hypervisor and idlepc
PostPosted: Wed Jun 30, 2010 8:35 pm 
Offline

Joined: Mon Apr 12, 2010 8:32 pm
Posts: 13
Here it is. 10.11.12.9 is the remote host, the one with high CPU.

Thanks for you help


autostart = False
[10.11.12.9:7202]
workingdir = /home/user/dynamips/projects/TSclass_working
udp = 10120
[[3725]]
image = /home/user/dynamips/ios/c3725-adventerprisek9_ivs-mz.124-21.bin
ram = 128
ghostios = True
idlepc = 0x602cd1bc
[[ROUTER CRO1]]
model = 3725
console = 2008
cnfg = /home/user/dynamips/projects/TSclass_configs/CRO1.cfg
f0/0 = CSW1 f1/11
slot1 = NM-4T
s1/0 = FR1 1
s1/1 = BRO1 s1/1
slot2 = NM-1FE-TX
f2/0 = CSW2 f1/11
x = 343.180807591
y = -119.580735804
[[FRSW FR1]]
1:121 = 2:111
1:122 = 4:111
2:111 = 1:121
2:112 = 3:121
3:121 = 2:112
3:122 = 4:112
4:111 = 1:122
4:112 = 3:122
x = 475.13160108
y = -37.6421356237
[[ROUTER BRO2]]
model = 3725
console = 2005
cnfg = /home/user/dynamips/projects/TSclass_configs/BRO2.cfg
f0/0 = BSW1 f1/4
slot1 = NM-4T
s1/0 = FR1 4
s1/1 = CRO2 s1/1
x = 582.414213562
y = 64.6568542495
[10.11.12.9:7201]
workingdir = /home/user/dynamips/projects/TSclass_working
udp = 10112
[[3725]]
image = /home/user/dynamips/ios/c3725-adventerprisek9_ivs-mz.124-21.bin
ram = 128
ghostios = True
idlepc = 0x602cd1bc
[[ROUTER CRO2]]
model = 3725
console = 2009
cnfg = /home/user/dynamips/projects/TSclass_configs/CRO2.cfg
f0/0 = CSW1 f1/12
slot1 = NM-4T
s1/0 = FR1 3
s1/1 = BRO2 s1/1
slot2 = NM-1FE-TX
f2/0 = CSW2 f1/12
x = 344.595021154
y = 60.0243866176
[[ROUTER BRO1]]
model = 3725
console = 2004
cnfg = /home/user/dynamips/projects/TSclass_configs/BRO1.cfg
f0/0 = BSW1 f1/3
slot1 = NM-4T
s1/0 = FR1 2
s1/1 = CRO1 s1/1
x = 578.0
y = -120.0
[[ROUTER BSW1]]
model = 3725
console = 2001
cnfg = /home/user/dynamips/projects/TSclass_configs/BSW1.cfg
slot1 = NM-16ESW
f1/3 = BRO1 f0/0
f1/4 = BRO2 f0/0
x = 749.0
y = -27.0
[10.11.12.11:7200]
workingdir = /home/user/dynamips/projects/TSclass_working
udp = 10000
[[3725]]
image = /home/user/dynamips/ios/c3725-adventerprisek9_ivs-mz.124-21.bin
ram = 128
ghostios = True
idlepc = 0x602cd1bc
[[ROUTER ASW1]]
model = 3725
console = 2015
cnfg = /home/user/dynamips/projects/TSclass_configs/ASW1.cfg
slot1 = NM-16ESW
f1/0 = CSW1 f1/0
f1/1 = CSW1 f1/1
f1/5 = CSW2 f1/5
f1/6 = CSW2 f1/6
x = -14.6152236891
y = 60.0243866176
[[ROUTER ISP3]]
model = 3725
console = 2027
cnfg = /home/user/dynamips/projects/TSclass_configs/ISP3.cfg
f0/0 = IXSW f1/4
f0/1 = IXSW f1/5
x = -420.49451609
y = -215.747258045
[[ROUTER ISP1]]
model = 3725
console = 2024
cnfg = /home/user/dynamips/projects/TSclass_configs/ISP1.cfg
f0/0 = IXSW f1/0
f0/1 = IXSW f1/1
x = -474.23463146
y = 175.989898732
[[ROUTER IRO2]]
model = 3725
console = 2019
cnfg = /home/user/dynamips/projects/TSclass_configs/IRO2.cfg
f0/0 = CSW1 f1/14
f0/1 = CSW2 f1/14
x = -115.024386618
y = 287.71277016
[[ROUTER ISP2]]
model = 3725
console = 2025
cnfg = /home/user/dynamips/projects/TSclass_configs/ISP2.cfg
f0/0 = IXSW f1/2
f0/1 = IXSW f1/3
x = -344.126983722
y = 287.71277016
[[ROUTER CSW2]]
model = 3725
console = 2013
cnfg = /home/user/dynamips/projects/TSclass_configs/CSW2.cfg
slot1 = NM-16ESW
f1/3 = CSW1 f1/3
f1/4 = CSW1 f1/4
f1/5 = ASW1 f1/5
f1/6 = ASW1 f1/6
f1/11 = CRO1 f2/0
f1/12 = CRO2 f2/0
f1/13 = IRO1 f0/1
f1/14 = IRO2 f0/1
f1/15 = IXSW f1/15
x = 166.404112295
y = 58.6101730553
[[ROUTER IRO1]]
model = 3725
console = 2018
cnfg = /home/user/dynamips/projects/TSclass_configs/IRO1.cfg
f0/0 = CSW1 f1/13
f0/1 = CSW2 f1/13
x = -212.605122421
y = 175.989898732
[[ROUTER IXSW]]
model = 3725
console = 2021
cnfg = /home/user/dynamips/projects/TSclass_configs/IXSW.cfg
slot1 = NM-16ESW
f1/0 = ISP1 f0/0
f1/1 = ISP1 f0/1
f1/2 = ISP2 f0/0
f1/3 = ISP2 f0/1
f1/4 = ISP3 f0/0
f1/5 = ISP3 f0/1
f1/14 = CSW1 f1/15
f1/15 = CSW2 f1/15
x = -417.666088965
y = -22.0
[[ROUTER CSW1]]
model = 3725
console = 2012
cnfg = /home/user/dynamips/projects/TSclass_configs/CSW1.cfg
slot1 = NM-16ESW
f1/0 = ASW1 f1/0
f1/1 = ASW1 f1/1
f1/3 = CSW2 f1/3
f1/4 = CSW2 f1/4
f1/11 = CRO1 f0/0
f1/12 = CRO2 f0/0
f1/13 = IRO1 f0/0
f1/14 = IRO2 f0/0
f1/15 = IXSW f1/14
x = -16.0294372515
y = -116.752308679
[GNS3-DATA]
configs = TSclass_configs
workdir = TSclass_working
m11 = 0.707106781187
m22 = 0.707106781187


Top
 Profile  
 
 Post subject: Re: External Hypervisor and idlepc
PostPosted: Wed Jun 30, 2010 9:24 pm 
Offline

Joined: Fri Nov 07, 2008 12:04 pm
Posts: 127
try to load balance.

U have 9 routers on the last hypervisor and only 2 routers on the others.

also, minimum ram is 128, use at least 128+64. (minimum is to boot, not to route, probably it will crash)

for this image I'm using 256.

post a reply if is working ok with this changes. if not, I will modify this .net file and test tomorrow.

_________________
GNS3 Lab Workbook v0.2

Image Image Image Image


Top
 Profile  
 
 Post subject: Re: External Hypervisor and idlepc
PostPosted: Thu Jul 01, 2010 2:46 am 
Offline

Joined: Mon Apr 12, 2010 8:32 pm
Posts: 13
I figured it out. I think it is the configs. I tried running all routers on one PC using 4 hypervisors and they still froze (i bumped all memory up to 256MB). The only ones that freeze are the 4 connected to the frame relay switch. I erased the configs on those and the routers work OK.

This lab is a setup of the TSHOOT class, I noticed each of these 4 routers has a total of 6 sub-interfaces under the Fa0/0 interface, I wonder if thats the issue.


Top
 Profile  
 
 Post subject: Re: External Hypervisor and idlepc
PostPosted: Thu Jul 01, 2010 7:21 am 
Offline

Joined: Fri Nov 07, 2008 12:04 pm
Posts: 127
hmm ... a dynamips bug ?





_________________
GNS3 Lab Workbook v0.2

Image Image Image Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO