Sponsored Content
Full Discussion: Download patch cluster
Operating Systems Solaris Download patch cluster Post 302094299 by BOFH on Thursday 26th of October 2006 01:51:06 PM
Old 10-26-2006
They have a script you can use to retrieve the info. They just want everyone to have a sunsolve account in order to retrieve the patches. I had to modify my scripts to include my username/password but I haven't had any trouble retrieve information afterwards. I retrieved the script and modified it to retrieve the patchdiag.xref file.

Code:
#!/bin/sh

# Wget script to retrieve Patches from SunSolve.sun.com via https and
# supply username and password.
#

# ----Begin of user defined values -----

# Patch to wget
WGETPATH="/usr/bin"

#Sun Login info.  Modify with your account Sun account info.
UserID="[sunsolve userid]"
UserPWD="[sunsolve password]"

# Patch output directory
DOWNLOADDIR="/root/sunpatches"

# ----End of user defined values -----

LOGFILE="$DOWNLOADDIR/xreflog-`date +%m-%d-%y-%H:%M`"

echo ""
${WGETPATH}/wget --http-user=${UserID} --http-passwd=${UserPWD} -nv "http://sunsolve.sun.com/private-cgi/pdownload.pl?target=patchdiag.xref" -O ${DOWNLOADDIR}/patchdiag.xref >> ${LOGFILE} 2>&1

Carl
 

9 More Discussions You Might Find Interesting

1. High Performance Computing

veritas cluster with kernel patch update

hi all, can someone please share their process on how to kernel patch a red hat ent 4 with veritas cluster 5? it's compose of a primary and backup node. the resources are db, disk, nic. it doesn't need to be detail, just give me the steps like: login to the backup node and update the... (0 Replies)
Discussion started by: itik
0 Replies

2. Solaris

patch cluster question.

What if ,all of my patches in solaris10 05/08 there are not find following: 118731-01 122660-10 119254-59 138217-01 .... about 30 How i can fill up 30 patches? Do command patchadd separetely for everyone? Or make all patch cluster in S mode? Do it in global? I must stop zones befor patchadd... (0 Replies)
Discussion started by: sotich82
0 Replies

3. Solaris

Applying Recommended Patch Cluster to Whole Root Zone

Hi there, Apologies if this question has been asked and answered already but I've not been able to find the thread. Question: Is it possible to apply the Solaris 10 Recommended Patch Cluster to a whole root (non-global) zone locally? I.E. apply the patch cluster from the non-global in... (3 Replies)
Discussion started by: nm146332
3 Replies

4. Solaris

Solaris patch cluster installation error

Hi Admins, I came across an error while installing patch cluster on solaris. # ./installcluster --s10cluster ERROR: Another instance of an install script is already running for target boot environment '/'. I did killed the related processes. Now there is no any process running from ps... (1 Reply)
Discussion started by: snchaudhari2
1 Replies

5. Solaris

Jumpstart and Applying Recommended Patch Cluster

I'm trying to setup our jumpstart server to automatically apply the latest patch cluster during installs, but I'm running into an issue. Every time Jumpstart runs it has this error. Obviously it's processing the patch_order file, so I'm not sure what I'm missing. ... (0 Replies)
Discussion started by: christr
0 Replies

6. Solaris

Cannot mount Veritas volumes after cluster patch.

I am working with a Sun StoredgeTek 6540 disk array connected to two Sun 490 servers. After taking one of the 490 nodes on the cluster down to single user mode I proceeded to install the latest cluster patch from Oracle. After the patch was completed the system rebooted, failed to rejoin the... (2 Replies)
Discussion started by: buggin
2 Replies

7. Solaris

Recommended Patch Cluster Using ZFS Snapshots

I have a question regarding installing recommended patch clusters via ZFS snapshots. Someone wrote a pretty good blog about it here: Initial Program Load: Live Upgrade to install the recommended patch cluster on a ZFS snapshot The person's article is similar to what I've done in the past. ... (0 Replies)
Discussion started by: christr
0 Replies

8. AIX

Automate patch download & deployment

Hi all, I am exploring how I can automate the download and patching of my AIX servers via a central management mechanism. I will need to patch all my servers annually to a certain pre-determined Service Pack (SP) level. So far I performed some online search and found 2 products that might... (6 Replies)
Discussion started by: pawpaw
6 Replies

9. Solaris

NIS broken after installing patch cluster on Solaris 10

Hi, I installed Solaris 10 recommended patch cluster (patch bundle of 400+ patches). After reboot global zone is fine, but a lot of services was in uninitialized state. I had to run /lib/svc/bin/restore_repository and then services came online. Now I can't login to server with NIS account... (1 Reply)
Discussion started by: ron323232
1 Replies
SPECTOOL(1)							   User Commands						       SPECTOOL(1)

NAME
spectool - manual page for spectool v1.0.10rpmdev1 SYNOPSIS
spectool [<options>] <specfile> DESCRIPTION
Spectool is a tool to expand and download sources and patches from specfiles. If you experience problems with specific specfiles, try to run rpmbuild --nobuild --nodeps <specfile> on the file which might give a clue why spectool fails on a file (ignore anything about missing sources or patches). The plan is to catch errors like this in spectool itself and warn the user about it in the future. OPTIONS
Operating mode: -l, --lf, --list-files lists the expanded sources/patches (default) -g, --gf, --get-files gets the sources/patches that are listed with a URL -h, --help display this help screen Files on which to operate: -A, --all all files, sources and patches (default) -S, --sources all sources -P, --patches all patches -s, --source x[,y[,...]] specified sources -p, --patch a[,b[,...]] specified patches Miscellaneous: -d, --define 'macro value' defines RPM macro 'macro' to be 'value' -C, --directory dir download into specified directory (default '.') -R, --sourcedir download into rpm's %{_sourcedir} -n, --dryrun, --dry-run don't download anything, just show what would be done -f, --force try to unlink and download if target files exist -D, --debug output debug info, don't clean up when done FILES
/etc/rpmdevtools/curlrc optional curl(1) configuration spectool v1.0.10rpmdev1 June 2014 SPECTOOL(1)
All times are GMT -4. The time now is 09:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy