- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to swpackage an installed depot for instal...
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
07-28-2005 06:39 PM
07-28-2005 06:39 PM
How to swpackage an installed depot for installation on another box?
I have to install a software on a box that runs 10.20, for which no depots are available anymore.
However when 10.20 still was actively supported I once installed a depot from asknet.de on one such box.
I now want to have the same depot, that is installed and for that I don't have a *.depot file anymore, installed on another 10.20 box.
I could easily simply copy the depot's installed tree over, but I'd rather like to have it registered officially by SD.
I have no experience with depot packaging yet,
and the swpackage man page wasn't too helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 07:32 PM
07-28-2005 07:32 PM
Re: How to swpackage an installed depot for installation on another box?
If it is a depot then remote swinstall should work
from man
Install the C and Pascal products to a set of remote hosts:
swinstall -s sw_server cc pascal @ hostA hostB hostC
Install Product1 from remote depot /tmp/sample.depot.1 on host swposix
swinstall -s swposix:/tmp/sample.depot.1 Product1
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 07:49 PM
07-28-2005 07:49 PM
Re: How to swpackage an installed depot for installation on another box?
you also can swinstall interactively.
After 'swinstall' it asks for the 'Source Host Name' and the 'Source Depot Path'.
Then you can see the sw you can choose for installation.
Another possibility is 'swcopy' to the box, but I think for your case it makes no sense.
HTH
Volkmar
*Have a nice SA day*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 07:54 PM
07-28-2005 07:54 PM
Re: How to swpackage an installed depot for installation on another box?
trying upload first (i.e. merkur has it installed, venus requires it)
[root@merkur:/ROOT]
# swlist -l fileset -a size perl
# Initializing...
# Contacting target "merkur"...
#
# Target: merkur:/
#
# perl 23049626
perl.perl-MAN 6898840
perl.perl-RUN 15383172
perl.perl-SHLIBS 767614
[root@merkur:/ROOT]
# swlist -l file perl|head
# Initializing...
# Contacting target "merkur"...
#
# Target: merkur:/
#
# perl 5.6.1 perl
# perl.perl-MAN
perl.perl-MAN: /opt/perl5/man/man1/a2p.1
perl.perl-MAN: /opt/perl5/man/man1/c2ph.1
Let's see if we have those 23 MB on venus:/opt
venus:/ROOT> bdf /opt
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol5 251285 138218 87938 61% /opt
Yeah, now let's try upload.
[root@merkur:/ROOT]
# swinstall perl @ venus
======= 07/29/05 09:43:49 METDST BEGIN swinstall SESSION
(non-interactive)
* Session started for user "root@merkur".
* Beginning Selection
ERROR: To perform software distribution tasks on remote hosts or
schedule jobs from this local controller, you must purchase a
license from HP. Please contact your HP Sales Representative
for more information.
* Target connection failed for "venus:".
ERROR: More information may be found in the daemon logfile on this
target (default location is venus:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 07/29/05 09:43:49 METDST END swinstall SESSION
(non-interactive)
Uff, looks like we need an extra license for uploads.
Let's try it the other way, viz. download.
venus:/ROOT> swinstall -s merkur perl
======= 07/29/05 09:50:31 METDST BEGIN swinstall SESSION
(non-interactive)
* Session started for user "root@venus".
* Beginning Selection
* Target connection succeeded for "venus:/".
ERROR: There is currently no depot software on host "merkur" at
location "/var/spool/sw".
* Source connection failed for "merkur:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
target (default location is merkur:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 07/29/05 09:50:32 METDST END swinstall SESSION
(non-interactive)
Nope, it expects a prepackaged depot already sitting in merkur:/var/spool/sw
That's what I expected, and what I wanted to know.
How can I swpackage something from the installation base on merkur to its /var/spool/sw (or elsewhere) for distribution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 08:02 PM
07-28-2005 08:02 PM
Re: How to swpackage an installed depot for installation on another box?
To extract an installed product is difficult
look at
http://www.hpworks.org.uk/newsletter/articles/cookbook/
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 08:05 PM
07-28-2005 08:05 PM
Re: How to swpackage an installed depot for installation on another box?
I think -i only introduces an X or Ascii Art extra layer (overhead) for what can equally well being passed as options and arguments to the sw* commands.
It's more of a nuissance having to scroll, tab or using a separate pointing device.
I know how to swcopy something for distribution to a place such as /var/spool/sw if I already have a depot file.
But how from the installation base?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 09:21 PM
07-28-2005 09:21 PM
Re: How to swpackage an installed depot for installation on another box?
with interactivly I meant the interactive UI, you get if you use the command 'swinstall'.
But it doesn't help if you don't have the depot directory at least (/tmp/patches/depot).
Sorry can't help.
V.