db2cluster_prepare - Create a Db2 managed Spectrum Scale cluster and file system command

Create a Db2 managed IBM® Storage Scale cluster and file system.

Authorization

Root user authority

Command syntax

Read syntax diagramSkip visual syntax diagramdb2cluster_prepare-instance_shared_devshared device path-instance_shared_mountshared mounting dir -cfs_takeover-t trace path-l log path-h-?

Command parameters

-instance_shared_dev shared device path
Specifies a shared raw disk device to store instance shared files and default database path when the Db2 pureScale® instance is created For example, /dev/hdisk1.
-instance_shared_mount shared mounting dir
Specifies the mount point for a new IBM Storage Scale. The specified path must be a new and empty path that is not nested inside an existing IBM Storage Scale file system.
-cfs_takeover
Specifies for Db2 to take control of a cluster. The cluster configuration must meet the minimum requirements for a Db2 pureScale environment.
-t trace path
The full path and name of the trace file.
-l log path
The full path and name of the log file. If this parameter is not specified, the utility creates the log file at the default file path:/tmp/db2cluster_prepare.log.
-h or -?
Displays the usage information.

Usage notes

In a Db2 pureScale environment, all data and logs must be on a IBM Storage Scale file system. Existing data and logs that are not on IBM Storage Scale file system must be moved to one before upgrading to a Db2 pureScale environment.

The db2cluster_prepare command is used to set up an IBM Storage Scale cluster and file system that are managed by Db2 cluster services. The command creates the IBM Storage Scale cluster and file system, so that the data and logs can be moved to it in preparation for the upgrade to Db2 pureScale.

To have Db2 cluster services manage an existing IBM Storage Scale cluster, specify the -cfs_takeover option.This command does not support creating multiple file systems.