![]() | |
Sun™ Identity Manager 8.0 インストール |
付録 D
setRepo リファレンス
使用法setRepo [location_flags] [options]
location_flags
オプション
構文
注
パラメータにシェルエスケープや不正文字が含まれる場合、エラーを避けるには、二重引用符でそれらの文字を囲みます。たとえば、「;」、「&」、「&&」、「|」、「||」などの文字は、これらのエラーの原因になります。
次に、JDBC ドライバ接続によるリポジトリ設定の場合に指定する引数の例を示します。
{-toracle { -u$url | -h$host [-p$port] [-d$dbname] } [-U$userid ¥
-P$pwd] [-D$propsPath]| -tmysql [ -u$url | [-h$host] [-p$port] [-d$dbname] ] [-U$userid ¥
-P$pwd] [-D$propsPath]| -tsqls { -u$url | -h$host [-p$port] [-d$dbname] } [-U$userid ¥
-P$pwd] [-D$propsPath]| -tdb2 { -u$url | -h$host [-p$port] [-d$dbname] } [-U$userid ¥
-P$pwd] [-D$propsPath]}
次に、データソース接続によるリポジトリ設定の場合に指定する引数の例を示します。
| -toracle -i$initCtxFac -f$path [-u$providerUrl] [-U$userid ¥
-P$pwd] [-D$propsPath]| -tmysql -i$initCtxFac -f$path [-u$providerUrl] [-U$userid -P$pwd] ¥
[-D$propsPath]| -tsqlserver -i$initCtxFac -f$path [-u$providerUrl] [-U$userid ¥
-P$pwd] [-D$propsPath]| -tdb2 -i$initCtxFac -f$path [-u$providerUrl] [-U$userid -P$pwd] ¥
[-D$propsPath]
}
例setRepo
setRepo -c
setRepo -tLocalFiles -f$WSHOME
setRepo -tOracle -hhost.your.com -p1521 -ddbname
setRepo -tOracle -ujava:oracle:thin:@host.your.com:1521:dbname
setRepo -tOracle -icom.sun.jndi.fscontext.RefFSContextFactory ¥
-fjdbc/SampleDBsetRepo -tMysql
setRepo -tMysql -ujdbc:mysql://localhost/waveset
setRepo -tSQLServer - ujdbc:microsoft:sqlserver://host.your.com:1433;Database¥
Name=dbname;SelectMethod=CursorsetRepo -tDB2 -ujdbc:db2://host.your.com:6789/dbname
setRepo -tDB2 -ujdbc:db2:dbname -jCOM.ibm.db2.jdbc.app.DB2Driver