On 04/20/2012 05:34, Oeschey, Lars (I/ET-83, extern) wrote: > Hi, > > I have a little script, that first checks the availability of a DFS Cluster > here. The cluster has an alias name which is used to map drives etc., so I'm > using that alias to ping it for availability. > I can ping that alias in a dosbox. > When I use a normal servername to ping, it works with the script. > When I use the clusteralias, it works from one machine, from another not. ... > > Any ideas? I know it must have to do something with that alias...
I know nothing from DFS clusters, but I would be trying to find an IP address to ping instead of the alias. Where does that alias get resolved ? If it's in the hosts file, then maybe only that one computer has it listed there. I would try one of Net::DNS::Resolver, gethostbyname, Net::hostent:gethost or ?? to convert the alias to an IP addr - kinda depends on where the alias gets resolved - who the heck knows the correlation between the alias name and the IP addr and maybe that needs to be changed (eg: propagated to a name server or added to each computer's hosts file). Not an answer, but may get you pointed towards a solution. _______________________________________________ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs