HP Virtual Connect Enterprise Manager Software manual Java.lang.OutOfMemoryError Java heap space

Page 55

Server Migration failed. Error occurred in server thread; nested exception is: java.lang.OutOfMemoryError

Suggested action

Server migration does not support the migration of volumes larger than 1023 GB. Reduce the size of any partition exceeding this size limit before attempting migration.

Migrating a Linux source server with very large storage fails when the migration is initiated

Migrating Linux source servers with very large storage may fail with the following error found in the <server migration installation directory>/log/hpsmpsvc.log file:

java.lang.OutOfMemoryError: Java heap space

Suggested action

Increase the heap size on the source server, by performing the following:

1.Change the current working directory on the source server to the smpagent folder (for example, /tmp/smpagent if the agent was automatically deployed.)

2.Increase the initial memory by changing the following parameters in /bin/hpvmmsmp.conf:

# Initial Java Heap Size (in MB)

wrapper.java.initmemory=512

3.Start the server migration Source Agent by doing one of the following at the command line:

Type ./startHPSMPCnt.sh and then press Enter.

Navigate to the smpagent/bin directory and then run the startHPSMPCnt.sh script.

Linux migration might fail when X Windows configuration is not properly formatted

Linux migrations might fail when the X Windows configuration file xorg.conf is not properly formatted. The configuration file must have at least one ServerLayout section. The presence of log items like the examples shown below in the hpsmpsvc.log file indicates that the xorg.conf file does not have any ServerLayout sections:

2011/03/14 14:19:34 - The job failed

2011/03/14 14:19:34 com.hp.mx.smp.vmtools.grid.VmmRuntimeException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

2011/03/14 14:19:34 at com.hp.mx.smp.vmtools.grid.transport.LinuxMigrationJob.heteroInjectDrivers (LinuxMigrationJob.java:1015)

2011/03/14 14:19:34 at com.hp.mx.smp.vmtools.grid.transport.LinuxMigrationJob.heterogenousCopy (LinuxMigrationJob.java:258)

Suggested action

If the migration fails and the X Windows configuration file on the source server does not have at least one ServerLayout section, then do the following:

1.Rename /etc/X11/xorg.conf to /etc/X11/xorg.bak on the source server.

2.If required, boot the server in single user mode.

3.Re-run the migration.

4.After migration is complete, rename /etc/X11/xorg.bak back to /etc/X11/xorg.conf on the source server.

Migration process 55

Image 55
Contents HP Insight Control Server Migration 7.0 User Guide Legal Notices Contents Migrating the servers IV Troubleshooting and supportPost-migration tasks ISO Contents Contents Applying old server migration standalone licenses Support and other resourcesGlossary Index Part I Overview and concepts Related products Installing and configuring server migration softwareServer migration introduction OverviewProduct Description Overview of migrating a server Migration checklistServer migration concepts Server migration componentsMigration screen HP Insight Control server migration software tabsServer migration concepts Part II Pre-migration tasks Verifying hardware and operating system support Preparing hardware for migrationVerifying application station system requirements Planning the migration Resizing Linux file systems Disabling firewalls Preparing software for migrationVerifying licenses for software to be migrated Migration SecurityDisabling antivirus software Installing ProLiant Support PacksGenerating static or dynamic certificates Part III Migration Preparing a Microsoft Hyper-V source server Preparing the source server and deploying the Source AgentVerifying Windows source server requirements Verifying Linux source server requirementsDeploying Agents Uninstalling guest toolsChoosing server migration Agents Deploying server migration AgentsNavigate to server migration Source Agent Server migration agent install dialog Navigate to server migration Source Agent Linux Source Agent screen Virtual machine hosts PrerequisitesLinux destination size requirement Physical destination serversBooting the destination server ILO boot prerequisites Manually creating and booting a virtual destination serverPrerequisites for VMware ESX migration Page Minimum source server prerequisites for all migrations Migrating the serversIf you use a firewall, see Disabling firewalls Preparing for a Windows server migrationPreparing for a Linux server migration SAN migrations in Windows Starting the migration wizard Launching server migrations using the Deploy menuVerify Source Physical server Quick Launch Launching server migrations using Quick LaunchAvailable operations X2V post-migration tasks Windows Installing ProLiant Support Packs after migrationPost-migration tasks X2P post-migration tasks WindowsX2P post-migration tasks Linux Edit the boot.ini file to activate a graphical boot processValidating Linux migrations X2V post-migration tasks LinuxViewing migration logs Validating the migrationPost-migration tasks Part IV Troubleshooting and support Server migration wizard hangs TroubleshootingUser interface Source preparationMigration Agent deployment fails Source server identification failsSuggestion action Linux Source Agent window does not appear on Rhel 64-bitIncorrect LUN size detected in of the migration wizard Destination preparationDestination server identification fails Suggested action CD ISO Auto booting destination physical server fails Manually migrate these disks after a successful migration Large volumes fail with server thread error Drivers cannot be installed or injected onto boot diskMigration process Java.lang.OutOfMemoryError Java heap space ReiserFS volumes are blocked for Linux migration Ntfs resize error messageMigration hangs if source server is shut down Migration fails during the disk cloning phase Error during data copy of Linux migration SAN-connected destination server displays blue screen Destination server boots with an invalid IP addressPerform one of the following Post-migrationHidusb.sys Hidkbd.sys Mouhid.sys Suggested action Drives do not appear on the migrated operating system Server is unresponsive during PSP installation Destination virtual machine fail to boot after X2V migrationReboot the server and then reinstall PSP manually Support and other resources How to contact HPInformation to collect before contacting HP Documentation feedback HP authorized resellersRelated information Related documentation Typographic conventionsTIP Applying old server migration standalone licenses Basic hardware design of a three-node duster Pre-migration consideration steps for clustersPost migration considerations and steps Performing the migrationPost migration considerations and steps Glossary Index Index SIM Websites