Re: solaris zones & network interfaces

Phil Stringer <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
Roskens, Ronald wrote:
> For 1.8.X:
>  
> Solaris zones have interfaces like:
>  
> lo0:27: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 
> 8232 index 1
>         inet 127.0.0.1 netmask ff000000
> aggr81001:6: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> 
> mtu 1500 index 15
>         inet 172.16.81.45 netmask ffffff00 broadcast 172.16.81.255
> Is there an easy way to strip off the :<num> from the interface name 
> before opennms uses it to create the data directory? The :<num> is not 
> guaranteed to be the same each time the zone boots, so I'm getting a 
> number of extraneous interface_<num>-<string> directories in the snmp 
> directories for each node thats a solaris zone.
>  
> Ron

I find it annoying as well. We use Sun Cluster to provide failover between two sites and 
do this at the zone level. This helps eliminate the problem of IPs being found on each of 
a pair of nodes. In this case the :<num> does change quite frequently as it depends on the 
order in which the zones are started.
The significant information the interface (without :<num>) and the IP address. If there 
was a way of treating the different intances of :<num> as, in effect, aliases this would 
help reduce the impact of  this problem.

	phil

-- 
  Phil Stringer, Infrastructure & Operations, Phone +44 161 275 6057
  IT Services Division,                       email [email protected]
  The University of Manchester                UK Genealogy - http://www.genuki.org.uk/

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.