Sei sulla pagina 1di 19

http://3y.uu456.com/bp-3a0c7a7f31b765ce05081426-3.

html

Eucalyptus during the test records; one installed preparations; 32-bit version, download openSUSE-11.4D; Second, the installation steps; Third, the installation process; install openSUSE-11.4 operating system (each machine); 2) Set the time zone and time; 3) disk partition; special attention to non-shared storage for a typical x86 server; 5) automatic installation, configuration and restart; 7) installed NTP service configuration is always synchronized service [very; 8) disable the firewall # y

Eucalyptus during the test record I. Preparing for Installation 32-bit version, download openSUSE-11.4-DVD-i586.iso 2, download eucalyptus-2.0.3opensuse-i386.tar.gz 3, download euca2ools-1.3.1-opensuse-i386.tar.gz 64-bit version 1, download openSUSE-11.4-DVD-x86_64.iso 2, download eucalyptus-2.0.3-opensusex86_64.tar.gz download euca2ools-1.3.1-opensuse-x86_64.tar.gz 2) set the time zone and time 3) disk partition Pay special attention to non-shared storage for a typical x86 server, select the default partition, or require special configuration 4) activate SSH activated firewall (installation configuration does not allow only activate SSH without activating the firewall)

5) Automatic installation, configuration and restart. ================================================== ================== 6) after the end of the installation, follow-up and install the package to be able to use the DVD installation disk, increase the installation source 7) Install the NTP service configuration is always synchronized service [very important key authentication] # sntp pool.ntp.org test connection Internet NTP server # yast2-i ntp install a local ntp service, Default has been installed, this step jump Over. ] # Chkconfig - add ntp increase during system startup to start ntp service ntp0: OFF 1: OFF 2: off 3: on 4: off 5: on 6: off # / etc / init.d / the NTP restart to start or restart ntpd 8) disable the firewall # yast2 firewall startup manual from the boot process to remove the firewall # / etc/init.d/SuSEfirewall2_init stop 9) Install OpenSSL-0.9.8 version (optional, some Linux distributions default OpenSSL 0.9.8) vblade dependent on the version of OpenSSL shared libraries, refer to the back of the front-end service installation process. [To use yast2 graphical user interface installed OpenSSL 0.9.8 version of the library] # yast2-i libopenssl0_9_8 10) the configure syslog services run level Syslog service run level, because the run level 4 is rarely used. And Euca services using syslog service, and syslog running in run level 4. [Solve the the syslog IS front-end installation process missed in the runlevels are used by 4] modify / etc / init.d / syslog service in syslog initial startup configuration # Default-Start: 2 3 5? # DefaultStart: 2 3 4 5 Then run insserv syslog, You will get a warning about overriding the defaults. # insserv syslog insserv: warning: current start runlevel (s) (2 3 5) of script `syslog 'overwrites defaults (2 3 4 5). insserv : warning: current stop runlevel (s) (2 3 5) of script `syslog 'overwrites defaults (2 3 4 5). use the chkconfig modify the init configuration; # chkconfig - level 4 syslog on # insserv syslog no output.

11) modify the host name and IP address with yast2 graphical interface to be configured. Obtaining DHCP automatically, manually modify the IP address / mask, default gateway, and modify the host name (automatically modify the / etc / hosts file); Optional configure a DNS server. 12) Create the eucalyptus user and group information before the follow-up steps, using a graphical interface the eucalyptus user groups and eucalyptus user, and as Eucalyptus eucalyptus user's default group. # Groupadd the the eucalyptus # useradd-d / home / eucalyptus-g the eucalyptus-s / bin / bash eucalyptus installation Euca front-end services 2.The CLC Euca, CC, Walrus, SC installed on the same front-end server. [! ! ! ! ! ] The root user all installation configuration operations. 1) Install rely on third-party package red system installation process has been installed and different update] # zypper install apache2 apache2prefork java-1_6_0-openjdk java-1_6_0-openjdk-devel the mozilla-nsslibvirtcurl vlandhcpserver the bridge-utilsperl- Crypt-OpenSSL-RSAperl-Crypt-OpenSSL-Randomtgt Loading repository data ... Reading installed packages ... 'curl' is already installed. No update candidate for 'curl-7.21.2-9.1.i586'. The highest available version is already installed. 'mozilla-nss' is already installed. No update candidate for 'mozilla-nss-3.12.9-4.3.i586'. The highest available version is already installed. 'java-1_6_0-openjdk' is already installed. No update candidate for 'java-1_6_0-openjdk-1.6.0.0_b20.1.9.7-1.2.1.i586'. The highest available version is already installed. 'vlan' is already installed. No update candidate for 'vlan-1.9 -124.1.i586 '. The highest available version is already installed.' perl-Crypt-OpenSSL-RSA 'is already installed. No update candidate for' perl-Crypt-OpenSSL-RSA-0.26-6.1.i586 '. The highest available version is already installed. 'perl-Crypt-OpenSSL-Random' is already installed. No update candidate for 'perlCrypt-OpenSSL-Random-0.04-12.1.i586'. The highest available version is already installed. Resolving package dependencies. .. The following NEW packages are going to be installed: apache2 apache2-prefork apache2-utils bridge-utilsdhcp-server iscsitarget-kmp-desktop java1_6_0-openjdk-devel libapr1 libapr-util1 libnetcf1 libvirtlibvirt-client libyajl1 netcat-openbsd open- iscsiperl-Config-General tgtvirt-utilsxen-libs The following recommended packages were automatically selected: bridge-utilsnetcat-openbsd open-iscsi 19 new packages to install. Overall download size: 13.2 MiB. After the operation, additional 55.5 MiB will be used. Continue? [y / n

/?] (y): y Retrieving package perl-Config-General-2.49-4.1.noarch (1/19), 69.0 KiB (155.0 KiB unpacked) Retrieving package xen-libs-4.0.2_02- 4.7.1.i586 (2/19), 309.0 KiB (880.0 KiB unpacked) Retrieving package virt-utils-1.1.5-1.2.1.i586 (3/19), 171.0 KiB (702.0 KiB unpacked) Retrieving package open- iscsi-2.0.870-36.2.i586 (4/19), 149.0 KiB (510.0 KiB unpacked) Retrieving package netcat-openbsd-1.89-74.1.i586 (5/19), 21.0 KiB (35.0 KiB unpacked) Retrieving package libyajl1- 1.0.11-2.1.i586 (6/19), 18.0 KiB (38.0 KiB unpacked) Retrieving package libnetcf1-0.1.6-2.1.i586 (7/19), 42.0 KiB (134.0 KiB unpacked) Retrieving package libapr1-1.4. 2-3.1.i586 (8/19), 94.0 KiB (212.0 KiB unpacked) Retrieving package java1_6_0-openjdk-devel-1.6.0.0_b20.1.9.7-1.2.1.i586 (9/19), 7.9 MiB (34.4 MiB unpacked) Retrieving package iscsitarget-kmp-desktop-1.4.19_k2.6.37.1_1.2-9.3 . i586 (10/19), 53.0 KiB (115.0 KiB unpacked) Retrieving package dhcp-server-4.2.0.P2-6.9.1.i586 (11/19), 765.0 KiB (2.1 MiB unpacked) Retrieving package bridge-utils-1.4-63.1.i586 (12/19), 49.0 KiB (130.0 KiB unpacked) Retrieving package tgt-0.9.0-9.1.i586 (13/19), 129.0 KiB (315.0 KiB unpacked) Retrieving package libvirt-client-0.8.8-0.4.1.i586 (14/19), 2.0 MiB (11.5 MiB unpacked) Retrieving package libapr-util1-1.3.9-9.2.i586 (15/19), 86.0 KiB (219.0 KiB unpacked) Retrieving package libvirt-0.8.8-0.4.1.i586 (16/19), 463.0 KiB (1.4 MiB unpacked) Retrieving package apache2utils-2.2.17-3.1.i586 (17/19), 86.0 KiB ( 181.0 KiB unpacked) Retrieving package apache22.2.17-3.1.i586 (18/19), 624.0 KiB (2.0 MiB unpacked) Retrieving package apache2-prefork2.2.17-3.1.i586 (19/19), 241.0 KiB ( 621.0 KiB unpacked) Installing: perl-Config-General-2.494.1 [done] Installing: xen-libs-4.0.2_02-4.7.1 [done] Installing: virt-utils-1.1.5-1.2.1 [done] Installing: open-iscsi-2.0.870-36.2 [done] Additional rpm output: Scanning scripts ... Resolve dependencies ... Install symlinks in / lib / mkinitrd / setup ... Install symlinks in / lib / mkinitrd / boot. .. Installing: netcat-openbsd-1.89-74.1 [done] Installing: libyajl1-1.0.11-2.1 [done] Installing: libnetcf1-0.1.6-2.1 [done] Installing: libapr1-1.4.2-3.1 [done] Installing: java-1_6_0-openjdkdevel-1.6.0.0_b20.1.9.7-1.2.1 [done] Installing: iscsitarget-kmp-desktop-1.4.19_k2.6.37.1_1.29.3 [done] Installing: dhcp-server -4.2.0.P2-6.9.1 [done] Additional rpm output: Updating / etc / sysconfig / dhcpd ... Updating / etc / sysconfig / syslog ...

Installing: bridge-utils-1.4-63.1 [done] Installing: tgt-0.9.0-9.1 [done] Installing: libvirtclient-0.8.8-0.4.1 [done] Installing: libapr-util1-1.3.9- 9.2 [done] Installing: libvirt-0.8.8-0.4.1 [done] Additional rpm output: Updating / etc / sysconfig / libvirt-guests ... Installing: apache2-utils-2.2.17-3.1 [done] Installing: apache2-2.2.17-3.1 [done] Additional rpm output: Starting SuSEconfig, the SuSE Configuration Tool ... Running module permissions only Reading / etc / sysconfig and updating the system ... Executing / sbin / conf.d / SuSEconfig.permissions ... Finished. Updating / etc/sysconfig/apache2 ...

looking for old 2.0 modules to be Renamed ... Done Installing: apache2-prefork-2.2.17-3.1 [done] 2) Install Eucalyptus installation package to be uploaded first eucalyptus-2.0.3-opensusei386.tar.gz to the server tmp directory; # cd / tmp # tar zxvf eucalyptus-2.0.3-opensusei386.tar.gz # CD eucalyptus-2.0.3-opensuse-i386 # cd eucalyptus-2.0.3-rpm-deps-i386 install dependencies package # rpm-Uvh euca for-AXIS2C-1.6.0-1.i586.rpm euca-rampartc-1.3.06.i586.rpm vblade-15-3.4.i586.rpm vtun-3.0.1-1.i586 . rpmaoetools-21-1.el4.x86_64.rpm warning: vblade-15-3.4.i586.rpm: Header V3 DSA/SHA1 Signature, key ID 67b8ac90: NOKEY error: Failed dependencies: libcrypto.so.0.9.8 is needed by vtun-3.0.1-1.i586 [ Problem Solution reference to the first part of 1.9] # rpm-Uvh euca-AXIS2C-1.6.01.i586.rpm on euca-rampartc-1.3.0-6.i586.rpm vblade-15-3.4.i586.rpm vtun-3.0 .1-1. i586.rpm warning: vblade-15-3.4.i586.rpm: Header V3 DSA/SHA1 Signature, key ID 67b8ac90: NOKEY Preparing ... # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [100%] 1: euca-axis2c # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [25%] 2: euca-rampartc # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [50%] 3: vtun # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [75%] Updating etc / rc.config ... 4: vblade # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [100%] # cd .. Login eucalyptus user installation, the following error:> Eucalyptus-2.0.3-0.1.i586.rpm rpm-Uvh eucalyptus-cc-2.0.3-0.1.i586.rpm eucalyptus-cloud-2.0.3-0.1.i586. rpm eucalyptus-common-java-2.0.3-0.1.i586.rpm eucalyptusgl-2.0.3-0.1.i586.rpm eucalyptus-sc-2.0.3-0.1.i586.rpm eucalyptus-walrus-2.0.3- 0.1.i586.rpm error: can't create transaction lock on / var / lib / rpm / .rpm.lock # rpm-Uvh eucalyptus-2.0.30.1.i586.rpm eucalyptus-cc-2.0.3-0.1. i586.rpm eucalyptus-cloud-2.0.3-0.1.i586.rpm eucalyptuscommon-java-2.0.3-0.1.i586.rpm eucalyptus-gl-2.0.3-0.1.i586.rpm eucalyptus-sc-2.0. 30.1.i586.rpm eucalyptus-walrus-2.0.3-0.1.i586.rpm Preparing ... # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [100%] 1: eucalyptus # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [14%] 2: eucalyptus-common-java # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [29%] insserv: FATAL: service syslog is missed in the runlevels 4 to use service eucalyptus insserv: exiting now! / sbin / insserv failed, exit code 1 eucalyptus-cloud 0: off 1: off 2: off 3: off 4: off 5: off 6: off 3: eucalyptus-gl # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

[43%] 4: eucalyptus-cc # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [57%] insserv: FATAL: service syslog is missed in the runlevels 4 to use service eucalyptus-cc insserv: exiting now! / sbin / insserv failed, exit code 1 eucalyptus-cc 0: off 1: off 2: off 3: off 4: off 5: off 6: off warning:% post (eucalyptus-cc-2.0.3-0.1.i586) scriptlet failed, exit status 1 5: eucalyptus-cloud # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [71%] 6: eucalyptus-sc # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [86%] vblade: no process found 7: eucalyptus-walrus # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [100%] [Problem Solution Reference first section 1.10 # rpm-Uvh eucalyptus-2.0.3-0.1.i586.rpm eucalyptus-cc-2.0.3-0.1.i586.rpm eucalyptus-cloud-2.0.3-0.1.i586.rpm eucalyptus-common-java-2.0.3- 0.1.i586.rpm eucalyptusgl-2.0.3-0.1.i586.rpm eucalyptus-sc-2.0.3-0.1.i586.rpm eucalyptus-walrus-2.0.3-0.1.i586.rpm Preparing ... # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [100%] 1: eucalyptus # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [14%] 2: eucalyptus-common -java # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [29%] eucalyptus -cloud 0: off 1: off 2: on 3: on 4: on 5: on 6: off 3: eucalyptus-gl # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [43%] 4: eucalyptus-cc # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [57%] eucalyptus-cc 0: off 1: off 2: on 3 : On 4: on 5: on 6: off 5: eucalyptus-cloud # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [71%] 6: eucalyptussc # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [86%] vblade: no process found 7: eucalyptus-walrus # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [100%] 3) supplement installation aoetools the installation package aoetools rpm files downloaded from the web aoetools-25-2.49 i586 and x86_64 rpm. # Rpm-Uvh aoetools-25-2.49.i586.rpm warning: aoetools-25-2.49.i586.rpm: Header V3 DSA/SHA1 Signature, key ID 66e48acf: NOKEY Preparing ... # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [100%] 1: aoetools # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [100%] 4) attached to the tip lack of a jar file in the package: gwt -user-2.0.jar start / var / log / eucalyptus / cloud_output.log in the Java class code not found error. 05:46:54 TRACE 119 ServiceJarDiscovery | java.lang.NoClassDefFoundError: com / google / gwt / json / client / JSONException 05:46:55 TRACE 119 ServiceJarDiscovery |

java.lang.NoClassDefFoundError: Lcom / google / gwt / json / client / JSONObject; 05:46:55 TRACE 119 ServiceJarDiscovery | java.lang.NoClassDefFoundError: Lcom / google / gwt / json / client / JSONObject; 05:46:55 TRACE 119 ServiceJarDiscovery | java.lang.NoClassDefFoundError: Lcom / google / gwt / json / client / JSONObject; reasons: lack of dependence of the third-party jar files package: gwt-user-2.0.jar Solution: find the class file package, upload gwt-user-2.0.jar from the source code to / usr / share / eucalyptus directory 5) modify / etc / eucalyptus / cloud.d directory owner permissions 05:47:06 WARN 132 ConfigurationProperties | / etc / eucalyptus / cloud.d / conf / system.properties (Permission denied) 05:47:06 Trace 39 ConfigurationProperties | / etc / eucalyptus / cloud.d / conf / system.properties (No such file or directory) 05:47:06 WARN 132 ConfigurationProperties | / etc / eucalyptus / cloud.d / conf / www.properties (Permission denied) 05:47:06 TRACE 39 ConfigurationProperties | / etc / eucalyptus / cloud.d / conf / www.properties (No such file or directory) 05:47:06 WARN 132 ConfigurationProperties | / etc / eucalyptus / cloud.d / conf / cluster.properties (Permission denied) 05:47:06 TRACE 39 ConfigurationProperties | / etc / eucalyptus / cloud.d / conf / cluster.properties (No such file or directory) 05:47:06 TRACE 39 ConfigurationProperties | / etc / eucalyptus / cloud.d / conf / config.properties (No such file or directory) 05:47:06 WARN 132 ConfigurationProperties | / etc / eucalyptus / cloud.d / conf / ws.properties (Permission denied) 05:47:06 TRACE 39 ConfigurationProperties | / etc / eucalyptus / cloud.d / conf / ws.properties (No such file or directory) 05:47:06 WARN 132 ConfigurationProperties | / etc / eucalyptus / cloud.d / conf / vmstate.properties (Permission denied ) 05:47:06 TRACE 39 ConfigurationProperties | / etc / eucalyptus / cloud.d / conf / vmstate.properties (No such file or directory) reason :/ etc / the eucalyptus / cloud.d directory under the file do not have write permissions; Workaround: Modify the owner of this directory and group as eucalyptus users. # Chown-R eucalyptus: eucalyptus / etc / eucalyptus / cloud.d java.io.FileNotFoundException: java.io.FileNotFoundException: java. io.FileNotFoundException; 6) configuration tgt service # grepWARN / var / l; the [root _AT_ CLC] # chkconfigtgtd; then stop tgtd; the [root _AT_ CLC] # servicetgtdst; failed; [root @ CLC] # servicetgtds; StartingSCSItargetservic; # / etc / init.d / e

io.FileNotFoundException: java.io.FileNotFoundException: java.io.FileNotFoundException: java.io.FileNotFoundException: java.io.FileNotFoundException: java.io.FileNotFoundException: java.io.FileNotFoundException: java.io.FileNotFoundException: java.io. FileNotFoundException:

6) Configure tgt the service # grep warn / var / log / eucalyptus / cloud-output.log log the following warning message: the cloud-output.log: 08:56:32 WARN 110 ISCSIManager | Unable to connect to the tgt daemon. IS tgtd loaded? cloud-output.log: 08:56:39 WARN 45 rviceVerifyBootstrapper | ================================ to ================================================ cloud- output.log: 08:56:39 WARN 45 rviceVerifyBootstrapper | ===================================== =========================================== cloud-output.log: 08 : 56:39 WARN 45 rviceVerifyBootstrapper | ========================================== ====================================== + + + + + + + + + + + + + + + + + + + + + ++++++++++++++++++++++++++++++++++++++++++++++ Solution (Eucalyptus Michael.xu) [Root @ clc] # chkconfigtgtd tgtd off [root @ clc] # chkconfigtgtd on [root @ clc] # chkconfigtgtd tgtd on Then stop tgtd [Root @ clc] # servicetgtdstop Stopping SCSI target service: failed

[Root @ clc] # servicetgtd start Starting SCSI target service: (null): fcoe_init (214) (null) (null): fcoe_create_interface (171) no interface specified. (Null): iscsi_tcp_init (222) unable to bind server socket, Address already in use (null): iscsi_tcp_init (222) unable to bind server socket, Address already in use Done only restart Linux OS. A start checking eucalyptus logs the error message of this section. + + + + + + ++++++++++++++++++++++++++++++++++++++++++++++++ + + + + + + + + + + + + + 7) start the front desk # / etc / init.d / eucalyptus-cloud start Starting Eucalyptus Services: Walrus sc cloud done. # / Etc / init.d / eucalyptus-cc start Starting Eucalyptus cluster controller: httpd2: bad group name eucalyptus Failed to start the CC! Reason: eucalyptus user group for users, rather than eucalyptus. Solution: reference to the first part of 1.12] # / etc / init.d / eucalyptus-cc start Starting Eucalyptus cluster Controller: Enabling IP forwardingdone of, 8) verify that the browser access https://IP:8443, successful open interface. 9) the problems left over to view the log / var / log / the eucalyptus directory the log # grepException / var / log / eucalyptus / *. The log 08:00:57 DEBUG 22 PropertiesDiscovery | Checking Fields: [private static org.apache.log4j.Logger com.eucalyptus.context.ServiceContext.LOG, private static org.mule.config.spring.SpringXmlConfigurationBuildercom.eucalyptus.context.ServiceContext. builder, public static java.lang.Integercom.eucalyptus.context.ServiceContext.MAX_OUTSTANDING_MESSAGES, public static java. lang.Integercom.eucalyptus.context.ServiceContext.HUP, private static java.util.concurrent.atomic.AtomicReferencecom.eucalyptus.context.ServiceContext.context, private static java.util.concurrent.atomic.AtomicReferencecom.eucalyptus.context.ServiceContext. client, private static final com.eucalyptus.bootstrap.BootstrapExceptioncom.eucalyptus.context.ServiceContext.failEx] 08:00:57 DEBUG 24 PropertiesDiscovery | Checking field: private static final

com.eucalyptus.bootstrap.BootstrapExceptioncom.eucalyptus.context.ServiceContext.failEx 08:00:57 TRACE 119 ServiceJarDiscovery | java . lang.NoSuchMethodException: com.eucalyptus.cluster.handlers.LogStateHandler.register () 08:00:57 TRACE 119 ServiceJarDiscovery | java.lang.NoSuchMethodException: com.eucalyptus.event.EventListener.register () 08:00:57 TRACE 119 ServiceJarDiscovery | java.lang.NoSuchMethodException: com.eucalyptus.context.ServiceContext $ HupListener.register () 08:00:57 TRACE 119 ServiceJarDiscovery | java.lang.NoSuchMethodException: com.eucalyptus.bootstrap.LocalDatabaseBootstrapper.register () 08: 00:58 TRACE 119 ServiceJarDiscovery | java.lang.NoSuchMethodException: com.eucalyptus.cluster.handlers.ClusterCertificateHandler.register () 08:00:58 TRACE 119 ServiceJarDiscovery | java.lang.NoSuchMethodException: com.eucalyptus.cluster.handlers.NetworkStateHandler . register () 08:00:58 TRACE 119 ServiceJarDiscovery | java.lang.NoSuchMethodException: com.eucalyptus.cluster.handlers.AddressStateHandler.register () 08:00:58 TRACE 119 ServiceJarDiscovery | java.lang.NoSuchMethodException: com.eucalyptus . cluster.callback.StateUpdateHandler.register () 08:00:58 TRACE 119 ServiceJarDiscovery | java.lang.NoSuchMethodException: com.eucalyptus.bootstrap.HttpServerBootstrapper $ PortChangeListener.register () 08:00:58 TRACE 119 ServiceJarDiscovery | java.lang . NoSuchMethodException: com.eucalyptus.cluster.handlers.VmStateHandler.register () 08:00:58 TRACE 119 ServiceJarDiscovery | java.lang.NoSuchMethodException: com.eucalyptus.event.PassiveEventListener.register () 08:00:58 TRACE 119 ServiceJarDiscovery | java.lang.NoSuchMethodException: com.eucalyptus.configurable.PropertyDirectory $ NoopEventListener.register () 08:00:58 TRACE 119 ServiceJarDiscovery | java.lang.NoSuchMethodException: com.eucalyptus.address.Addresses.register () 08:00: 58 TRACE 119 ServiceJarDiscovery | java.lang.NoSuchMethodException: com.eucalyptus.ws.client.RemoteBootstrapperClient.register () 08:00:58 TRACE 119 ServiceJarDiscovery | java.lang.NoSuchMethodException: com.eucalyptus.cluster.handlers.AbstractClusterMessageDispatcher.register () 08:00:58 TRACE

119 ServiceJarDiscovery | java.lang.NoSuchMethodException: com.eucalyptus.cluster.handlers.ResourceStateHandler.register () 08:00:58 TRACE 119 ServiceJarDiscovery | java.lang.NoSuchMethodException: com.eucalyptus.event . SystemClock $ Dummy.register () 08:01:02 TRACE 39 ConfigurationProperties | java.io.FileNotFoundException: / Etc / eucalyptus / cloud.d / conf / config.properties (No such file or directory) Installing the KVM virtualization environment 1) to check whether the node's CPU supports hardware virtualization, you must install the KVM prior # grepvmx / proc / cpuinfo check whether the Intel CPU support Intel VT-x linux-as :/ home / install # grepvmx / proc / cpuinfo flags: fpuvme de psetscmsrpaemce cx8 apicsepmtrrpgemcacmov pat pse36 clflushdtsacpi mmx fxsrss e sse2 ssht tm pbesyscallnxrdtscp lm constant_tscarch_perfmonpebsbtsrep_goodxtopologynonstop_tscaperfmperfpni dtes64 monitor ds_cplvmxest tm2 ssse3 cx16 xtprpdcmdca sse4_1 sse4_2 popcntlahf_lmidatpr_shadowvnmiflexpriorityeptvpid # grepsvm / proc / cpuinfo check the AMD CPU whether to support AMD-V !!! System CPU does not support hardware virtualization technology, KVM virtualization can not be achieved, to this end KVM virtualization. 2) configured the bridge installation of bridge management tools, usually when installing the operating system default installation. # Rpm-qa | grep bridge-utils View is installed, if not execute the command to install. # Zypper install bridge-utils and then configure the bridge, create / etc/sysconfig/network/ifcfg-br0 file and configuration parameter values are as follows: # vi/etc/sysconfig/network/ifcfg-br0 STARTMODE = 'auto' BOOTPROTO = 'static' IPADDR = '192 .168.0.100/24 'MTU ='' NETMASK ='' NETWORK ='' BROADCAST ='' USERCONTROL = no NAME =' Bridge 0 'NM_CONTROLLED =' no 'BRIDGE =' yes 'BRIDGE_PORTS =' eth0 'BRIDGE_AGEINGTIME = '300' BRIDGE_FORWARDDELAY = '0 'BRIDGE_HELLOTIME = '2' BRIDGE_MAXAGE = '20 'BRIDGE_PATHCOSTS = '19' BRIDGE_PORTPRIORITIES = BRIDGE_PRIORITY = BRIDGE_STP = 'ON' then modify / etc/sysconfig/network/ifcfg-eth0 file configuration IPADDR 0.0.0.0, the configured STARTMODE for hotplug the follows # vi /

BOOTPROTO etc/sysconfig/network/ifcfg-eth0 = 'static' BROADCAST = of'' ETHTOOL_OPTIONS ='' IPADDR = '0 .0.0.0 'MTU ='' NAME =' MCP77 Ethernet 'NETMASK ='' NETWORK ='' REMOTE_IPADDR ='' STARTMODE =' hotplug 'USERCONTROL =' no 'and then restart the network service: # / etc / init .d / network restart run ifconfig command to check the configuration of the bridge and port # ifconfig 3) Installing the KVM yast2 graphical interface, install the hypervisor and Tools, KVM installation; 4) verify that the KVM virtualization # virshc qemu :/ / / system list Id Name State --------------------------------- virt-install manually create a virtual machine, verify that the KVM environment. Create a stored virtual machine image file directory # mkdir / VM Create a virtual machine: create a openSUSE virtual machine, the virtual machine name vm1, memory 512MB, 2vCPUs, image path: / vm/vm1.qcow2 12GB. Initial installation CD-ROM command: # virt-install - connect qemu :/ / / system-n vm1-r 512 - vcpus = 2-f / vm/vm1.qcow2-s 12-c / dev / cdrom - vnc - noautoconsole - os-type linux accelerate - network = bridge: br0-hvm can also be carried out through ISO Image virtual machine initial installation, to map the disc to an iso file, # dd if = / dev / cdrom of , = / vm/opensuse11.4.iso then use the ISO image to create a virtual machine # virt-install - connect qemu :/ / / system-n vm1-r 512 - vcpus = 2-f / vm/vm1.qcow2-s 12-c / vm/opensuse11.4.iso vnc - noautoconsole - os-type linux - accelerate - network = bridge: br0 - hvm Starting install ... Creating storage file vm1 100% | == ======================= | 12 GB Creating domain ... Domain installation still in progress. You can reconnect to the console to complete the installation process. # and then continue through the the vnc graphical desktop installation process. Install XEN virtualization environment 1) Check the node's CPU supports hardware Virtualization before installing the KVM check # grepvmx / proc / whether the the cpuinfo check Intel CPU support Intel VT 00:00 B 00:00 linux-as :/ home / install # grepvmx / proc / cpuinfo flags: fpuvme de psetscmsrpaemce cx8 apicsepmtrrpgemcacmov pat pse36 clflushdtsacpi mmx fxsrsse sse2 ssht tm pbesyscallnxrdtscp lm constant_tscarch_perfmonpebsbtsrep_goodxtopologynonstop_tscaperfmperfpni dtes64

monitor ds_cplvmxest tm2 ssse3 cx16 xtprpdcmdca sse4_1 sse4_2 popcntlahf_lmidatpr_shadowvnmiflexpriorityeptvpid # grepsvm / proc / cpuinfo check AMD whether the CPU supports amd SVM !!! System CPU does not support hardware virtualization technology, XEN full virtualization can not be achieved. ? ? ? Eucalyptus supports Xen paravirtualization? ? ? 2) install the XEN bridge BR0 automatically created. Yast2 graphical interface, install the hypervisor and Tools, select the the Xen installation; through a graphical interface to create / modify the configuration file. Bridge configuration file: # the vi/etc/sysconfig/network/ifcfg-br0 bootproto = 'static' BRIDGE = 'yes' BRIDGE_FORWARDDELAY = '0' bridge_ports = 'eth0' BRIDGE_STP = 'off' BROADCAST ='' ETHTOOL_OPTIONS ='' IPADDR = '10 .100.50.94/16, 'MTU ='' NAME ='' NETWORK ='' REMOTE_IPADDR ='' STARTMODE =' auto 'UserControl =' no 'bridge port configuration: # vi / etc / sysconfig / network / ifcfg -etho BOOTPROTO = 'none' BROADCAST ='' ETHTOOL_OPTIONS ='' IPADDR ='' MTU ='' NAME = '82574L Gigabit Network Connection 'NETMASK ='' NETWORK ='' REMOTE_IPADDR ='' STARTMODE =' auto 'USERCONTROL = 'no' PREFIXLEN = '32 'and then restart the network service: # / etc / init.d / network restart Run the ifconfig command in bridge and port configuration # ifconfig 3) modify the startup boot configuration to modify the file / boot / grub / menu.lst modify XEN startup items is the default, the red part of the following sample, from 0 to modify 2 . # vi / boot / grub / menu.lst -------------------------------------- -------------------------------------------------- - # Modified by YaST2. Last modification on default2 timeout 8 gfxmenu (hd0, 1) / boot / message # # YaST - Activate 6 20 15:52:10 CST 2011 # # # Don't change this comment - YaST2 identifier: Original name: linux # # # title SUSE Linux Enterprise Server 11 SP1 - 2.6.32.12-0.7 (default) root (hd0, 1) kernel / boot/vmlinuz-2.6. 32.12-0.7-default root = / dev/disk/by-id/ataHitachi_HDP725050GLA360_GEA564RV081W1A-part2 resume = / dev/disk/by-id/ataHitachi_HDP725050GLA360_GEA564RV081W1A-part1 splash = silent crashkernel = 256M-: 128M showoptsvga = 0x31a initrd / boot/initrd-2.6.32.12-0.7-default # # # Don't change this

comment - YaST2 identifier: Original name: failsafe # # # title Failsafe - SUSE Linux Enterprise Server 11 SP1 - 2.6.32.12-0.7 root ( hd0, 1) kernel / boot/vmlinuz-2.6.32.12-0.7-default root = / dev/disk/by-id/ata-Hitachi_HDP725050GLA360_GEA564RV081W1A-part2 showopts ide = nodmaapm = off noresumeedd = off powersaved = off nohz = off highres = off processor.max_cstate = 1 nomodeset x11failsafe vga = 0x31a initrd / boot/initrd-2.6.32.12-0.7default # # # Don't change this comment - YaST2 identifier: Original name: xen # # # titleXen SUSE Linux Enterprise Server 11 SP1 - 2.6.32.12-0.7 root (hd0, 1) kernel / boot / xen.gz vga = mode-0x31a module / boot/vmlinuz-2.6.32.12-0.7-xen root = / dev/disk/by-id/ata-Hitachi_HDP725050GLA360_GEA564RV081W1A-part2 resume = / dev/disk/by- id/ata-Hitachi_HDP725050GLA360_GEA564RV081W1A-part1 splash = silent showoptsvga = 0x31a module / boot/initrd-2.6.32.12-0.7-xen ------------------------ ------------------------------------------------- ---------------- 4) Xendconfig modify, increase the http remote access # vi / etc / xen / the xend-config.sxp (xend-http-server yes) (xend-unix -server yes) (xend-unixpath / var / lib / xend / xend-socket) (xend-addresslocalhost) (network-script network-bridge) (Vif-scriptvif-bridge) (dom0-min-mem 196) (dom0-cpus 0) (vncpasswd'') 5) restart the system # reboot 6) Verification XEN virtualization # xm list Create a virtual machine from the command line or graphical interface. 5.Installation Euca NC [1) installation depends on third-party Package # zypper installvlan the apache2 perl-crypt-openssl-RSA perl-Crypt-OpenSSL-Random tgt check the package is installed in the 3 and 4 after the end of this step. # Rpm-qa | the deps package in the grepvlan 2) installation Euca of first upload eucalyptus-2.0.3-opensuse-i386.tar.gz to the server tmp directory # cd / tmp # tar zxvf eucalyptus-2.0.3-opensuse-i386 tar.gz # cd eucalyptus-2.0.3-opensuse-i386 # cd eucalyptus-2.0.3-rpm-deps-i386 install dependencies of package # rpm-Uvhaoetools-252.49.x86_64.rpmeuca-AXIS2C-1.6.0 -1.i586.rpm euca-rampartc-1.3.0-6.i586.rpm vblade-153.4.i586.rpm warning: aoetools-25-2.49.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 66e48acf warning: vblade-15-3.4.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 67b8ac90 Preparing ... # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [100%] 1: euca-axis2c # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

