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
Discussions
Discussions
Discussions
Forums
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
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
тАО09-03-2009 08:16 AM
тАО09-03-2009 08:16 AM
I have registerd a depot using below command
swreg -l depot /tmp/PHNE_39872.depot
swlist -l depot
it gives correct output as /tmp/PHNE_39872.depot
But when i tried to install on another server
swinstall -s 10.11.10.34:/tmp/PHNE_39872.depot
in SAM window i cannot get source server name in source hostname field.
and please find the attached error
plz suggest on this
himacs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2009 08:26 AM
тАО09-03-2009 08:26 AM
Re: swreg
swlist -l depot @ 10.11.10.34
to see that patch depot is available or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2009 08:30 AM
тАО09-03-2009 08:30 AM
Re: swreg
Its available
swlist -l depot @ noortrg
# Initializing...
# Target "noortrg" has the following depot(s):
/tmp/rsp/depot
/var/patch/rsp/depot
/tmp/PHNE_39872.depot
Regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2009 08:39 AM
тАО09-03-2009 08:39 AM
Re: swreg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2009 08:46 AM
тАО09-03-2009 08:46 AM
Re: swreg
What you need to do is to copy the contents of this depot file into a directory, say /tmp/mypatches, using swcopy command, then register this directory as a depot with
swreg -l depot /tmp/mypatches
then you should be able to access it from remote systems.
HTH
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2009 09:08 AM
тАО09-03-2009 09:08 AM
Re: swreg
Thanx for the replies.
I registered with another path
swreg -l depot /var/patch/PHNE_39872.depot
But the same error persists..
Plz help on this
My server is B.11.23
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2009 09:13 AM
тАО09-03-2009 09:13 AM
Re: swreg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2009 09:16 AM
тАО09-03-2009 09:16 AM
Re: swreg
Thats already done.Any other possibilities?
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2009 09:23 AM
тАО09-03-2009 09:23 AM
Re: swreg
I rebounced the swagentd in both the servers.
Again i tried with
swinstall -s noortrg:/var/patch/depot
Only problem is in source hostname source server is not available
If i manually type the server name,ican view the registred depots from source..
Plz find the attachment
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2009 09:56 AM
тАО09-03-2009 09:56 AM
Re: swreg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2009 09:56 AM
тАО09-03-2009 09:56 AM
Re: swreg
So set up the ip address in /etc/hosts to support hostname in the local system.
ip address hostname
You can support any format you want this way.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2009 10:36 AM
тАО09-03-2009 10:36 AM
Re: swreg
You are looking for the file:
$HOME/.sw/defaults.hosts
if you edit this file, you will see a asection like this:
swinstall.hosts_with_depots = {
server1
server2
server3
}
along with other sections. In order to browse this server by selecting it in the drop-down items, your server name must be in this swinstall.hosts_with_depots section.
HTH
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2009 04:14 PM
тАО09-03-2009 04:14 PM
Re: swreg
You are missing a very important part of the swinstall command: the list of products to be installed from the depot. Add an escaped * at the end like this:
swinstall -s 10.11.10.34:/tmp/PHNE_39872.depot \*
Now the interactive window won't pop-up with confusing choices.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2009 06:34 PM
тАО09-03-2009 06:34 PM
Re: swreg
I have tried with suggested by u.But enede with error which i have attached..
I used below command..
swinstall -p -s 10.11.10.34:/tmp/PHNE_39872.depot\*
Hi Steven,
Hostname is fine,has all the needed entries.
Hi Mel,
I didnot find any file as u mentioned in target server
$HOME/.sw/defaults.hosts
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2009 12:17 AM
тАО09-04-2009 12:17 AM
Re: swreg
I recently ran into this and mentioned it. You can swreg your tape depot and swlist it but you can't swinstall.
>then register this directory as a depot
No need since swcopy does that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2009 08:46 AM
тАО09-04-2009 08:46 AM
Re: swreg
>I didnot find any file as u mentioned in target server
Then you should not see any hosts listed other than the local host name when you highlight the source host and hit enter. If you need another hostname to appear on this list you will need to have this file.
And please pay attention to what I have said before and what Dennis has concurred. .depot files are to be used on the local host, not to be used on a remote host as a remote depot. If you have the depot file, why don't you get the single file copied to this host and do your install ? If this is going to go onto too many hosts, the use swcopy to create a depot on the source server, which you can access from anywhere on your network.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2009 08:52 AM
тАО09-04-2009 08:52 AM
Re: swreg
You should swcopy the depot first to a folder and then swreg the folder to do remote installs.
Thanks
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2009 11:47 AM
тАО09-04-2009 11:47 AM
Re: swreg
Right, you can only do swlist, probably not that useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2009 11:54 AM
тАО09-04-2009 11:54 AM
Re: swreg
How about /tmp? is it a link to somewhere else or just the real directory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2009 01:50 AM
тАО09-05-2009 01:50 AM
Re: swreg
yes i can copy depot to all the nodes and install locally.
But then whats the use of swreg...?
As sudheesh advised let me do a swcopy before swreg..
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2009 01:57 AM
тАО09-05-2009 01:57 AM
Re: swreg
In your case you don't need it. But you can unregister depots. Or if you used mv, cp, or pax/tar/cpio to copy a depot, you would need to register it. Or if the depot is on NFS, you may register it on other machines.
Or if you fall into the SD trap of having N ways to do things and you use swpackage instead of swcopy, you would need to register it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2009 03:32 AM
тАО09-05-2009 03:32 AM
Re: swreg
I was trying to unregister melow patch but ended up with error..plz guide
swreg -u depot /var/patch/PHNE_39872.depot
ERROR: A valid registration level is needed for the successful
execution of "swreg"(). The valid levels are: "depot", "root",
"shroot" or "prroot".
ERROR: Command line parsing failed.
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2009 04:08 AM
тАО09-05-2009 04:08 AM
Re: swreg
swreg -l depot -u
Now let me help you to register a depot the right way:
Assume you have downloaded the patch to depot_server@/tmp/PHNE_39872.depot and you want it to register at /depot/patch/PHNE_39872.
swcopy -x mount_all_filesystems=false -x enforce_dependencies=FALSE /tmp/PHNE_39872.depot \* @/depot/patch/PHNE_39872
verify if swcopy has automatically registered it:
swlist -l depot
If not register it:
swreg -l depot /depot/patch/PHNE_39872
From remote system:
swlist -l depot -s depot_server
swinstall -s depot_server:/depot/patch/PHNE_39872 \*
Hope this helps
Thanks
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2009 04:25 AM
тАО09-05-2009 04:25 AM
Re: swreg
The unregistration successful.
I have run swcopy as suggested by you.But ended up with errors.
* Session started for user "root@noortrg".
* Beginning Selection
* "noortrg:/var/patch/PHNE_39872": This target does not exist
and will be created.
ERROR: There is currently no depot software on host "noortrg" at
location "/var/spool/sw". Make sure that an absolute pathname
is specified for location (beginning with "/").
* Source connection failed for "noortrg:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
target (default location is noortrg:/var/adm/sw/swagentd.log).
* Selection had errors.
-----------------------
tail -f /var/adm/sw/swagentd.log
16:20:50 uae
* Agent pid=13007 completed. 09/05/09 16:20:50 uae
* Started copy agent on "/var/patch/PHNE_39872" for
root@noortrg, pid=13050, 09/05/09 16:22:54 uae
NOTE: The target "/var/patch/PHNE_39872" does not exist and will be
created. pid=13050 09/05/09 16:22:54 uae
ERROR: Failed to start source agent on "/var/spool/sw" for
root@noortrg. "/var/spool/sw" is not a valid depot. 09/05/09
16:22:54 uae
* Agent pid=13050 completed. 09/05/09 16:22:54 uae
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2009 04:30 AM
тАО09-05-2009 04:30 AM
Re: swreg
swcopy -x mount_all_filesystems=false -x enforce_dependencies=FALSE -s /tmp/PHNE_39872.depot \* @/depot/patch/PHNE_39872