dbTalk Databases Forums  

Practical difficulty with IDS 10-11.5 upgrade. Inspiration needed please ...!

comp.databases.informix comp.databases.informix


Discuss Practical difficulty with IDS 10-11.5 upgrade. Inspiration needed please ...! in the comp.databases.informix forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Neil Truby
 
Posts: n/a

Default Practical difficulty with IDS 10-11.5 upgrade. Inspiration needed please ...! - 08-04-2010 , 06:36 PM






IDS 10.0 on Solaris 10.

We're upgrading from 10 -> 11.5 a customer who's HDR Primary is in the
Northern Hemisphere and Secondary is in the Southern, with a consequent high
latency on network connectivity.

In this upgrade it's necessary to re-establish HDR from the top. The
database server is about 300g in size and even the compressed Level 0 is
50g. This gives us a HUGE headache. If anyone has any smart suggestions
we'd be very grateful, because this issue has so far prevented us from
upgrading:

My colleague's paraphrased summary is given below:

"When we come to do the upgrade of the main London-Sydney replicated
informix pair we're going to have to stop replication and then recover it
from a full backup taken after the upgrade in London. This means getting a
50Gb backup file from London to Sydney quickly.

Based on the previous estimates done with transferring this over the
standard London-Sydney link, it would take anywhere from 2 to 3 days just to
do the transfer so from the stopping of replication to its restart could be
anything up to 4 days. The HDR data is used for for reporting and would not
be updated for this period. The business could only do with the data being
out of date for up to 20 hours so this approach does not seem viable.

A slight variation would be ftp the backup file to an ftp site and download
it to Sydney from there as this may prove quicker than the private
London-Sydney link. Even if this is quicker however there are concerns
about transmitting all this data via essentially public ftp. We could
encrypt the backup file but this would add an overhead, in time and CPU, for
this encryption/decryption.

We also experimented with using rdiff to enable us to generate a smaller
delta file that would allow us to only have to transfer changes in the
backup file taken before the upgrade and the one after. This does work on
the small scale I have tried it but it can only operate on uncompressed
backup files and there simply isn't enough disk space to accommodate this (I
estimate that uncompressed the file will be approximately 300Gb in size and
two will be required). The servers do have USB ports so it may be possible
to buy say a 1TB USB device and use that. I like the idea of this approach
but it is quite hard and long winded to test and I doubt IBM would support
it if it were to fail which could leave us with an even bigger outage.

Another option may just be to use either a USB or tape based backup and have
it couriered but again I guess the question of encryption may still arise
and we'll have to establish the viability of the tape approach in terms of
hardware.

Do you have any thoughts on the above or possible alternatives? My primary
concern is that once we start the upgrade process we're committed to
restoring replication via a backup - pretty much whether we decide to remain
on V11 or revert back to V10. Therefore if the transfer/restore is not
reliable Sydney reporting could be affected for a far longer time than is
said to be acceptable"

Reply With Quote
  #2  
Old   
Art Kagel
 
Posts: n/a

Default Re: Practical difficulty with IDS 10-11.5 upgrade. Inspiration neededplease ...! - 08-04-2010 , 06:57 PM






Wow, I would not have thought that HDR would work reliably with so long a
WAN link! I have a client that had to have their WAN between Long Island
and Manhattan cleaned and reconfigured by the Major Telecom vendor for six
months before we could get an HDR secondary to stay online.

Once they are up on 11.50 they should consider making the secondary an RSS
server instead. The full-duplex and asynch communications would improve
reliability.

Anyway, that aside, maybe the real solution is to use ER instead of
HDR/MACH11. If they have primary keys on their tables it's doable and
upgrading can be done one server at a time! If they don't have primary keys
and fear that adding them will break their applications, then I don't think
they have a choice except to bite the bullet and transfer the archive as
fast as possible.

Art

Art S. Kagel
Advanced DataTools (www.advancedatatools.com)
IIUG Board of Directors (art (AT) iiug (DOT) org)

