Contents
SFTP File Transfer
SFTP to/from Charon Host
SFTP enables file transfers to and from the Charon-SSP AWS instance. The user for file transfers is the charon user. The security group must allow SSH access to allow SFTP access to the Charon-SSP AWS instance. To connect to the instance as the user charon, use the following command:$ sftp -i
<path-to-your-private-key>
charon@
<AWS-public-IP-address>
Below you see sample output of a connection:$ sftp -i .ssh/mykey.pem charon@<public-ip-address>
Connected to storage@3.81.64.139.
sftp> ls
media ssp-snapshot
This method can be used, for example,
- to copy ISO files to the the Charon AWS instance,
- to copy vdisk and vtape files to the Charon AWS instance,
- to copy backups taken of emulated SPARC systems from the Charon AWS instance.
SFTP to/from Solaris Guest
Once the Solaris guest is reachable from the host system or from the customer network, SFTP can also be used to transfer data to/from the Solaris guest system.
SFTP availability on Solaris:
SFTP is part of the SSH software on Solaris. To use SSH/SFTP on older versions of Solaris (e.g. Solaris 2.6), this software must be obtained from a provider of public domain Solaris packages, such as unixpackages.com. They often require a small fee. On more modern Solaris versions (e.g. Solaris 10), packages are available on the Solaris installation media that provide this functionality.
Data Migration from Physical to Emulated System
When migrating a physical system to an emulated system, all the data of the physical system must be transferred to the emulated system. The sections below provide some hints about how this could be performed. However, the section does not describe a recommended migration path. Migrating a system depends very much on the specific customer environment and the best path has to be defined on a case-by-case basis.
For consulting services supporting the migration (subject to a charge), please contact your Stromasys representative or VAR. You can find the contact information on the Stromasys web page.
Direct Data Transfer over the Network
A direct data transfer between the Solaris system on the real hardware and the Solaris system on the emulated hardware is often the easiest way to migrate data from a physical system to an emulated system.
Once the emulated system can be reached from the customer network (see SSH VPN - Connecting Charon Host and Guest to Customer Network), technically this is also possible when the emulated system is in the AWS cloud. However, whether it is a feasible solution depends on the network throughput and stability across the VPN.
Using UFSdump Backup Archives as VTAPE Container Files
To transfer backup archives to the Charon host system, perform the following steps:
- Create ufsdump archives of the filesystems on the original system that are to be migrated.
(#
ufsdump 0f <archive-filename> <disk-partition>
) - Use SFTP to copy the archive files to the Charon host system across a VPN connection or directly to the public IP address of the host system.
- Use the Charon-SSP Manager File Manager (Tools > AWS Cloud > File Manager) to rename the files to
<archive-name>.vtape
. - Add the files to the Charon-SSP virtual machine configuration of the emulated system as virtual tape drives.
- Use
ufsrestore
on Solaris to restore the files to the correct filesystems.
Other Data Transfer Options
Depending on the customer requirements, the configuration of the original system, and the amount of data, different data transfer options may have to be applied.
For large data transfers, Amazon offers a special service, AWS Snowball. This service may be helpful if large amounts of data need to be transferred from the physical system to the Charon-SSP AWS instance. This service is independent from the Stromasys offering.