- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Using DRD to upgrade to 11.31 update4
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
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
тАО05-27-2009 07:00 AM
тАО05-27-2009 07:00 AM
I'm having a real problem trying to update my 11.31 update 3 to update 4. I have the march media but when i try to update it gives the following error saying that the expected depot does not exist. however if i run the command without drd (to the online disk) the update-ux command works. I think this might be a bug.
drd runcmd update-ux -s /cdrom
======= 05/27/09 15:09:32 BST BEGIN Executing Command On Inactive System
Image (user=root) (jobid=server1)
* Checking for Valid Inactive System Image
* Analyzing Command To Be Run On Inactive System Image
* Locating Inactive System Image
* Accessing Inactive System Image for Command Execution
* Setting Up Environment For Command Execution
* Executing Command On Inactive System Image
* Using unsafe patch list version 20080324
* Starting swagentd for drd runcmd
* User supplied command: "/usr/sbin/update-ux -s /cdrom"
* Executing command: "/opt/swm/bin/swmoeupdate -s /cdrom"
======= 05/27/09 15:09:42 BST BEGIN Operating Environment Update (user=root)
(jobid=000016)
* Reading Target System's Installed Product Database (IPD)
* Target IPD: server1
* Reading Source Depot(s)
* Source depot: server1:/cdrom
ERROR: The expected depot does not exist at "/cdrom".
* Reading Source Depot(s) failed with 1 error.
======= 05/27/09 15:09:42 BST END Operating Environment Update failed with 1
error. (user=root) (jobid=000016)
* Stopping swagentd for drd runcmd
ERROR: Command executed on inactive system image returned an error
- The command "/opt/swm/bin/swmoeupdate -s /cdrom" failed.
* Executing Command On Inactive System Image failed with 1 error.
* Cleaning Up After Command Execution On Inactive System Image
======= 05/27/09 15:09:44 BST END Executing Command On Inactive System Image
failed with 1 error. (user=root) (jobid=server1)
Solved! Go to Solution.
- Tags:
- DRD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2009 07:11 AM
тАО05-27-2009 07:11 AM
Re: Using DRD to upgrade to 11.31 update4
This is not how you do it.
You take the QPK, Quality pack from http://itrc.hp.com
You download it, make it a depot.
swinstall -x autoreboot=true -s /tmp/qpk.depot \*
Name the depot anything you want.
This updates your system. The Core OS DVD is for cold installs not updates.
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
тАО05-27-2009 09:38 AM
тАО05-27-2009 09:38 AM
Re: Using DRD to upgrade to 11.31 update4
what you are suggesting would apply patches to existing product versions only (and without DRD), whereas update-ux also updates to newer versions of products (and may also apply some patches too)
does the following command work?
drd runcmd swlist -d -s /cdrom
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2009 10:01 AM
тАО05-27-2009 10:01 AM
Re: Using DRD to upgrade to 11.31 update4
FAIL
drd runcmd swlist -d -s /cdrom
======= 05/27/09 18:56:21 BST BEGIN Executing Command On Inactive System
Image (user=root) (jobid=server1)
* Checking for Valid Inactive System Image
* Analyzing Command To Be Run On Inactive System Image
* Locating Inactive System Image
* Accessing Inactive System Image for Command Execution
* Setting Up Environment For Command Execution
* Executing Command On Inactive System Image
* Executing command: "/usr/sbin/swlist -d -s /cdrom"
# Initializing...
# Contacting target "server1"...
ERROR: The expected depot or root does not exist at "/cdrom".
ERROR: There is currently no depot software on host "server1" at
location "/cdrom". Make sure that an absolute pathname is
specified for location (beginning with "/").
ERROR: Command executed on inactive system image returned an error
- The command "/usr/sbin/swlist -d -s /cdrom" failed.
* Executing Command On Inactive System Image failed with 1 error.
* Cleaning Up After Command Execution On Inactive System Image
======= 05/27/09 18:56:27 BST END Executing Command On Inactive System Image
failed with 1 error. (user=root) (jobid=server1)
SUCCESS
wmscdc1:/software_depot> swlist -d -s /DVD
# Initializing...
# Contacting target "server1"...
#
# Target: server1:/DVD
#
#
# Bundle(s):
#
10GigEthr-00 B.11.31.0809 PCI-X 10 Gigabit Ethernet;Supptd HW=AB287, HW=AD385
10GigEthr-01 B.11.31.0809 PCIe 10 Gigabit Ethernet;Supptd HW=AD386A
etc...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2009 10:11 AM
тАО05-27-2009 10:11 AM
Re: Using DRD to upgrade to 11.31 update4
drd runcmd swinstall -s /DVD
======= 05/27/09 19:03:37 BST BEGIN Executing Command On Inactive System
Image (user=root) (jobid=server1)
* Checking for Valid Inactive System Image
* Analyzing Command To Be Run On Inactive System Image
* Locating Inactive System Image
* Accessing Inactive System Image for Command Execution
* Setting Up Environment For Command Execution
* Executing Command On Inactive System Image
* Using unsafe patch list version 20080324
* Starting swagentd for drd runcmd
* Executing command: "/usr/sbin/swinstall -s /DVD"
NOTE: The interactive UI was invoked, since no software was
specified.
Starting the terminal version of swinstall...
To move around in swinstall:
- use the "Tab" key to move between screen elements
- use the arrow keys to move within screen elements
- use "Ctrl-F" for context-sensitive help anywhere in swinstall
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2009 04:07 PM
тАО05-27-2009 04:07 PM
Re: Using DRD to upgrade to 11.31 update4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2009 04:28 PM
тАО05-27-2009 04:28 PM
Re: Using DRD to upgrade to 11.31 update4
The command "/opt/swm/bin/swmoeupdate -p -s /DVD" failed
if i run the same command (without drd) update-ux -p -s /DVD i don't get an error and interesting enough in the output it says
/opt/swm/bin/swm oeupdate -s /DVD -p
you can see from the above that the output string is slightly different, the former appears to contain no space and fails, the latter contains a space between swm and oeupdate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2009 04:54 PM
тАО05-27-2009 04:54 PM
Re: Using DRD to upgrade to 11.31 update4
In order to get it to work i had to do a
1. drd mount
2. manually mount an the DVD media to /var/opt/drd/mnts/sysimage_001/cdrom (offline disk) instead of /cdrom (online disk)
Once i'd done that the
drd runcmd update-ux -p -s /cdrom worked.
It seems that drd is looking on the offline /var/opt/drd/mnts/sysimage_001/cdrommountpoint, therefore it kept erroring complaining about nothing being mounted as nothing was at the offline copy /cdrom mountpoint (it was an empty directory) as i had previously mounted the DVD to /cdrom on the online disk.
both the update-ux (preview) and swlist command now work. tomorrow i'll try the proper update command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2009 10:23 PM
тАО05-27-2009 10:23 PM
Re: Using DRD to upgrade to 11.31 update4
http://docs.hp.com/en/5992-5856/ch03s05.html
Where it states:
-----------------
Files referenced in the command line must both:
Reside in the inactive system image
Be referenced in the DRD-safe command by the path relative to the mount point of the inactive system image
-----------------
Although it doesn't really go on to explain the consequences of that.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2009 11:11 PM
тАО05-27-2009 11:11 PM
Re: Using DRD to upgrade to 11.31 update4
did you try mount the CDROM and them copy the content on mounted DRD to some directory ??
mikap