- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Copy patch bundle to a tape
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
04-06-2007 05:38 PM
04-06-2007 05:38 PM
I have a patch bundle depot located on my depot server.
Depot_Server:/var/opt/patch/depots/Rel_B.11.11/PROD
Because of DR drill plan, I have to copy this patch bundle to a DDS tape to be installed on all DR servers. How can I copy the patch bundle to the tape? What are the steps to copy to the tape as well as to install to the DR server?
Please help. Thanks in advance.
Best Regards,
Negara
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2007 05:58 PM
04-06-2007 05:58 PM
Re: Copy patch bundle to a tape
To Install from tape try this.
swinstall -s /dev/rmt/Xm
Where X is the number of your tape device
And to copy a patch bundle to tape try this
swcopy -s /tmp/test @ /dev/rmt/0m
where /tmp/test is the origin and /dev/rmt/0m is the destination
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2007 06:04 PM
04-06-2007 06:04 PM
Re: Copy patch bundle to a tape
To list the depot in tape use
swlist -d @ /dev/rmt/0m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2007 06:07 PM
04-06-2007 06:07 PM
Re: Copy patch bundle to a tape
You could also just type swcopy and that will take you to a Text User Interface and from there you can also do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2007 06:36 PM
04-06-2007 06:36 PM
Re: Copy patch bundle to a tape
>Fabian: And to copy a patch bundle to tape try this:
swcopy -s /tmp/test @ /dev/rmt/0m
This won't work. swcopy(1M) says:
NOTE: To copy to a tape, see the swpackage(1M) manpage.
You need to use:
# swpackage -x media_type=tape -s ... @ /dev/rmt/0m
>I have a patch bundle depot located on my depot server.
Depot_Server:/var/opt/patch/depots/Rel_B.11.11/PROD
You can't use swpackage from a remote system, so you would either have to do it there, or swcopy first, then swpackage.
>Fabian: To list the depot in tape use
swlist -d @ /dev/rmt/0m
I would recommend you don't use -d @. Just use -s:
swlist -s /dev/rmt/0m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2007 06:40 PM
04-06-2007 06:40 PM
Re: Copy patch bundle to a tape
I misunderstood the information I was reading, sorry for the trouble caused.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2007 07:27 PM
04-06-2007 07:27 PM
Re: Copy patch bundle to a tape
My plan actually as below:
1. Store patch bundle from production depot server to the tape
2. Copy the patch bundle from tape to one of DR servers used as depot server
3. Patch other DR servers from this DR depot server
Can you pls help to provide the details above especially for 1 and 2?
Thanks a lot for your great help.
Best Regards,
Negara
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2007 07:46 PM
04-06-2007 07:46 PM
Solution# swpackage -x media_type=tape -s /var/opt/patch/depots/Rel_B.11.11/PROD \* @ /dev/rmt/0m
Copies all of that depot. (Change to your correct tape drive.)
>2. Copy the patch bundle from tape to one of DR servers used as depot server
# swcopy -x enforce_dependencies=false -s /dev/rmt/0m \* @ /var/opt/patch/depots/Rel_B.11.11/PROD
Adjust your tape and depot names
And probably a swreg to register the depot.
>3. Patch other DR servers from this DR depot server
# swinstall -s DR_Depot_Server:/var/opt/patch/depots/Rel_B.11.11/PROD \*
(Or what you want to install.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2007 04:18 AM
04-07-2007 04:18 AM
Re: Copy patch bundle to a tape
Thanks alot for your great help. It looks ok to me now. Thanks again...
Best Regards,
Negara