Sponsored Content
Full Discussion: HMC Upgrade Question
Operating Systems AIX HMC Upgrade Question Post 302740067 by acascianelli on Wednesday 5th of December 2012 12:52:31 PM
Old 12-05-2012
I just got off the phone with IBM support over this matter. It turns out that the HMC update I'm trying to do will work without re-IPL'ing my managed systems.

The only thing they warned me about was making sure that my managed systems were set to boot from the temporary firmware which was compatible with the newer versions of the HMC.
 

9 More Discussions You Might Find Interesting

1. Solaris

Upgrade question

Hi all, I hava an ULTRA-5 machine at work, runing Solaris8, and I'm thinking of downloading the free version of Solaris9, and runing an upgrade, is this possible? And the free version of Solaris 9, is the same as the payed version? Thx. (0 Replies)
Discussion started by: Zarnick
0 Replies

2. AIX

ml upgrade question

Hello everybody, am new to AIX. can someone help me with below i was trying to do an ml upgrade on AIX5.2 from 01-09 when i do a lppchk -v, i get X11.base.rte 5.2.0.10 (usr: COMMITTED, root: not installed) i tried to remove the fileset using smitty remove and it says... (1 Reply)
Discussion started by: karthikosu
1 Replies

3. AIX

Hardware upgrade question

I have an IBM pseries 7028-6E1 server with a six drive bay that is currently plugged into the scsi backplane of the motherboard. I am going to install a PCIX Ultra320 scsi raid adapter, and swing the drive bay over to it. I am just wondering how this is going to work. Should I power the server... (1 Reply)
Discussion started by: markper
1 Replies

4. Solaris

Solaris 9 upgrade question.

I have an old sun v890 server running solaris 9. Apparently we need to be running solaris 10. I don't know much about the server history, there isn't any documentation. I hesitant to rebuild from scratch and loose user configuration settings etc... How difficult is it to upgrade to solaris... (10 Replies)
Discussion started by: Kjons76
10 Replies

5. AIX

Upgrade AIX without HMC

Hi all, i would like to know if it's possible upgrade AIX 5.3 to 6.1 on a LPAR without use the HMC. so i would like to know if i must use the console to do it or i can do all from the up&running system on LPAR. Thanks in advance. Mario (4 Replies)
Discussion started by: Zio Bill
4 Replies

6. Solaris

Live upgrade question

I want to basically update an ABE that someone created a few months back. I'm sure stuff has changed since it was made, and I was going to delete it and create a new one. But from what I'm looking at, the lumake appears like it would be a faster approach. I want to use live upgrade to... (0 Replies)
Discussion started by: BG_JrAdmin
0 Replies

7. AIX

PowerHA 5.5.0.4 on AIX 5.3 TL10 upgrade question

Hi all, I want to upgrade a clustered AIX 5.3 TL10 with PowerHA 5.5.0.4. To both AIX 6.1 and PowerHA 6.1 in an wasy way. Any guidelines or procedures in an easy way to accomplish this task safely? Note : fdown time is an acceptable option. (2 Replies)
Discussion started by: h@foorsa.biz
2 Replies

8. Solaris

Solaris 11.2 upgrade question

Currently we are having solaris 11.1 SRU 11.1.21.4.1 installed on server. We need to upgrade it to solaris 11.2 SRU 11.2.9.5.0 Is it possible to upgrade to SRU 11.2.9.50 directly by downloading repo files or do I need to upgrade to 11.2 first and then upgrade to SRU 11.2.9.5.0? (1 Reply)
Discussion started by: sureshsun
1 Replies

9. AIX

HMC Upgrade

Hi Experts So we have two data center .I upgraded the HMC in one datacenter, very easy no problem, but in the second datacenter we have dual HMC connection. I am looking at the document from the ibm documentation. I found something that I am not comfortable following. which is this : Physically... (2 Replies)
Discussion started by: JME2015
2 Replies
Jifty::Manual::Upgrading(3pm)				User Contributed Perl Documentation			     Jifty::Manual::Upgrading(3pm)