Disclaimer: Please keep in mind that my own opinions are my own opinions and
do not reflect on my employer, Advanced DataTools, the IIUG, nor any other
organization with which I am associated either explicitly, implicitly, or by
inference. Neither do those opinions reflect those of other individuals
affiliated with any entity with which I am affiliated nor those of the
entities themselves.



On Wed, Aug 4, 2010 at 7:36 PM, Neil Truby <neil.truby (AT) ardenta (DOT) com> wrote:

Quote:
IDS 10.0 on Solaris 10.

We're upgrading from 10 -> 11.5 a customer who's HDR Primary is in the
Northern Hemisphere and Secondary is in the Southern, with a consequent
high
latency on network connectivity.

In this upgrade it's necessary to re-establish HDR from the top. The
database server is about 300g in size and even the compressed Level 0 is
50g. This gives us a HUGE headache. If anyone has any smart suggestions
we'd be very grateful, because this issue has so far prevented us from
upgrading:

My colleague's paraphrased summary is given below:

"When we come to do the upgrade of the main London-Sydney replicated
informix pair we're going to have to stop replication and then recover it
from a full backup taken after the upgrade in London. This means getting a
50Gb backup file from London to Sydney quickly.

Based on the previous estimates done with transferring this over the
standard London-Sydney link, it would take anywhere from 2 to 3 days just
to
do the transfer so from the stopping of replication to its restart could be
anything up to 4 days. The HDR data is used for for reporting and would not
be updated for this period. The business could only do with the data being
out of date for up to 20 hours so this approach does not seem viable.

A slight variation would be ftp the backup file to an ftp site and download
it to Sydney from there as this may prove quicker than the private
London-Sydney link. Even if this is quicker however there are concerns
about transmitting all this data via essentially public ftp. We could
encrypt the backup file but this would add an overhead, in time and CPU,
for
this encryption/decryption.

We also experimented with using rdiff to enable us to generate a smaller
delta file that would allow us to only have to transfer changes in the
backup file taken before the upgrade and the one after. This does work on
the small scale I have tried it but it can only operate on uncompressed
backup files and there simply isn't enough disk space to accommodate this
(I
estimate that uncompressed the file will be approximately 300Gb in size and
two will be required). The servers do have USB ports so it may be possible
to buy say a 1TB USB device and use that. I like the idea of this approach
but it is quite hard and long winded to test and I doubt IBM would support
it if it were to fail which could leave us with an even bigger outage.

Another option may just be to use either a USB or tape based backup and
have
it couriered but again I guess the question of encryption may still arise
and we'll have to establish the viability of the tape approach in terms of
hardware.

Do you have any thoughts on the above or possible alternatives? My primary
concern is that once we start the upgrade process we're committed to
restoring replication via a backup - pretty much whether we decide to
remain
on V11 or revert back to V10. Therefore if the transfer/restore is not
reliable Sydney reporting could be affected for a far longer time than is
said to be acceptable"

_______________________________________________
Informix-list mailing list
Informix-list (AT) iiug (DOT) org
http://www.iiug.org/mailman/listinfo/informix-list

Reply With Quote
  #3  
Old   
mpruet
 
Posts: n/a

Default Re: Practical difficulty with IDS 10-11.5 upgrade. Inspiration neededplease ...! - 08-04-2010 , 09:57 PM



On Aug 5, 7:36*am, "Neil Truby" <neil.tr... (AT) ardenta (DOT) com> wrote:
Quote:
IDS 10.0 on Solaris 10.

We're upgrading from 10 -> 11.5 a customer who's HDR Primary is in the
Northern Hemisphere and Secondary is in the Southern, with a consequent high
latency on network connectivity.

In this upgrade it's necessary to re-establish HDR from the top. *The
database server is about 300g in size and even the compressed Level 0 is
50g. *This gives us a HUGE headache. *If anyone has any smart suggestions
we'd be very grateful, because this issue has so far prevented us from
upgrading:
I know top posting is considered bad taste - so I'll 'middle post'

Neil,

I have to download bunches of data to my workstations on a fairly
regular basis - and my down down loads have been painful at best
because I work over a VPN - over public networks - and have to funnel
through the IBM VPN hosts - and IBM rarely provides it's employees the
same level of service as a customer. In a nut-shell - I ain't got no
bandwidth. ;-)

