rac維護工具集系列(二)--網路層

zhanglei_itput發表於2009-06-10

rac維護工具集系列(二)--網路層

[oracle@rac1 ~]$ oifcfg -h
PRIF-9: incorrect usage 
Name:
        oifcfg - Oracle Interface Configuration Tool. 
Usage:  oifcfg iflist [-p [-n]]
        oifcfg setif {-node | -global} {/:}...
        oifcfg getif [-node | -global] [ -if [/] [-type ] ]
        oifcfg delif [-node | -global] [[/]]
        oifcfg [-help]
        - name of the host, as known to a communications network
          - name by which the interface is configured in the system
           - subnet address of the interface
          - type of the interface { cluster_interconnect | public | storage }


iflist顯示網路列表
[oracle@rac1 bin]$ oifcfg iflist
eth0  192.168.230.0
eth1  10.10.10.0

getif顯示每個網路卡的屬性
[oracle@rac1 bin]$ oifcfg getif
eth0  192.168.230.0  global  public
eth1  10.10.10.0  global  cluster_interconnect

delif刪除介面配置
[oracle@rac1 bin]$ oifcfg delif

setif重新新增介面配置
[oracle@rac1 bin]$ oifcfg setif -global eth0/192.168.230.0:public
[oracle@rac1 bin]$ oifcfg setif -global eth1/10.10.10.0:cluster_interconnect

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9252210/viewspace-605807/,如需轉載,請註明出處,否則將追究法律責任。

相關文章