PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment)
Contents Index PreviousNext

Appendix F Reference Manual> F.2 Management Commands Specific to the GFS Shared File System

F.2.10 sfchost(1M) Displays and changes a connection host name with MDS

[SYNOPSIS]

sfchost { block_special | mntpoint }

sfchost [ -E ] -p hostname { block_special | mntpoint }

sfchost -c hostname1 hostname1[:hostname2...] { block_special | mntpoint }

[DESCRIPTION]

sfchost displays and changes by the host name for the information about the communication course of AC and primary MDS which are used now, about the file system specified by operand block_special or mntpoint.

The display of the connection host name is effective only during primary MDS operation of the target file system.

A change of a connection host name is made by specifying argument hostname to be -p option. Change of a connection host name is effective only during MDS operation of the target file system. If unmount and down recovery of MDS occur, change of a connection host name will become invalid.

When change of a connection host name goes wrong by the abnormalities in communication, the connection host name before change is used as it is.

-c option is specified in order to change the use priority of a connection host name. It is possible only when the specified file system has stopped. AC chooses the host name which can be used in an order from the inside of the host name specified at the time of starting, and connects it to primary MDS. The host name in the head of a connection host name list cannot be changed. In order to change a top host, sfcadm(1M) is used.

[OPTIONS]

The following options can be specified:

-c

A connection host name list is changed. It is possible only when the specified file system has stopped. About the connection host name list to the host name specified by the argument hostname1, it changes into the connection host name list specified by hostname1:hostname2:hostname3... AC chooses the host name which can be used in order of hostname1,hostname2,hostname3 at the time of starting. A maximum of four entries can be specified.

-E

Connection is tried by the host name in the connection host name list of other than hostname. Connection by the specified host name is tried in the hostname specification which does not specify -E option.

-p

The communication information on primary MDS are set up.

[OPERANDS]

The following operands can be specified:

hostname

A connection host name is changed into operand hostname. One of the connection host name list set up by mkfs_sfcfs(1M), sfcadm(1M), sfcnewfs(1M), or sfcnode(1M) is specified to be hostname. It changes into one other than hostname in a connection host name list at the time of -E option specification.
Specify whether -p option specification is carried out and primary MDS connection host name is changed.

block_special

The block special device of the file system under target employment is specified. The representation partition of a file system is specified.

mntpoint

The mount point of the file system under target employment is specified.

[EXAMPLES]

When a mount point refers to a connection host name with primary MDS to the file system which is /shared_work.

# sfchost /shared_work
primary: hostA-1

When a mount point changes the connection host name to primary MDS into hostA-1 to the file system which is /shared_work.

# sfchost -p hostA-1 /shared_work

When a mount point changes the connection host name to primary MDS to the file system which is /shared_work in addition to hostA-1.

# sfchost -E -p hostA-1 /shared_work

[SEE ALSO]

mkfs_sfcfs(1M), sfcadm(1M), sfcinfo(1M), sfcnewfs(1M), sfcnode(1M), sfcsetup(1M).


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004