smartos@ovh failover nic
Nov. 23rd, 2013 15:25Via
ovh docs,
smartos wiki
and search results.
1. Create "Virtual Mac" in web-manager (type doesnt matter) and assign obtained failover ip to it
2. Login and execute in global zone:
a. create vnic
b. assign failover-ip
c. Add routes (in assume that default route already exists)
4.[Optional] Persist configuration with some custom smf sciprts
ovh docs,
smartos wiki
and search results.
1. Create "Virtual Mac" in web-manager (type doesnt matter) and assign obtained failover ip to it
2. Login and execute in global zone:
a. create vnic
dladm create-vnic -m <virtual mac-addr> -l <real nic name> <new vnic name>
b. assign failover-ip
ifconfig <new vnic name> plumb ifconfig <new vnic name> inet <failover-ip> netmask 255.255.255.255 broadcast <failover-ip> up
c. Add routes (in assume that default route already exists)
route add <server-ip three octets>.0/24 <failover-ip> -interface -ifp <new vnic name> routeadm -e ipv4-forwarding routeadm -e ipv4-routing routeadm -u
4.[Optional] Persist configuration with some custom smf sciprts