import

You can import data into a region or import an existing cluster configuration into the cluster.

import data

Import user data from a file to a region.

Availability: Online. You must be connected in gfsh to a JMX Manager member to use this command.

Syntax:

 import data --region=value --file=value --member=value

Name Description
\-\-region Required. Region into which data will be imported.
\-\-file Required. File from which the imported data will be read. The file must have an extension of ".gfd" and must be on the file system of the member (or accessible to that member via NFS) that is being targeted for the import.
‑‑member Required. Name/Id of a member which hosts the region. The data will be imported from the specified file on the host where the member is running.

Table 1. Import Data Parameters

Example Commands:

import data --region=region2 --file=/mnt5/region2_20121001.gfd --member=server1

import cluster-configuration

Import a cluster configuration.

Imports all artifacts of a cluster configuration from a zip file.

Availability: Online. You must be connected in gfsh to a JMX Manager member to use this command.

Note: Shutdown all data members (servers) before importing a shared configuration.

Syntax:

import cluster-configuration --zip-file-name=value

Name Description
\-\-zip-file-name Required. Name of the zip file containing the cluster configuration artifacts to be imported.

Table 2. Import Cluster-Configuration Parameters

Example Commands:

gfsh>import cluster-configuration --zip-file-name=/home/username/myClusterConfig.zip

Sample Output:

gfsh>import cluster-configuration --zip-file-name=/home/username/myClusterConfig.zip
Cluster configuration successfully imported

results matching ""

    No results matching ""