What I did to speed this process up is to write a front-end to accept
input from a stream - and then split the input into multiple pieces
and then ftp each of the pieces in parallel to to my system at home.
Generally I can get the ftp's completed fairly close to the time that
it takes to scan the source.

In my case, the front end of the process is something like "tar ....
Quote:
gzip .... | MyFTPSpliterManager". But it could also be somthing
like "ontape -t STDIO | gzip ... | some encryption program |
MyFTPSpliterManager".

On my target side I just have to combine the pieces into a single
file.

I suspect that there are tools that could be purchased to do this type
of stuff, but generally they expect the input to be a file and not a
input stream. I'm in Malaysia this week and will be back in Dallas
next week. If you are interested, I'd be glad to send you what I've
got.


M.P.


Quote:
My colleague's paraphrased summary is given below:

"When we come to do the upgrade of the main London-Sydney replicated
informix pair we're going to have to stop replication and then recover it
from a full backup taken after the upgrade in London. This means getting a
50Gb backup file from London to Sydney quickly.

Based on the previous estimates done with *transferring this over the
standard London-Sydney link, it would take anywhere from 2 to 3 days justto
do the transfer so from the stopping of replication to its restart could be
anything up to 4 days. The HDR data is used for for reporting and would not
be updated for this period. The business could only do with the data being
out of date for up to 20 hours so this approach does not seem viable.

A slight variation would be ftp the backup file to an ftp site and download
it to Sydney from there as this may prove quicker than the private
London-Sydney link. *Even if this is quicker however there are concerns
about transmitting all this data via essentially public ftp. *We could
encrypt the backup file but this would add an overhead, in time and CPU, for
this encryption/decryption.

We also experimented with using rdiff to enable us to generate a smaller
delta file that would allow us to only have to transfer changes in the
backup file taken before the upgrade and the one after. This does work on
the small scale I have tried it but it can only operate on uncompressed
backup files and there simply isn't enough disk space to accommodate this(I
estimate that uncompressed the file will be approximately 300Gb in size and
two will be required). The servers do have USB ports so it may be possible
to buy say a 1TB USB device and use that. *I like the idea of this approach
but it is quite hard and long winded to test and I doubt IBM would support
it if it were to fail which could leave us with an even bigger outage.

Another option may just be to use either a USB or tape based backup and have
it couriered but again I guess the question of encryption may still arise
and we'll have to establish the viability of the tape approach in terms of
hardware.

Do you have any thoughts on the above or possible alternatives? My primary
concern is that once we start the upgrade process we're committed to
restoring replication via a backup - pretty much whether we decide to remain
on V11 or revert back to V10. Therefore if the transfer/restore is not
reliable Sydney reporting could be affected for a far longer time than is
said to be acceptable"

Reply With Quote
  #4  
Old   
mpruet
 
Posts: n/a

Default Re: Practical difficulty with IDS 10-11.5 upgrade. Inspiration neededplease ...! - 08-04-2010 , 10:01 PM



On Aug 5, 7:36*am, "Neil Truby" <neil.tr... (AT) ardenta (DOT) com> wrote:
Quote:
IDS 10.0 on Solaris 10.

We're upgrading from 10 -> 11.5 a customer who's HDR Primary is in the
Northern Hemisphere and Secondary is in the Southern, with a consequent high
latency on network connectivity.

Oh yes... Compress it before you encrypt it. If you encrypt it first,
it's not going to compress very well.


Quote:
In this upgrade it's necessary to re-establish HDR from the top. *The
database server is about 300g in size and even the compressed Level 0 is
50g. *This gives us a HUGE headache. *If anyone has any smart suggestions
we'd be very grateful, because this issue has so far prevented us from
upgrading:

My colleague's paraphrased summary is given below:

"When we come to do the upgrade of the main London-Sydney replicated
informix pair we're going to have to stop replication and then recover it
from a full backup taken after the upgrade in London. This means getting a
50Gb backup file from London to Sydney quickly.

