Command to dump the database:
>mysqldump -u root -p <database> | gzip > output.sql.gz
>scp output.sql.gz host2:~/
>rm output.sql.gz
>ssh host2
>gunzip < output.sql.gz | mysql -u root -p <database>
>rm output.sql.gz

To batch convert the tables to Innodb from MyISAM:
>mysql -u root -p -e "SHOW TABLES IN <database>;" | tail -n +2 | xargs -I '{}' echo "ALTER TABLE {} ENGINE=INNODB;" > alter_table.sql
>mysql -u root -p <database> < alter_table.sql

Important settings in the /etc/my.cnf file:
innodb_buffer_pool_size=64G
innodb_flush_method=O_DIRECT
innodb_doublewrite=0
innodb_open_files=1000
innodb_flush_log_at_trx_commit=0  
innodb_max_dirty_pages_pct=20
innodb_log_file_size = 160MB
innodb_log_buffer_size = 20MB
tmp_table_size = 4G
max_heap_table_size = 32G
key_buffer_size = 1G