Previous Topic: Disable Metering CheckNext Topic: Overview Guide


Exporting User Data, Singletons, Catalog Appliances and VDS Applications to Other Cloud Platforms

Virtual appliances created for AppLogic will not operate properly as-is on the other cloud platforms.

The AppLogic appliances expect a set of configuration files prepared by the AppLogic Cloud Controller as well as an AppLogic virtual network infrastructure being present.

You could possibly modify the AppLogic appliance to boot on the other cloud platform. However, this is not recommended and it is advised to do this only for data extraction purposes, if all other means of extracting the data are not available.

Extracting Data from User Volumes

There are several ways to extract the data from user or system volume.

  1. (Recommended) Export the user volume that contains the data from the AppLogic platform, then import the user volume on the target system and copy the data.

    For additional information on volume export, please refer to Volume Export in the Volume Management section of the Command Line Shell Reference.

  2. Mount the user volume in a Filer and copy the data to the target system over the network.

    For additional information on volume export, please refer to Volume Export in the Volume Management section of the Command Line Shell Reference.

    During the initiation of the volume manage operation, you can specify the network details, such as the IP address, network, vlan and DNS address, that are assigned to the Filer. After the Filer starts, you can use these network settings to access the files on the mounted volume.

    In addition, you can manage the user volumes through the GUI interface. To do this, open the application that contains the user volume, then right-clock the canvas and select Manage Volumes. The Volume window displays. Select the required volume and click the Manage button. In the Manage Volume window, copy the files.

  3. Copy the data from within existing application.

    Depending on the application structure, it might be possible to copy the data directly to a new location. If your application does not have outside network access, consider adding a gateway or VPN to the application, and copying the data out of the application.

Exporting AppLogic Singleton Appliances

Appliances designed for the AppLogic platform will not operate properly without the AppLogic infrastructure present. However, depending on the specific appliance, you may be able to start the appliance on a different platform.

Note: We only recommend doing this with the single purpose of extracting the data, if all other ways are not available.

The process is:

Prepare the AppLogic Appliance for Export

Linux Appliances

Follow these steps:

  1. If the AppLogic appliance that you want to export is not a singleton, branch the appliance prior to exporting.

For additional information on branching, please refer to the Branch Generic Appliances section of the Appliance Developer Guide.

  1. Start the application where the appliance is located. Once application starts, log in to the appliance command line.
  2. Copy the appliance configuration settings for reference.
    cp -r /var/run/applogic /root/applogic_backup
    
  3. Set the root password.
    passwd root
    
  4. Disable AppLogic services.
    chkconfig applogic_init off
    chkconfig applogic_appliance off
    
  5. Verify all network configuration files, such as /etc/sysconfig/networking_scripts/ifcfg-eth*, are set for DHCP on boot.
  6. To mount the volume instead of booting it, you should change the boot volume label to avoid conflicts. You can use "e2label", if needed.
  7. Verify the following option is not listed on the kernel line of /boot/grub/grub.conf. If that option is there, remove the option.
    "xen_emul_unplug=never". 
    
  8. Shutdown application.

Windows Appliances

Follow these steps:

  1. If the AppLogic appliance that you want to export is not a singleton, branch the appliance prior to exporting.

    For additional information on branching, please refer to the Branch Generic Appliances section of the Appliance Developer Guide.

  2. Start the application where the appliance is located. Once application starts, log in to the appliance command line.
  3. Using Cygwin, copy the appliance configuration settings for reference:
    cp -r /var/run/applogic /root/applogic_backup
    
  4. Set the Administrator password.
    1. Select Start > Administrative Tools > Services
    2. Right click applogic_init > Properties
    3. Set Startup type to disabled
    4. Repeat these steps for both the applogic_appliance service and for the CYGWIN sshd service.
      passwd root
      
  5. Verify all Local Area Connection instances are set to DHCP.

    Use the AppLogic GUI, not RDP, to perform the network changes.

  6. Shutdown application.

Export AppLogic Appliances

Follow these steps:

  1. Identify and export all volumes that belong to the appliance.

    For additional information on volume export, please refer to Volume Export in the Volume Management section of the Command Line Shell Reference.

  2. Import the volumes to the target platform.

Notes