Based on the previous estimates done with *transferring this over the
standard London-Sydney link, it would take anywhere from 2 to 3 days justto
do the transfer so from the stopping of replication to its restart could be
anything up to 4 days. The HDR data is used for for reporting and would not
be updated for this period. The business could only do with the data being
out of date for up to 20 hours so this approach does not seem viable.

A slight variation would be ftp the backup file to an ftp site and download
it to Sydney from there as this may prove quicker than the private
London-Sydney link. *Even if this is quicker however there are concerns
about transmitting all this data via essentially public ftp. *We could
encrypt the backup file but this would add an overhead, in time and CPU, for
this encryption/decryption.

We also experimented with using rdiff to enable us to generate a smaller
delta file that would allow us to only have to transfer changes in the
backup file taken before the upgrade and the one after. This does work on
the small scale I have tried it but it can only operate on uncompressed
backup files and there simply isn't enough disk space to accommodate this(I
estimate that uncompressed the file will be approximately 300Gb in size and
two will be required). The servers do have USB ports so it may be possible
to buy say a 1TB USB device and use that. *I like the idea of this approach
but it is quite hard and long winded to test and I doubt IBM would support
it if it were to fail which could leave us with an even bigger outage.

Another option may just be to use either a USB or tape based backup and have
it couriered but again I guess the question of encryption may still arise
and we'll have to establish the viability of the tape approach in terms of
hardware.

Do you have any thoughts on the above or possible alternatives? My primary
concern is that once we start the upgrade process we're committed to
restoring replication via a backup - pretty much whether we decide to remain
on V11 or revert back to V10. Therefore if the transfer/restore is not
reliable Sydney reporting could be affected for a far longer time than is
said to be acceptable"

Reply With Quote
  #5  
Old   
KN Liew Liew
 
Posts: n/a

Default Re: Practical difficulty with IDS 10-11.5 upgrade. Inspiration neededplease ...! - 08-05-2010 , 12:01 AM



Hi Neil,
Not sure this approach work for you or not:
1) Stop HDR
2) Upgrade Primary Server to 11.50
3) Couriered Level 0 backup to Secondary Server site
4a) Level 0 restore at Secondary Server
4b) At Primary Server site, on going FTP Logical log files Backup to
Secondary Server site
5) Lastly bring up RSS to catch up the image

Happy trying.

On Thu, Aug 5, 2010 at 7:36 AM, Neil Truby <neil.truby (AT) ardenta (DOT) com> wrote:

Quote:
IDS 10.0 on Solaris 10.

We're upgrading from 10 -> 11.5 a customer who's HDR Primary is in the
Northern Hemisphere and Secondary is in the Southern, with a consequent
high
latency on network connectivity.

In this upgrade it's necessary to re-establish HDR from the top. The
database server is about 300g in size and even the compressed Level 0 is
50g. This gives us a HUGE headache. If anyone has any smart suggestions
we'd be very grateful, because this issue has so far prevented us from
upgrading:

My colleague's paraphrased summary is given below:

"When we come to do the upgrade of the main London-Sydney replicated
informix pair we're going to have to stop replication and then recover it
from a full backup taken after the upgrade in London. This means getting a
50Gb backup file from London to Sydney quickly.

Based on the previous estimates done with transferring this over the
standard London-Sydney link, it would take anywhere from 2 to 3 days just
to
do the transfer so from the stopping of replication to its restart could be
anything up to 4 days. The HDR data is used for for reporting and would not
be updated for this period. The business could only do with the data being
out of date for up to 20 hours so this approach does not seem viable.

A slight variation would be ftp the backup file to an ftp site and download
it to Sydney from there as this may prove quicker than the private
London-Sydney link. Even if this is quicker however there are concerns
about transmitting all this data via essentially public ftp. We could
encrypt the backup file but this would add an overhead, in time and CPU,
for
this encryption/decryption.

