Use the following procedure to configure management interfaces.
hostname:> configuration net hostname:configuration net> datalinks
hostname:configuration net datalinks> show Datalinks: DATALINK CLASS LINKS STATE ID LABEL igb0 device igb0 up - Untitled Datalink
hostname:configuration net datalinks> vnic hostname:configuration net datalinks vnic (uncommitted)> set links=igb0 links = igb0 (uncommitted) hostname:configuration net datalinks vnic (uncommitted)> set label=management-datalink-1 label = management-datalink-1 (uncommitted) hostname:configuration net datalinks vnic (uncommitted)> commit hostname:configuration net datalinks vnic> cd ..
To assign a VLAN ID:
hostname:configuration net datalinks vnic> set id=100 id = 100 (uncommitted) hostname:configuration net datalinks vnic (uncommitted)> commit hostname:configuration net datalinks vnic> cd ..
hostname:configuration net datalinks> vnic hostname:configuration net datalinks vnic (uncommitted)> set links=igb0 links = igb0 (uncommitted) hostname:configuration net datalinks vnic (uncommitted)> set label=management-datalink-2 label = management-datalink-2 (uncommitted) hostname:configuration net datalinks vnic (uncommitted)> commit hostname:configuration net datalinks vnic> cd ..
To assign a VLAN ID:
hostname:configuration net datalinks vnic (uncommitted)> set id=100 id = 100 (uncommitted) hostname:configuration net datalinks vnic> commit hostname:configuration net datalinks vnic> cd ..
hostname:configuration net> interfaces hostname:configuration net interfaces> ip hostname:configuration net interfaces ip (uncommitted)> set v4addrs=192.168.1.101/24 v4addrs = 192.168.1.101/24 (uncommitted) hostname:configuration net interfaces ip (uncommitted)> set label=management-controller-1 label = management-controller-1 (uncommitted) hostname:configuration net interfaces ip (uncommitted)> set links=vnic1 links = vnic1 (uncommitted) hostname:configuration net interfaces ip (uncommitted)> commit
hostname:configuration net interfaces> ip hostname:configuration net interfaces ip (uncommitted)> set v4addrs=192.168.1.102/24 v4addrs = 192.168.1.102/24 (uncommitted) hostname:configuration net interfaces ip (uncommitted)> set label=management-controller-2 label = management-controller-2 (uncommitted) hostname:configuration net interfaces ip (uncommitted)> set links=vnic2 links = vnic2 (uncommitted) hostname:configuration net datalinks vnic (uncommitted)> commit hostname:configuration net datalinks> done
First controller:
hostname:configuration net> routing hostname:configuration net routing> create hostname:configuration net route (uncommitted)> set destination=0.0.0.0 destination = 0.0.0.0 (uncommitted) hostname:configuration net route (uncommitted)> set mask=0 mask = 0 (uncommitted) hostname:configuration net route (uncommitted)> set interface=vnic1 interface = vnic1 (uncommitted) hostname:configuration net route (uncommitted)> set gateway=192.168.1.1 gateway = 192.168.1.1 (uncommitted) hostname:configuration net route (uncommitted)> set family=IPv4 family = IPv4 hostname:configuration net route (uncommitted)> commit hostname:configuration net route> done
Second controller:
hostname:configuration net> routing hostname:configuration net routing> create hostname:configuration net route (uncommitted)> set destination=0.0.0.0 destination = 0.0.0.0 (uncommitted) hostname:configuration net route (uncommitted)> set mask=0 mask = 0 (uncommitted) hostname:configuration net route (uncommitted)> set interface=vnic2 interface = vnic2 (uncommitted) hostname:configuration net route (uncommitted)> set gateway=192.168.1.1 gateway = 192.168.1.1 (uncommitted) hostname:configuration net route (uncommitted)> set family=IPv4 family = IPv4 hostname:configuration net route (uncommitted)> commit hostname:configuration net route> done
hostname:configuration net> interfaces hostname:configuration net interfaces> show Interfaces: INTERFACE STATE CLASS LINKS ADDRS LABEL igb0 up ip igb0 192.168.1.101/24 Untitled Interface vnic1 duplicate ip vnic1 192.168.1.101/24 management-controller-1 vnic2 duplicate ip vnic2 192.168.1.102/24 management-controller-2 hostname:configuration net interfaces> destroy igb0 This will destroy "igb0" and any networking objects exclusively built over it. Are you sure? (Y/N) y hostname:configuration net interfaces> cd .. hostname:configuration net> done
For further configuration, see Configuring the Appliance in Oracle ZFS Storage Appliance Administration Guide, Release OS8.7.x.
To upgrade the software on a standalone controller, see Upgrading the Software in Oracle ZFS Storage Appliance Customer Service Manual.
To lock the management interfaces, see Locking Cluster Management Interfaces (CLI).