ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » package remove gsk7bas(64) using pkgrm in silent mode

Post new topic  Reply to topic
 package remove gsk7bas(64) using pkgrm in silent mode « View previous topic :: View next topic » 
Author Message
Bear
PostPosted: Wed Jun 27, 2007 6:05 am    Post subject: package remove gsk7bas(64) using pkgrm in silent mode Reply with quote

Voyager

Joined: 17 Jan 2006
Posts: 28
Location: Montreal Canada

Greetings!
We are creating scripts to do silent installs MQ V6 on a vast number of Sun Solaris servers in our organization. Script removal of V5.3 works well as does the new install of V6 including the creation of queue managers, listeners, start/stop processes, etc, etc.
Problem comes in updating to Patch (CSD) 6.0.2.1. The manual states you must uninstall the base gsk7bas and gsk7bas64 before installing the latest patch. Fine, to do this in interactive mode is no issue but in a silent uninstall pkgrm awaits a response and the script fails.

Using pkgadd, for example, allows a -r parm with a response file for example but no such parm exists for pkgrm. I ran pkgask against V6.0.2.1 patch and obtained a response file but it is not usable in pkgrm. Only way around this seems to be to manually remove the 2 gsk's and then run the script. Because of the number of servers involved this becomes somewhat tedious.
Anyone have this problem or know of a workaround which would allow the gsk removal to be run in silent mode??? Bear.
_________________
Software Specialist
Back to top
View user's profile Send private message Send e-mail
Philip Morten
PostPosted: Wed Jun 27, 2007 3:22 pm    Post subject: Reply with quote

Master

Joined: 07 Mar 2002
Posts: 230
Location: Hursley Park

You need to specify an admin file (pkgrm -a <filename>) which specifies that pkgrm should not not check dependencies before uninstalling , I don't seem to be able to get to docs.sun.com at the moment but I think that the file must contain 'idepend=nocheck' , see 'man pkgrm' and 'man -s4 admin' to confirm that.
_________________
Philip Morten

The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
Bear
PostPosted: Thu Jun 28, 2007 8:48 am    Post subject: Reply with quote

Voyager

Joined: 17 Jan 2006
Posts: 28
Location: Montreal Canada

Thank you for your reply. Changing the admin file did it! I actually changed all the parms in the admin file that indicated xxxx=ask to xxxx=nocheck. In any event, this allowed us to do the patch update, in this case 6.0.2.1, without having to resort to a manual package remove. Too bad the chaper on Silent install in the QB book doesn't cover this since MQ V6 demands the gsk components need to be removed before installing the patches. BB.
_________________
Software Specialist
Back to top
View user's profile Send private message Send e-mail
Philip Morten
PostPosted: Thu Jun 28, 2007 3:23 pm    Post subject: Reply with quote

Master

Joined: 07 Mar 2002
Posts: 230
Location: Hursley Park

Good point, I'll try to get some words put in the instructions for future patches on what you need to do it silently.
_________________
Philip Morten

The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » package remove gsk7bas(64) using pkgrm in silent mode
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.