* Archive * Admin

上記の広告は1ヶ月以上更新のないブログに表示されています。
新しい記事を書く事で広告が消せます。
■ HA構成でネットワークの切断時にtakeover(コントローラの切替え)を
発生させる場合の設定

NAS> setup
Please enter the new hostname []: NAS
Do you want to enable IPv6? [n]:
Do you want to configure interface groups? []: y
  ↑ チーミングするか?
Number of interface groups to configure? []: 2
  ↑ チーミンググループを何個作成するか?(ここでは2つのグループを作成)

Name of interface group #1 []: vif1
  ↑ 1つ目のチーミンググループ名
Is gyoumu a single [s], multi [m] or a lacp [l] interface group? [m]: m
  ↑ アクティブ/アクティブに設定
Is gyoumu to use IP-based [i], MAC-based [m], Round-robin based [r] or Port based [p] load balancing? [i]: i
Number of links for vif1? []: 2
  ↑ チーミングするNICの数(ここでは2個)
Name of link #1 for vif1 []: e0a
  ↑ 設定するインターフェース名
Name of link #2 for vif1 []: e0b
  ↑ 設定するインターフェース名

Name of interface group #2 []: vif2
  ↑ 2つ目のチーミンググループ名
Is kanri a single [s], multi [m] or a lacp [l] interface group? [m]: m
Is kanri to use IP-based [i], MAC-based [m], Round-robin based [r] or Port based [p] load balancing? [i]: i
Number of links for vif2? []: 2
Name of link #1 for vif2 []: e0c
Name of link #2 for vif2 []: e0d

Please enter the IP address for Network Interface vif1 []: 172.16.1.100
Please enter the netmask for Network Interface vif1 [255.255.255.0]:
Should interface group vif1 take over a partner interface group during failover? [n]: y
   ↑ コントローラの切替えが発生した場合に相方に引き継ぐか?
Please enter the partner interface name to be taken over by vif1 []: vif1
   ↑ 相方の引き継ぎ先インターフェース名
Please enter media type for vif1 {100tx-fd, tp-fd, 100tx, tp, auto (10/100/1000)} [auto]:

Please enter the IP address for Network Interface vif2 []: 172.16.2.200
Please enter the netmask for Network Interface vif2 [255.255.255.0]:
Should interface group vif2 take over a partner interface group during failover? [y]: y
Please enter the partner interface name to be taken over by vif2 []: vif2

Please enter the IP address for Network Interface e0e []: 172.16.3.3
Please enter the netmask for Network Interface e0e [255.255.0.0]: 255.255.255.0
Should interface e0a take over a partner IP address during failover? [y]: y
Please enter the IPv4 address or interface name to be taken over by e0e []: 172.16.3.13
Please enter flow control for e0e {none, receive, send, full} [full]:
Do you want e0e to support jumbo frames? [n]:
Please enter the IP address for Network Interface e0f []:
Should interface e0f take over a partner IP address during failover? [n]:

e0M is a Data ONTAP dedicated management port.

NOTE: Dedicated management ports cannot be used for data
protocols (NFS, CIFS, iSCSI, NDMP or Snap*),
and if they are configured they should be on an isolated management LAN.
The default route will use dedicated mgmt ports only as the last resort,
since data protocol traffic will be blocked by default.
Please enter the IP address for Network Interface e0M []: 172.16.5.55
Please enter the netmask for Network Interface e0M [255.255.255.0]:
Should interface e0M take over a partner IP address during failover? [n]: y
Please enter the partner interface name to be taken over by e0M []: 172.16.5.65
Please enter flow control for e0M {none, receive, send, full} [full]:

Please enter the name or IP address of the IPv4 default gateway []: 172.16.1.254
The administration host is given root access to the filer's
/etc files for system administration. To allow /etc root access
to all NFS clients, enter 'all' below.
Please enter the name or IP address of the administration host []:
  ↑ 本装置の管理ホストのホスト名またはIP アドレスを指定する。
    ここで、[Enter] だけを押すと、NFS を使う場合、/vol/vol0 がanon=0 でexportされる
Please enter timezone []: Japan
Where is the filer located? []: Labo
What language will be used for multi-protocol files (Type ? for list)?: ja
  ↑ vol0の言語に設定される
Enter the root directory for HTTP files [home/http]:
Do you want to run DNS resolver? [y]:
Please enter DNS domain name []: domain.local
You may enter up to 3 nameservers
Please enter the IP address for first nameserver []: 172.16.10.10
Do you want another nameserver? [y]:
Please enter the IP address for alternate nameserver []: 172.16.20.10
Do you want another nameserver? [n]:
Do you want to run NIS client? [n]:
The Service Processor (SP) provides remote management capabilities
including console redirection, logging and power control.
It also extends autosupport by sending
additional system event alerts. Your autosupport settings are used
for sending these alerts via email over the SP LAN interface.
Would you like to configure the SP LAN interface [y]: n

Now type 'reboot' for changes to take effect.
NAS> cf status
Controller Failover disabled.

NAS> reboot


■ チーミングした「vif1」が2本とも切断状態になった場合に、
takeover(コントローラの切替え)を発生させる場合の設定

[NFO設定]
以下のコマンドで、設定を確認
> options cf.takeover.on_network_interface_failure.policy


NFOを設定したインターフェースの全てが切断状態になった場合にtakeoverさせる
以下の設定値を「all_nics」にする

> options cf.takeover.on_network_interface_failure.policy all_nics

NFOを設定したインターフェースのどれかが切断した場合にtakeoverさせる
以下の設定値を「any_nic」にする

> options cf.takeover.on_network_interface_failure.policy any_nic




インターフェースにNFOを設定

/etc/rc ファイル
記述例:
ifconfig vif1 `hostname`-vif1 mediatype auto partner vif1
ifconfig vif1 nfo  ← 切断でtakeoverさせたインターフェースに設定を追加

/etc/rc の設定は次回再起動時に反映されます。
即時反映するには以下例のようにコマンドを実行します。
ifconfig vif1 partner vif1
ifconfig vif1 nfo

スポンサーサイト
NAS> secureadmin status
ssh2 - active
ssh1 - inactive
ssl - active

NAS> options
省略
ssh.access *
ssh.enable on
ssh.idle.timeout 0
ssh.passwd_auth.enable on
ssh.port 22
ssh.pubkey_auth.enable on
ssh1.enable off
ssh2.enable on
ssl.enable on
ssl.v2.enable on (same value required in local+partner)
ssl.v3.enable on (same value required in local+partner)
省略

設定確認
NAS> options ssh.access

設定追加(アクセスを許可するホストのIPアドレスを追加)
NAS> options ssh.access host=172.16.1.1,172.168.1.10,172.168.1.20



◆ サービス一覧

全サービスの一覧を取得
>sc query state= all

起動サービス一覧
>sc query | find "DISP" | sort


◆ 役割と機能一覧
>Get-WindowsFeature

◆ hotfixや修正パッチの適用リスト
>Get-WMIObject Windows32_QuickFixEngineering




# subscription-manager register

# subscription-manager list --available

# subscription-manager subscribe --pool=

# subscription-manager list

# yum update
マネジメントブレード接続資料

こちらから

上記広告は1ヶ月以上更新のないブログに表示されています。新しい記事を書くことで広告を消せます。