Sponsored Content
Full Discussion: Migrate AIX to new Hardware
Operating Systems AIX Migrate AIX to new Hardware Post 303022622 by System Admin 77 on Tuesday 4th of September 2018 11:19:02 AM
Old 09-04-2018
@bakunin
Thanks much for your help.


We're planning to install OS on new LPARs using (existing servers bootable mksysb image). I will suggest my team/manager to consider installing from Scratch as well. Since we have multiple servers (nonprod and prod), I believe they ask us to go with mksysb approach.




Yes, as mentioned above we do have several VG's for database related filesystems. Unfortunately 1 VG (Big) per disk was created long back by some admin.



After installing OS, will restore these datavg's and appvg on respective servers (original existing LPARs will be offline during this time).


After save vg restore on new Database LPAR, Do you recommend us to merge datavg's into one scalable vg (using lvm commands) ?

I mean moving lv's into 1 VG (multiple pv's).


Thanks for your time.
 

9 More Discussions You Might Find Interesting

1. AIX

How to migrate UP-UX shell scripts to AIX 5.2

Hello, We would to migrate some shell scripts (korn shell) from HP-UX to AIX 5.2 I would know: - If the HP-UX scripts work as well in AIX? - If no, is there a migration tool to detect incompatible lines in scripts? - How do proceed? Our scripts do: - Loads data in Oracle... (1 Reply)
Discussion started by: P026687
1 Replies

2. AIX

AIX Hardware commands

Hi All, Needed commands to find Monitor , chassis & keyboard related information on AIX. Please please please help. Thanks VK (2 Replies)
Discussion started by: Veenak15
2 Replies

3. AIX

AIX Hardware Configuration *I'm very new*

I'd like to start by saying how extremely new I am to any UNIX OS, although I've been dealing with Linux systems off and on for roughly a year now, and am trained primarily on Windows Servers. Our company has an old AIX system, running AIX version 4. The server we are using is more then 10... (6 Replies)
Discussion started by: webers
6 Replies

4. AIX

AIX 5.2 and 5.3 hardware support questions...

If anyone has the answer to this question I would be eternally grateful: I just took a new job supporting IBM Blade Servers and "E" Chassis. The model for this is significantly different than anything I have done in the past which has included what I would call typical Unix support... (2 Replies)
Discussion started by: jtelep
2 Replies

5. AIX

How to install/ migrate AIX through remote login

How to install/ migrate AIX through remote login (1 Reply)
Discussion started by: AIXlearner
1 Replies

6. SCO

Migrate SCO 5.0.6 to different hardware

hi Howto migrate SCO Unix 5.0.6 to different hardware? I'd like to try using Acronis. Which Acronis Version support SCO Unix 5.0.6? (14 Replies)
Discussion started by: ccc
14 Replies

7. AIX

AIX LVM migrate lp

Hi, I have questions about unix AIX's lvm. Is there some problem to do migrate lp into a mirrored vg or should i break the mirror before? Is necessary to run reorgvg after I migrate lp ? thanks (1 Reply)
Discussion started by: alfastar
1 Replies

8. AIX

Nim on AIX 7.1 used to migrate AIX 5.3 to AIX 6.1...is possible?

Using nimadm: nimadm -j nimadmvg -c sap024 -s spot_6100 -l lpp_6100 -d "hdisk1" -Y Initializing the NIM master. Initializing NIM client sap024. 0505-205 nimadm: The level of bos.alt_disk_install.rte installed in SPOT spot_6100 (6.1.3.4) does not match the NIM master's level (7.1.1.2).... (2 Replies)
Discussion started by: sciacca75
2 Replies

9. SCO

Migrate UNIXWare from old machine to new machine (different hardware)

Good afternoon all, I'm a bit stuck... I honestly don't know very much about Unix let alone UnixWare for that matter. I have a system that's very old and could fail really at any time. I have another server I'd like to move everything to yet I don't know what's possible. The current server is... (2 Replies)
Discussion started by: rubiks015
2 Replies
ORLite::Migrate(3pm)					User Contributed Perl Documentation				      ORLite::Migrate(3pm)

