[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Testbed-admins] Is there any one successfully utilized Cisco 2960 switch with Emulab software?



Evan,

Glad to hear it.

I'm replying back to the mailing list so it can be recorded in case anyone
else has a similar problem in the future...

-Jonathan


> Hi Jonathan,
>
>      Thank you for the reply. With what you said, the first problem was
> solved.
>
> I am using there default perl 5.8.8. Let me try to update it.
>
> Thank you again,
> Evan
>
> On Mon, Dec 14, 2009 at 10:07 AM, Jonathan Walsh
> <jonathan.d.walsh@lmco.com>wrote:
>
>> Evan,
>>
>> It looks like you might have two errors, the first might be a data issue
>> with which ports are assigned to your nodes.  The should be numbered
>> with
>> the card 0 not 1.
>>
>> The second error looks like a Perl error.  I am not incredibly fluent in
>> Perl unfortunately.  What version are you running?  I know for sure that
>> v5.8.9 doesn't give me that error at least...
>>
>> -Jonathan
>>
>>
>> chunhui Zhang(Evan) wrote:
>>
>>> Dear Jonathan Walsh,
>>>
>>> This is Evan from BBN,
>>>
>>>   I am picking up this old thread in list
>>> testbed-admin@emulab.net<mailto:
>>> testbed-admin@emulab.net>. because I still have some problem with cisco
>>> 2960 switch,
>>>
>>> Since you are using this type of switch, I think maybe you can help. It
>>> seems the Emulab testbed software here still cannot figure out the port
>>> on
>>> 2960 switch, here is a experiment swap output,
>>>
>>> -------------------------------------------------------------------------------
>>>
>>> Running 'tbswap in  testbed TwoNodesTest'
>>> Beginning swap-in for testbed/TwoNodesTest (17). 12/09/2009 17:33:47
>>> TIMESTAMP: 17:33:47:687359 tbswap in started
>>> Checking with Admission Control ...
>>>
>>> Mapping to physical reality ...
>>> TIMESTAMP: 17:33:47:707768 mapper wrapper started
>>> Starting the new and improved mapper wrapper.
>>> Clearing physical state before updating.
>>> Minimum nodes   = 2
>>> Maximum nodes   = 2
>>>
>>> Assign run 1
>>> ptopargs: '-p testbed -e TwoNodesTest '
>>> assign command: 'assign -P testbed-TwoNodesTest-23622.ptop
>>> testbed-TwoNodesTest-23622.vtop'
>>> Reading assign results.
>>> Successfully reserved all physical nodes we needed.
>>> TIMESTAMP: 17:33:52:768071 mapper wrapper finished
>>> Mapped to physical reality!
>>> Fetching tarballs and RPMs (if any) ...
>>> TIMESTAMP: 17:33:52:775437 tarfiles_setup started
>>> TIMESTAMP: 17:33:53:365446 tarfiles_setup finished
>>>
>>> Setting up mountpoints.
>>> TIMESTAMP: 17:33:53:374892 mountpoints started
>>> TIMESTAMP: 17:33:57:370886 mountpoints finished
>>> TIMESTAMP: 17:33:57:377449 named started
>>> Setting up named maps.
>>> TIMESTAMP: 17:33:58:224634 named finished
>>>
>>> TIMESTAMP: 17:33:58:230522 gentopofile started
>>> Generating ltmap (again) ...
>>> TIMESTAMP: 17:33:59:49929 gentopofile finished
>>> Resetting OS and rebooting.
>>> TIMESTAMP: 17:33:59:57492 launching os_setup
>>> Setting up VLANs.
>>>
>>> TIMESTAMP: 17:33:59:85989 snmpit started
>>> TIMESTAMP: 17:34:00:262803 os_setup started
>>> Mapping [OS 10012: emulab-ops,RHL-STD] on pc1 to [OS 10013:
>>> emulab-ops,FC6-STD].
>>>  Creating VLAN 8 as VLAN #5 on cisco1 ... Succeeded.
>>>
>>>    Applying VLAN changes on cisco1 ... Succeeded
>>> Port not found, skipping
>>> Port not found, skipping
>>> *** Failed to add ports to vlan
>>> TIMESTAMP: 17:34:00:831860 snmpit finished
>>> Setting up email lists.
>>>
>>> TIMESTAMP: 17:34:00:836129 genelists started
>>> TIMESTAMP: 17:34:00:917971 rebooting/reloading nodes started
>>> reboot (pc1): Attempting to reboot ...
>>> reboot (pc3): Attempting to reboot ...
>>> reboot (pc1): Successful!
>>>
>>> reboot (pc3): Successful!
>>> reboot: Done. There were 0 failures.
>>> TIMESTAMP: 17:34:02:127891 genelists finished
>>> Clearing port counters.
>>> TIMESTAMP: 17:34:02:178137 portstats started
>>> *** ERROR: portstats:
>>>
>>> ***   Insecure $ENV{PATH} while running with -T switch at
>>> ***   /usr/testbed/lib/emdbi.pm <http://emdbi.pm> line 390. ***
>>> WARNING:
>>> tbswap: Failed to clear port counters.
>>>
>>>
>>> TIMESTAMP: 17:34:02:808969 portstats finished
>>> reboot (pc3): child returned 0 status.
>>> reboot (pc1): child returned 0 status.
>>> TIMESTAMP: 17:34:02:963886 rebooting/reloading finished
>>> Waiting for local testbed nodes to finish rebooting ...
>>>
>>> TIMESTAMP: 17:34:02:966851 Local node waiting started
>>> pc3 is alive and well
>>> pc1 is alive and well
>>> TIMESTAMP: 17:34:51:96423 Local node waiting finished
>>> OS Setup Done. TIMESTAMP: 17:34:51:109528 os_setup finished
>>>
>>> Starting the event system.
>>> TIMESTAMP: 17:34:51:353486 eventsys_control started
>>> TIMESTAMP: 17:34:54:941881 eventsys_control finished
>>> TIMESTAMP: 17:34:54:948493 Starting event time
>>> Successfully finished swap-in for testbed/TwoNodesTest. 17:34:54:992530
>>>
>>> TIMESTAMP: 17:34:54:995081 tbswap in finished (succeeded)
>>> Running 'tbreport -b testbed TwoNodesTest'
>>> Doing a savepoint on the experiment archive ...
>>> Swap Success!
>>>
>>> ----------------------------------------------------------------------
>>> Although swap was succeed, the related ports were still not add to the
>>> right vlan.
>>> Do you ever see the similar errors?
>>>
>>> Thank you so much,
>>> Evan Zhang
>>> GENI Intern @ BBN
>>> On Tue, Oct 6, 2009 at 12:57 PM, Jonathan Walsh <
>>> jonathan.d.walsh@lmco.com <mailto:jonathan.d.walsh@lmco.com>> wrote:
>>>
>>>    I am running 2960s.  I updated the list on the wiki.
>>>
>>>    I didn't bother getting the autonode adding feature working since I
>>>    was only adding a dozen or so machines.  I sent in a small patch a
>>>    while ago to get the port setting stuff working.  Basically it was a
>>>    mismatch between how the switch refers to its ports in various SNMP
>>>    calls.
>>>
>>>    -Jonathan
>>>
>>>
>>>
>>>    Robert P Ricci wrote:
>>>
>>>        That list is out of date, we do have someone (I forget who...)
>>>        who runs
>>>        on 2960s.
>>>
>>>        Thus spake chunhui Zhang(Evan) on Tue, Oct 06, 2009 at
>>>        12:58:30PM -0400:
>>>
>>>            Hi,
>>>
>>>               We are trying to buy a Emulab supported Cisco switch
>>>            here. We looked at
>>>            the 2950 first, but this switch just have two ports with
>>>            gigbit capbility
>>>            which is not satisfiable.
>>>
>>>            And the Model 2960 could have more gigabit ports. However,
>>>            this model is not
>>>            in list here.
>>>
>>> http://users.emulab.net/trac/emulab/wiki/install/prerequisites.html
>>>
>>>            A little bit worried about this switch and want to make sure
>>>            whether this
>>>            model will work or highly possible will work.
>>>
>>>            Thank you very much!
>>>
>>>            Chunhui Zhang (Evan)
>>>            GENI Intern at BBN
>>>
>>>
>>>            _______________________________________________
>>>            Testbed-admins mailing list
>>>            Testbed-admins@flux.utah.edu
>>>            <mailto:Testbed-admins@flux.utah.edu>
>>>
>>>            http://www.flux.utah.edu/mailman/listinfo/testbed-admins
>>>
>>>
>>>
>>>
>>>
>>>
>>
>