type2需要有db2客户端用catalog命令编目数据库,demo:db2 catalog tcpip node node_ntbgm0 remote 10.25.11.11 server 50001db2 catalog database ntbgm0 as ftdb11 at node node_ntbgm0这个编目完数据库别名是ftdb11,然后你链接里面的database就是这个别名的名字要是不要求快之类的,建议用type4方式链接,比较简单