- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swinstall hangs, where the source is on NFS pa...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 01:54 AM
03-06-2003 01:54 AM
swinstall hangs, where the source is on NFS path
We have AFS tree wherein all installables are stored, this AFS file system(/afs) will be mounted to all the machines. when i use swinstall to install any software,
#swinstall -s /afs/
(#cp /afs/
# swinstall -s /usr/x works very well)
whereas i am not facing this problem in AIX or in solaris.
pls note: No problem in hostname/DNS/NFS
does anybody has the solution for this kind of problem
thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 04:04 AM
03-06-2003 04:04 AM
Re: swinstall hangs, where the source is on NFS path
Also, try specifying the hostname in the command to see if that gets you any further:
# swinstall -s hostname:/usr/x
Cheryl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 04:36 AM
03-06-2003 04:36 AM
Re: swinstall hangs, where the source is on NFS path
It hangs again
swinstall -s hostname:/afs/x
swinstall hangs
here is the swagentd.log file
NOTE: There is no entry for group id 32555 in the group database.
This is not a serious error, except that it may result in the
denial of some expected access rights. Check /etc/group
and/or the NIS group database.
* Started source agent on
"/afs/ddcafs/pub/mq/MQ5.2/hp11/hpux11/mqs520.v11" for
root@ignsrv, pid=9708, 03/06/03 18:10:36 IST
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 04:40 AM
03-06-2003 04:40 AM
Re: swinstall hangs, where the source is on NFS path
Is /afs the name of your nfs mount point? If so, I think the "swinstall -s hostname:/afs/x" command would need to be "swinstall -s hostname:/x", wouldn't it?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 04:48 AM
03-06-2003 04:48 AM
Re: swinstall hangs, where the source is on NFS path
All you need to do is to create an SD depot (or multiple depots) on your reference machine. Then use swreg to announce the depots to any other system. Now you won't have to NFS mount the depots at all. Just tell swinstall that the source is machine:/depot_pathname
Using SD's built-in networking is much more preferrable than using NFS as you don't incur NFS overhead (and possible problems like you are seeing).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 04:58 AM
03-06-2003 04:58 AM
Re: swinstall hangs, where the source is on NFS path
we have 3 projects MQ (mqseries) java and TX.
/afs/ddcafs/pub is common for all.
from this point onwards(/afs/ddcafs/pub) we have branches mq,java,tx (/afs/ddcafs/pub/mq for MQ series project, /afs/ddcafs/pub/tx for tx series project) In these branches (paths)respective installables are stored
/afs/ddcafs/pub/mq/MQ5.2/hp11/hpux11/mqs520.v11(This is the path for MQseries version 5.2 for HP-UX 11.0 installable)
/afs/dcafs/pub is mounted to all servers
In HP-UX
#swinstall -s /afs/ddcafs/pub/mq/MQ5.2/hp11/hpux11/mqs520.v11
hangs
whereas in AIX
#installp -s /afs/ddcafs/pub/mq/MQ5.2/aix/aix433/mqs520.v11 works excellently, similarly in Solaris also it works.
I am facing this problem in all HP servers we have.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 05:03 AM
03-06-2003 05:03 AM
Re: swinstall hangs, where the source is on NFS path
As Bill noted, nfs is problematical at best, especially with SD. I have had it work fine at times and completely fail at others. When it fails I just shrug and rcp the depot to the machine where I need it. I should look into swreg'ing a common depot but have just been too darn lazy.
I would say that you're probably going to need to modify your methods.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 05:15 AM
03-06-2003 05:15 AM
Re: swinstall hangs, where the source is on NFS path
happy to see your responses.
actually i am doing the same now,
copying the /afs/ddcafs/pub/mq/MQ5.2/hp11/hpux11/mqs520.v11 to any one of the file systems (say /tmp)
and then
#swinstall -s /tmp/mqs520.v11
this works fine.
I am under question now from my Project Managers, how it fails only in HP-UX when it is working on all other unix flavours?
It's loop hole in HP-UX is it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 05:49 AM
03-06-2003 05:49 AM
Re: swinstall hangs, where the source is on NFS path
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 06:04 AM
03-06-2003 06:04 AM
Re: swinstall hangs, where the source is on NFS path
swreg -l depot /afs/ddcafs/pub/mq/MQ5.2/hp11/hpux11/mqs520.v11
Now, go to any HP-UX machine and checkout the depot remotely as in:
swlist -l depot @ main_server
If it shows up in your list, you can use your swinstall command:
swinstall -s main_server:/afs/ddcafs/pub/mq/MQ5.2/hp11/hpux11/mqs520.v11 \*
The hang is probably a combination of NFS and AFS wierdness along with the special calls SD makes to handle multiple depot distribution. You can leave the NFS mountpoint, just perform swinstall after you've registered the depot. That needs to be done only once and registration survives a reboot of the main_server.
Another advantage of SD's networking is you can browse multiple depots on the server...you don't need to know the exact depot path. swinstall (interactively) will show you the depots on the main_server.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 06:27 AM
03-06-2003 06:27 AM
Re: swinstall hangs, where the source is on NFS path
# swinstall -x write_remote_files=true ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 06:56 AM
03-06-2003 06:56 AM
Re: swinstall hangs, where the source is on NFS path
# swlist -l depot @ hprts3
# Initializing...
# Target "hprts3" has the following depot(s):
/afs/ddcafs/pub/mq/MQ5.2/hp11/hpux11/mqs520.v11
again it hangs,
shiju's option also the same.
note: NFS server (/afs/ddcafs/pub) is on AIX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 07:04 AM
03-06-2003 07:04 AM
Re: swinstall hangs, where the source is on NFS path
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 07:15 AM
03-06-2003 07:15 AM
Re: swinstall hangs, where the source is on NFS path
Thanx for your time and responses
I am working on this, I will post the solution if i could solve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 07:18 AM
03-06-2003 07:18 AM
Re: swinstall hangs, where the source is on NFS path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 07:23 AM
03-06-2003 07:23 AM
Re: swinstall hangs, where the source is on NFS path
all the servers are with recent patche bundle (Dec 2002)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 07:36 AM
03-06-2003 07:36 AM
Re: swinstall hangs, where the source is on NFS path
# swlist -d @ /afs/package_name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 07:43 AM
03-06-2003 07:43 AM
Re: swinstall hangs, where the source is on NFS path
# swlist -d @ /afs/ddcafs/pub/mq/MQ5.2/hp11/hpux11/mqs520.v11
# Initializing...
# Contacting target "hprts3"...
#
# Target: hprts3:/afs/ddcafs/pub/mq/MQ5.2/hp11/hpux11/mqs520.v11
#
#
# No Bundle(s) on hprts3:/afs/ddcafs/pub/mq/MQ5.2/hp11/hpux11/mqs520.v11
# Product(s):
#
MQSERIES B.11.520.00 MQSeries for HP-UX
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 07:52 AM
03-06-2003 07:52 AM
Re: swinstall hangs, where the source is on NFS path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 08:09 AM
03-06-2003 08:09 AM
Re: swinstall hangs, where the source is on NFS path
swinstall.log :
----------------
====== 03/06/03 21:25:19 IST BEGIN swinstall SESSION (interactive)
NOTE: The interactive UI was invoked, since no software was
specified.
* Session started for user "root@hprts3".
swagent.log:
-------------
======= 03/06/03 21:25:23 IST BEGIN install AGENT SESSION (pid=26330)
* Agent session started for user "root@hprts3.in.ibm.com".
(pid=26330)
even in GUI mode also it hangs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 08:12 AM
03-06-2003 08:12 AM
Re: swinstall hangs, where the source is on NFS path
after some time swinstall GUI window closes,
full swinstall.log is like this:
======= 03/06/03 21:25:19 IST BEGIN swinstall SESSION (interactive)
NOTE: The interactive UI was invoked, since no software was
specified.
* Session started for user "root@hprts3".
ERROR: RPC exception: "Connection closed (dce / rpc)" 03/06/03
21:40:24 IST
ERROR: A Remote Procedure Call to an agent has failed. Could not
start a management session for
"hprts3:/afs/ddcafs/pub/mq/MQ5.2/hp11/hpux11/mqs520.v11".
Make sure the host is accessible from the network.
* Beginning Selection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 08:18 AM
03-06-2003 08:18 AM
Re: swinstall hangs, where the source is on NFS path
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063202258
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 08:20 AM
03-06-2003 08:20 AM
Re: swinstall hangs, where the source is on NFS path
1) system IP address entry in /etc/hosts file
2) name resolution
3) stop and start swagentd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2003 06:49 AM
03-07-2003 06:49 AM
Re: swinstall hangs, where the source is on NFS path
/usr/dir1/dir2 ...root=server1,server2,etc...
Without this type of entry I found that I couldn't get to the depot to install from.
Again just my .02
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2003 06:51 AM
03-07-2003 06:51 AM
Re: swinstall hangs, where the source is on NFS path
/usr/dir1/dir2 ...root=server1:server2:etc...
Without this type of entry I found that I couldn't install from the depot.
Again just my .02