df-edge-demo-terraform

  • O5_143133
    了解作者
  • 604.1KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-10 14:43
    上传日期
总览 本节介绍如何创建显示的演示(演示开始于32分10秒左右)。 - The concepts demonstrated in this project are not suitable for production environments. - This project is for frequently creating and tearing down demo/trial environments. - This project is not for creating and managing long-living demo/trial environments. - Please read the project license before using this project. 先决条件 在本地安装以下内容: 地形-| AWS CLI- 该项目已经在Linux和OSX
df-edge-demo-terraform-main.zip
内容介绍
**OVERVIEW** This section describes how to create the demo that was shown on [BrightTalk](https://www.brighttalk.com/webcast/12641/445912/stretching-hpe-ezmeral-data-fabric-from-edge-to-cloud) (demo starts around 32 mins 10 seconds). ```diff - The concepts demonstrated in this project are not suitable for production environments. - This project is for frequently creating and tearing down demo/trial environments. - This project is not for creating and managing long-living demo/trial environments. - Please read the project license before using this project. ``` ### Pre-requisites The following installed locally: - Terraform - [installation instructions](https://learn.hashicorp.com/terraform/getting-started/install.html)|[downloads](https://www.terraform.io/downloads.html) - AWS CLI - [installation instructions](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html) This project has been tested on **Linux** and **OSX** client machines - Windows is unlikely to work. ### Setup project environment ``` # If you haven't already configured the aws CLI with your credentials, run the following: aws configure # clone this project git clone https://github.com/hpe-container-platform-community/df-edge-demo-terraform cd df-edge-demo-terraform # create a copy cp ./etc/bluedata_infra.tfvars_example ./etc/bluedata_infra.tfvars # edit to reflect your requirements - read the comments in the file! vi ./etc/bluedata_infra.tfvars # initialise terraform terraform init ``` --- ### AWS infrastructure setup ``` ./bin/terraform_apply.sh # answer yes when prompted ``` ### Install MAPR ``` ./scripts/mapr_install_clusters_parallel.sh ./scripts/mapr_verify_install.sh ``` ### Setup Cross-Cluster security ``` ./scripts/mapr_setup_cross_cluster_security.sh ``` ### Register License - This requires an account on https://mapr.com/user - create one if you don't have one already. ``` ./scripts/register_license.sh ``` - Enter mapr.com credentials when prompted - Verify the license with (ensure the expiry date is set and has not passed): ``` ./scripts/verify_license.sh ``` - if this step fails, manually register the license in the MCS UI - you can retrieve the MCS UI with `./bin/mapr_edge_demo_urls.sh` (mapr/mapr) ### Setup Edge Demo ``` ./scripts/setup_edge_demo.sh ``` --- ## Run the demo ### Run Dashboards - Open a New terminal, then run ``` ./bin/mapr_edge_demo_start.sh ``` An error similar to the following indicates the enterprise license has not been applied to the clusters: > ERROR (95) - Failed to add replica for table: /apps/pipeline/data/replicatedStream DirectCopyInfo DC_NOT_SUPPORTED > 2021-01-22 09:58:35,5813 ERROR Client fc/dbclient.cc:716 Thread: 2411 AddTableReplica failed, error Function not implemented(38) ### Setup Mirroring, Replication, etc - Open a New terminal, then run ``` ./bin/mapr_edge_demo_poststartup.sh ``` ### Open dashboards ``` ./bin/mapr_edge_demo_urls.sh ``` You should see the EDGE dashboard reporting the replication status as 'ESTABLISHED': ![edge_demo_replication.png](./edge_demo_replication.png) ### Restart Volume Mirror - After requesting assets on the Edge dashboard, restart mirroring with ``` ./bin/mapr_edge_demo_restart_vol_mirror.sh ``` ### Monitor Mirroring - Monitor DC files Open a new terminal and run: ``` ./bin/mapr_edge_demo_watch_mirror.sh ``` --- ### Start/Stop the EC2 instances Stop ... ``` ./bin/ec2_stop_all_instances.sh ``` Start ... ``` ./bin/ec2_start_all_instances.sh ``` After starting the instances you need to repeat the steps to [run the demo](#run-the-demo). ### EC2 instance status ``` ./bin/ec2_instance_status.sh ``` ### SSH into EC2 instances ``` ./bin/ssh_mapr_cluster_1_host_0.sh ./bin/ssh_mapr_cluster_1_host_1.sh ./bin/ssh_mapr_cluster_1_host_2.sh ./bin/ssh_mapr_cluster_2_host_0.sh ./bin/ssh_mapr_cluster_2_host_1.sh ./bin/ssh_mapr_cluster_2_host_2.sh ``` ### Teardown the environment ``` ./bin/terraform_destroy.sh # answer yes when prompted ```
评论
    相关推荐
    • aws-cutting-edge-appsync
      aws-cutting-edge-appsync
    • rust-wasm-lambda-edgeAWS Lambda @ Edge(CloudFront)上的RustWASM
      AWS Lambda @ Edge(CloudFront)上的Rust / Wasm 阅读该项目随附的。 由于我们仍然无法在AWS Lambda @ Edge上使用本机Rust(或WebAssembly),因此我们必须提出自己的解决方案。 在这里,我介绍一下我的方法:...
    • lambda-edge-image-optimizer:使用AWS Lambda @ Edge和Amazon CloudFron
      使用Lambda @ Edge和Amazon CloudFront进行实时图像优化 我为编写的代码。
    • next-aws-lambda
      无需S3存储桶或Lambda @ Edge。 只是简单的aws lambdas。 例子 // lambda.js const next = require ( 'next' ) const lambda = require ( 'next-aws-lambda' ) // If you run in dev, set timeout over 10 seconds ...
    • aws-cloudfront-basic-auth:使用 Lambda@Edge 进行 HTTP 基本身份验证
      aws-cloudfront-basic-auth 使用 Lambda@Edge 对 CloudFront 进行基本身份验证,无需保留授权标头 动机 该解决方案旨在通过密码保护 React Web 应用程序开发环境免受公共访问 解决方案的要求是 限制对开发环境的...
    • amazon-sagemaker-edge-manager-workshop
      该服务提供了在边缘设备上运行的软件代理以及AWS控制台中的管理界面。 首先,您可以使用SageMaker Neo优化训练有素的ML模型。 对于Edge Manager支持的设备,Neo会自动将运行时生成为编译输出,因此您无需从设备上的...
    • eks:AWS工程学习系列-EKS
      AWS工程学习系列-EKS 实验室 启动您的实验室环境 请按照以下步骤操作,以在Cloud9环境中进行设置并创建您的EKS集群。 1.启动一个Cloud9环境 在整个课程中,您将在这里进行实验。 单击按钮开始为您分配的区域创建...
    • AWS:AWS Turbo Disk Controller逆向工程
      AWS Turbo磁盘控制器板 这是一个反向工程项目。 AWS是Convergent Technologies在1980年代中期生产的基于8088/8086的计算机。 某些型号配备了AWS Turbo磁盘控制器。 这处理了5.25英寸的软盘和MFM硬盘驱动器。 它基于...
    • lambdaedgedims
      使用Lambda @ Edge的DIMS实现 HOL撰写了有关如何使用Lambda @ Edge实施DIMS的文章。 附加的图片似乎有版权问题,但是根据目前的测试,我认为不会有问题。 本文档基本上是在您可以使用AWS的前提下编写的,鼓励不熟悉...
    • aws-edge-locations:AWS边缘位置代码前缀列表
      aws-edge-locations 包括纬度/经度信息的AWS CloudFront Edge位置代码前缀列表,可通过查找机制使用。 内容 如果您在这里查看简单数据,请查看 安装 要安装,您可以执行以下操作: $ npm i aws-edge-locations ...