|
|||
|
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?). |
|
|
||||
|
||||
|
|
|
|||
|
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?). |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
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. |
|
|||
|
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 |
|
|||
|
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 |
|
|
![]() |
| Popular Tags in the Forum |
| db2updv95, environment, hadr, running |
| Thread Tools | |
| Display Modes | |
|
|