Menu

ThisSite.pm configuration questions

Help
Fred
2014-06-13
2014-06-13
  • Fred

    Fred - 2014-06-13

    I don't have HP OV so I will need to set up the @LocalSwitches list.

    However, I don't understand the syntax of the list. We don't have DNS so I will have to use the IP addresses of each switch.

    So, is there an example of how to complete this section using an IP address of a switch?

    Thanks

     
  • Dan

    Dan - 2014-06-13

    I use this method:

    @LocalSwitches = (); # Clear out @LocalSwitches array
    push @LocalSwitches, '10.1.1.1';
    push @LocalSwitches, '10.1.1.2';
    push @LocalSwitches, '10.1.1.3';

    repeat as necessary for each switch. Note that you can use either IP addresses or DNS names, i.e. you could also use.

    @LocalSwitches = (); # Clear out @LocalSwitches array
    push @LocalSwitches, 'Bldg-A-3560G-1.company.com';
    push @LocalSwitches, 'Bldg-A-3560G-2.company.com';
    push @LocalSwitches, '10.1.1.4';
    push @LocalSwitches, 'Bldg-C-4948-22.company.com';

    danT

     
  • Fred

    Fred - 2014-06-13

    Excellent!! Thanks. It seemed logical that would be the place however, I am not a programmer so I really was not sure about the syntax.

     

Log in to post a comment.

MongoDB Logo MongoDB