NAME
Jifty::Manual::Upgrading - How-to change your application database over time DESCRIPTION Jifty provides a way for you to upgrade the database schema and data of your application between versions. If all you are doing is adding new models or columns to existing models Jifty will do the upgrade almost automatically. If more extensive changes are required you need to write some code to tell Jifty what to do. TERMINOLOGY
Be sure you know the following terms before reading this document: o "schema" in Jifty::Manual::Glossary o "schema version" in Jifty::Manual::Glossary o "database version" in Jifty::Manual::Glossary HOW TO
General Instructions For all of these actions, the the database version stored in your Jifty configuration is significant. See the value stored in etc/config.yml at: framework: Database: Version: 0.0.1 Make all your code changes using the version number you are going to use. Once you have finished updating your code and are ready to test, bump the version stored in etc/config.yml to match the new version you are going to use. If you are writing tests as you go (shame on you if you aren't!), you should be able to run: perl Makefile.PL make make test to test the latest version and check for problems. Once you are sure you've worked out the kinds, you may perform the actual upgrade by running: bin/jifty schema --setup This will take care of the work of adding any new columns and models, dropping old columns, and running any upgrade scripts you have scheduled. Basic column and model operations Adding a new model Create your model just as you normally would: bin/jifty model --name MyModel Then, you need to tell Jifty at which version of your application the model was created. To do this add a since sub to your new model class. sub since { '0.0.5' } Adding a new column to an existing model When you have an existing model and decide that you need to add another column to it you also need to tell Jifty about this. This is done by using "since" as well. However, the "since" goes into the column definition itself. column created_by => refers_to Wifty::Model::User, since '0.0.20'; Dropping a column from a model CAUTION: Be aware that all the data that was stored in this column will be destroyed at upgrade if you follow this procedure. If you no longer need a particular column in your model, you can have it dropped by setting the "till" property on your column definition. column extra_info type is 'text', label is 'Extra info', till '0.0.13'; The version you use for "till" is the version the drop is effective. In the example above, the "extra_info" column will be available in version 0.0.12, but not in version 0.0.13. This column will be dropped from the schema at the next upgrade, which will destroy all data stored in that column. TODO Dropping a model Data migration and schema changes If a file called Upgrade.pm exists in your application it will be run by "jifty schema --setup". Upgrade.pm can be used to make any schema changes or to manipulate your applications data. At the very least your Upgrade.pm should contain the following: package MyApp::Upgrade; use base qw(Jifty::Upgrade); use Jifty::Upgrade qw( since rename ); since '0.6.1' => sub { .... }; The "since" function is where you do all the work. Each "since" will be run in version order until the application is up to date. Renaming a column To rename a column, you need to make sure that your schema and upgrade script both cooperate in the process. Your schema will record changes to your model API and the upgrade script will tell Jifty about the rename. The old column name needs to marked with "till" to notify Jifty that the column name no longer exists. The new column name needs to marked with "since" to notify Jifty that a column by the new name exists. Here we are renaming "zip" to "postcode": column zip => type is 'text', label is 'ZIP code', till '0.6.1'; column postcode => type is 'text', label is 'Postal code', since '0.6.1'; Notice that both "since" and "till" have the same version number set. This is the version number the change will take place. Before you upgrade, though, you must tell Jifty that a rename is happening here, which is done in your upgrade script: use MyApp::Upgrade; use base qw(Jifty::Upgrade); use Jifty::Upgrade qw( since rename ); since '0.6.1' => sub { rename( table => 'MyApp::Model::User', column => 'zip', to => 'postcode' ); }; Migrating data You can perform any action you want inside the "since" blocks of your upgrade script. In the case of data migration, you might want to convert your data from one form to another. For example, let's say our users always gave us "first_name" and "last_name" before, but we've added a new column "display_name" which will normally contain their name in "last, first" format, but could be customized per-account. We want to go ahead and initialize this new column during the upgrade. In your upgrade script, you could add: since '0.2.4' => sub { my $users = MyApp::Model::UserCollection->new( current_user => Jifty->app_class('CurrentUser')->superuser ); $users->unlimit; while (my $user = $users->next) { # error checks may save you from hours of debugging my ($status, $msg) = $user->set_display_name( join(', ', $user->last_name, $user->first_name) ); Jifty->log->error("Couldn't change user record: $msg") unless $status; } }; Note that collection created using super user to pass ACL checks and other restrictions, if your models are protected from super user then you may have problems. See also Jifty::Manual::AccessControl. SEE ALSO
Jifty::Upgrade, Jifty::Script::Schema, Jifty::Manual::Models, Jifty::Manual::Tutorial, Jifty::Manual::Glossary perl v5.14.2 2010-09-25 Jifty::Manual::Upgrading(3pm)
All times are GMT -4. The time now is 07:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy