OpenSolaris
Collectives
Discussions
Documentation
Download
Source Browser
Free CD
Log-in
|
en
Community Group ha-clusters
:
Open HA Cluster
>
FAQ
Top Menu
Show
:
Comments
Attachments
History
Information
Print
:
Print
Print preview
Export as PDF
Export as RTF
Export as HTML
Export as XAR
Wiki code for
FAQ
Hide Line numbers
1: = Open High Availability Cluster FAQ 2: 3: HA Clusters Quick Links 4: 5: ; [[Download>>Community Group ha-clusters.downloads]] 6: : Download the latest Open High Availability Cluster source 7: ; [[Participate>>http://opensolaris.org/jive/forum.jspa?forumID=195]] 8: : Join the OpenSolaris HA Clusters discussions 9: ; [[Contribute>>Community Group ha-clusters.contribute]] 10: : Contribute to Open High Availability Cluster 11: 12: //Last Updated: June, 2008// 13: 14: This page is a list of Questions and Answers about Open High Availability Cluster. 15: 16: For the general OpenSolaris FAQ, click [[here>>Main.faq]]. 17: 18: If you would like to ask a question or provide feedback on this FAQ, please send it to ha-clusters-discuss@opensolaris.org. 19: 20: === Topics in this FAQ 21: 22: * [[Basics>>#basics]] - questions to help you get started 23: * [[Building>>#building]] - general questions about building Open HA Cluster 24: * [[Building Agents>>#buildingagents]] - questions about building the Open HA Cluster agents 25: * [[Building Core>>#buildingcore]] - questions about building the Open HA Cluster core 26: * [[Installing Sun Cluster>>#installingcluster]] - questions about installing Sun Cluster 27: * [[Sun Cluster Configuration>>#config]] - Sun Cluster configuration questions 28: 29: == Questions: 30: 31: ==== Section 1: Basics 32: 33: 1. [[Which parts of Solaris Cluster have not been open-sourced?>>#basic_openHAcluster]] 34: 1. [[Why aren’t all the Sun Cluster agents open-sourced?>>#allagents]] 35: 1. [[Can I run the open-source agents on Sun Cluster 3.2 on Solaris 10?>>#runons10]] 36: 1. [[If I run the agents on Sun Cluster 3.2 / Solaris 10, are they supported?>>#supported]] 37: 38: ==== Section 2: Building 39: 40: 1. [[The SUNWonbld package creates a user "gk" - what is it used for?>>#usergk]] 41: 1. [[nbuild doesn’t output anything indicating a result~-- how do I know if my build succeeded?>>#nbuild_output]] 42: 1. [[How do I customize the email address to which the build result email is sent?>>#nbuild_email]] 43: 1. [[How can I tell nbuild that my Sun Studio compiler is somewhere other than /opt/SUNWspro/ ?>>#compiler_path]] 44: 1. [[Why do I see an error like the following when building the ON consolidation?>>#ldapcsdk]] 45: 46: {{{ 47: /local_code/onnv-gate/usr/src/tools/proto/opt/onbld/bin/i386/cw -_cc -O 48: -K pic -xspace -Xa -xildoff -errtags=yes -errwarn=%all 49: -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%no 50: ne -W0,-xglobalstatic -v -xstrconst -D_REENTRANT -g -xc99=%none 51: -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs 52: -I/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap -I/usr/i 53: nclude/mps -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO 54: -I/local_code/onnv-gate/proto/root_i386/usr/include -DPIC 55: -D_REENTRANT -c -DSVR4 -DSYSV -D__svr4 -D__svr4__ -DSOLARIS 56: -D_SOLARIS_SDK -DUSE_WA 57: ITPID -DNEEDPROTOS -DNET_SSL -DNO_LIBLCACHE -DLDAP_REFERRALS 58: -DNS_DOMESTIC -DLDAP_SSLIO_HOOKS -DSTR_TRANSLATION -DLDAP_SASLIO_HOOKS 59: -I/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap -I/usr/i 60: nclude/mps -o pics/bprint.o ../sources/ldap/ber/bprint.c 61: + /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin 62: -fno-asm -nodefaultlibs -D__sun -O -fpic -Wall -Wno-unknown-pragmas 63: -Wno-missing-braces -Wno-sign-compare -Wno-parentheses -Wno-unin 64: itialized -Wno-implicit-function-declaration -Wno-unused -Wno-trigraphs 65: -Wno-char-subscripts -Wno-switch -Werror -std=gnu89 -D_REENTRANT 66: -gdwarf-2 -std=gnu89 -fno-dwarf2-indirect-strings -I/local_code/on 67: nv-gate/usr/src/lib/libldap5/include/ldap -I/usr/include/mps 68: -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO 69: -I/local_code/onnv-gate/proto/root_i386/usr/include -DPIC -D_REENTRANT 70: -c -DSVR4 -DSYSV -D__svr4 -D 71: __svr4__ -DSOLARIS -D_SOLARIS_SDK -DUSE_WAITPID -DNEEDPROTOS -DNET_SSL 72: -DNO_LIBLCACHE -DLDAP_REFERRALS -DNS_DOMESTIC -DLDAP_SSLIO_HOOKS 73: -DSTR_TRANSLATION -DLDAP_SASLIO_HOOKS -I/local_code/onnv-gate/usr/s 74: rc/lib/libldap5/include/ldap -I/usr/include/mps -o 75: /tmp/nightly.tmpdir.101509/.cwCAAflWUbA.o ../sources/ldap/ber/bprint.c 76: In file included from ../sources/ldap/ber/lber-int.h:108, 77: from ../sources/ldap/ber/bprint.c:32: 78: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:84: 79: error: redefinition of `struct ldap_x_iovec’ 80: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:87: 81: error: redefinition of typedef ’ldap_x_iovec’ 82: /usr/include/mps/lber.h:176: error: previous declaration of 83: ’ldap_x_iovec’ was here 84: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:94: 85: error: redefinition of typedef ’LDAP_IOF_READ_CALLBACK’ 86: /usr/include/mps/lber.h:183: error: previous declaration of 87: ’LDAP_IOF_READ_CALLBACK’ was here 88: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:96: 89: error: redefinition of typedef ’LDAP_IOF_WRITE_CALLBACK’ 90: /usr/include/mps/lber.h:185: error: previous declaration of 91: ’LDAP_IOF_WRITE_CALLBACK’ was here 92: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:98: 93: error: redefinition of typedef ’LDAP_X_EXTIOF_READ_CALLBACK’ 94: /usr/include/mps/lber.h:187: error: previous declaration of 95: ’LDAP_X_EXTIOF_READ_CALLBACK’ was here 96: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:100: 97: error: redefinition of typedef ’LDAP_X_EXTIOF_WRITE_CALLBACK’ 98: /usr/include/mps/lber.h:189: error: previous declaration of 99: ’LDAP_X_EXTIOF_WRITE_CALLBACK’ was here 100: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:102: 101: error: redefinition of typedef ’LDAP_X_EXTIOF_WRITEV_CALLBACK’ 102: /usr/include/mps/lber.h:191: error: previous declaration of 103: ’LDAP_X_EXTIOF_WRITEV_CALLBACK’ was here 104: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:108: 105: error: redefinition of `struct lber_x_ext_io_fns’ 106: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:123: 107: error: redefinition of typedef ’LDAP_MALLOC_CALLBACK’ 108: /usr/include/mps/lber.h:212: error: previous declaration of 109: ’LDAP_MALLOC_CALLBACK’ was here 110: }}} 111: 112: ==== Section 3: Building Agents 113: 114: 1. [[What compiler can I use to build the agents?>>#compiler]] 115: 1. [[Why does my build fail looking for libyabe.so?>>#libyabe]] 116: 1. [[Can I build the agents on Solaris 10 instead of Solaris Express?>>#ons10]] 117: 1. [[Can I build the agents specifically for Solaris 10?>>#fors10]] 118: 1. [[Why does my build fail on Solaris Express Community Edition Build 68 or newer looking for /usr/lib/libuuid.so.1?>>#sxce68change]] 119: 120: ==== Section 4: Building Core 121: 122: 1. [[What compiler can I use to build the core?>>#compilercore]] 123: 1. [[Can I build the core on Solaris 10 instead of Solaris Express?>>#ons10core]] 124: 1. [[Can I compile part of the workspace with dmake instead of nbuild?>>#nbmake]] 125: 1. [[Why do I see an error like the following?>>#CR6702804]] 126: 127: {{{ 128: 32610 ## Building pkgmap from package prototype file. 129: 32611 ERROR in /export/ohac/ohac+5.11+i386/usr/src/pkgdefs/SUNWscspmu/prototype_com: 130: 32612 no object for usr/cluster/lib/SunClusterManager/WEB-INF/lib/registrationservlet.jar 131: found in root directory 132: 32613 pkgmk: ERROR: unable to build pkgmap from prototype file 133: 32614 ## Packaging was not successful. 134: 32615 *** Error code 1 135: }}} 136: 137: 1. [[Why do I see an error like the following?>>#oldcompiler]] 138: 139: {{{ 140: 5992 cl_net: cl_comm cl_dcs cl_haci cl_load cl_orb cl_runtime 141: 5993 cl_orb: cl_bootstrap cl_load cl_runtime 142: 5994 cl_quorum: cl_haci cl_load cl_orb cl_runtime 143: 5995 cl_rsmtrans: cl_comm cl_haci cl_load cl_orb cl_runtime 144: 5996 cldlpihb: cl_dlpitrans cl_load cl_orb cl_runtime 145: 5997 clfpstr: cl_comm clprivnet 146: 5998 clif_rds: cl_comm cl_haci cl_runtime 147: 5999 clif_rsm: cl_bootstrap cl_comm cl_haci cl_load cl_runtime 148: 6000 clif_rsmrdt: cl_bootstrap cl_comm cl_haci cl_runtime 149: 6001 clq_netapp_nas: cl_haci cl_load cl_orb cl_quorum cl_runtime 150: 6002 clq_quorum_server: cl_haci cl_load cl_orb cl_quorum cl_runtime 151: 6003 clq_scsi2: cl_haci cl_load cl_orb cl_quorum cl_runtime 152: 6004 clq_scsi3: cl_haci cl_load cl_orb cl_quorum cl_runtime 153: 6005 cltcpint: cl_dlpitrans cl_load cl_orb cl_runtime 154: 6006 pxfs: cl_comm cl_dcs cl_haci cl_load cl_orb cl_runtime 155: 6007 ~------------------------------------------------ 156: 6008 Error: fatal undefined symbols in kernel modules 157: 6009 Module name Undefined symbol 158: 6010 ~------------------------------------------------ 159: 6011 pxfs/obj32/pxfs: [4986] cl_net/obj32/cl_net: [1860] cl_haci/obj32/cl_haci: [10255] : memcpy 160: 6012 *** Error code 1 161: }}} 162: 163: ==== Section 5: Installing Sun Cluster 164: 165: 1. [[Where can I find documentation on how to install Sun Cluster 3.2 on Solaris 10?>>#installSC]] 166: 1. [[Can I install Solaris 10 and Sun Cluster 3.2 on 32bit x86 systems?>>#32bitx86]] 167: 1. [[Can I install Solaris Express Community Edition and Solaris Cluster Express on 32bit x86 systems?>>#32bitx86SCE]] 168: 1. [[Why does scinstall report that JDMK is not installed, when I installed it from jdmk51_02-allplatforms.zip?>>#JDMK]] 169: 170: ==== Section 6: Sun Cluster Configurations 171: 172: 1. [[Can I use iSCSI with Sun Cluster?>>#iSCSI]] 173: 174: == Answers: 175: 176: ==== Section 1: Basics 177: 178: Q: //Which parts of Solaris Cluster have not been open-sourced?// 179: A: On the product side, most of the Sun Cluster agents have been open-sourced. Here is a [[complete list>>Community Group ha-clusters.open-agents]]. 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>>Main.no_source]] 180: On the test side, the CTI for TET framework and several test suites have been open-sourced. 181: 182: Q: //Why aren’t all the Sun Cluster agents open-sourced?// 183: 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. 184: 185: Q: //Can I run the open-source agents on Sun Cluster 3.2 on Solaris 10?// 186: A: Yes, you can run the agents built with [[these instructions>>Community Group ha-clusters.buildingagents]] on Sun Cluster 3.2 on Solaris 10. 187: 188: Q: //If I run the agents on Sun Cluster 3.2 / Solaris 10, are they supported?// 189: A: No, there is no official support from Sun Microsystems. However, members of the HA Clusters community will try to help you. 190: 191: [[Back to Top>>#TopOfPage]] 192: 193: ==== Section 2: Building 194: 195: Q: //The SUNWonbld package creates a user "gk" - what is it used for?// 196: 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. 197: 198: Q: //nbuild doesn’t output anything indicating a result~-- how do I know if my build succeeded?// 199: A: Two ways: 200: 201: 1. You should receive an email reporting success or failure (see the next question for customzing the email address). 202: 1. Look at the logs in 203: 204: {{{ 205: /builds/ohacds+5.11+PLATFORM/log/log.TIMEDATE.NUM/ 206: }}} 207: 208: Q: //How do I customize the email address to which the build result email is sent?// 209: A: On the nbuild command-line, set LOGNAME to your email address. For example, 210: 211: {{{ 212: 213: /opt/scbld/bin/nbuild -Da LOGNAME=<your-email-addr> 214: 215: }}} 216: 217: Q: //How can I tell nbuild that my Sun Studio compiler is somewhere other than /opt/SUNWspro/ ?// 218: A: On the nbuild command-line, set SPRO_ROOT to your compiler path. For example, 219: 220: {{{ 221: 222: /opt/scbld/bin/nbuild -Da SPRO_ROOT=<your-compiler-path> 223: 224: }}} 225: 226: Q: //Why do I see an error like the following when building the ON consolidation?// 227: 228: {{{ 229: 230: /local_code/onnv-gate/usr/src/tools/proto/opt/onbld/bin/i386/cw -_cc -O 231: -K pic -xspace -Xa -xildoff -errtags=yes -errwarn=%all 232: -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%no 233: ne -W0,-xglobalstatic -v -xstrconst -D_REENTRANT -g -xc99=%none 234: -W0,-noglobal -_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs 235: -I/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap -I/usr/i 236: nclude/mps -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO 237: -I/local_code/onnv-gate/proto/root_i386/usr/include -DPIC 238: -D_REENTRANT -c -DSVR4 -DSYSV -D__svr4 -D__svr4__ -DSOLARIS 239: -D_SOLARIS_SDK -DUSE_WA 240: ITPID -DNEEDPROTOS -DNET_SSL -DNO_LIBLCACHE -DLDAP_REFERRALS 241: -DNS_DOMESTIC -DLDAP_SSLIO_HOOKS -DSTR_TRANSLATION -DLDAP_SASLIO_HOOKS 242: -I/local_code/onnv-gate/usr/src/lib/libldap5/include/ldap -I/usr/i 243: nclude/mps -o pics/bprint.o ../sources/ldap/ber/bprint.c 244: + /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin 245: -fno-asm -nodefaultlibs -D__sun -O -fpic -Wall -Wno-unknown-pragmas 246: -Wno-missing-braces -Wno-sign-compare -Wno-parentheses -Wno-unin 247: itialized -Wno-implicit-function-declaration -Wno-unused -Wno-trigraphs 248: -Wno-char-subscripts -Wno-switch -Werror -std=gnu89 -D_REENTRANT 249: -gdwarf-2 -std=gnu89 -fno-dwarf2-indirect-strings -I/local_code/on 250: nv-gate/usr/src/lib/libldap5/include/ldap -I/usr/include/mps 251: -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO 252: -I/local_code/onnv-gate/proto/root_i386/usr/include -DPIC -D_REENTRANT 253: -c -DSVR4 -DSYSV -D__svr4 -D 254: __svr4__ -DSOLARIS -D_SOLARIS_SDK -DUSE_WAITPID -DNEEDPROTOS -DNET_SSL 255: -DNO_LIBLCACHE -DLDAP_REFERRALS -DNS_DOMESTIC -DLDAP_SSLIO_HOOKS 256: -DSTR_TRANSLATION -DLDAP_SASLIO_HOOKS -I/local_code/onnv-gate/usr/s 257: rc/lib/libldap5/include/ldap -I/usr/include/mps -o 258: /tmp/nightly.tmpdir.101509/.cwCAAflWUbA.o ../sources/ldap/ber/bprint.c 259: In file included from ../sources/ldap/ber/lber-int.h:108, 260: from ../sources/ldap/ber/bprint.c:32: 261: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:84: 262: error: redefinition of `struct ldap_x_iovec’ 263: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:87: 264: error: redefinition of typedef ’ldap_x_iovec’ 265: /usr/include/mps/lber.h:176: error: previous declaration of 266: ’ldap_x_iovec’ was here 267: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:94: 268: error: redefinition of typedef ’LDAP_IOF_READ_CALLBACK’ 269: /usr/include/mps/lber.h:183: error: previous declaration of 270: ’LDAP_IOF_READ_CALLBACK’ was here 271: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:96: 272: error: redefinition of typedef ’LDAP_IOF_WRITE_CALLBACK’ 273: /usr/include/mps/lber.h:185: error: previous declaration of 274: ’LDAP_IOF_WRITE_CALLBACK’ was here 275: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:98: 276: error: redefinition of typedef ’LDAP_X_EXTIOF_READ_CALLBACK’ 277: /usr/include/mps/lber.h:187: error: previous declaration of 278: ’LDAP_X_EXTIOF_READ_CALLBACK’ was here 279: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:100: 280: error: redefinition of typedef ’LDAP_X_EXTIOF_WRITE_CALLBACK’ 281: /usr/include/mps/lber.h:189: error: previous declaration of 282: ’LDAP_X_EXTIOF_WRITE_CALLBACK’ was here 283: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:102: 284: error: redefinition of typedef ’LDAP_X_EXTIOF_WRITEV_CALLBACK’ 285: /usr/include/mps/lber.h:191: error: previous declaration of 286: ’LDAP_X_EXTIOF_WRITEV_CALLBACK’ was here 287: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:108: 288: error: redefinition of `struct lber_x_ext_io_fns’ 289: /local_code/onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-int.h:123: 290: error: redefinition of typedef ’LDAP_MALLOC_CALLBACK’ 291: /usr/include/mps/lber.h:212: error: previous declaration of 292: ’LDAP_MALLOC_CALLBACK’ was here 293: 294: }}} 295: 296: 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. 297: 298: [[Back to Top>>#TopOfPage]] 299: 300: ==== Section 3: Building Agents 301: 302: Q: //What compiler can I use to build the agents?// 303: A: You can use Sun Studio 11, Sun Studio 12, or gcc. 304: 305: Q: //Why does my build fail looking for libyabe.so?// 306: A: You might see an error message in your build log like this: 307: 308: {{{ 309: 310: /opt/SUNWspro//bin/cc -xO3 -xcg89 -Wa,-cg92 -xspace -W0,-Lt -Xa 311: -DTEXT_DOMAIN=\"\" -DMESSAGE_DIR=\"/usr/cluster/lib/locale\" 312: -DSOL_VERSION=200710 313: -I/builds/ohacds+5.11+sparc/proto/Sol_11-nd/root_sparc/usr/include 314: -I/builds/ohacds+5.11+sparc/proto/Sol_11-nd/root_sparc/usr/cluster/include 315: -I/usr/include 316: -I/opt/scbld/ref_proto/ohac/ohac_latest/root_sparc/usr/cluster/include 317: -I/opt/scbld/ref_proto/ohac/ohac_latest/root_sparc/usr/cluster/include/rgm -Y 318: I,/usr/include -I/builds/ohacds+5.11+sparc/usr/src/cmd/ha-services/common -c 319: /builds/ohacds+5.11+sparc/usr/src/cmd/ha-services/common/ds_utils.c 320: ld.so.1: acomp: fatal: libyabe.so: open failed: No such file or directory 321: cc: Fatal error in /opt/SUNWspro/prod/bin/acomp : Killed 322: *** Error code 9 323: dmake: Fatal error: Command failed for target `ds_utils.o’ 324: Current working directory /builds/ohacds+5.11+sparc/usr/src/cmd/ha-services/common/sparc 325: 326: }}} 327: 328: 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. 329: 330: Q: //Can I build the agents on Solaris 10 instead of Solaris Express?// 331: A: It’s not recommended, but it should work. You must then set OS=5.11 like: 332: 333: {{{ 334: 335: /opt/scbld/bin/nbuild -Da OS=5.11 336: 337: }}} 338: 339: Q: //Can I build the agents specifically for Solaris 10?// 340: A: No. We don’t currently distribute the Core Reference Proto or Agents Closed Binaries for an S10 build. 341: 342: Q: //Why does my build fail on Solaris Express Community Edition Build 68 or newer looking for /usr/lib/libuuid.so.1?// 343: 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: 344: 345: {{{ 346: 347: /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 348: -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 349: ld: warning: file libdladm.so.1: required by /usr/lib/libuuid.so.1, not found 350: Undefined first referenced 351: symbol in file 352: dladm_walk /usr/lib/libuuid.so.1 353: ld: fatal: Symbol referencing errors. No output written to dns_svc_start 354: 355: }}} 356: 357: The solution is to either apply the following diff to ohacds/usr/src/Makefile.master.cl (revision 1.115): 358: 359: {{{ 360: 361: ~--- Makefile.master.cl.orig Wed Jun 13 03:12:55 2007 362: +++ Makefile.master.cl Thu Aug 2 19:40:24 2007 363: @@ -157,8 +157,8 @@ 364: 365: REF_PROTO= 366: $(CLOSED_BUILD)REF_PROTO= $(BUILD_TOOLS)/ref_proto/$(REFERENCE_PROTO)/root_$(MACH) 367: -REF_LIBS= $(REF_PROTO)/usr/lib 368: -REF_LIBS64= $(REF_PROTO)/usr/lib/$(MACH64) 369: +REF_LIBS= $(REF_PROTO)/usr/lib $(REF_PROTO)/lib 370: +REF_LIBS64= $(REF_PROTO)/usr/lib/$(MACH64) $(REF_PROTO)/lib/$(MACH64) 371: REF_INC= $(REF_PROTO)/usr/include 372: 373: # 374: @@ -274,8 +274,8 @@ 375: DEV_CM= "@($(POUND_SIGN))$(DEV_NM) Internal Development: $(VERSION) `$(ECHO) $$LOGNAME` `date +%Y-%m-%d` `$(ECHO) [\`basename $$CODEMGR_WS\`]`" 376: 377: LIBCC_ = -lCstd -lCrun 378: -LIBCC_32 = -L$(REF_LIBS) -lCstd -lCrun 379: -LIBCC_64 = -L$(REF_LIBS64) -lCstd -lCrun 380: +LIBCC_32 = $(REF_LIBS:%=-L%) -lCstd -lCrun 381: +LIBCC_64 = $(REF_LIBS64:%=-L%) -lCstd -lCrun 382: LIBCC = $(LIBCC_$(CLASS)) 383: NM =/usr/ccs/bin/nm 384: 385: @@ -431,10 +431,10 @@ 386: ENVLIBS2= $(ENVROOT2:%=-L%/usr/cluster/lib) $(ENVROOT2:%=-L%/usr/lib) 387: 388: DEFAULT_LPATH= $(ENVLDLIBS1:%usr/ccs/lib=%usr/cluster/lib) \ 389: - -L $(REF_LIBS) -L$(REF_CL_LIBS) \ 390: + $(REF_LIBS:%=-L%) -L$(REF_CL_LIBS) \ 391: $(ENVLDLIBS2:%usr/ccs/lib=%usr/cluster/lib) \ 392: $(ENVLDLIBS3:%usr/ccs/lib=%usr/cluster/lib) \ 393: - $(CCYLIBS)$(REF_LIBS) $(CCYLIBS)$(REF_CL_LIBS) \ 394: + $(REF_LIBS:%=$(CCYLIBS)%) $(CCYLIBS)$(REF_CL_LIBS) \ 395: -R/usr/cluster/lib 396: 397: LDLIBS.cmd = $(DEFAULT_LPATH) 398: 399: }}} 400: 401: Or to download the already modified [[Makefile.master.cl-1.115-fix.txt>>attach:Community Group ha-clusters.files@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. 402: 403: [[Back to Top>>#TopOfPage]] 404: 405: ==== Section 4: Building Core 406: 407: Q: //What compiler can I use to build the core?// 408: A: Only Sun Studio 11 works at this time. 409: 410: Q: //Can I build the core on Solaris 10 instead of Solaris Express?// 411: A: No. 412: 413: Q: Can I compile part of the workspace with dmake instead of nbuild?//// 414: A: Use nbmake instead of dmake. It sets up the same environment as nbuild, before calling dmake. The man page provides more info: 415: 416: {{{ 417: 418: $ man -M /opt/scbld/man nbmake 419: 420: }}} 421: 422: Q: //Why do I see an error like the following?// 423: 424: {{{ 425: 426: 32610 ## Building pkgmap from package prototype file. 427: 32611 ERROR in /export/ohac/ohac+5.11+i386/usr/src/pkgdefs/SUNWscspmu/prototype_com: 428: 32612 no object for usr/cluster/lib/SunClusterManager/WEB-INF/lib/registrationservlet.jar 429: found in root directory 430: 32613 pkgmk: ERROR: unable to build pkgmap from prototype file 431: 32614 ## Packaging was not successful. 432: 32615 *** Error code 1 433: 434: }}} 435: 436: A: This build error is due to [[CR 6702804>>http://bugs.opensolaris.org/view_bug.do?bug_id=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. 437: 438: Q: //Why do I see an error like the following?// 439: 440: {{{ 441: 442: 5992 cl_net: cl_comm cl_dcs cl_haci cl_load cl_orb cl_runtime 443: 5993 cl_orb: cl_bootstrap cl_load cl_runtime 444: 5994 cl_quorum: cl_haci cl_load cl_orb cl_runtime 445: 5995 cl_rsmtrans: cl_comm cl_haci cl_load cl_orb cl_runtime 446: 5996 cldlpihb: cl_dlpitrans cl_load cl_orb cl_runtime 447: 5997 clfpstr: cl_comm clprivnet 448: 5998 clif_rds: cl_comm cl_haci cl_runtime 449: 5999 clif_rsm: cl_bootstrap cl_comm cl_haci cl_load cl_runtime 450: 6000 clif_rsmrdt: cl_bootstrap cl_comm cl_haci cl_runtime 451: 6001 clq_netapp_nas: cl_haci cl_load cl_orb cl_quorum cl_runtime 452: 6002 clq_quorum_server: cl_haci cl_load cl_orb cl_quorum cl_runtime 453: 6003 clq_scsi2: cl_haci cl_load cl_orb cl_quorum cl_runtime 454: 6004 clq_scsi3: cl_haci cl_load cl_orb cl_quorum cl_runtime 455: 6005 cltcpint: cl_dlpitrans cl_load cl_orb cl_runtime 456: 6006 pxfs: cl_comm cl_dcs cl_haci cl_load cl_orb cl_runtime 457: 6007 ~------------------------------------------------ 458: 6008 Error: fatal undefined symbols in kernel modules 459: 6009 Module name Undefined symbol 460: 6010 ~------------------------------------------------ 461: 6011 pxfs/obj32/pxfs: [4986] cl_net/obj32/cl_net: [1860] cl_haci/obj32/cl_haci: [10255] : memcpy 462: 6012 *** Error code 1 463: 464: }}} 465: 466: A: You’re probably using an older version of the Sun Studio 11 compiler. Make sure you have the latest version. 467: 468: [[Back to Top>>#TopOfPage]] 469: 470: ==== Section 5: Installing Sun Cluster 471: 472: Q: //Where can I find documentation about how to install Sun Cluster 3.2 on Solaris 10?// 473: A: Start with the [[Sun Cluster Quick Start Guide for Solaris OS>>http://docs.sun.com/app/docs/doc/819-0912?a=expand]], which provides an example of how to install and configure a specific Sun Cluster configuration. The [[Sun Cluster Software Installation Guide for Solaris OS>>http://docs.sun.com/app/docs/doc/819-2970?a=expand]] 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>>http://blogs.sun.com/SC/entry/new_solaris_10_experience]] available, describing an example on how to configure HA Samba failover between non-global zones using ZFS on a single node cluster. 474: 475: Q: //Can I install Solaris 10 and Sun Cluster 3.2 on 32-bit x86 systems?// 476: 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>>Community Group ha-clusters.SCX]] for more details. 477: 478: Q: //Can I install Solaris Express Community Edition and Solaris Cluster Express on 32bit x86 systems?// 479: A: Yes. 480: 481: Q: //Why does scinstall report that JDMK is not installed, when I installed it from jdmk51_02-allplatforms.zip?// 482: 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. 483: 484: [[Back to Top>>#TopOfPage]] 485: 486: ==== Section 6: Sun Cluster Configurations 487: 488: Q: //Can I use iSCSI with Sun Cluster?// 489: 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. 490: [[Back to Top>>#TopOfPage]]
Search
Collectives
Community Group
Academic and Research
Accessibility
Advocacy
Appliances
Approachability
Architecture Process and Tools
BrandZ
Chinese Users
Community Advisory Board
Databases
Desktop
Device Drivers
Distribution
Documentation
DTrace
Emerging Platforms
Fault Management
Games on OpenSolaris
HA Clusters
HPC Developer
Installation and Packaging
Internationalization and Localization
Laptop
Logical Domains
Modular Debugger (MDB)
Networking
NFS
Observability
OpenSolaris Governing Board (OGB)
OpenSolaris Printing
OS/Net (ON)
Performance
Power Management
PowerPC
Security
Service Management Facility (smf(5))
Software Porters
Solaris Volume Manager
Storage
Systems Administration Community Group
Testing
Tools Home
Unix File Systems (UFS)
Website Community
X Window System
Xen
ZFS
Zones
Project
ADSL Modem Enhancement
ARC Process Definition
ARM Platform Port
Automatic Data Migration
BIND Update
Bluetooth Stack & Drivers
Brocade FC HBA - Initiator
Brocade FC HBA - Target
Brussels - unified network link configuration
Caiman, Solaris Install Revisited
Celeste
Český portál
Chime Visualization Tool for DTrace
CIFS client for Solaris
CIFS Server
Clearview: Network Interface Coherence
Cluster Agent: Informix Dynamic Server
Cluster Agent: OpenSolaris Container
Cluster Agent: OpenSolaris xVM
Cluster Agent: Oracle E-Business Suite
Cluster agent: PostgreSQL
Cluster Agent: Samba
Cluster Agent: Tomcat
CMT
Coarse Data Flow Parallelism
Colorado: Open HA Cluster on OpenSolaris
Command Assistant
Common Array Manager
Companion - /opt/sfw: Free and Open Source software
COMSTAR: Common Multiprotocol SCSI Target
Content
Contest
CPU Observability
Credentials Process Groups
Crossbow: Network Virtualization and Resource Control
Crypto KMS Agent Toolkit
Cryptographic Framework
Data Migration Manager
Data Tethers
Deutsches Portal
Device Detection Tool
Device Driver Utility
Device Manager
Device Mapper
Direct Rendering Infrastructure & 3D drivers
DTrace Guide
Duckwater: Simplified name services management
Easy Tools
Emancipation
Emulex Fibre Channel Device Driver
Emulex Advanced Ethernet Device Driver
Enable/Enhance Solaris support for Intel Platform
Enhance the support of USB webcams
Enhanced SMF Profiles
Enhancements for AMD-based Platforms
Erlang DTrace Integration
Ethernet bridge module for Solaris
Evaluate Conary
Events Registry
Ext3 file system support
F/OSS Package Base
Facilitation
Fibre Channel over Ethernet
Fine Grained Access Policy (FGAP)
Fingerprint Authentication
Flexible Mandatory Access Control
Forensic Tools
Fully Open X Project
Fuse on Solaris
gcore
Generic Machine Check Architecture Improvements
Google SOC
HA-JBoss
HA-MySQL
Hadoop Live CD
Hitachi
HoneyComb Fixed Content Storage
HPC Stack
Image Packaging System
Improved Performance MIB
Indiana
Innovation Awards
Input Method
Intel Graphics
Interrupt Resource Management
IP Datapath Refactoring
IP over Infiniband
IPsec Tunnel Reform
iSCSI Extensions for Remote DMA (iSER)
iSNS Server
JeOS - Just enough Operating System
JKstat - a java binding for libkstat
Journaled File System (JFS)
K Desktop Environment
Kerberos
Kernel Sockets
Kernel SSL Enhancements
Key Management Framework
Korn Shell 93 integration/migration project
Labeled IPsec
LatencyTOP
Layer 2 Filtering
LDoms Manager
Lending
libMicro - portable microbenchmarks
Link Layer Discovery
Live Media: Technologies for distributions running from CD and other media
Locale Data
lofi compression and cryptography support
lx64 brand
Media Management System
Mega_sas
Mexico
MilaX minimal Live Distribution
MIPS Platform Port
Mozilla DTrace
MRSL.NONsharedDevice
Multi-lingual Glossary
Multi-pathing software (MPxIO)
Multiple disk sector size support
Multiple DOI
Muskoka: An open repository for OpenSolaris technical content
Navigator
Nemo: A Framework for High-Performance Networking
Network Auto-Magic
Network Data Management Protocol
Network MIBs
Network Storage
Network Time Protocol (NTP)
Nevada Globalization
New Design of 4over6 Mechanism Based on OpenSolaris
NFS RDMA transport update and performance analysis
NFS Server in non-Global Zones
NFS version 4.1 pNFS
NFSv4 namespace extensions
Nightingale: Port Songbird to OpenSolaris
NPort ID Virtualization (NPIV)
NUMA
Object Storage Device (OSD) support for Solaris
OHACGE Script Based Plug-in
ON/Nevada (ONNV) Project
Open Development Infrastructure
Open HA Cluster Utilities
Open Sound System
OpenGrok
OpenPegasus CIM Server
OpenRTI
OpenSolaris Busybox
OpenSolaris Desktop
OpenSolaris Hispano
OpenSolaris Security Audit
OpenSolaris support for the QEMU processor emulator: host and guest
PEF: Packet Event Framework
Performance Wrappers
Pkgfactory
Polski Portal
Portail Francophone
Portal Brasil
Portals
Power Management Usability Interfaces
Presto: Automatic Printing Configuration
Printable Many Page Solaris Manuals
Promise SuperTrak RAID HBA Driver
QLogic Converged Network Adapter GLDv3 NIC Driver
Quagga Routing Protocol Suite Integration
RAID Configuration Utility
RBridge (IETF TRILL) support
RDMA Offload Framework
Reno: Login Process Enhancements for Interop
Resource Management
s10brand
SAM/QFS
SCM Migration Project
SCSI RDMA Protocol
SDcard Drivers
Sensor Abstraction Layer
Session Initiation Protocol
SFW
Shell: bourne shell, korn shell, C shell, etc.
Sierra: Intel WiFi Chipsets Support
Simple Panels
SM-HBA Based SAS HBA Management
SMF Documentation
Solaris iSCSI Target
Solaris PowerPC Port
SourceJuicer
Sparks: name service switch/nscd enhancements
Squashfs
Star integration/migration project
Starfish
Starter Kit
Storage Power Management
Sun Security Toolkit
Sun StorageTek Availability Suite
Support for OpenFabrics User Verbs / API on OpenSolaris OS
Support gcc4/GCCfss in Solaris
Suspend/Resume
SVR4 Packaging
Systemz
Tamarack: Removable Media Enhancements in Solaris
Tesla: OpenSolaris Enhanced Power Management
Test Development
Tickless Kernel Architecture
TIPC
Trademarks
Trusted networking interface policy database for Trusted Extensions
Trusted Platform Module support
Use Case
Validated Execution Project
Virtual Console
Virtual Network Machines
Visual Panels
Visualization for HPC
Volo
VRRP: Virtual Router Redundancy Protocol Implementation
VSCAN service
Web Stack
Website
Winchester: Schema mapping and ID mapping for AD Interoperability
Wireless USB Support
Wireless Wide Area Network
X Consolidation
x86 Generic FMA Topology Enumerator
Xen Gate
Xfce: A lightweight desktop environment
ZFS Boot and Install
ZFS on disk encryption support
Zone Manager
Zone Statistics
Русский портал
البوابة العربية
भारतीय पोर्टल
中国门户
日本ポータル
한국 포탈
User Group
Adelaide
Argentina
Arizona
Atlanta
Baltimore-Washington
Bangalore
Bangkok
Bangladesh
Beijing
Bélem
Berlin
Bhimavaram
Bloomington
Campus Ambassadors
Capital Region
Cardiff
Charlotte
Chengdu
Chennai
Chihuahua
Chile
Cleveland
Colombia
Columbus
Connecticut
Cracow
Czech
Dallas/Ft. Worth
Danish
Delaware
Edinburgh
Egypt
Finland
Florida
Front Range
FuZhou
Great Lakes
Greece
Hangzhou
Hawaii
HeFei
Houston
Hyderabad
Indonesia
Irish
Israel
Italian
Jinan
Kabul
Kansas City
Latvia
London
Madurai
Manchester
Mato Grosso
Melbourne
Minas Gerais
Minnesota
Montreal
Moscow
Mumbai
Munich
NEA
Netherlands
New England
New York City
New Zealand
NIT Hamirpur
Noroeste
Oklahoma City
Osnabrück
Peru
Philadelphia
Piaski
Pittsburgh
Porto Alegre
Puget Sound
Pune
Queensland
Research Triangle Park
Romania
Russia
San Antonio
San Diego
San Francisco
São Paulo
Scottish
Serbia
Shanghai
Shenzhen
Silicon Valley
Singapore
Slovak
South African
Southern Connecticut
St. Louis
Sweden
Switzerland
Sydney
Szczecin
Taiwan
Tecum
Thames Valley
Tokyo
Toronto
Trondheim
Tulsa
Turkey
Ukraine
University of Melbourne
Vale do Paraíba
Vancouver
Venezuela
Welsh - Cymru
Wisconsin
Xi'an
Subsites
Code Reviews
Code Repositories
Package Search
Bugster
Bugzilla
Test Machines
Planet
Mailing Lists
Elections & Polls
ARC Case Logs
Source Juicer
Package Factory
User Authentication
Community Group ha-clusters Pages
Contributors
Fun
Chat
Files
Open HA Cluster
Third party HA agent repository
Documentation
FAQ
GDS coding template
Movies
Contribute
Downloads
Translations
French
German
Japanese
Korean
Translation Guide
Brazilian Portuguese
Russian
Simplified Chinese
Spanish
Traditional Chinese
Wikis