Created
July 2, 2014 05:38
-
-
Save buzztroll/182c68611ba224fe84b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================================================================================ | |
Enstratius Agent Installer for linux. | |
Usage: http://es-download.s3.amazonaws.com/install.sh | bash -s - [OPTIONS] ... | |
-c <cloud provider>, set cloud provider | |
------------------------------------ List of supported clouds ------------------------------ | |
Amazon, Atmos, ATT, Azure, Bluelock, CloudCentral, CloudSigma, CloudStack, CloudStack3 | |
CloudStack4, Eucalyptus, GoGrid, Google, IBM, Joyent, OpenStack, Rackspace, ServerExpress | |
Terremark, VMware, Other | |
-------------------------------------------------------------------------------------------- | |
-p <address>, set provisioning server IP address and port | |
-e <production|staging>, set type of environment | |
-m <metadata>, set metadata | |
-u <userdata>, set userdata | |
-t <minutes>, set handshake retry minutes | |
-j <JAVA_HOME>, set JAVA_HOME manually | |
-C, install chef-client after the installation of agent | |
-d, install debug agent. This is only for test. | |
-h, display this help and exit | |
Example: | |
curl http://es-download.s3.amazonaws.com/install.sh | bash -s - -c Amazon | |
curl http://es-download.s3.amazonaws.com/install.sh | bash -s - -c IBM -p 1.2.3.4:3302 | |
============================================================================================ | |
Would you like to start interactive dialogue to configure arguments? (Y/N) Y | |
--------------------------------------------------------------------------------------------- | |
1) Amazon 2) Atmos 3) ATT 4) Azure 5) Bluelock 6) CloudCentral | |
7) CloudSigma 8) CloudStack 9) CloudStack3 10) CloudStack4 11)Eucalyptus 12) GoGrid | |
13) Google 14) IBM 15) Joyent 16) OpenStack 17) Rackspace 18) ServerExpress | |
19) Terremark 20) VMware 21) Other | |
--------------------------------------------------------------------------------------------- | |
What cloud is this server hosted in? [1-21] (Default: Amazon) 13 | |
What is the Agent Endpoint this agent should communicate with? (Default: provisioning.enstratus.com:3302) | |
Starting the installation process... | |
Installing dependent packages. This may take a few mintues. | |
Refreshing service 'susecloud'. | |
Loading repository data... | |
Reading installed packages... | |
'bzip2' is already installed. | |
No update candidate for 'bzip2-1.0.5-34.253.1.x86_64'. The highest available version is already installed. | |
'gzip' is already installed. | |
No update candidate for 'gzip-1.3.12-69.23.1.x86_64'. The highest available version is already installed. | |
'unzip' is already installed. | |
No update candidate for 'unzip-6.00-11.7.1.x86_64'. The highest available version is already installed. | |
'xfsprogs' is already installed. | |
No update candidate for 'xfsprogs-3.1.8-0.5.1.x86_64'. The highest available version is already installed. | |
'cryptsetup' is already installed. | |
No update candidate for 'cryptsetup-1.0.5_SVNr46-58.37.3.x86_64'. The highest available version is already installed. | |
'rsync' is already installed. | |
No update candidate for 'rsync-3.0.4-2.40.1.x86_64'. The highest available version is already installed. | |
'mdadm' is already installed. | |
No update candidate for 'mdadm-3.2.2-0.47.1.x86_64'. The highest available version is already installed. | |
'zip' is already installed. | |
No update candidate for 'zip-3.0-4.7.1.x86_64'. The highest available version is already installed. | |
'tar' is already installed. | |
No update candidate for 'tar-1.26-1.2.4.1.x86_64'. The highest available version is already installed. | |
'sysstat' is already installed. | |
No update candidate for 'sysstat-8.1.5-7.38.40.1.x86_64'. The highest available version is already installed. | |
Resolving package dependencies... | |
Nothing to do. | |
Done. | |
Downloading Enstratius Agent from http://es-download.s3.amazonaws.com/enstratius-agent-latest.rpm | |
This may take a few minutes. | |
Installing Enstratius Agent. | |
Preparing... ########################################### [100%] | |
Creating directory at /enstratus... | |
Done. | |
Creating user and group... | |
Done. | |
1:enstratius-agent ########################################### [100%] | |
Setting enstratus permissions... | |
mkdir: cannot create directory `/enstratus/home': File exists | |
Done. | |
Setting /mnt/tmp and /tmp permissions... | |
Done. | |
Adding user to sudoers... | |
Done. | |
Attempting to install startup scripts... | |
insserv: warning: script 'K01tomcat-enstratus' missing LSB tags and overrides | |
insserv: warning: script 'K01enstratus' missing LSB tags and overrides | |
insserv: warning: script 'tomcat-enstratus' missing LSB tags and overrides | |
insserv: warning: script 'tomcat-enstratus' missing LSB tags and overrides | |
insserv: warning: script 'enstratus' missing LSB tags and overrides | |
insserv: Service network is missed in the runlevels 4 to use service sces-client | |
insserv: Service syslog is missed in the runlevels 4 to use service sces-client | |
tomcat-enstratus 0:off 1:off 2:off 3:on 4:off 5:on 6:off | |
insserv: warning: script 'K01tomcat-enstratus' missing LSB tags and overrides | |
insserv: warning: script 'K01enstratus' missing LSB tags and overrides | |
insserv: warning: script 'enstratus' missing LSB tags and overrides | |
insserv: warning: script 'enstratus' missing LSB tags and overrides | |
insserv: warning: script 'tomcat-enstratus' missing LSB tags and overrides | |
insserv: Service network is missed in the runlevels 4 to use service sces-client | |
insserv: Service syslog is missed in the runlevels 4 to use service sces-client | |
enstratus 0:off 1:off 2:off 3:on 4:off 5:on 6:off | |
Done. | |
======================================================= | |
The installation of the Enstratius Agent has completed. | |
To start the agent, run the following command. | |
/etc/init.d/tomcat-enstratus start | |
------------------------------------------------------- | |
Please make sure to | |
1. open TCP port 2003 for agent communication. | |
2. disable SELinux. | |
======================================================= | |
========================================================================================= | |
[ALERT] secure-delete was not installed since it is not natively available in suse. | |
[ALERT] If you want to make secure-delete functional, please download and install it. | |
[ALERT] http://sourceforge.net/projects/srm/ | |
========================================================================================= | |
(Optional) Would you like to install chef client? (Y/N) n | |
domU-12-31-39-10-29-37:~ # cat /enstratus/ws/content/WEB-INF/classes/enstratus-webservices.cfg | |
cloud=Google | |
environment=production | |
provisioningProxy=provisioning.enstratus.com:3302 | |
userData=http://metadata.google.internal/computeMetadata/v1 | |
domU-12-31-39-10-29-37:~ # cat /etc/issue | |
Welcome to SUSE Linux Enterprise Server 11 SP2 (x86_64) - Kernel \r (\l). | |
domU-12-31-39-10-29-37:~ # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment