当前位置:网站首页>Cloud native essay using Hana expression database service on Google kubernetes cluster
Cloud native essay using Hana expression database service on Google kubernetes cluster
2022-06-26 09:53:00 【51CTO】
We know ,Cluster yes Google Kubernetes Engine ( abbreviation GKE) The basis of , Represents a container application Kubernetes Objects are running on the cluster .
Google Kubernetes Engine (GKE) Provides a managed environment , Developers can use Google Infrastructure on GKE Deployment in China 、 Management and expansion of containerized applications .GKE The environment includes multiple Compute Engine example , These instances are combined to form Google Kubernetes Cluster.
SAP HANA Expression yes SAP HANA Simplified version of , Designed for use on laptops and other mainframe computers ( Including cloud hosted virtual machines ) Up operation , Of course, it supports the Google Kubernetes Cluster Up operation . This version supports SAP HANA In addition to the traditional memory database function , Also provide bring-your-own-language And so on , Support microservices 、 Predictive analysis and machine learning algorithms , And geospatial processing for building insight driven applications .

This article will describe in detail how to Google Kubernetes Cluster Deploy and use HANA Expression Database Service.
stay Google Cloud Platform To create a Google Kubernetes Cluster example
Sign in Google Cloud Platform Console :

Click... In the upper left corner of the console Hamburger menu , Create a new Kubernetes Cluster:

maintain Cluster The name of , Choose the right version , Click on Customize customize :
by Cluster Appoint CPU And memory parameters , selected Ubuntu As an operating system .Cluster The size of is set to 1.
Cluster After creation and successful deployment , Click on Connect Button to connect .

After successful connection , You can use Cloud Shell Operate the cluster :
Cloud Shell The command line is provided in the same way as Cluster Interact .

stay Google Kubernetes Cluster Upper Department HANA Expression Database Service
Use the following command to create a secret In order to get Docker Mirror image :
kubectl create secret docker-registry docker-secret --docker-server=https://index.docker.io/v1/ --docker-username=xxx --docker-password=yyyyyy [email protected]
Create a yaml Deployment configuration file in (Deployment Configuration File), Save as hxe.yaml file :
This yaml The file defines a HANA Expression Of Docker Mirror image :store/saplabs/hanaexpress:2.00.030.00.20180403.2
Use the following command line to run this Docker Image deployment to Kubernetes Cluster On :
- kubectl create -f hxe.yaml
- kubectl describe pods
Wait for the deployment to complete successfully :

Execute the command line kubectl get pods, Make sure pod Status as Running, Then enter Pod Inside of container :
kubectl exec -it <<pod-name>> bash
You can use SQL Command line , The connection runs on Pod Inside HANA Expression The instance :
hdbsql -i 90 -d systemdb -u SYSTEM -p HXEHana1
Add... To the database document store Support for :alter database HXE add 'docstore';
from SQLPAD service get external IP Address :
kubectl get services

With this externally accessible IP After the address , Visit its 3000 port , You can log in to the browser SQLPAD 了 :

Click on Sign In, Create a Administration account.

Use Connections menu , Connect HANA Expression Database tables in the instance :
from kubectl get services Found in the command line results list hxe-connect, Copy its External IP Address :

Create a new database connection , Maintain just copied External IP Address , Database user name and password ,Tenant Other login information :

After the database connection is established , You can create a new one Query, Read and write it .

Create a name quotes Of document store, And insert some test data :
Create a Column surface , Turn on Fuzzy Search Support for :
Insert into document store collection Copy the data to the above Column table :
Query and wait The word with the lowest similarity :
summary
thus , We finished in Google Kubernetes Cluster In the operation HANA Expression Database Service Operation steps of . It is not difficult to feel from the whole process , Will include HANA Expression Of Docker The image is deployed in Google Kubernetes Cluster And run in Pod Inside , Realized HANA Expression Service out of the box , Thus avoiding On-Premises In deployment mode HANA Expression Tedious installation and configuration steps .
【 This article is participating in the cloud native prize essay solicitation activity 】, Activity Links : https://ost.51cto.com/posts/12598
边栏推荐
- Halcon photometric stereoscopic
- Speed test of adding, deleting, modifying and querying 5million pieces of data in a single MySQL table
- logback
- 2021 national vocational college skills competition (secondary vocational group) network security competition questions (1) detailed analysis tutorial
- libgstreamer-1.0. so. 0: cannot open shared object file: No such file or directory
- Wechat official account reported error 10003
- 力扣------从数组中移除最大值和最小值
- 2021年全国职业院校技能大赛(中职组)网络安全竞赛试题(2)详解
- Force buckle ----- remove the maximum and minimum values from the array
- Deep learning (tentsorflow2. version) three good student performance problems (1)
猜你喜欢

druid数据源实现后台监控

Install new version cmake & swig & tinyspline

MapReduce&Yarn理论

Summary of common commands of vim

#云原生征文# 在 Google Kubernetes Cluster 上使用 HANA Expression Database Service

Druid data source for background monitoring

Mysql database field query case sensitive setting

Badge series 7: use of codacy

jz2440---使用uboot燒錄程序

Go learning notes (83) - code specification and common development skills
随机推荐
LeetCode 基本计算器 224. 227. follow up 394
Jupyter Notebook遇到的问题
Badge series 5: use of codecov
Solve Django's if Version (1, 3, 3): raise improverlyconfigured ('mysqlclient 1.3.3 or new is required
js---获取对象数组中key值相同的数据,得到一个新的数组
MySQL单表500万条数据增、删、改、查速度测试
同花顺炒股软件安全性怎样?在同花顺怎么开户
thinkphp6.0的第三方扩展包,支持上传阿里云,七牛云
WGCLOUD的web ssh服务端口是多少
jz2440---使用uboot烧录程序
2021-11-22 运动规划杂记
online trajectory generation
Leetcode refers to offer II 091 Paint house - modify in place
Tensorflow dynamically allocates video memory
Champions League data set (Messi doesn't cry - leaving Barcelona may reach another peak)
进入页面输入框自动获取焦点
Go learning notes (83) - code specification and common development skills
做测试需要知道的内容——url、弱网、接口、自动化、
LeetCode 0710.黑名单中的随机数 - 预处理实现O(1)取值
Specific meaning of go bootstrap