Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

zone cluster

1031554Jun 29 2017 — edited Jul 5 2017

hi,

i like to create a logical host name in a zone cluster zc1.

root@nv:~# clzc status

zc1    solaris   nn          zc1-nn           Online   Running

                 nv          zc1-nv           Online   Running

more /etc/hosts on nv and nn,where nv and nn are cluster nodes.

::1 solaris localhost

127.0.0.1 solaris localhost loghost

192.168.114.136 nn

192.168.114.134 nv

root@nv:~# zlogin zc1 cat /etc/hosts

::1 localhost

127.0.0.1 localhost loghost

192.168.114.19 lg

root@nn:~# zlogin zc1 cat /etc/hosts

::1 localhost

127.0.0.1 localhost loghost

192.168.114.19 lg

clrg create -Z zc1 rg

root@nv:~# clreslogicalhostname create -Z zc1 -g rg -h lg -N sc_ipmp0@zc1-nn,sc_ipmp0@zc1-nv rs

clreslogicalhostname:  lg Cannot be mapped to an IP address.

root@nv:~# zlogin zc1 ipadm show-addr

ADDROBJ           TYPE     STATE        ADDR

lo0/?             inherited ok          127.0.0.1/8

sc_ipmp0/?        inherited ok          192.168.114.9/24

clprivnet0/?      inherited ok          172.16.3.131/26

lo0/?             inherited ok          ::1/128

root@nv:~# zlogin zc1 cat /etc/netmasks

192.168.114.0 255.255.255.0

root@nn:~# zlogin zc1 ipadm show-addr

ADDROBJ           TYPE     STATE        ADDR

lo0/?             inherited ok          127.0.0.1/8

sc_ipmp0/?        inherited ok          192.168.114.8/24

clprivnet0/?      inherited ok          172.16.3.129/26

lo0/?             inherited ok          ::1/128

root@nn:~# zlogin zc1 cat /etc/netmasks

192.168.114.0 255.255.255.0

tnx

This post has been answered by Juergens-Oracle on Jun 29 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 2 2017
Added on Jun 29 2017
7 comments
789 views