Go Back   Rhinocerus > Newsgroup > Newsgroup comp.databases.* > Newsgroup comp.databases.ibm-db2



Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 10-26-2009, 08:31 PM
Mark A
Guest
 
Posts: n/a
Default Running db2updv95 in HADR environment

After a fixpack upgrade on Db2 LUW 9.5, can one run db2updv95 on the Primary
database and have everything replicate over to the Standby? Obviously,
db2updv95 cannot be run on a standby.

Same question for bind of packages Primary (does bind get run on Standby?).


Reply With Quote
Alt Today
Advertising
Google Adsense
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 10-27-2009, 10:49 AM
Frederik Engelen
Guest
 
Posts: n/a
Default Re: Running db2updv95 in HADR environment

This command is creating stored procedures, which are somewhat picky
in getting replicated.

Unless someone knowledgeable enough confirms that it's possible,
rebuilding the cluster sounds like a safer idea to me.

On Oct 26, 9:31*pm, "Mark A" <no...@nowhere.com> wrote:
> After a fixpack upgrade on Db2 LUW 9.5, can one run db2updv95 on the Primary
> database and have everything replicate over to the Standby? Obviously,
> db2updv95 cannot be run on a standby.
>
> Same question for bind of packages Primary (does bind get run on Standby?).


Reply With Quote
  #3 (permalink)  
Old 11-25-2009, 02:10 PM
Serge Rielau
Guest
 
Posts: n/a
Default Re: Running db2updv95 in HADR environment

Frederik Engelen wrote:
> This command is creating stored procedures, which are somewhat picky
> in getting replicated.
>
> Unless someone knowledgeable enough confirms that it's possible,
> rebuilding the cluster sounds like a safer idea to me.
>
> On Oct 26, 9:31 pm, "Mark A" <no...@nowhere.com> wrote:
>> After a fixpack upgrade on Db2 LUW 9.5, can one run db2updv95 on the Primary
>> database and have everything replicate over to the Standby? Obviously,
>> db2updv95 cannot be run on a standby.
>>
>> Same question for bind of packages Primary (does bind get run on Standby?).

>

db2updv95 performs operations on the catalogs. These are logged and
hence HADR friendly.
Same for binds and rebinds.

Cheers
Serge

--
Serge Rielau
SQL Architect DB2 for LUW
IBM Toronto Lab
Reply With Quote
  #4 (permalink)  
Old 11-26-2009, 10:16 AM
Frederik Engelen
Guest
 
Posts: n/a
Default Re: Running db2updv95 in HADR environment

On Nov 25, 3:10*pm, Serge Rielau <srie...@ca.ibm.com> wrote:
> Frederik Engelen wrote:
> > This command is creating stored procedures, which are somewhat picky
> > in getting replicated.

>
> > Unless someone knowledgeable enough confirms that it's possible,
> > rebuilding the cluster sounds like a safer idea to me.

>
> > On Oct 26, 9:31 pm, "Mark A" <no...@nowhere.com> wrote:
> >> After a fixpack upgrade on Db2 LUW 9.5, can one run db2updv95 on the Primary
> >> database and have everything replicate over to the Standby? Obviously,
> >> db2updv95 cannot be run on a standby.

>
> >> Same question for bind of packages Primary (does bind get run on Standby?).

>
> db2updv95 performs operations on the catalogs. These are logged and
> hence HADR friendly.
> Same for binds and rebinds.
>
> Cheers
> Serge
>
> --
> Serge Rielau
> SQL Architect DB2 for LUW
> IBM Toronto Lab


The documentation for the db2updv95 mentions:
- Creation of any new procedures available in the fix pack level that
you are installing.

Stored procedures are not replicated through HADR. Do you know what
kind of procedures are they talking about here?

Kind regards,

Frederik Engelen
Reply With Quote
  #5 (permalink)  
Old 11-26-2009, 10:45 AM
Ian
Guest
 
Posts: n/a
Default Re: Running db2updv95 in HADR environment

Frederik Engelen wrote:

> The documentation for the db2updv95 mentions:
> - Creation of any new procedures available in the fix pack level that
> you are installing.
>
> Stored procedures are not replicated through HADR. Do you know what
> kind of procedures are they talking about here?


The implementations (i.e. binaries) of *external* stored procedures
and UDFs (i.e. code written in C, Java) are not replicated, although
the definition (in the database catalog) of these stored procedures
*is*.

Many of the stored procedures (and UDFs) that IBM provides are
implemented as external routines. The binaries (located in
..../sqllib/function) are updated when you run `db2iupdt`. Running
`db2updv95` registers new external routines in the catalogs.

