Open High Availability Cluster FAQ

HA Clusters Quick Links

Download
Download the latest Open High Availability Cluster source
Participate
Join the OpenSolaris HA Clusters discussions
Contribute
 Contribute to Open High Availability Cluster

Last Updated: June, 2008

This page is a list of Questions and Answers about Open High Availability Cluster.

For the general OpenSolaris FAQ, click here.

If you would like to ask a question or provide feedback on this FAQ, please send it to ha-clusters-discuss@opensolaris.org.

Topics in this FAQ

Questions:

Section 1: Basics

  1. Which parts of Solaris Cluster have not been open-sourced?
  2. Why aren't all the Sun Cluster agents open-sourced?
  3. Can I run the open-source agents on Sun Cluster 3.2 on Solaris 10?
  4. If I run the agents on Sun Cluster 3.2 / Solaris 10, are they supported?

Section 2: Building

  1. The SUNWonbld package creates a user "gk" - what is it used for?
  2. nbuild doesn't output anything indicating a result how do I know if my build succeeded?
  3. How do I customize the email address to which the build result email is sent?
  4. How can I tell nbuild that my Sun Studio compiler is somewhere other than /opt/SUNWspro/ ?
  5. Why do I see an error like the following when building the ON consolidation?
/local_code/onnv-gate/usr/src/tools/proto/opt/onbld/bin/i386/cw -_cc -O
 -K pic -xspace -Xa  -xildoff -errtags=yes -errwarn=%all
-erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%no
ne    -W0,-xglobalstatic -v -xstrconst -D_REENTRANT -g -xc99=%none
-W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs
-I/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap  -I/usr/i
nclude/mps -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO
-I/local_code/onnv-gate/proto/root_i386/usr/include    -DPIC
-D_REENTRANT -c -DSVR4 -DSYSV -D__svr4 -D__svr4__ -DSOLARIS
-D_SOLARIS_SDK  -DUSE_WA
ITPID -DNEEDPROTOS  -DNET_SSL  -DNO_LIBLCACHE -DLDAP_REFERRALS
-DNS_DOMESTIC -DLDAP_SSLIO_HOOKS -DSTR_TRANSLATION  -DLDAP_SASLIO_HOOKS
-I/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap  -I/usr/i
nclude/mps -o pics/bprint.o ../sources/ldap/ber/bprint.c
+ /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin
-fno-asm -nodefaultlibs -D__sun -O -fpic -Wall -Wno-unknown-pragmas
-Wno-missing-braces -Wno-sign-compare -Wno-parentheses -Wno-unin
itialized -Wno-implicit-function-declaration -Wno-unused -Wno-trigraphs
-Wno-char-subscripts -Wno-switch -Werror -std=gnu89 -D_REENTRANT
-gdwarf-2 -std=gnu89 -fno-dwarf2-indirect-strings -I/local_code/on
nv-gate/usr/src/lib/libldap5/include/ldap -I/usr/include/mps
-DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO
-I/local_code/onnv-gate/proto/root_i386/usr/include -DPIC -D_REENTRANT
-c -DSVR4 -DSYSV -D__svr4 -D
__svr4__ -DSOLARIS -D_SOLARIS_SDK -DUSE_WAITPID -DNEEDPROTOS -DNET_SSL
-DNO_LIBLCACHE -DLDAP_REFERRALS -DNS_DOMESTIC -DLDAP_SSLIO_HOOKS
-DSTR_TRANSLATION -DLDAP_SASLIO_HOOKS -I/local_code/onnv-gate/usr/s
rc/lib/libldap5/include/ldap -I/usr/include/mps -o
/tmp/nightly.tmpdir.101509/.cwCAAflWUbA.o ../sources/ldap/ber/bprint.c
In file included from ../sources/ldap/ber/lber-int.h:108,
                 from ../sources/ldap/ber/bprint.c:32:
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:84:
error: redefinition of `struct ldap_x_iovec'
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:87:
error: redefinition of typedef 'ldap_x_iovec'
/usr/include/mps/lber.h:176: error: previous declaration of
'ldap_x_iovec' was here
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:94:
error: redefinition of typedef 'LDAP_IOF_READ_CALLBACK'
/usr/include/mps/lber.h:183: error: previous declaration of
'LDAP_IOF_READ_CALLBACK' was here
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:96:
error: redefinition of typedef 'LDAP_IOF_WRITE_CALLBACK'
/usr/include/mps/lber.h:185: error: previous declaration of
'LDAP_IOF_WRITE_CALLBACK' was here
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:98:
error: redefinition of typedef 'LDAP_X_EXTIOF_READ_CALLBACK'
/usr/include/mps/lber.h:187: error: previous declaration of
'LDAP_X_EXTIOF_READ_CALLBACK' was here
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:100:
error: redefinition of typedef 'LDAP_X_EXTIOF_WRITE_CALLBACK'
/usr/include/mps/lber.h:189: error: previous declaration of
'LDAP_X_EXTIOF_WRITE_CALLBACK' was here
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:102:
error: redefinition of typedef 'LDAP_X_EXTIOF_WRITEV_CALLBACK'
/usr/include/mps/lber.h:191: error: previous declaration of
'LDAP_X_EXTIOF_WRITEV_CALLBACK' was here
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:108:
error: redefinition of `struct lber_x_ext_io_fns'
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:123:
error: redefinition of typedef 'LDAP_MALLOC_CALLBACK'
/usr/include/mps/lber.h:212: error: previous declaration of
'LDAP_MALLOC_CALLBACK' was here

Section 3: Building Agents

  1. What compiler can I use to build the agents?
  2. Why does my build fail looking for libyabe.so?
  3. Can I build the agents on Solaris 10 instead of Solaris Express?
  4. Can I build the agents specifically for Solaris 10?
  5. Why does my build fail on Solaris Express Community Edition Build 68 or newer looking for /usr/lib/libuuid.so.1?

Section 4: Building Core

  1. What compiler can I use to build the core?
  2. Can I build the core on Solaris 10 instead of Solaris Express?
  3. Can I compile part of the workspace with dmake instead of nbuild?
  4. Why do I see an error like the following?
 32610  ## Building pkgmap from package prototype file.
 32611  ERROR in /export/ohac/ohac+5.11+i386/usr/src/pkgdefs/SUNWscspmu/prototype_com:
 32612      no object for usr/cluster/lib/SunClusterManager/WEB-INF/lib/registrationservlet.jar
found in root directory
 32613  pkgmk: ERROR: unable to build pkgmap from prototype file
 32614  ## Packaging was not successful.
 32615  *** Error code 1
  1. Why do I see an error like the following?
  5992  cl_net:		 cl_comm cl_dcs cl_haci cl_load cl_orb cl_runtime
  5993  cl_orb:		 cl_bootstrap cl_load cl_runtime
  5994  cl_quorum:		 cl_haci cl_load cl_orb cl_runtime
  5995  cl_rsmtrans:		 cl_comm cl_haci cl_load cl_orb cl_runtime
  5996  cldlpihb:		 cl_dlpitrans cl_load cl_orb cl_runtime
  5997  clfpstr:		 cl_comm clprivnet
  5998  clif_rds:		 cl_comm cl_haci cl_runtime
  5999  clif_rsm:		 cl_bootstrap cl_comm cl_haci cl_load cl_runtime
  6000  clif_rsmrdt:		 cl_bootstrap cl_comm cl_haci cl_runtime
  6001  clq_netapp_nas:		 cl_haci cl_load cl_orb cl_quorum cl_runtime
  6002  clq_quorum_server:		 cl_haci cl_load cl_orb cl_quorum cl_runtime
  6003  clq_scsi2:		 cl_haci cl_load cl_orb cl_quorum cl_runtime
  6004  clq_scsi3:		 cl_haci cl_load cl_orb cl_quorum cl_runtime
  6005  cltcpint:		 cl_dlpitrans cl_load cl_orb cl_runtime
  6006  pxfs:		 cl_comm cl_dcs cl_haci cl_load cl_orb cl_runtime
  6007  ~------------------------------------------------
  6008  Error: fatal undefined symbols in kernel modules
  6009  Module name			Undefined symbol
  6010  ~------------------------------------------------
  6011  pxfs/obj32/pxfs: [4986]	cl_net/obj32/cl_net: [1860]	cl_haci/obj32/cl_haci: [10255]	:	memcpy
  6012  *** Error code 1

Section 5: Installing Sun Cluster

  1. Where can I find documentation on how to install Sun Cluster 3.2 on Solaris 10?
  2. Can I install Solaris 10 and Sun Cluster 3.2 on 32bit x86 systems?
  3. Can I install Solaris Express Community Edition and Solaris Cluster Express on 32bit x86 systems?
  4. Why does scinstall report that JDMK is not installed, when I installed it from jdmk51_02-allplatforms.zip?

Section 6: Sun Cluster Configurations

  1. Can I use iSCSI with Sun Cluster?

Answers:

Section 1: Basics

Q: Which parts of Solaris Cluster have not been open-sourced?
 A: On the product side, most of the Sun Cluster agents have been open-sourced. Here is a complete list. Geographic Edition and most of the core framework have also been open-sourced. Find the list of core components that have not been open sourced here
 On the test side, the CTI for TET framework and several test suites have been open-sourced.

Q: Why aren't all the Sun Cluster agents open-sourced?
 A: We are in the process of determining release rights for other agents. We plan to release source code for other agents as those rights are determined.

Q: Can I run the open-source agents on Sun Cluster 3.2 on Solaris 10?
 A: Yes, you can run the agents built with these instructions on Sun Cluster 3.2 on Solaris 10.

Q: If I run the agents on Sun Cluster 3.2 / Solaris 10, are they supported?
 A: No, there is no official support from Sun Microsystems. However, members of the HA Clusters community will try to help you.

Back to Top

Section 2: Building

Q: The SUNWonbld package creates a user "gk" - what is it used for?
 A: Don't worry about it; the Open HA Cluster build doesn't use it. In case you're curious, the password for the gk account is the root password of your machine at the time you installed the SUNWonbld package.

Q: nbuild doesn't output anything indicating a result-- how do I know if my build succeeded?
 A: Two ways:

  1. You should receive an email reporting success or failure (see the next question for customzing the email address).
  2. Look at the logs in
/builds/ohacds+5.11+PLATFORM/log/log.TIMEDATE.NUM/

Q: How do I customize the email address to which the build result email is sent?
 A: On the nbuild command-line, set LOGNAME to your email address. For example,


/opt/scbld/bin/nbuild -Da LOGNAME=<your-email-addr>

Q: How can I tell nbuild that my Sun Studio compiler is somewhere other than /opt/SUNWspro/ ?
 A: On the nbuild command-line, set SPRO_ROOT to your compiler path. For example,


/opt/scbld/bin/nbuild -Da SPRO_ROOT=<your-compiler-path>

Q: Why do I see an error like the following when building the ON consolidation?


/local_code/onnv-gate/usr/src/tools/proto/opt/onbld/bin/i386/cw -_cc -O
 -K pic -xspace -Xa  -xildoff -errtags=yes -errwarn=%all
-erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%no
ne    -W0,-xglobalstatic -v -xstrconst -D_REENTRANT -g -xc99=%none
-W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs
-I/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap  -I/usr/i
nclude/mps -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO
-I/local_code/onnv-gate/proto/root_i386/usr/include    -DPIC
-D_REENTRANT -c -DSVR4 -DSYSV -D__svr4 -D__svr4__ -DSOLARIS
-D_SOLARIS_SDK  -DUSE_WA
ITPID -DNEEDPROTOS  -DNET_SSL  -DNO_LIBLCACHE -DLDAP_REFERRALS
-DNS_DOMESTIC -DLDAP_SSLIO_HOOKS -DSTR_TRANSLATION  -DLDAP_SASLIO_HOOKS
-I/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap  -I/usr/i
nclude/mps -o pics/bprint.o ../sources/ldap/ber/bprint.c
+ /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin
-fno-asm -nodefaultlibs -D__sun -O -fpic -Wall -Wno-unknown-pragmas
-Wno-missing-braces -Wno-sign-compare -Wno-parentheses -Wno-unin
itialized -Wno-implicit-function-declaration -Wno-unused -Wno-trigraphs
-Wno-char-subscripts -Wno-switch -Werror -std=gnu89 -D_REENTRANT
-gdwarf-2 -std=gnu89 -fno-dwarf2-indirect-strings -I/local_code/on
nv-gate/usr/src/lib/libldap5/include/ldap -I/usr/include/mps
-DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO
-I/local_code/onnv-gate/proto/root_i386/usr/include -DPIC -D_REENTRANT
-c -DSVR4 -DSYSV -D__svr4 -D
__svr4__ -DSOLARIS -D_SOLARIS_SDK -DUSE_WAITPID -DNEEDPROTOS -DNET_SSL
-DNO_LIBLCACHE -DLDAP_REFERRALS -DNS_DOMESTIC -DLDAP_SSLIO_HOOKS
-DSTR_TRANSLATION -DLDAP_SASLIO_HOOKS -I/local_code/onnv-gate/usr/s
rc/lib/libldap5/include/ldap -I/usr/include/mps -o
/tmp/nightly.tmpdir.101509/.cwCAAflWUbA.o ../sources/ldap/ber/bprint.c
In file included from ../sources/ldap/ber/lber-int.h:108,
                 from ../sources/ldap/ber/bprint.c:32:
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:84:
error: redefinition of `struct ldap_x_iovec'
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:87:
error: redefinition of typedef 'ldap_x_iovec'
/usr/include/mps/lber.h:176: error: previous declaration of
'ldap_x_iovec' was here
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:94:
error: redefinition of typedef 'LDAP_IOF_READ_CALLBACK'
/usr/include/mps/lber.h:183: error: previous declaration of
'LDAP_IOF_READ_CALLBACK' was here
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:96:
error: redefinition of typedef 'LDAP_IOF_WRITE_CALLBACK'
/usr/include/mps/lber.h:185: error: previous declaration of
'LDAP_IOF_WRITE_CALLBACK' was here
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:98:
error: redefinition of typedef 'LDAP_X_EXTIOF_READ_CALLBACK'
/usr/include/mps/lber.h:187: error: previous declaration of
'LDAP_X_EXTIOF_READ_CALLBACK' was here
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:100:
error: redefinition of typedef 'LDAP_X_EXTIOF_WRITE_CALLBACK'
/usr/include/mps/lber.h:189: error: previous declaration of
'LDAP_X_EXTIOF_WRITE_CALLBACK' was here
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:102:
error: redefinition of typedef 'LDAP_X_EXTIOF_WRITEV_CALLBACK'
/usr/include/mps/lber.h:191: error: previous declaration of
'LDAP_X_EXTIOF_WRITEV_CALLBACK' was here
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:108:
error: redefinition of `struct lber_x_ext_io_fns'
/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:123:
error: redefinition of typedef 'LDAP_MALLOC_CALLBACK'
/usr/include/mps/lber.h:212: error: previous declaration of
'LDAP_MALLOC_CALLBACK' was here

 A: SCX delivers SUNWldapcsdk-dev as part of the shared components. This was inherited from the Java Enterprise System. The libldap6 headers are conflicting with the libldap5 headers delivered as part of the ON consolidation. You can safely pkgrm SUNWldapcsdk-dev, as SCX and the OHAC builds do not need it.

Back to Top

Section 3: Building Agents

Q: What compiler can I use to build the agents?
 A: You can use Sun Studio 11, Sun Studio 12, or gcc.

Q: Why does my build fail looking for libyabe.so?
 A: You might see an error message in your build log like this:


/opt/SUNWspro//bin/cc -xO3 -xcg89 -Wa,-cg92 -xspace -W0,-Lt -Xa
-DTEXT_DOMAIN=\"\"  -DMESSAGE_DIR=\"/usr/cluster/lib/locale\"
-DSOL_VERSION=200710
-I/builds/ohacds+5.11+sparc/proto/Sol_11-nd/root_sparc/usr/include
-I/builds/ohacds+5.11+sparc/proto/Sol_11-nd/root_sparc/usr/cluster/include
-I/usr/include
-I/opt/scbld/ref_proto/ohac/ohac_latest/root_sparc/usr/cluster/include
-I/opt/scbld/ref_proto/ohac/ohac_latest/root_sparc/usr/cluster/include/rgm -Y
I,/usr/include -I/builds/ohacds+5.11+sparc/usr/src/cmd/ha-services/common -c
/builds/ohacds+5.11+sparc/usr/src/cmd/ha-services/common/ds_utils.c
ld.so.1: acomp: fatal: libyabe.so: open failed: No such file or directory
cc: Fatal error in /opt/SUNWspro/prod/bin/acomp : Killed
*** Error code 9
dmake: Fatal error: Command failed for target `ds_utils.o'
Current working directory /builds/ohacds+5.11+sparc/usr/src/cmd/ha-services/common/sparc

 The problem is that your system is missing the SPROlang package, which is part of the "Support Files" in Sun Studio. You need to install the support files in addition to the compiler itself.

Q: Can I build the agents on Solaris 10 instead of Solaris Express?
 A: It's not recommended, but it should work. You must then set OS=5.11 like:


 /opt/scbld/bin/nbuild -Da OS=5.11

Q: Can I build the agents specifically for Solaris 10?
 A: No. We don't currently distribute the Core Reference Proto or Agents Closed Binaries for an S10 build.

Q: Why does my build fail on Solaris Express Community Edition Build 68 or newer looking for /usr/lib/libuuid.so.1?
 A: With Solaris Express Comunity Edition Build 68 some libraries got moved from /usr/lib to /lib. Up until now no library from /lib was needed to build the ohacds source. If you try to build the source delivered with ohacds-src-20070626.tar.bz2, you will see an error like this:


/opt/SUNWspro//bin/cc -xO3 -DPOST_S9_BUILD  -W0,-xc99=%none -Xa -DTEXT_DOMAIN=\"SUNW_SC_DNS\" -DMESSAGE_DIR=\"/opt/SUNWscdns/lib/locale\"    -DSOL_VERSION=200710 -I/builds/ohacds+5.11+i386/proto/Sol_11-nd/root_i386/usr/include -I/builds/ohacds+5.11+i386/proto/Sol_11-nd/root_i386/usr/cluster/include     -I/usr/include -I/opt/scbld/ref_proto/ohac/ohac_latest/root_i386/usr/cluster/include -I/opt/scbld/ref_proto/ohac/ohac_latest/root_i386/usr/cluster/include/rgm -Y I,/usr/include -I/builds/ohacds+5.11+i386/proto/Sol_11-nd/root_i386/usr/cluster/include
-I/builds/ohacds+5.11+i386/proto/Sol_11-nd/root_i386/usr/cluster/include/rgm  -I/builds/ohacds+5.11+i386/usr/src/cmd/ha-services/common -s    -o dns_svc_start dns_svc_start.c dns.o -s -L/builds/ohacds+5.11+i386/proto/root_i386/usr/lib -L/builds/ohacds+5.11+i386/proto/root_i386/usr/cluster/lib  -L /usr/lib -L/opt/scbld/ref_proto/ohac/ohac_latest/root_i386/usr/cluster/lib -Y P,/usr/lib -Y P,/opt/scbld/ref_proto/ohac/ohac_latest/root_i386/usr/cluster/lib -R/usr/cluster/lib -lscf -ldsdev -lscha -L/builds/ohacds+5.11+i386/usr/src/cmd/ha-services/common/i386 -lds_common
ld: warning: file libdladm.so.1: required by /usr/lib/libuuid.so.1, not found
Undefined            first referenced
 symbol                  in file
dladm_walk                          /usr/lib/libuuid.so.1
ld: fatal: Symbol referencing errors. No output written to dns_svc_start 

 The solution is to either apply the following diff to ohacds/usr/src/Makefile.master.cl (revision 1.115):


~--- Makefile.master.cl.orig     Wed Jun 13 03:12:55 2007
+++ Makefile.master.cl  Thu Aug  2 19:40:24 2007
@@ -157,8 +157,8 @@

 REF_PROTO=
 $(CLOSED_BUILD)REF_PROTO=      $(BUILD_TOOLS)/ref_proto/$(REFERENCE_PROTO)/root_$(MACH)
-REF_LIBS=      $(REF_PROTO)/usr/lib
-REF_LIBS64=    $(REF_PROTO)/usr/lib/$(MACH64)
+REF_LIBS=      $(REF_PROTO)/usr/lib $(REF_PROTO)/lib
+REF_LIBS64=    $(REF_PROTO)/usr/lib/$(MACH64) $(REF_PROTO)/lib/$(MACH64)
 REF_INC=       $(REF_PROTO)/usr/include

 #
@@ -274,8 +274,8 @@
 DEV_CM=                "@($(POUND_SIGN))$(DEV_NM) Internal Development: $(VERSION) `$(ECHO) $$LOGNAME` `date +%Y-%m-%d` `$(ECHO) [\`basename $$CODEMGR_WS\`]`"

 LIBCC_                 = -lCstd -lCrun
-LIBCC_32       = -L$(REF_LIBS) -lCstd -lCrun
-LIBCC_64       = -L$(REF_LIBS64) -lCstd -lCrun
+LIBCC_32       = $(REF_LIBS:%=-L%) -lCstd -lCrun
+LIBCC_64       = $(REF_LIBS64:%=-L%) -lCstd -lCrun
 LIBCC                  = $(LIBCC_$(CLASS))
 NM                     =/usr/ccs/bin/nm

@@ -431,10 +431,10 @@
 ENVLIBS2= $(ENVROOT2:%=-L%/usr/cluster/lib) $(ENVROOT2:%=-L%/usr/lib)

 DEFAULT_LPATH= $(ENVLDLIBS1:%usr/ccs/lib=%usr/cluster/lib) \
-               -L $(REF_LIBS) -L$(REF_CL_LIBS) \
+               $(REF_LIBS:%=-L%) -L$(REF_CL_LIBS) \
                $(ENVLDLIBS2:%usr/ccs/lib=%usr/cluster/lib) \
                $(ENVLDLIBS3:%usr/ccs/lib=%usr/cluster/lib)  \
-               $(CCYLIBS)$(REF_LIBS) $(CCYLIBS)$(REF_CL_LIBS) \
+               $(REF_LIBS:%=$(CCYLIBS)%) $(CCYLIBS)$(REF_CL_LIBS) \
                -R/usr/cluster/lib

 LDLIBS.cmd =   $(DEFAULT_LPATH)

 Or to download the already modified Makefile.master.cl-1.115-fix.txt and copy it to your ohacds/usr/src/Makefile.master.cl. This change is already included in the ohacds-src-20070816.tar.bz2 source archive.

Back to Top

Section 4: Building Core

Q: What compiler can I use to build the core?
 A: Only Sun Studio 11 works at this time.

Q: Can I build the core on Solaris 10 instead of Solaris Express?
 A: No.

Q: Can I compile part of the workspace with dmake instead of nbuild?
 A: Use nbmake instead of dmake. It sets up the same environment as nbuild, before calling dmake. The man page provides more info:


$ man -M /opt/scbld/man nbmake

Q: Why do I see an error like the following?


 32610  ## Building pkgmap from package prototype file.
 32611  ERROR in /export/ohac/ohac+5.11+i386/usr/src/pkgdefs/SUNWscspmu/prototype_com:
 32612      no object for usr/cluster/lib/SunClusterManager/WEB-INF/lib/registrationservlet.jar
found in root directory
 32613  pkgmk: ERROR: unable to build pkgmap from prototype file
 32614  ## Packaging was not successful.
 32615  *** Error code 1

 A: This build error is due to CR 6702804. It shows up when you try to compile against a version of the ON source newer than build 79. This was fixed in ON build 91.

Q: Why do I see an error like the following?


 5992  cl_net:		 cl_comm cl_dcs cl_haci cl_load cl_orb cl_runtime
  5993  cl_orb:		 cl_bootstrap cl_load cl_runtime
  5994  cl_quorum:		 cl_haci cl_load cl_orb cl_runtime
  5995  cl_rsmtrans:		 cl_comm cl_haci cl_load cl_orb cl_runtime
  5996  cldlpihb:		 cl_dlpitrans cl_load cl_orb cl_runtime
  5997  clfpstr:		 cl_comm clprivnet
  5998  clif_rds:		 cl_comm cl_haci cl_runtime
  5999  clif_rsm:		 cl_bootstrap cl_comm cl_haci cl_load cl_runtime
  6000  clif_rsmrdt:		 cl_bootstrap cl_comm cl_haci cl_runtime
  6001  clq_netapp_nas:		 cl_haci cl_load cl_orb cl_quorum cl_runtime
  6002  clq_quorum_server:		 cl_haci cl_load cl_orb cl_quorum cl_runtime
  6003  clq_scsi2:		 cl_haci cl_load cl_orb cl_quorum cl_runtime
  6004  clq_scsi3:		 cl_haci cl_load cl_orb cl_quorum cl_runtime
  6005  cltcpint:		 cl_dlpitrans cl_load cl_orb cl_runtime
  6006  pxfs:		 cl_comm cl_dcs cl_haci cl_load cl_orb cl_runtime
  6007  ~------------------------------------------------
  6008  Error: fatal undefined symbols in kernel modules
  6009  Module name			Undefined symbol
  6010  ~------------------------------------------------
  6011  pxfs/obj32/pxfs: [4986]	cl_net/obj32/cl_net: [1860]	cl_haci/obj32/cl_haci: [10255]	:	memcpy
  6012  *** Error code 1

 A: You're probably using an older version of the Sun Studio 11 compiler. Make sure you have the latest version.

Back to Top

Section 5: Installing Sun Cluster

Q: Where can I find documentation about how to install Sun Cluster 3.2 on Solaris 10?
 A: Start with the Sun Cluster Quick Start Guide for Solaris OS, which provides an example of how to install and configure a specific Sun Cluster configuration. The Sun Cluster Software Installation Guide for Solaris OS describes the complete installation process for various kinds of configurations. The easiest way to get started is to install a single-node cluster configuration. There is a blog available, describing an example on how to configure HA Samba failover between non-global zones using ZFS on a single node cluster.

Q: Can I install Solaris 10 and Sun Cluster 3.2 on 32-bit x86 systems?
 A: No. Sun Cluster 3.2 does not contain support for 32-bit systems on Solaris 10. However, Solaris Cluster Express has 32-bit support on Solaris Express for x86 systems, read the installing instructions for more details.

Q: Can I install Solaris Express Community Edition and Solaris Cluster Express on 32bit x86 systems?
 A: Yes.

Q: Why does scinstall report that JDMK is not installed, when I installed it from jdmk51_02-allplatforms.zip?
 A: scinstall is looking for the installed JDMK packages, not the JDMK binaries. To resolve this issue you need to download the Solaris Cluster Express release. You can either run the Solaris Cluster Express installer and install the "Shared Components", or you can just pkgadd SUNWjdmk-runtime and SUNWjdmk-runtime-jmx located on the dvd image in Solaris_x86/Product/shared_components/Packages.

Back to Top

Section 6: Sun Cluster Configurations

Q: Can I use iSCSI with Sun Cluster?
 A: Solaris Cluster Express is not yet qualified with iSCSI devices as shared disks. We are not sure as of now when iSCSI support will be available.
Back to Top

last modified by admin on 2009/10/26 12:08
Collectives
Project


© Sun Microsystems Inc. 2009
XWiki Enterprise 1.8.2.19075 - Documentation
Terms Of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site map | Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.