Snippets

Mitsutoshi Kiuchi ./elastic-cloud-enterprise-installer.sh --host-ip 192.168.20.91 --capacity 8192 --debug

Created by Mitsutoshi Kiuchi
# su - elastic
最終ログイン: 2017/04/07 (金) 22:33:00 JST日時 pts/0
[elastic@ece2 ~]$ ./elastic-cloud-enterprise-installer.sh --host-ip 192.168.20.91 --capacity 8192 --debug
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Elastic Cloud Enterprise Installer 

Start setting up a new Elastic Cloud Enterprise installation by installing the software on your first host. 
This first host becomes the initial coordinator and provides access to the Cloud UI, where you can manage your installation. 
To learn more about the options you can specify, see the documentation. 

NOTE: If you want to add this host to an existing installation, please specify the --coordinator-host flag
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

-- Debug Info --
NODE_TYPE - initial
REPOSITORY - docker.elastic.co/cloud-enterprise
ELASTIC_UID - 1000
RUNNER_REGION - ece-region
HOST_STORAGE_ROOT_VOLUME_PATH - /mnt/data
RUNNER_ID - 192.168.20.91
MEMORY_SETTINGS - {}
HOST_STORAGE_DEVICE_PATH - /dev/mapper/lxc-data
CLOUD_ENTERPRISE_VERSION - 1.0.0-beta1
HOST_STORAGE_PATH - /mnt/data/elastic
RUNNER_CAPACITY - 8192
RUNNER_AVAILABILITY_ZONE - ece-region-1a
NODE_TYPE - initial
RUNNER_HOST_IP - 192.168.20.91
ELASTIC_GID - 1000

-- Verifying Prerequisites --
Checking host storage path... PASSED
Checking docker version... PASSED
Checking internal ip connectivity... PASSED
Checking OS settings... PASSED
Checking OS kernel version... PASSED
Checking Minimum required memory... PASSED
-- Completed Verifying Prerequisites -- 

