Operating System - HP-UX
1834389 Members
2099 Online
110066 Solutions
New Discussion

Re: Incorrect depot listing on remote host

 
SOLVED
Go to solution
Geoff Wild
Honored Contributor

Incorrect depot listing on remote host

This one is strange - anyone know how to fix?

On host A:

# swlist -l depot @DEPOTSERVER
# Initializing...
# Target "DEPOTSERVER" has the following depot(s):
/SD_CDROM
/data/work/patches/depot
/data/work/patches/tmp2/depot
/data/work/patches/tmp5/depot
/data/work/patches/tmp6/depot
/data/work/patches/agent/depot
/var/opt/ignite/depots/recovery_cmds

Interesting - that is same as localhost!

# swlist -l depot
# Initializing...
# Target "HOSTA" has the following depot(s):
/SD_CDROM
/data/work/patches/depot
/data/work/patches/tmp2/depot
/data/work/patches/tmp5/depot
/data/work/patches/tmp6/depot
/data/work/patches/agent/depot
/var/opt/ignite/depots/recovery_cmds

When I run that on another host:

# swlist -l depot @DEPOTSERVER
# Initializing...
# Target "DEPOTSERVER" has the following depot(s):
/var/software/tools
/var/software/misc
/cdrom
/cdrom/DIAGNOSTICS/B.11.00
/var/software/patch/tools2002
/SD_CDROM
/var/software/Programming
/var/software/misc/mwa
/var/software/tools/OnlineDiag
/var/software/patch/Diag_11.11
/var/software/patch/ECCMAGT
/var/software/patch/11i.jan2004
/var/software/patch/Mobila.11.0.jan2004
/var/software/misc/CCTool
/var/software/patch/supp-tools
/var/software/patch/supp-patch-dec03/depot
/var/software/patch/isee
/var/software/patch/On-diag.1100
/var/software/SYSINFO
/var/software/UNZIP/
/var/software/CFG2HTML-HP
/var/software/SENDMAIL/
/var/software/patch/mwa
/var/software/patch/stm-11.0
/var/software/patch/isee-11.0

What is wrong with HOST A? Why doesn't it see the correct depots?

Thanks...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
9 REPLIES 9
RAC_1
Honored Contributor

Re: Incorrect depot listing on remote host

What does following return??

swlist -l depot @ ip_address_of_DEPOTSERVER
nslookup DEPOTSERVER
nsquery hosts DEPOTSERVER

Anil
There is no substitute to HARDWORK
Sanjay_6
Honored Contributor

Re: Incorrect depot listing on remote host

Hi,

check and see if the hostname "depotserver" on hosta is resolved correctly.

swlist -l depot @depot_server

works fine for us.

Hope this helps.

Regds
Geoff Wild
Honored Contributor

Re: Incorrect depot listing on remote host

RAC and Sanjay - returns the same as the HOSTB - name resolution is fine...

HOSTA is our OVO server - it Uses "dns [NOTFOUND=CONTINUE] files" for the hosts policy...

Searching dns for depotserver
Hostname: depotserver.mysdomain.com
Aliases:
Address: 192.168.2.125
Switch configuration: Terminates Search
root@hosta:/root # grep depotserver /etc/hosts
192.168.2.125 depotserver

That is the correct ip address.....

yet...

# swlist -l depot @192.168.2.125
# Initializing...
# Target "192.168.2.125" has the following depot(s):
/SD_CDROM
/data/work/patches/depot
/data/work/patches/tmp2/depot
/data/work/patches/tmp5/depot
/data/work/patches/tmp6/depot
/data/work/patches/agent/depot
/var/opt/ignite/depots/recovery_cmds


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Todd Stewart_1
Occasional Advisor

Re: Incorrect depot listing on remote host

Geoff,

Have you tried running the 'swlist -l depot @ depotserver' command from one of the other HP-UX servers (i.e. the NETBACKUP server)to see if the result is the same as HostA?

Todd :)
Sanjay_6
Honored Contributor
Solution

Re: Incorrect depot listing on remote host

Hi,

Check and see if the file /var/adm/sw/standalone exist on hosta. If it does rename it / remove it and try swlist again.

Hope this helps.

Regds
Geoff Wild
Honored Contributor

Re: Incorrect depot listing on remote host

Sanjay got it - it was /var/adm/sw/standalone!

Todd - in my original post "When I run that on another host:" it shows up correctly. :)

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
RAC_1
Honored Contributor

Re: Incorrect depot listing on remote host

Just egar to know what purpose this file serves and what are it's contenets??

Anil
There is no substitute to HARDWORK
Geoff Wild
Honored Contributor

Re: Incorrect depot listing on remote host

From the name of it, I would surmise it means the server only looks at depots locally - IE standalone. The file was 0 bytes. Not too sure how it got there...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Robert-Jan Goossens
Honored Contributor

Re: Incorrect depot listing on remote host

Geoff and RAC,

/var/adm/sw/standalone is needed when yo do not have network available ( bad lan card etc) if then you need to update software via swinstall you will have a problem :-)

regards,
Robert-Jan