admin 发表于 2020-2-21 10:15:41

203. NX 四层环境下,执行命令的方法




Start an NX command shell and set the following variables:

    set FMS_HOME=<path to tccs>
    set UGII_UGMGR_COMMUNICATION=HTTP
    set UGII_UGMGR_HTTP_URL=http://<servername>:<port>/path

If you are unsure of the URL run the Configuration Manager in TEM to perform
maintenance on your existing 4-tier configuration.Choose Modify 4-tier
server settings to list the URI of the server.        Enter this path for the
variable.

Optional: At this point you can verify that NX starts and is communicating
with TC by entering the following command: ugraf -pim=yes -u=<username>
-p=<password> -g=<group>.Close the NX session.

To execute the ugtopv command you can either set the PVTRANSUI_DIR as per the
ugii_env_ug.dat, or change your directory to the pvtrans directory prior to
running the command.

    set PVTRANSUI_DIR=%UGII_BASE_DIR%\pvtrans

Finally, enter the ugtopv command: ugtopv @DB/<item>/<rev> -pim=yes -u -p -g
页: [1]
查看完整版本: 203. NX 四层环境下,执行命令的方法