Solved : Migrate apps from one box to another
#1
Posted 20 January 2010 - 11:57 PM
We are running DU 5.5 on hpux 11.11. I'm seeking for a procedure to migrate some apps fr ServerA (MU=U_SERVERA) to ServerB (MU=U_SERVERB).
On ServerA, I'm thinking of assign my apps to different MUs, and for certain MU I will just reassign it fr ServerA to ServerB.
Is my method sound, feasible and complete?
Thanks in advance!
#2
Posted 21 January 2010 - 11:01 AM
Can you elaborate on what you mean by "to migrate some apps"? Are you talking Uprocs, Sessions, Tasks belonging to the same Domain/Application in DU?
Michel
#3
Posted 21 January 2010 - 05:49 PM
men, on January 21 2010, 03:01 AM, said:
Can you elaborate on what you mean by "to migrate some apps"? Are you talking Uprocs, Sessions, Tasks belonging to the same Domain/Application in DU?
Michel
#4
Posted 21 January 2010 - 06:23 PM
kyfbof, on January 21 2010, 05:49 PM, said:
If you want so with $Universe you'll need to configure the $Universe as a cluster
#5
Posted 21 January 2010 - 06:53 PM
couak, on January 21 2010, 10:23 AM, said:
If you want so with $Universe you'll need to configure the $Universe as a cluster
#6
Posted 21 January 2010 - 09:26 PM
As I remember you can't just reassign, you need to delete the MU and then recreate it with the new node assignment.
#7
Posted 22 January 2010 - 10:50 AM
Globally agree with couak.
This depends on how the scheduling was developped, and you should check points like:
Is there a MU defined for each DB?
Are Sessions running for 1 MU/DB or are there designed for various MUs/DBs starting from a unique point?
Are you using HDP?
Etc...
You will need to change the MU location - you can update them through the GUI or in command line - in the MU admin tables on all involved boxes.
You may also have to distribute or import any missing object (Uproc, Resource, Session...) and depending on your Session and Task structure delete and recreate the Tasks.
Michel
#8
Posted 22 January 2010 - 10:57 PM
men, on January 22 2010, 02:50 AM, said:
Is there a MU defined for each DB?
men, on January 22 2010, 02:50 AM, said:
men, on January 22 2010, 02:50 AM, said:
men, on January 22 2010, 02:50 AM, said:
men, on January 22 2010, 02:50 AM, said:
In summary, you think I should do as follows:
1. Leave MU=U_SERVERA alone,
2. On ServerA, create MU=D_DB001 # Of course we'll use something more descriptive than "001"
3. Pick objects that belong to DBASE1 modify them fr MU=U_SERVERA to MU=D_DB001
4. Repeat step 2 and 3 for all other targeted-to-move dbases
5. Export objects where MU=D_*
6. Delete MU=D_* on ServerA # how?
7. Insert the objects on ServerB
Thanks Couak and Michel. Of course, this is just a concept ... the works is the difficult part. I dont know how we can avoid lots of man hours to complete step 3. The good news is my schedule coordinator can take months to if she wants, and the cutover (step 7) would be very simple. And if we later on need to move, the hard works are already done.
#9
Posted 25 January 2010 - 12:37 PM
There is no limitation of # MUs per node. One MU for each DB may be the appropriate answer - but I don't know your IT Operations to be a 100% sure. All these MUs should be of the same MU Type as they all represent a DB.
Quote
You can use commands like:
uxadd MU MU=... LABEL=... TNODE=... to add a new MU in the MU table
uxdlt MU MU=... to delete an MU from the MU table
uxupd MU MU=... LABEL=... TNODE=... to modify an existing MU in the MU table (like its node or label).
Quote
1. Leave MU=U_SERVERA alone,
2. On ServerA, create MU=D_DB001 # Of course we'll use something more descriptive than "001"
3. Pick objects that belong to DBASE1 modify them fr MU=U_SERVERA to MU=D_DB001
4. Repeat step 2 and 3 for all other targeted-to-move dbases
5. Export objects where MU=D_*
6. Delete MU=D_* on ServerA # how?
7. Insert the objects on ServerB
There again, I don't know your IT Operations so it's difficult to be a 100% sure.
Create the MUs which represent the DBs at least on the Node where the DBs are located. Some customers prefer to have these MUs created on all Nodes - they can distribute the Node table to the various nodes to do so. If you are looking for consistency over the Admin tables you should go for it.
Your Uprocs and Sessions may not include anything hard-coded relating to MUs (no mention of a specific MU in the Uproc conditions, no MU mention in the Session): In this case, you don't have to modify them, just distribute/export them to Nodes where the jobs will be running. Otherwise, you'll have to do the updates + deployment.
For Tasks, you 'll have to create, copy or distribute the Tasks to the new target MUs.
Hope this helps,
Kenny
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users













