C114门户论坛百科APPEN| 举报 切换到宽版

亚星游戏官网

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索
查看: 5015|回复: 0

[爱立信技术] 定义IST文件 [复制链接]

军衔等级:

亚星游戏官网-yaxin222  新兵

注册:2007-6-3
发表于 2017-4-11 11:54:58 |显示全部楼层
定义IST文件:
cpfmkfile -cp bc0 -f inf -d ISTFILES -m FILE -l 1 -s 1 -r ISTRAFILE01 EXCHVOLUME
如果要删除cpfrm -cp bc0 ISTRAFILE00  
要先把 cpfls -cp bc0 -p ISTRAFILE00里面的 k:\FMS\DATA\BC0\CPF\EXCHVOLUME\ 文件夹和文件删除
K:\FMS\data\BC1\CPF\EXCHVOLUME>rd ISTRAFILE00 /s /q
K:\FMS\data\BC1\CPF\EXCHVOLUME>del ISTRAFILE00.attribute
这样就不用cpfrm -cp bc0 ISTRAFILE00  
cpfls 也看不到 ISTRAFILE00 了
但是cpfmkfile还是定义不进去的,要重启一下AP 进程再定义:
3)Bring down the rescource for FMS

cluster res CPS_BUSRV /off /wait
cluster res CPS_BUAP_parmgr /off /wait
cluster res CPS_BUAP_filemgr /off /wait
cluster res CPS_BUAP_loader /off /wait
cluster res CPS_BUFTPD /off /wait
cluster res FMS_CPF_server /off /wait


3)Start the resources
cluster res FMS_CPF_server /on /wait
cluster res CPS_BUAP_parmgr /on /wait
cluster res CPS_BUAP_filemgr /on /wait
cluster res CPS_BUAP_loader /on /wait
cluster res CPS_BUFTPD /on /wait
cluster res CPS_BUSRV /on /wait
cluster res | findstr "Offline"
!Logfile:
K:\ftpvol\ISTFILES>cpfls -cp bc1 -ls ISTRAFILE00
CPF FILE TABLE
FILE                                TYPE  CMP  VOLUME
ISTRAFILE00                         inf   yes  EXCHVOLUME
TRANSFER QUEUE                      MODE
ISTFILES                            NONE   
RLENGTH  MAXSIZE  MAXTIME  REL      ACTIVE        SIZE  USERS
      1        1  no       yes           1           0   0 [ 0R  0W]   
SUBFILES                                  SIZE  USERS
ISTRAFILE00-0000000001                       0   0 [ 0R  0W]   

K:\ftpvol\ISTFILES>cpfrm -cp bc1 ISTRAFILE00
Composite file contains subfiles: ISTRAFILE00
K:\ftpvol\ISTFILES>cpfls -cp bc1 -p ISTRAFILE00
CPF FILE TABLE
FILE                                PATH
ISTRAFILE00                         K:\FMS\DATA\BC1\CPF\EXCHVOLUME\ISTRAFILE00

K:\ftpvol\ISTFILES>k:
K:\ftpvol\ISTFILES>cd  K:\FMS\DATA\BC1\CPF\EXCHVOLUME\ISTRAFILE00
K:\FMS\data\BC1\CPF\EXCHVOLUME\ISTRAFILE00>cd ..
K:\FMS\data\BC1\CPF\EXCHVOLUME>dir
Volume in drive K is DataDisk
Volume Serial Number is 00DC-0559
Directory of K:\FMS\data\BC1\CPF\EXCHVOLUME
04/13/2016  10:28 AM    <DIR>          .
04/13/2016  10:28 AM    <DIR>          ..
04/13/2016  10:28 AM    <DIR>          ISTRAFILE00
04/13/2016  10:28 AM               100 ISTRAFILE00.attribute
11/13/2014  12:38 AM    <DIR>          LMAFILE
11/13/2014  12:38 AM               100 LMAFILE.attribute
               2 File(s)            200 bytes
               4 Dir(s)  81,555,681,280 bytes free
K:\FMS\data\BC1\CPF\EXCHVOLUME>rd ISTRAFILE00 /s /q
K:\FMS\data\BC1\CPF\EXCHVOLUME>del ISTRAFILE00.attribute
K:\FMS\data\BC1\CPF\EXCHVOLUME>dir
Volume in drive K is DataDisk
Volume Serial Number is 00DC-0559
Directory of K:\FMS\data\BC1\CPF\EXCHVOLUME
04/13/2016  10:50 AM    <DIR>          .
04/13/2016  10:50 AM    <DIR>          ..
11/13/2014  12:38 AM    <DIR>          LMAFILE
11/13/2014  12:38 AM               100 LMAFILE.attribute
               1 File(s)            100 bytes
               3 Dir(s)  81,555,685,376 bytes free
K:\FMS\data\BC1\CPF\EXCHVOLUME>cd  K:\FMS\DATA\BC2\CPF\EXCHVOLUME\ISTRAFILE00
K:\FMS\data\BC2\CPF\EXCHVOLUME\ISTRAFILE00>cd ..
K:\FMS\data\BC2\CPF\EXCHVOLUME>dir
Volume in drive K is DataDisk
Volume Serial Number is 00DC-0559
Directory of K:\FMS\data\BC2\CPF\EXCHVOLUME
04/13/2016  10:28 AM    <DIR>          .
04/13/2016  10:28 AM    <DIR>          ..
04/13/2016  10:28 AM    <DIR>          ISTRAFILE00
04/13/2016  10:28 AM               100 ISTRAFILE00.attribute
09/22/2015  01:15 AM    <DIR>          LMAFILE
09/22/2015  01:15 AM               100 LMAFILE.attribute
               2 File(s)            200 bytes
               4 Dir(s)  81,555,685,376 bytes free
K:\FMS\data\BC2\CPF\EXCHVOLUME>rd ISTRAFILE00 /s /q
K:\FMS\data\BC2\CPF\EXCHVOLUME>del ISTRAFILE00.attribute
K:\FMS\data\BC2\CPF\EXCHVOLUME>
K:\FMS\data\BC2\CPF\EXCHVOLUME>cluster res CPS_BUSRV /off /wait
Taking resource 'CPS_BUSRV' offline...
Resource             Group                Node            Status
-------------------- -------------------- --------------- ------
CPS_BUSRV            Disk Group           BAZGS4AP1A      Offline

K:\FMS\data\BC2\CPF\EXCHVOLUME>cluster res CPS_BUAP_parmgr /off /wait
Taking resource 'CPS_BUAP_parmgr' offline...
Resource             Group                Node            Status
-------------------- -------------------- --------------- ------
CPS_BUAP_parmgr      Disk Group           BAZGS4AP1A      Offline
K:\FMS\data\BC2\CPF\EXCHVOLUME>cluster res CPS_BUAP_filemgr /off /wait
Taking resource 'CPS_BUAP_filemgr' offline...
Resource             Group                Node            Status
-------------------- -------------------- --------------- ------
CPS_BUAP_filemgr     Disk Group           BAZGS4AP1A      Offline

K:\FMS\data\BC2\CPF\EXCHVOLUME>cluster res CPS_BUAP_loader /off /wait
Taking resource 'CPS_BUAP_loader' offline...
Resource             Group                Node            Status
-------------------- -------------------- --------------- ------
CPS_BUAP_loader      Disk Group           BAZGS4AP1A      Offline