NAME
ORLite::Migrate - Extremely light weight SQLite-specific schema migration SYNOPSIS
# Build your ORM class using a patch timeline # stored in the shared files directory. use ORLite::Migrate { create => 1, file => 'sqlite.db', timeline => File::Spec->catdir( File::ShareDir::module_dir('My::Module'), 'patches', ), user_version => 8, }; # migrate-1.pl - A trivial schema patch #!/usr/bin/perl use strict; use DBI (); # Locate the SQLite database my $file = <STDIN>; chomp($file); unless ( -f $file and -w $file ) { die "SQLite file $file does not exist"; } # Connect to the SQLite database my $dbh = DBI->connect("dbi:SQLite(RaiseError=>1):$file"); unless ( $dbh ) { die "Failed to connect to $file"; } $dbh->do( <<'END_SQL' ); create table foo ( id integer not null primary key, name varchar(32) not null ) END_SQL DESCRIPTION
SQLite is a light weight single file SQL database that provides an excellent platform for embedded storage of structured data. ORLite is a light weight single class Object-Relational Mapper (ORM) system specifically designed for (and limited to only) work with SQLite. ORLite::Migrate is a light weight single class Database Schema Migration enhancement for ORLite. It provides a simple implementation of schema versioning within the SQLite database using the built-in "user_version" pragma (which is set to zero by default). When setting up the ORM class, an additional "timeline" parameter is provided, which should be either a monolithic timeline class, or a directory containing standalone migration scripts. A "timeline" is a set of revisioned schema changed, to be applied in order and representing the evolution of the database schema over time. The end of the timeline, representing by the highest revision number, represents the "current" anticipated schema for the application. Because the patch sequence can be calculated from any arbitrary starting version, by keeping the historical set of changes in your application as schema patches it is possible for the user of any older application version to install the most current version of an application and have their database upgraded smoothly and safely. The recommended location to store the migration timeline is a shared files directory, locatable using one of the functions from File::ShareDir. The timeline for your application can be specified in two different forms, with different advantages and disadvantages. Timeline Directories A Timeline Directory is a directory on the filesystem containing a set of Perl scripts named in a consistent pattern. These patch scripts are named in the form migrate-$version.pl, where $version is the schema version to migrate to. A typical timeline directory will look something like the following. migrate-01.pl migrate-02.pl migrate-03.pl migrate-04.pl migrate-05.pl migrate-06.pl migrate-07.pl migrate-08.pl migrate-09.pl migrate-10.pl ORLite::Migrate formulates a migration plan that starts at the current database "user_version" pragma value, executing the migration script that has the version "user_version + 1", then executing "user_version + 2" and so on. It will continue stepping forwards until it runs out of patches to execute. The main advantage of a timeline directory is that each patch is run in its own process and interpreter. Hundreds of patches can be produced by many different authors, with certainty that the changes described in each will be executed as intended. The main disadvantage of using a timeline directory is that your application must be able to identify the Perl interpreter it is run in so that it can execute a sub-process. This may be difficult or impossible for cases such as PAR-packaged applications and Perl interpreters embedded inside .exe wrappers or larger non-Perl applications. In general, it is recommended that you use the timeline directory approach unless you encounter a situation in which sub-process execution (or locating the patch files) is difficult. Timeline Classes A timeline class places all of the schema patches into a single Perl module, with each patch represented as a method name. The following is an example of a trivial timeline class. package t::lib::MyTimeline; use strict; use base 'ORLite::Migrate::Timeline'; my $UPGRADE1 = <<'END_SQL'; create table foo ( id integer not null primary key, name varchar(32) not null ); insert into foo values ( 1, 'foo' ) END_SQL sub upgrade1 { my $self = shift; foreach ( split /;s+/, $UPGRADE1 ) { $self->do($_); } return 1; } sub upgrade2 { $_[0]->do("insert into foo values ( 2, 'bar' )"); } sub upgrade3 { $_[0]->do("insert into foo values ( 3, 'baz' )"); } 1; As with the patch files, the current state of the "user_version" pragma will be examined, and each "upgradeN" method will be called to advance the schema forwards. The main advantage of a timeline class is that you will not need to execute sub-processes, and so a timeline class will continue to function even in unusual or exotic process contents such as PAR packaging or .exe wrappers. The main disadvantage of a timeline class is that the entire timeline code must be loaded into memory no matter how many patch steps are needed (and stay in memory after the migration has completed), and all patches share a common interpreter and thus can potentially pollute or corrupt each other. SUPPORT
Bugs should be reported via the CPAN bug tracker at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ORLite-Migrate <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ORLite-Migrate> For other issues, contact the author. AUTHOR
Adam Kennedy <adamk@cpan.org> COPYRIGHT
Copyright 2009 - 2012 Adam Kennedy. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.14.2 2012-02-02 ORLite::Migrate(3pm)
All times are GMT -4. The time now is 10:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy