01-25-2013 06:11 AM - last edited on 01-27-2013 06:31 PM by Cathy_xu
I need to migrate (offline) a VM from a physical host to another and I am getting this not so explanatory error:
hpvmmigrate: ERROR (host): Incorrect initial message from target VSP.
I already done the inverse migration with sucess.
Does anyone knows what's teh issue here?
I can't even find any log....
P.S.This thread has been moved from Records Management (TRIM) Support Forum>Client Support to HP-UX > virtualization- HP Forums Moderator
01-28-2013 11:05 AM
This is typically ssh setup related. ssh from source to target must work passwordless.
If you are using "-hpvm-migr" (see HPVM admin manual), the ssh must work without
password for <target_hostname>-hpvm-migr.
01-29-2013 12:23 AM
If your /etc/profile or similar login script is customized to output e.g. legal warning messages, these can confuse programs that use shell sessions as conduits for their protocol, like hpvmmigrate, rdist, rsync, scp and others.
You should make sure that all the commands in /etc/profile and root's ~/.profile that output any messages to the terminal are made conditional, so that they will be skipped if the session does not actually have a TTY device associated with it. The "tty -s" command can be used to identify these situations.
For example, if your /etc/profile has a command:
you should change it to:
if tty -s; then cat /etc/legal_warning.txt fi
This will automatically bypass the legal warning if the session has no TTY device associated with it (because in such situations, a program is usually reading the output instead of a human).