Operating System - HP-UX
1753485 Members
4554 Online
108794 Solutions
New Discussion юеВ

swinstall/swlist with IPv6

 
SOLVED
Go to solution
Prasanna Harishchandra
Occasional Advisor

swinstall/swlist with IPv6

Hi,

I have two hosts A and B that talk with IPv6. I have unplumbed all IPv4 interfaces from both systems.

I have modified /etc/nsswitch.conf file and updated /etc/hosts to include IPv6 addresses of A and B on both the systems. After this I restarted swagentd daemon.

Now when I run command
# swlist -l depot @ B
from host A, it just hangs.

Similarly, "swinstall -s B:/testdepot \* " also hangs.

Is it that sw* needs some configuration to work with IPv6?
12 REPLIES 12
Dennis Handly
Acclaimed Contributor

Re: swinstall/swlist with IPv6

>Is it that sw* needs some configuration to work with IPv6?

Yes the sw* commands must have networking working. And also name servers??
Prasanna Harishchandra
Occasional Advisor

Re: swinstall/swlist with IPv6


The systems A and B are accessible over IPv6 for other services like ssh, ping etc.

Is there a specific setting that I need to configure for sw* commands to work with IPv6?
Dennis Handly
Acclaimed Contributor

Re: swinstall/swlist with IPv6

>Is there a specific setting that I need to configure for sw* commands to work with IPv6?

I don't know that much. All I know is that machine A needs to be able to look up its own name. Does swlist with no option on A, hang too?
Robert-Jan Goossens_1
Honored Contributor

Re: swinstall/swlist with IPv6

Hi,

Did you start/stop the swagentd?

# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start

--
I have modified /etc/nsswitch.conf file
--
Did You add the "ipnodes: files" entry?

Regards,
Robert-Jan
Prasanna Harishchandra
Occasional Advisor

Re: swinstall/swlist with IPv6

I have the following settings in my nsswitch.conf file:

# cat /etc/nsswitch.conf
ipnodes: files
hosts: files [NOTFOUND=continue] dns [NOTFOUND=continue] nis


As I said in my very first post, I restarted swagentd after these changes.

But it is still not working.
Robert-Jan Goossens_1
Honored Contributor

Re: swinstall/swlist with IPv6

You are using your hosts file as your primary name service.

Try this configuration.

hosts: files [NOTFOUND=continue] dns [NOTFOUND=continue] nis
ipnodes: files [NOTFOUND=continue] dns

http://docs.hp.com/en/5990-7247/ch03s04.html

Regards,
Robert-Jan
Prasanna Harishchandra
Occasional Advisor

Re: swinstall/swlist with IPv6

Hi Robert-Jan,

I tried this configuration as well. But it is still not working. Basically swagentd on host A and B are not able to talk to each other when the mechanism is ONLY IPv6.

I can still ping/ssh these two machines from each other though.

Can someone please confirm if swinstall works in pure v6 environment?
Robert-Jan Goossens_1
Honored Contributor

Re: swinstall/swlist with IPv6

Hi again,

Just to check, did you also install the dependencies?

http://h20293.www2.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=TOUR

Regards,
Robert-Jan
Bob E Campbell
Honored Contributor
Solution

Re: swinstall/swlist with IPv6

Sorry to be the bearer of bad news, but the SD tools need to have an IPv4 interface. It is known to not work in a pure IPv6 environment.

What I am not sure of is what support there is for IPv6 targets in a mixed environment. I will try and look into that (but I do not have an IPv6 network handy)