|
» |
|
|
|
The P2V assistant is a menu driven utility that
helps you consolidate or migrate between systems. The source and destination
systems can actually be either virtual systems or physical systems,
as the feature is implemented as a general purpose utility. To use
the P2V assistant, enter the p2vassist command
on the VM Host. Requirements for Migrating a Workload | |
The Integrity VM software must be installed on
the source system. The source system and target system must have SSH
connectivity. You can connect from the VM Host system to the target
server without a password (host-based authentication). The P2V assistant migrates only applications that
have Software Depot (SD) packages. Applications that are not SD compliant
cannot be migrated with the P2V assistant. Using the p2vassist Utility | |
The p2vassist utility is structured
as a tree of menus, each of which can execute a function or give access
to a deeper-level menu. Use the p2vassist command
on the VM Host system. For example: # p2vassist
P2V Assistant Manager
======================================
1 ) General Configurations
2 ) Manage Applications
3 ) Manage O.S. Images
-----
0 ) Exit
1 - General Configurations
======================================
1 ) Set Source Depot
-----
0 ) Return
2 - Manage Applications
======================================
1 ) List Applications
2 ) Select Applications
3 ) Add Data Directories/Files
4 ) Consolidate Applications
-----
0 ) Return
3 - Manage O.S. Images
======================================
Function not implemented yet |
To migrate a workload, follow these steps: Set the location of the depots to use in installing
the application. Select menu 1, option 1 and then enter the fully
qualified depot path in either the form accepted by the SD products
or as alocal directory. The location must be a registered depot source.
For example, to specify depsrv.hp.com:/release/1123.0706/ic054, enter the location on the screen: P2V Assistant Manager
======================================
1 ) General Configurations
2 ) Manage Applications
3 ) Manage O.S. Images
-----
0 ) Exit
Enter Option Number: 1
General Configurations
======================================
1 ) Set Source Depot
-----
0 ) Return
Enter Option Number: 1
In this option you can set the location of the depots
of the application to be installed on the target system.
It can be a hostname or a local directory.
Depots source currently configured: NONE
Depots source (type 'q' to return): depsrv.hp.com:/release/1123.0706/ic054 |
List the applications available in the source host.
Select menu 2, option 1 (Manage Applications - List Applications).
Note the names of the products to be selected. For example: |
P2V Assistant Manager
======================================
1 ) General Configurations
2 ) Manage Applications
3 ) Manage O.S. Images
-----
0 ) Exit
Enter Option Number: 2
Manage Applications
======================================
1 ) List Applications
2 ) Select Applications
3 ) Add Data Directories/Files
4 ) Consolidate Applications
-----
0 ) Return
Enter Option Number: 1
ACXX C.06.00 HP aC++
AudioDevKit B.11.23.10 HP-UX Audio Desktop Developer Kit
Auxiliary-Opt B.11.23.11 Auxiliary Optimizer for HP Languages.
BullseyeCoverIA 7.5.61 HP-UX IA
C-ANSI-C C.06.10 HP C/ANSI C Compiler
C-Dev-Tools B.11.23.11 C Language Development Tools
gcc 4.1.0 gcc
gdbm 1.8.3 gdbm
.
.
.
hpuxwsAPACHE B.2.0.55.03 HP-UX Apache-based Web Server
hpuxwsTOMCAT B.5.5.9.04 HP-UX Tomcat-based Servlet Engine
hpuxwsWEBMIN A.1.070.07 HP-UX Webmin-based Admin
hpuxwsXML A.2.00 HP-UX XML Web Server Tools
.
.
.
vim 7.0 vim
xpm 3.4k xpm
zlib 1.2.3 zlib |
Enter the applications to be migrated. Select menu
2, option 2 (Manage Applications - Select Applications). Enter the
application names noted in the previous step, as a space-separated
list. For example:: P2V Assistant Manager
======================================
1 ) General Configurations
2 ) Manage Applications
3 ) Manage O.S. Images
-----
0 ) Exit
Enter Option Number: 2
Manage Applications
======================================
1 ) List Applications
2 ) Select Applications
3 ) Add Data Directories/Files
4 ) Consolidate Applications
-----
0 ) Return
Enter Option Number: 2
Select Applications
==============================
Please enter the list of depots to be installed on the target
system, separated by spaces.
You can list the applications using the first option of this menu.
Depots list (type 'q' to return): hpuxwsAPACHE hpuxwsTOMCAT hpuxwsWEBMIN hpuxwsXML |
Specify application data transfer. To define directories
or files, select menu 2, option 3 (Manage Applications - Add Data
Directories/Files). Otherwise, proceed to step 5. The p2vassist utility suggests directories to set to transfer. For example: P2V Assistant Manager
======================================
1 ) General Configurations
2 ) Manage Applications
3 ) Manage O.S. Images
-----
0 ) Exit
Enter Option Number: 2
Manage Applications
======================================
1 ) List Applications
2 ) Select Applications
3 ) Add Data Directories/Files
4 ) Consolidate Applications
-----
0 ) Return
Enter Option Number: 3
Please enter the list of directories/files to be transferred to the
target system, separated by spaces.
The following directories are obtained by examining the depot
configuration, you may copy them to the prompt below in order to be used:
/opt/hpws/apache /opt/hpws/tomcat /opt/hpws/webmin
List (press <Enter> to return): /opt/hpws/apache /opt/hpws/tomcat /opt/hpws/webmin |
Transfer the application and data to the new host.
Select menu 2, option 4 (Manage Applications - Consolidate Applications).
The target host name or IP address are verified for connectivity.
Disk space is verified. When you press Enter, the
data is transferred to the target host. For example: |
P2V Assistant Manager
======================================
1 ) General Configurations
2 ) Manage Applications
3 ) Manage O.S. Images
-----
0 ) Exit
Enter Option Number: 2
Manage Applications
======================================
1 ) List Applications
2 ) Select Applications
3 ) Add Data Directories/Files
4 ) Consolidate Applications
-----
0 ) Return
Enter Option Number: 4
Consolidate Applications
==============================
This option will consolidate application(s) installed
on the current system and then migrate into another a
suitable target system. The target system is the machine
which will host the consolidated application(s).
This wizard requires that non-interactive Secure Shell
(ssh) access be set up between this system and the
target server.
Depots source currently configured: depsrv.hp.com:/release/1123.0706/ic054
Depots to be installed: hpuxwsAPACHE hpuxwsTOMCAT hpuxwsWEBMIN hpuxwsXML
Dirs/Files to be transferred: /opt/hpws/apache /opt/hpws/tomcat /opt/hpws/webmin
Please enter the hostname/IP
of the target system (type 'q' to return): vmp2v
Querying the system vmp2v for current status, this may take a few moments...
Installing depots...
Press ENTER to continue and begin transferring files.
Transferring Configuration files...
Checking application disk space...
Transferring /opt/hpws/apache directory to vmp2v, please wait...
Transferring /opt/hpws/tomcat directory to vmp2v, please wait...
Transferring /opt/hpws/webmin directory to vmp2v, please wait...
Application Sucessfully consolidated on host: vmp2v
Press <Enter> to return to menu: |
|
Troubleshooting P2V Problems | |
If the application was already installed on the
target host, the P2V assistant interrupts the installation process
with the following message: ---------------------- [ Attention ] ----------------------
One or more of selected application (s) are already
installed on target system garopaba.
The applications are listed below:
Application - Target Version - Repository Version
FIREFOXsrc - 1.5.0.00.01 - 1.5.0.00.01
It's strongly recommended to stop that all applications
listed above (or any other using them) before continuing
with the installation.
All selected applications already installed on target
host will be removed. Notice that any patchs and/or other
updates may be lost if older versions are installed.
Type below if you would like to continue
----------------------------------------------------------
|
The P2V assistant prompts you either to continue
or to stop the installation. If you choose to continue, the P2V assistant
first uninstalls the application on the target host, then installs
the selected one. Do not continue the installation if older versions
can break dependencies on another applications. In addition, install
older versions of applications might overwrite updated libraries that
were installed by patches.
|