# # # # # # # [25%] 2: aoetools # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [50%] 3: euca-rampartc # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [75%] 4: vblade # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [100%] 3) Install Euca NC # rpm-Uvheucalyptus-2.0.3-0.1.i586.rpm eucalyptus-NC -2.0.3-0.1.i586.rpm eucalyptus-gl-2.0.3-0.1.i586.rpm error: Failed dependencies: xen-tools is needed by eucalyptus-nc-2.0.3-0.1.i586 xen is needed by eucalyptus -nc-2.0.30.1.i586 ---------------------------------------- -------------------------------------------------- ---------------- must be installed before installing nc Xen virtualization package, you can not start the XEN virtualization environment --------------- -------------------------------------------------- ----------------------------------------- Preparing ... # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [100%] 1: eucalyptus # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [33%] 2: eucalyptus-gl # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [67%] 3: eucalyptus-nc eucalyptus-nc # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [100%] 0: off 1: off 2: on 3: on 4: on 5: on 6: off 4) Verify the eucalyptus user's authority to operate the libvirt On the node, / etc / libvirt / libvirtd.conf file needs to be MODIFIED: Line # unix_sock_group = "libvirt" => unix_sock_group = "libvirt" Line 2 # un ix_sock_ro_perms = "0; 00:00:00 / usr/sbin/httpd2;-ff; LISTEN; installation Euca2ools1) installation euca2ools; swigisneededbyeuca2ools; m.Forexample youmaywisht; Youmayalsowanttolistnet; ix_sock_ro_perms = "0777" => unix_sock_ro_perms = "0777" Line 3. # unix_sock_rw_perms = "0770" => unix_sock_rw_perms = "0770" Line 4. # auth_unix_ro = "none" => auth_unix_ro = "none" Line 5. # auth_unix_rw = "none" => auth_unix_rw = "none" increased the libvirt User Group the # groupaddlibvirt use yast2 graphical interface or the command line to increase the eucalyptus users to libvirt group; # usermod-Glibvirt eucalyptus

create the system startup links # chkconfig-add libvirtd manually start the libvirtd service # / etc / init.d / libvirtd start verification Eucalyptus call libvirt # su eucalyptus> virsh list Id name state ------------------------- ------- 5) NC start # / etc / init.d / eucalyptus-nc start Starting Eucalyptus services: done. # ps-ef | grepeucalyptus root 19563 1 0 13:45? / / etc / eucalyptus / httpd -nc.conf 1000 19564 19563 0 13:45? / / etc / eucalyptus / httpd-nc.conf root 19566 17490 0 13:45 pts / 4 00:00:00 grepeuca # netstat-an | grep 8775 tcp 0 0: :: 8775 ::: * 6. 00:00:00 / usr/sbin/httpd2 00:00:00 / usr/sbin/httpd2 -F-f LISTEN Installation Euca2ools 1) Install euca2ools linux-AS :/ home / install # tar zxvf euca2ools1.3.1-for opensuse-x86_64.tar.gz linux-as :/ home / install # cd euca2ools-1.3.1-opensusex86_64 linux -as :/ home/install/euca2ools-1.3.1-opensuse-x86_64 # linux-as :/ home/install/euca2ools-1.3.1-opensuse-x86_64 # rpm-Uvh euca2ools-1.3.1-1.x86_64. rpm error: Failed dependencies:

swig is needed by euca2ools-1.3.1-1.x86_64 linux-as :/ home/install/euca2ools-1.3.1opensuse-x86_64 # linux-as :/ home/install/euca2ools-1.3.1-opensuse-x86_64 # zypper install swig Loading repository data ... Reading installed packages ... Resolving package dependencies ... The following NEW package is going to be installed: swig The following package is not supported by its vendor: swig 1 new package to install. Overall download size: 966.0 KiB. After the operation, additional 4.1 MiB will be used. Continue? [y / n /?] (y): Retrieving package swig1.3.40-8.3.x86_64 (1/1), 966.0 KiB (4.1 MiB unpacked) Installing: swig-1.3.40-8.3 [done] linuxas :/ home/install/euca2ools-1.3.1-opensuse-x86_64 # linux-as :/ home/install/euca2ools-1.3.1 opensuse-x86_64 # rpm-Uvh euca2ools-1.3.1-1.x86_64.rpm Preparing ... # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [100%] 1: euca2ools # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # [100%] linux-as :/ home/install/euca2ools-1.3.1-opensuse-x86_64 # 7. running log with command tool running log directory : / var / log / eucalyptus Cloud Controller (CLC), Walrus, and Storage Controller (SC):? cloud-debug.log? cloud-error.log? cloud-output.log? cloud-exhaust.log Cluster Controller (CC )? axis2c.log? cloud-cluster.log? httpd-cc_error_log Node Controller (NC)? axis2c.log? nc.log? httpd-nc_error_log? euca_test_nc.log In addition, information regarding the nature of an issue may appear in the system's logs. In particular, you might want to search for clues in / var / log / messages, / var / log / libvirt /, / var / log / xen /. It is also important to understand the elements of the network on your syste m. For example, you may wish to list bridges to see which devices are enslaved by the bridge. To do so, use the brctlcommand.

You may also want to list network devices and evaluate existing configurations. To do so, you can use these commands: ip, ifconfig, and route. You can also use vconfig, if, for example, you wish to evaluate VLAN configuration (MANAGED mode only). <<< End of Document >>>

Potrebbero piacerti anche