What this is saying is that you have to make sure that you have
properly updated your instance on the standby server (`db2iupdt`).


Note: SQL stored procedures are replicated.

Reply With Quote
  #6 (permalink)  
Old 11-26-2009, 12:02 PM
Frederik Engelen
Guest
 
Posts: n/a
Default Re: Running db2updv95 in HADR environment

On Nov 26, 11:45*am, Ian <ianb...@mobileaudio.com> wrote:
> Frederik Engelen wrote:
> > The documentation for the db2updv95 mentions:
> > - Creation of any new procedures available in the fix pack level that
> > you are installing.

>
> > Stored procedures are not replicated through HADR. Do you know what
> > kind of procedures are they talking about here?

>
> The implementations (i.e. binaries) of *external* stored procedures
> and UDFs (i.e. code written in C, Java) are not replicated, although
> the definition (in the database catalog) of these stored procedures
> *is*.
>
> Many of the stored procedures (and UDFs) that IBM provides are
> implemented as external routines. *The binaries (located in
> .../sqllib/function) are updated when you run `db2iupdt`. *Running
> `db2updv95` registers new external routines in the catalogs.
>
> What this is saying is that you have to make sure that you have
> properly updated your instance on the standby server (`db2iupdt`).
>
> Note: SQL stored procedures are replicated.


Ok, I understand now. Thanks for the explanation.
Reply With Quote
  #7 (permalink)  
Old 11-26-2009, 02:00 PM
Serge Rielau
Guest
 
Posts: n/a
Default Re: Running db2updv95 in HADR environment

Ian wrote:
> Frederik Engelen wrote:
>
>> The documentation for the db2updv95 mentions:
>> - Creation of any new procedures available in the fix pack level that
>> you are installing.
>>
>> Stored procedures are not replicated through HADR. Do you know what
>> kind of procedures are they talking about here?

>
> The implementations (i.e. binaries) of *external* stored procedures
> and UDFs (i.e. code written in C, Java) are not replicated, although
> the definition (in the database catalog) of these stored procedures
> *is*.
>
> Many of the stored procedures (and UDFs) that IBM provides are
> implemented as external routines. The binaries (located in
> .../sqllib/function) are updated when you run `db2iupdt`. Running
> `db2updv95` registers new external routines in the catalogs.
>
> What this is saying is that you have to make sure that you have
> properly updated your instance on the standby server (`db2iupdt`).
>
>
> Note: SQL stored procedures are replicated.
>

Correct on all accounts.


--
Serge Rielau
SQL Architect DB2 for LUW
IBM Toronto Lab
Reply With Quote
  #8 (permalink)  
Old 11-26-2009, 02:41 PM
Frederik Engelen
Guest
 
Posts: n/a
Default Re: Running db2updv95 in HADR environment

On Nov 26, 3:00*pm, Serge Rielau <srie...@ca.ibm.com> wrote:
> Ian wrote:
> > Frederik Engelen wrote:

>
> >> The documentation for the db2updv95 mentions:
> >> - Creation of any new procedures available in the fix pack level that
> >> you are installing.

>
> >> Stored procedures are not replicated through HADR. Do you know what
> >> kind of procedures are they talking about here?

>
> > The implementations (i.e. binaries) of *external* stored procedures
> > and UDFs (i.e. code written in C, Java) are not replicated, although
> > the definition (in the database catalog) of these stored procedures
> > *is*.

>
> > Many of the stored procedures (and UDFs) that IBM provides are
> > implemented as external routines. *The binaries (located in
> > .../sqllib/function) are updated when you run `db2iupdt`. *Running
> > `db2updv95` registers new external routines in the catalogs.

>
> > What this is saying is that you have to make sure that you have
> > properly updated your instance on the standby server (`db2iupdt`).

>
> > Note: SQL stored procedures are replicated.

>
> Correct on all accounts.
>
> --
> Serge Rielau
> SQL Architect DB2 for LUW
> IBM Toronto Lab


Ian,

It's clear now, I misread

"HADR does not replicate stored procedure and UDF object and library
files."

as two seperate things ("stored procedures" and "UDF object and
library files").

Thanks for your explanation.

Kind regards,

Frederik
Reply With Quote
 
Reply

Popular Tags in the Forum
db2updv95, environment, hadr, running

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Language 1 | C | C++ | Php | Python | Lisp | Perl | Ruby | Java | Pascal | Basic | Language 2 | Databases | Oracle | Mysql | Access | Drupal
All times are GMT. The time now is 02:01 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.