DX NetOps

 View Only
  • 1.  One vnmsh through multiple SP domains

    Posted Jul 12, 2018 04:23 AM

    I am trying to connect from a specific vnmsh to a remote SS which's not in the same domain.

     

    Basically the purpose is to load a file into a perl script and compare a few things, match the IPs and 2 Spectrum domains.

     

    I tried to map a network drive for the "outsider" SS but it doesn't work:

    Y:\>connect.exe
    connect: can only connect to SpectroSERVERs in

     

    I am avoiding the use of webservices, there's any way to do this by vnmsh?



  • 2.  Re: One vnmsh through multiple SP domains

    Broadcom Employee
    Posted Jul 12, 2018 07:32 AM

    Hello Diogo, 

     

    there is no "domain handling" in CA Spectrum in regards to Windows Domains. That word is here a bit misleading.

    Please try to use a ./connect.exe <remote_hostname>  - where the <remote_hostname> is the remote SpectroSERVER. 

    This should work in case the name-resolution is fine. 

     

    Connection is only possbile in case the remote Spectrum install is covering via $SPECROOT/.hostrc this local host entry. 

    Please make use of the remote vnmsh/CLI connect only per this DSS/Distributed Spectrum install - and do not use mixed release executables/services. 

     

    Sample: 

    [specadm@liejo021a spectrum]$ ./SS-Tools/MapUpdate -v | grep "beef 10"
    0xa000000 Landscape Default liejo021a 0xbeef 10
    0xa100000 Landscape Default liejo024b 0xbeef 10
    0xa300000 Landscape Default liejo0210b 0xbeef 10
    0xa500000 Landscape Default liejo025a 0xbeef 10

     

    [specadm@liejo021a spectrum]$ cd vnmsh

     

    [specadm@liejo021a vnmsh]$ ./connect liejo024b
    connect: successful liejo024b
    current landscape is 0xa100000

    WARNING: CLI is a powerful tool that allows a user to make changes
    directly to the SPECTRUM knowledge-base without the error checking
    provided by OneClick. Please read the accompanying CLI user
    documentation before using the create, destroy, or update commands.

     

    [specadm@liejo021a vnmsh]$ ./current
    current model is undefined
    current landscape is 0xa100000

     

    [specadm@liejo021a vnmsh]$

     

    hth

     

    cheers, Joerg 



  • 3.  Re: One vnmsh through multiple SP domains

    Posted Jul 12, 2018 09:01 AM

    The problem is: two separate Spectrum installations (yes, the domain word is not correct).

     

    Adding a new entry in .hostrc file, pointing to another SP installation works?



  • 4.  Re: One vnmsh through multiple SP domains

    Broadcom Employee
    Posted Jul 12, 2018 09:12 AM

    Hi Diogo, 

     

    so having different installs - then this should run at same release then - and once you add the remote host into this local host $SPECROOT/.hostrc can become a potential issue. I would not do it ..  

    In addition - as the "user context" is one parameter - then at local host the same user-login (name string) needs to be used matching to the install owner on the remote SpectroSERVER (to which you would connect to). 

     

    Again - you should use Spectrum in a valid DSS-context - means: Same install owner, same release/patch-level and established DSS context. 

     

    Cheers, Joerg 



  • 5.  Re: One vnmsh through multiple SP domains

    Broadcom Employee
    Posted Jul 12, 2018 11:14 AM

    Perhaps it's a bit of a hack but if you have an SSH server (they're available for Windows as well), you can do something like this:

     

    I want to find all the Cisco routers with "blue" in the host name on another Spectrum server:

     

    user@ketro01-E7669 ~$# ssh spectrum@ketro01-e7668 "/loddisk2/spectrum/vnmsh/connect; /loddisk2/spectrum/vnmsh/show models|grep blue| grep -i rtr_cisco"
    spectrum@ketro01-e7668's password:
    connect: successful ketro01-e7668
    current landscape is 0x1000000

     

    WARNING:  CLI is a powerful tool that allows a user to make changes
    directly to the SPECTRUM knowledge-base without the error checking
    provided by OneClick.  Please read the accompanying CLI user
    documentation before using the create, destroy, or update commands.

     

    0x10000a4   cis2524-blue-96.26.ca.com         0x21000c    Rtr_Cisco
    0x10000a2   cis2524-blue-96.28.ca.com         0x21000c    Rtr_Cisco

     

    I'm able to get the results from a remote Spectrum server on my local host without disturbing the existing configuration or worrying about different versions, etc.  Curious as to why you want to avoid web services though since I think that would be a better way to accomplish this.

     

    -Rob



  • 6.  Re: One vnmsh through multiple SP domains
    Best Answer

    Posted Jul 16, 2018 03:57 PM

    If the two SpectroSERVER systems are in different Distributed SpectrSERVER (DSS) environments then you will not be able to connect from a SpecgtroSERVER in one DSS to a SpectroSERVER in the other DSS. You will only be able to connect to SpectroSERVERs in the same DSS.

     

    Joe



  • 7.  Re: One vnmsh through multiple SP domains

    Posted Jul 17, 2018 03:01 AM

    This resumes what I was looking for.

     

    I am already using webservices for what it is supposed to do.

     

    Thank you.