K:\FMS\data\BC2\CPF\EXCHVOLUME>cluster res CPS_BUFTPD /off /wait
Taking resource 'CPS_BUFTPD' offline...
Resource             Group                Node            Status
-------------------- -------------------- --------------- ------
CPS_BUFTPD           Disk Group           BAZGS4AP1A      Offline
K:\FMS\data\BC2\CPF\EXCHVOLUME>cluster res FMS_CPF_server /off /wait
Taking resource 'FMS_CPF_server' offline...
Resource             Group                Node            Status
-------------------- -------------------- --------------- ------
FMS_CPF_server       Disk Group           BAZGS4AP1A      Offline
K:\FMS\data\BC2\CPF\EXCHVOLUME>cluster res FMS_CPF_server /on /wait
Bringing resource 'FMS_CPF_server' online...
Resource             Group                Node            Status
-------------------- -------------------- --------------- ------
FMS_CPF_server       Disk Group           BAZGS4AP1A      Online
K:\FMS\data\BC2\CPF\EXCHVOLUME>cluster res CPS_BUAP_parmgr /on /wait
Bringing resource 'CPS_BUAP_parmgr' online...
Resource             Group                Node            Status
-------------------- -------------------- --------------- ------
CPS_BUAP_parmgr      Disk Group           BAZGS4AP1A      Online
K:\FMS\data\BC2\CPF\EXCHVOLUME>cluster res CPS_BUAP_filemgr /on /wait
Bringing resource 'CPS_BUAP_filemgr' online...
Resource             Group                Node            Status
-------------------- -------------------- --------------- ------
CPS_BUAP_filemgr     Disk Group           BAZGS4AP1A      Online

K:\FMS\data\BC2\CPF\EXCHVOLUME>cluster res CPS_BUAP_loader /on /wait
Bringing resource 'CPS_BUAP_loader' online...
Resource             Group                Node            Status
-------------------- -------------------- --------------- ------
CPS_BUAP_loader      Disk Group           BAZGS4AP1A      Online
K:\FMS\data\BC2\CPF\EXCHVOLUME>cluster res CPS_BUFTPD /on /wait
Bringing resource 'CPS_BUFTPD' online...
Resource             Group                Node            Status
-------------------- -------------------- --------------- ------
CPS_BUFTPD           Disk Group           BAZGS4AP1A      Online

K:\FMS\data\BC2\CPF\EXCHVOLUME>cluster res CPS_BUSRV /on /wait
Bringing resource 'CPS_BUSRV' online...
Resource             Group                Node            Status
-------------------- -------------------- --------------- ------
CPS_BUSRV            Disk Group           BAZGS4AP1A      Online

K:\FMS\data\BC2\CPF\EXCHVOLUME>cluster res | findstr "Offline"
K:\FMS\data\BC2\CPF\EXCHVOLUME>
K:\FMS\data\BC2\CPF\EXCHVOLUME>cpfmkfile -cp bc1 -f inf -d ISTFILES -m FILE -l 1 -s 1 -r ISTRAFILE00 EXCHVOLUME
正确的定义:
C:\>CPFls -cp bc1 -ls ISTRAFILE00
CPF FILE TABLE
FILE                                TYPE  CMP  VOLUME
ISTRAFILE00                         inf   yes  EXCHVOLUME
TRANSFER QUEUE                      MODE
ISTFILES                            FILE   
RLENGTH  MAXSIZE  MAXTIME  REL      ACTIVE        SIZE  USERS
      1        1  no       yes           3           0   0 [ 0R  0W]   
SUBFILES                                  SIZE  USERS
ISTRAFILE00-0000000003                       0   0 [ 0R  0W]   
如果AFP和CDH没有定义还要往下定义:

K:\ftpvol>afpls -l ISTFILES
AFP TABLE
TRANSFER QUEUE                    USER GROUP
ISTFILES                          
SOURCE DIRECTORY
K:\FMS\DATA\CPFTQ\ISTFILES
       REMOVE DELAY  REMOVE TIMER  DEFAULT STATUS  DESTINATION SET
                 10             0  READY           ISTDESTSET                       

K:\ftpvol>cdhls -l ISTDEST
CDH DESTINATION TABLE
DESTINATION                       TRANSFER TYPE  PARAMETERS  
ISTDEST                           FTPV2          -a 127.0.0.1
                                                 -c i
                                                 -r ftpvol/
                                                 -u administrator

举报本楼

您需要登录后才可以回帖 登录 | 注册 |

手机版|C114 ( 沪ICP备12002291号-1 )|联系大家 |网站地图  

GMT+8, 2024-10-19 15:33 , Processed in 0.643562 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部
XML 地图 | Sitemap 地图