- Running Bootstrap container
- Monitoring bootstrap process
- [2017-04-07 13:35:06,484][INFO ][no.found.bootstrap.BootstrapInitial] Loaded bootstrap settings {}
- [2017-04-07 13:35:09,082][WARN ][no.found.docker.DockerContainerManager] Default registry [https://index.docker.io/v1/] has no auths. Known auths: [List()] {}
- [2017-04-07 13:35:09,082][INFO ][no.found.bootstrap.BootstrapInitial] Pulling Elastic Stack images {}
- [2017-04-07 13:35:09,086][WARN ][no.found.docker.DockerContainerManager] Unable to find auth for registry [docker.elastic.co] in auths. Have [List()], trying without auth. {}
- [2017-04-07 13:35:09,087][INFO ][no.found.docker.DockerContainerManager] Pulling image [docker.elastic.co/cloud-enterprise/elasticsearch:5.2.0-2] {}
- [2017-04-07 13:35:09,089][WARN ][no.found.docker.DockerContainerManager] Unable to find auth for registry [docker.elastic.co] in auths. Have [List()], trying without auth. {}
- [2017-04-07 13:35:09,089][INFO ][no.found.docker.DockerContainerManager] Pulling image [docker.elastic.co/cloud-enterprise/kibana:5.2.0-0] {}
- [2017-04-07 13:35:09,090][WARN ][no.found.docker.DockerContainerManager] Unable to find auth for registry [docker.elastic.co] in auths. Have [List()], trying without auth. {}
- [2017-04-07 13:35:09,090][INFO ][no.found.docker.DockerContainerManager] Pulling image [docker.elastic.co/cloud-enterprise/elasticsearch:2.4.4-1] {}
- [2017-04-07 13:35:09,090][WARN ][no.found.docker.DockerContainerManager] Unable to find auth for registry [docker.elastic.co] in auths. Have [List()], trying without auth. {}
- [2017-04-07 13:35:09,090][INFO ][no.found.docker.DockerContainerManager] Pulling image [docker.elastic.co/cloud-enterprise/kibana:4.6.4] {}
- [2017-04-07 13:35:10,231][INFO ][no.found.docker.DockerContainerManager] Creating container [frc-zookeeper-servers-zookeeper] {"ec_container_kind":"docker","ec_container_group":"zookeeper-servers","ec_container_name":"zookeeper"}
- [2017-04-07 13:35:10,235][INFO ][no.found.docker.DockerContainerManager] Creating container [frc-client-forwarders-client-forwarder] {"ec_container_kind":"docker","ec_container_group":"client-forwarders","ec_container_name":"client-forwarder"}
- [2017-04-07 13:35:10,792][INFO ][no.found.docker.DockerContainerManager] Starting container [frc-zookeeper-servers-zookeeper] {"ec_container_kind":"docker","ec_container_group":"zookeeper-servers","ec_container_name":"zookeeper"}
- [2017-04-07 13:35:11,264][INFO ][no.found.docker.DockerContainerManager] Starting container [frc-client-forwarders-client-forwarder] {"ec_container_kind":"docker","ec_container_group":"client-forwarders","ec_container_name":"client-forwarder"}
- [2017-04-07 13:35:11,487][INFO ][org.apache.curator.framework.imps.CuratorFrameworkImpl] Starting {}
- [2017-04-07 13:35:11,562][INFO ][no.found.curator.ForwardedEnsembleProvider] Unable to read servers list from [http://192.168.20.91:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1], falling back to [0.0.0.0:2181] {}
- [2017-04-07 13:35:11,563][INFO ][no.found.curator.ForwardedEnsembleProvider] Resolved connection string from [http://192.168.20.91:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1] to [0.0.0.0:2181/v1] with local namespace [/v1] {}
- [2017-04-07 13:35:11,615][INFO ][no.found.curator.ForwardedEnsembleProvider] Unable to read servers list from [http://192.168.20.91:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1], falling back to [0.0.0.0:2181] {}
- [2017-04-07 13:35:11,616][INFO ][no.found.curator.ForwardedEnsembleProvider] Resolved connection string from [http://192.168.20.91:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1] to [0.0.0.0:2181/v1] with local namespace [/v1] {}
- [2017-04-07 13:35:11,617][INFO ][org.apache.curator.framework.imps.CuratorFrameworkImpl] Default schema {}
- [2017-04-07 13:35:12,619][INFO ][no.found.curator.ForwardedEnsembleProvider] Unable to read servers list from [http://192.168.20.91:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1], falling back to [0.0.0.0:2181] {}
- [2017-04-07 13:35:12,619][INFO ][no.found.curator.ForwardedEnsembleProvider] Resolved connection string from [http://192.168.20.91:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1] to [0.0.0.0:2181/v1] with local namespace [/v1] {}
- [2017-04-07 13:35:13,623][INFO ][no.found.curator.ForwardedEnsembleProvider] Unable to read servers list from [http://192.168.20.91:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1], falling back to [0.0.0.0:2181] {}
- [2017-04-07 13:35:13,623][INFO ][no.found.curator.ForwardedEnsembleProvider] Resolved connection string from [http://192.168.20.91:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1] to [0.0.0.0:2181/v1] with local namespace [/v1] {}
- [2017-04-07 13:35:14,624][INFO ][no.found.curator.ForwardedEnsembleProvider] Unable to read servers list from [http://192.168.20.91:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1], falling back to [0.0.0.0:2181] {}
- [2017-04-07 13:35:14,625][INFO ][no.found.curator.ForwardedEnsembleProvider] Resolved connection string from [http://192.168.20.91:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1] to [0.0.0.0:2181/v1] with local namespace [/v1] {}
- [2017-04-07 13:35:15,625][INFO ][no.found.curator.ForwardedEnsembleProvider] Unable to read servers list from [http://192.168.20.91:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1], falling back to [0.0.0.0:2181] {}
- [2017-04-07 13:35:15,626][INFO ][no.found.curator.ForwardedEnsembleProvider] Resolved connection string from [http://192.168.20.91:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1] to [0.0.0.0:2181/v1] with local namespace [/v1] {}
- [2017-04-07 13:35:16,779][INFO ][no.found.curator.ForwardedEnsembleProvider] Resolved connection string from [http://192.168.20.91:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1] to [192.168.20.91:22191/v1] with local namespace [/v1] {}
- [2017-04-07 13:35:16,780][INFO ][org.apache.curator.ConnectionState] Connection string changed to: 0.0.0.0:2181/v1 {}
- [2017-04-07 13:35:17,225][INFO ][no.found.curator.ForwardedEnsembleProvider] Resolved connection string from [http://192.168.20.91:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1] to [192.168.20.91:22191/v1] with local namespace [/v1] {}
- [2017-04-07 13:35:17,280][INFO ][no.found.curator.ForwardedEnsembleProvider] Resolved connection string from [http://192.168.20.91:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1] to [192.168.20.91:22191/v1] with local namespace [/v1] {}
- [2017-04-07 13:35:17,283][INFO ][org.apache.curator.framework.state.ConnectionStateManager] State change: CONNECTED {}
- [2017-04-07 13:35:17,298][INFO ][org.apache.curator.framework.imps.EnsembleTracker] New config event received: [115, 101, 114, 118, 101, 114, 46, 49, 48, 61, 108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 50, 56, 57, 56, 58, 51, 56, 57, 56, 58, 112, 97, 114, 116, 105, 99, 105, 112, 97, 110, 116, 59, 48, 46, 48, 46, 48, 46, 48, 58, 50, 49, 57, 49, 10, 118, 101, 114, 115, 105, 111, 110, 61, 49, 48, 48, 48, 48, 48, 48, 48, 48] {}
- [2017-04-07 13:35:17,309][INFO ][no.found.curator.ForwardedEnsembleProvider] ZooKeeper connection string set to [0.0.0.0:2191] {}
- [2017-04-07 13:35:17,821][INFO ][no.found.bootstrap.BootstrapInitial] Creating container set [runners] with acls: List(31,s{'digest,'runners:memmmLQgZgt3SX31PpxL0G4T0xM=}
- , 31,s{'digest,'runners:IxIZJsbdh1M9Spe04CasoY4k2Jk=}
- ) {}
- [2017-04-07 13:35:17,866][INFO ][no.found.bootstrap.BootstrapInitial] Creating container set [zookeeper-servers] with acls: List(31,s{'digest,'runners:XF1hymlN0WLPkJh+MsbCAY8PFCg=}
- , 31,s{'digest,'zookeeper-servers:IcTGhVqZfL/sTAwIKM5aVXMSmaE=}
- ) {}
- [2017-04-07 13:35:17,898][INFO ][no.found.bootstrap.BootstrapInitial] Creating container set [client-forwarders] with acls: List(31,s{'digest,'runners:m2okDZWlRCnT39QuU/n6g1McIUA=}
- , 31,s{'digest,'client-forwarders:If0WP4PdW2mtU1D4NoQa1mgjxcM=}
- ) {}
- [2017-04-07 13:35:17,927][INFO ][no.found.bootstrap.BootstrapInitial] Creating container set [client-observers] with acls: List(31,s{'digest,'runners:ZudnWnK4WgzrYTVnA4wKtmJUhp4=}
- , 31,s{'digest,'client-observers:DHVmEEd6HKnYzYtagVijrpE+52Q=}
- ) {}
- [2017-04-07 13:35:17,956][INFO ][no.found.bootstrap.BootstrapInitial] Creating container set [directors] with acls: List(31,s{'digest,'runners:9Xor5fEvecejad2vSfWnsVU2VvY=}
- , 31,s{'digest,'directors:uOdTeUC3kOjYev1vXZNWLkIPyIg=}
- ) {}
- [2017-04-07 13:35:17,982][INFO ][no.found.bootstrap.BootstrapInitial] Creating container set [blueprints] with acls: List(31,s{'digest,'runners:dFty2YYvazSV3r7P4Dk3xVdGbrM=}
- , 31,s{'digest,'blueprints:jJYTrYJT9CzUgP6VpzGAhvGtr8E=}
- ) {}
- [2017-04-07 13:35:18,011][INFO ][no.found.bootstrap.BootstrapInitial] Creating container set [services-forwarders] with acls: List(31,s{'digest,'runners:utBSyX3BiHWRawTGp60px1qQGiE=}
- , 31,s{'digest,'services-forwarders:2obMZ0jc3IBtHI9fnkMlFaogJrE=}
- ) {}
- [2017-04-07 13:35:18,043][INFO ][no.found.bootstrap.BootstrapInitial] Creating container set [constructors] with acls: List(31,s{'digest,'runners:2MHoMnUbGL7DO7u0qYkP2Q5zVeY=}
- , 31,s{'digest,'constructors:/A9j1c2JdKz6+HDk9/pd3D5oeUI=}
- ) {}
- [2017-04-07 13:35:18,077][INFO ][no.found.bootstrap.BootstrapInitial] Creating container set [allocators] with acls: List(31,s{'digest,'runners:X4FEcCGY/h0b36hZXvMZM80Sd3c=}
- , 31,s{'digest,'allocators:TnU4n7ffNFRjWjywE2RzCI/920c=}
- ) {}
- [2017-04-07 13:35:18,113][INFO ][no.found.bootstrap.BootstrapInitial] Creating container set [admin-consoles] with acls: List(31,s{'digest,'runners:kBZt5xNeUr1NyeagSEUwv5VsJpI=}
- , 31,s{'digest,'admin-consoles:BgydRyakh4cXykZasl0ZKuFZuVQ=}
- ) {}
- [2017-04-07 13:35:18,240][INFO ][org.apache.curator.framework.imps.EnsembleTracker] New config event received: [115, 101, 114, 118, 101, 114, 46, 49, 48, 61, 108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 50, 56, 57, 56, 58, 51, 56, 57, 56, 58, 112, 97, 114, 116, 105, 99, 105, 112, 97, 110, 116, 59, 48, 46, 48, 46, 48, 46, 48, 58, 50, 49, 57, 49, 10, 118, 101, 114, 115, 105, 111, 110, 61, 49, 48, 48, 48, 48, 48, 48, 48, 48] {}
- [2017-04-07 13:35:18,241][INFO ][no.found.curator.ForwardedEnsembleProvider] ZooKeeper connection string set to [0.0.0.0:2191] {}
- [2017-04-07 13:35:18,397][INFO ][no.found.bootstrap.BootstrapInitial] Creating container set [cloud-uis] with acls: List(31,s{'digest,'runners:zBfo/IRBXJCxVGdW6esQQH9hv70=}
- , 31,s{'digest,'cloud-uis:o92/EHmHzWTFnnaSaI1DGjxtHM4=}
- ) {}
- [2017-04-07 13:35:18,427][INFO ][no.found.bootstrap.BootstrapInitial] Creating container set [proxies] with acls: List(31,s{'digest,'runners:1nqQIm5ReN0gBhVF2ma1/ucE0Rc=}
- , 31,s{'digest,'proxies:/ECs/SXR5fzuSqgk32Xd9R7+Tdg=}
- ) {}
- [2017-04-07 13:35:18,453][INFO ][no.found.bootstrap.BootstrapInitial] Creating container set [beats-runners] with acls: List(31,s{'digest,'runners:HZBlPIG/6xulOwviXaiYh/HrmM4=}
- , 31,s{'digest,'beats-runners:w4vBtjoYi/cQ7QmPNlAUxyq6SDs=}
- ) {}
- [2017-04-07 13:35:18,475][INFO ][no.found.bootstrap.BootstrapInitial] Starting local runner {}
- [2017-04-07 13:35:18,489][INFO ][no.found.docker.DockerContainerManager] Creating container [frc-runners-runner] {"ec_container_kind":"docker","ec_container_group":"runners","ec_container_name":"runner"}
- [2017-04-07 13:35:18,937][INFO ][no.found.docker.DockerContainerManager] Starting container [frc-runners-runner] {"ec_container_kind":"docker","ec_container_group":"runners","ec_container_name":"runner"}
- [2017-04-07 13:35:19,187][INFO ][no.found.bootstrap.BootstrapInitial] Started local runner {}
- [2017-04-07 13:35:19,189][INFO ][no.found.bootstrap.BootstrapInitial] Waiting for runner container node {}
- [2017-04-07 13:35:22,905][INFO ][no.found.bootstrap.BootstrapInitial] Runner container node detected {}
- [2017-04-07 13:35:23,150][INFO ][no.found.bootstrap.BootstrapInitial] Waiting for coordinator candidate {}
- [2017-04-07 13:35:53,492][INFO ][no.found.bootstrap.BootstrapInitial] Detected coordinator candidate {}
- [2017-04-07 13:35:53,510][INFO ][no.found.bootstrap.BootstrapInitial] Detected pending coordinator, promoting coordinator {}
- [2017-04-07 13:35:53,631][INFO ][no.found.zookeeper.models.coordinators.CoordinatorCandidatePendingInfo] Current instances: [4294967320,4294967320,1491572117550,1491572117550,0,0,0,0,2,0,4294967320], secrets: [4294967322,4294967322,1491572117569,1491572117569,0,0,0,0,19607,0,4294967322] {}
- [2017-04-07 13:35:53,742][INFO ][no.found.bootstrap.BootstrapInitial] Coordinator accepted {}
- [2017-04-07 13:35:53,742][INFO ][no.found.bootstrap.BootstrapInitial] Storing current platform version: 1.0.0-beta1 {}
- [2017-04-07 13:35:54,221][INFO ][no.found.bootstrap.BootstrapInitial] Storing Elastic Stack versions: [2.4.4,5.2.0] {}
- [2017-04-07 13:35:54,309][INFO ][no.found.bootstrap.BootstrapInitial] Creating Admin Console Elasticsearch backend {}
- [2017-04-07 13:35:54,646][INFO ][no.found.bootstrap.ServiceLayerBootstrap] Waiting for [ensuring-plan] to complete. Retrying every [1 second] (cause: [org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /clusters/fe0a18ad91974499a15b66ae558267cb/plans/status]) {}
- [2017-04-07 13:36:20,283][INFO ][no.found.bootstrap.ServiceLayerBootstrap] Waiting for [ensuring-plan] to complete. Retrying every [1 second] (cause: [java.lang.Exception: not yet started]) {}
- [2017-04-07 13:41:00,160][INFO ][no.found.bootstrap.BootstrapInitial] Applying Elasticsearch index template {}
- [2017-04-07 13:41:01,462][INFO ][no.found.bootstrap.BootstrapInitial] Updating dynamic Admin Console settings with Elasticsearch cluster information {}
- [2017-04-07 13:41:01,487][INFO ][no.found.bootstrap.BootstrapInitial] Starting reindexing Admin Console data {}
- [2017-04-07 13:41:02,058][INFO ][no.found.bootstrap.BootstrapInitial] Creating Logging and Metrics Cluster {}
- [2017-04-07 13:41:02,200][INFO ][no.found.bootstrap.ServiceLayerBootstrap] Waiting for [ensuring-plan] to complete. Retrying every [1 second] (cause: [org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /clusters/ee8c2c8b05564dc6bf6f1716dc3831ae/plans/status]) {}
- [2017-04-07 13:41:03,219][INFO ][no.found.bootstrap.ServiceLayerBootstrap] Waiting for [ensuring-plan] to complete. Retrying every [1 second] (cause: [java.lang.Exception: not yet started]) {}
- [2017-04-07 13:41:24,818][INFO ][no.found.bootstrap.BootstrapInitial] Enabling Kibana for Logging and Metrics Cluster {}
- [2017-04-07 13:41:25,060][INFO ][no.found.bootstrap.ServiceLayerBootstrap] waiting for cluster [KibanaCluster(e80d9aff577d4bc3a04c64448a63cf94)] {}
- [2017-04-07 13:41:25,068][INFO ][no.found.bootstrap.ServiceLayerBootstrap] Waiting for [waiting-for-cluster] to complete. Retrying every [1 second] (cause: [java.lang.Exception: not yet started]) {}
- [2017-04-07 13:41:50,538][INFO ][no.found.bootstrap.BootstrapInitial] Shutting down bootstrapper {}
- [2017-04-07 13:41:50,539][INFO ][org.apache.curator.framework.imps.CuratorFrameworkImpl] backgroundOperationsLoop exiting {}
- [2017-04-07 13:41:50,554][INFO ][no.found.bootstrap.BootstrapInitial] Exiting bootstrapper {}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Elastic Cloud Enterprise installation completed successfully

Administration Console Details:
Cloud UI URL: http://192.168.20.91:12400
Cloud UI URL: https://192.168.20.91:12443
Username: root
Password: 2BrUfvlhxnjONi6QnPZjm0DTRAAuYc7kRzsdJ20h4ui

To add hosts to this Elastic Cloud Enterprise installation, include the following parameter when you install the software 
on additional hosts: --coordinator-host 192.168.20.91
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error response from daemon: Unable to remove filesystem for 14bdf9dde44af645287aef971229694f129405f70b4fde4727963701158c5e1d: remove /mnt/data/docker/containers/14bdf9dde44af645287aef971229694f129405f70b4fde4727963701158c5e1d/shm: device or resource busy

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.