Thursday 14 July 2016

SunCluster. How to add logicalhostname to resource group



GOAL


Need to add additional ip address to existing resource group

SOLUTION


Create link aggregation

# dladm create-aggr -m trunk -P L2 -L passive -l net6 -l net8 aggr3
# dladm show-aggr  -L aggr3
LINK                PORT         AGGREGATABLE SYNC COLL DIST DEFAULTED EXPIRED
aggr3               net6         yes          yes  yes  yes  no        no
--                  net8         yes          yes  yes  yes  no        no
# dladm create-vlan -v 616 -l aggr3 vlan616
# ipadm create-ip vlan616
# ipadm create-ipmp -i vlan616 sc_ipmp3

now add netmask to /etc/netmasks

#
# Copyright 2000 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I%     %E% SMI"

#
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
#
#       network-number  netmask
#
# The term network-number refers to a number obtained from the Internet Network
# Information Center.
#
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
#
#               128.32.0.0 255.255.255.0
#
172.30.112.0    255.255.255.0
172.30.116.0    255.255.254.0


check network settings by adding temprorary ip address to new interface, after tests
create new resource in your resource group

# clreslogicalhostname create -g nfs-zpool1-rg -h zclu01-616-1 -N sc_ipmp3@nw-billing-db01-n2,sc_ipmp3@nw-billing-db01-n1 zclu01-616-1-rs
















No comments:

Post a Comment