We also experimented with using rdiff to enable us to generate a smaller
delta file that would allow us to only have to transfer changes in the
backup file taken before the upgrade and the one after. This does work on
the small scale I have tried it but it can only operate on uncompressed
backup files and there simply isn't enough disk space to accommodate this
(I
estimate that uncompressed the file will be approximately 300Gb in size and
two will be required). The servers do have USB ports so it may be possible
to buy say a 1TB USB device and use that. I like the idea of this approach
but it is quite hard and long winded to test and I doubt IBM would support
it if it were to fail which could leave us with an even bigger outage.

Another option may just be to use either a USB or tape based backup and
have
it couriered but again I guess the question of encryption may still arise
and we'll have to establish the viability of the tape approach in terms of
hardware.

Do you have any thoughts on the above or possible alternatives? My primary
concern is that once we start the upgrade process we're committed to
restoring replication via a backup - pretty much whether we decide to
remain
on V11 or revert back to V10. Therefore if the transfer/restore is not
reliable Sydney reporting could be affected for a far longer time than is
said to be acceptable"

_______________________________________________
Informix-list mailing list
Informix-list (AT) iiug (DOT) org
http://www.iiug.org/mailman/listinfo/informix-list

Reply With Quote
  #6  
Old   
Neil Truby
 
Posts: n/a

Default Re: Practical difficulty with IDS 10-11.5 upgrade. Inspiration neededplease ...! - 08-05-2010 , 04:07 AM



"KN Liew Liew" <liewkn (AT) gmail (DOT) com> wrote

Quote:
Hi Neil,
Not sure this approach work for you or not:
1) Stop HDR
2) Upgrade Primary Server to 11.50
3) Couriered Level 0 backup to Secondary Server site
4a) Level 0 restore at Secondary Server
4b) At Primary Server site, on going FTP Logical log files Backup to
Secondary Server site
Quote:
5) Lastly bring up RSS to catch up the image
Hi there. Thanks for the interest. It's HDR, not RSS (though we may change
this but don't have the option on 10.0). This is more-or-less exactly what
we will do. But this step ...

3) Couriered Level 0 backup to Secondary Server site

.... is likely to take 40 hours at best. And we "cannot" take 40 hours (plus
backup, compress, encrypt, decrypt, uncompress and restore time) outage.

regards
Neil

Reply With Quote
  #7  
Old   
Neil Truby
 
Posts: n/a

Default Re: Practical difficulty with IDS 10-11.5 upgrade. Inspiration needed please ...! - 08-05-2010 , 04:09 AM



"mpruet" <mpruet1 (AT) verizon (DOT) net> wrote

On Aug 5, 7:36 am, "Neil Truby" <neil.tr... (AT) ardenta (DOT) com> wrote:

Thanks Madison, that would ge good. I think you may have mentioned this at
IIUG actually, come to think of it ...

regards

Reply With Quote
  #8  
Old   
Fernando Nunes
 
Posts: n/a

Default Re: Practical difficulty with IDS 10-11.5 upgrade. Inspiration neededplease ...! - 08-05-2010 , 04:11 AM



Wouldn't it be possible to create a temporary secondary server on London to
allow business to get it's reports while the "real" secondary is being built
on Sydney?
This would of course need additional hardware..

Apart from that... and this would be tricky and maybe risky... Change the
secondary into a standard server and use ER to replicate the tables needed
by the reports...Than in parallel create the secondary server on Sydney...

In any case, write a press release... I want to see our competition doing
that kind of replication across hemispheres

Regards.

On Thu, Aug 5, 2010 at 12:36 AM, Neil Truby <neil.truby (AT) ardenta (DOT) com> wrote:

Quote:
IDS 10.0 on Solaris 10.

We're upgrading from 10 -> 11.5 a customer who's HDR Primary is in the
Northern Hemisphere and Secondary is in the Southern, with a consequent
high
latency on network connectivity.

In this upgrade it's necessary to re-establish HDR from the top. The
database server is about 300g in size and even the compressed Level 0 is
50g. This gives us a HUGE headache. If anyone has any smart suggestions
we'd be very grateful, because this issue has so far prevented us from
upgrading:

My colleague's paraphrased summary is given below:

"When we come to do the upgrade of the main London-Sydney replicated
informix pair we're going to have to stop replication and then recover it
from a full backup taken after the upgrade in London. This means getting a
50Gb backup file from London to Sydney quickly.

Based on the previous estimates done with transferring this over the
standard London-Sydney link, it would take anywhere from 2 to 3 days just
to
do the transfer so from the stopping of replication to its restart could be
anything up to 4 days. The HDR data is used for for reporting and would not
be updated for this period. The business could only do with the data being
out of date for up to 20 hours so this approach does not seem viable.

A slight variation would be ftp the backup file to an ftp site and download
it to Sydney from there as this may prove quicker than the private
London-Sydney link. Even if this is quicker however there are concerns
about transmitting all this data via essentially public ftp. We could
encrypt the backup file but this would add an overhead, in time and CPU,
for
this encryption/decryption.

We also experimented with using rdiff to enable us to generate a smaller
delta file that would allow us to only have to transfer changes in the
backup file taken before the upgrade and the one after. This does work on
the small scale I have tried it but it can only operate on uncompressed
backup files and there simply isn't enough disk space to accommodate this
(I
estimate that uncompressed the file will be approximately 300Gb in size and
two will be required). The servers do have USB ports so it may be possible
to buy say a 1TB USB device and use that. I like the idea of this approach
but it is quite hard and long winded to test and I doubt IBM would support
it if it were to fail which could leave us with an even bigger outage.

Another option may just be to use either a USB or tape based backup and
have
it couriered but again I guess the question of encryption may still arise
and we'll have to establish the viability of the tape approach in terms of
hardware.

Do you have any thoughts on the above or possible alternatives? My primary
concern is that once we start the upgrade process we're committed to
restoring replication via a backup - pretty much whether we decide to
remain
on V11 or revert back to V10. Therefore if the transfer/restore is not
reliable Sydney reporting could be affected for a far longer time than is
said to be acceptable"

_______________________________________________
Informix-list mailing list
Informix-list (AT) iiug (DOT) org
http://www.iiug.org/mailman/listinfo/informix-list



--
Fernando Nunes
Portugal

http://informix-technology.blogspot.com
My email works... but I don't check it frequently...

Reply With Quote
  #9  
Old   
Neil Truby
 
Posts: n/a

Default Re: Practical difficulty with IDS 10-11.5 upgrade. Inspiration neededplease ...! - 08-05-2010 , 04:11 AM



"Art Kagel" <art.kagel (AT) gmail (DOT) com> wrote

Quote:
Wow, I would not have thought that HDR would work reliably with so long a
WAN link! I have a client that had to have their WAN between Long Island
and Manhattan cleaned and reconfigured by the Major Telecom vendor for
six months before we could get an HDR secondary to stay online.
Yes, it is quite imperssive. The link has network accelerators for the HDR
port traffic at both ends, and we get longish (~5s) checkpoints, but it's
still impressive.
And the data volumes were muich smaller of course when we began 3 years ago
....

Quote:
Once they are up on 11.50 they should consider making the secondary an
RSS server instead. The full-duplex and asynch communications would
improve reliability.
Indeed. If we can get on to 11.5 at all ... ;-)

Reply With Quote
  #10  
Old   
Neil Truby
 
Posts: n/a

Default Re: Practical difficulty with IDS 10-11.5 upgrade. Inspiration neededplease ...! - 08-05-2010 , 04:15 AM



"Fernando Nunes" <domusonline (AT) gmail (DOT) com> wrote

Quote:
Wouldn't it be possible to create a temporary secondary server on London
to allow business to get it's reports while the "real" secondary is being
built on Sydney?
Doesn't really help, because the actual requirement is not to have an HDR
secodary for reslience per se, but to have a near-synchronous copy of live
data for reporting in Sydney. We may be able to satisfy the requirement by
pointing the reporting apps at London for the duration, but has
as-yet-unknown performance implications ...

Quote:
In any case, write a press release... I want to see our competition doing
that kind of replication across hemispheres
Unfortunately this customer is in one of those industries of which IBM
officially disapproves, so you wouldn't be able to cite it much!

Reply With Quote
Reply




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.