B.0 Migrating /vastorage from NFS to a Hard Disk

If your Filr 1.0.1 data storage location (/vastorage) is on an NFS mount-point rather than a hard disk, you need to move the data storage location (/vastorage) to a hard disk when upgrading to Filr 1.1. This is necessary because of potential data loss with the MySQL and Filr appliances.

  1. (Recommended) Before beginning the migration, it is a good idea to set Ganglia monitoring to unicast mode, if it is not already. In the Publish to field, specify either the URL of the database or search index appliance. For more information, see Changing the Ganglia Configuration in the Novell Filr 1.1 Administration Guide.

    If Ganglia is not in unicast mode, the process for copying files from NFS takes a considerable amount of time.

  2. Power off the Filr or MySQL appliance in the Filr 1.0.1 system.

  3. Attach a new hard disk to the appliance, then power on the appliance.

  4. At the appliance console, create a temporary directory where you will copy the /vastorage from NFS:

    mkdir /vastoragetemp

  5. Use the YaST Partitioner to partition, format, and mount the new disk to the directory that you created in Step 4.

    1. At the appliance console, launch YaST:

      yast

    2. Select System > Partitioner, then press Enter.

    3. Press Enter to ignore the warning.

    4. Tab to the Available Storage section, select the new disk that you created in Step 3, then press Enter.

    5. In the Partitions section, select Add, then press Enter.

    6. In the Mounting Options section, select Mount Partition, then specify the name of the directory that you created in Step 4.

      For example, specify /vastoragetemp.

    7. Select Finish > Finish.

  6. On each MySQL and Filr appliance, update the /etc/sysconfig/novell/NvlVAinit file and cause the updated NvlVAinit file to be written to the vaconfig.zip file:

    1. Locate the following lines in the /etc/sysconfig/novell/NvlVAinit file:

      CONFIG_VAINIT_STORAGE_TYPE="nfs"
      CONFIG_VAINIT_DEVICE_STORAGE=""
      

      And change them to:

      CONFIG_VAINIT_STORAGE_TYPE="device"
      CONFIG_VAINIT_DEVICE_STORAGE="type:existing drive:auto name:auto format:auto"
      
    2. Cause the new NvlVAinit file to bewritten to the vaconfig.zip file.

      You can use the following command:

      python /opt/novell/base_config/zipVAConfig.py

  7. At the appliance console, copy the files from NFS to the new disk that you created by using the following command:

    cp -vaR /vastorage/* /vastoragetemp

    The data storage location (/vastorage) is now copied to the new hard disk.

    Now when you install the new Filr 1.1 system, you point the secondary hard disk to this existing hard disk. You are now ready to upgrade the Filr system to version 1.1, as described in Section 9.4, Upgrading the Filr, Search, or Database Appliances.