EasyManua.ls Logo

HP j6750 - Examples of Primary DFS Functions

HP j6750
164 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
136
TCL Functions
DFS TCL Functions
Examples of Primary DFS Functions
# For purposes of the examples, harpoon is dce server and
# softtail is dce client.
# If using an SCM, create that first.
# Then create the first FLDB server.
# Then create the first Fileset Server (ie root.dfs).
# Having problems when first FLDB server and first fileset
server
# are not on the same machine.
# Then create the dfsclients.
# The upserver (SCM) is written to control the following lists:
# admin.butc, admin.bak, admin.fl, admin.ft, admin.up,
admin.bos
# Upclients must be started using tcl_dfs_start_upclient.
**************************************************************
# CONFIGURE SCM (upserver)
# tcl_dfs_config_dfsscm hostname celladmin celladmin_pw
tcl_dfs_config_dfsscm harpoon cell_admin -dce-
**************************************************************
**************************************************************
# CONFIGURE FLDB SERVER
# tcl_dfs_config_dfsfldb hostname celladmin celladmin_pw
tcl_dfs_config_dfsfldb harpoon cell_admin -dce-
**************************************************************
**************************************************************
# CONFIGURE FTSERVER
# tcl_dfs_config_dfsfs hostname celladmin celladmin_pw
fileset_name \
# agg_name agg_dev_name agg_id agg_fs_type init_lfs \
# epi_force blksize fragsize
tcl_dfs_config_dfsfs harpoon cell_admin -dce- root.dfs epi1 /
dev/vg00/lvol8 \
1 episode y y 8192 1024
**************************************************************
**************************************************************
# CONFIGURE A DFS CLIENT
# tcl_dfs_config_dfsclient cache_type cache_size cache_dir
# test disk cache
tcl_dfs_config_dfsclient disk 10000 /var/opt/dce/adm/dfs/cache
# test mem cache
tcl_dfs_config_dfsclient mem 1000 /var/opt/dce/adm/dfs/cache
**************************************************************

Table of Contents

Related product manuals