IT |
ITmedia 総合記事一覧 |
[ITmedia News] NURO光、契約内容ごとに分かれていた電話窓口を統一 |
https://www.itmedia.co.jp/news/articles/2308/31/news127.html
|
問い合わせ |
2023-08-31 12:41:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia Mobile] 楽天モバイル、音声SIMも簡易申し込み可能に 楽天銀行/証券/生命ユーザー限定 |
https://www.itmedia.co.jp/mobile/articles/2308/31/news126.html
|
itmediamobile |
2023-08-31 12:36:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 月が地球に最も近い「スーパーブルームーン」今夜 東日本中心に「バッチリ見える」 |
https://www.itmedia.co.jp/news/articles/2308/31/news125.html
|
itmedia |
2023-08-31 12:27:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia PC USER] アイ・オー、医用画像向けの27型WQHD液晶ディスプレイ |
https://www.itmedia.co.jp/pcuser/articles/2308/31/news123.html
|
itmediapcuser |
2023-08-31 12:17:00 |
TECH |
Techable(テッカブル) |
NTTグループ、授業中の発話内容を文字起こし・翻訳、出席者ログを管理できる 「3D教育メタバース」提供 |
https://techable.jp/archives/218463
|
仮想空間 |
2023-08-31 03:00:52 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
WEBアプリにおいてどのようにサイトが表示されるの? |
https://qiita.com/A831SS336O/items/efb0c0e7cf93bf174b8f
|
簡潔 |
2023-08-31 12:31:14 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
Azure Application Gateway のレート制限 |
https://qiita.com/Isato-Hiyama/items/bde749124c1ca2c87a40
|
application |
2023-08-31 12:13:48 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
【Git】git push でリモートリポジトリにプッシュ |
https://qiita.com/div_tomo/items/0279f37934355111a9dc
|
gitpush |
2023-08-31 12:12:03 |
海外TECH |
DEV Community |
How to migrate Apache Solr from the existing cluster to Amazon EKS |
https://dev.to/haintkit/how-to-migrate-apache-solr-from-the-existing-cluster-to-amazon-eks-3b3l
|
How to migrate Apache Solr from the existing cluster to Amazon EKSCo author coanghaSolr is an open source enterprise search platform written in Java Its major features include full text search hit highlighting faceted search real time indexing dynamic clustering database integration NoSQL features and rich document e g Word PDF handling Providing distributed search and index replication Solr is designed for scalability and fault tolerance Solr is widely used for enterprise search and analytics use cases and has an active development community and regular releases Solr runs as a standalone full text search server It uses the Lucene Java search library at its core for full text indexing and search and has REST like HTTP XML and JSON APIs that make it usable from most popular programming languages Solr s external configuration allows it to be tailored to many types of applications without Java coding and it has a plugin architecture to support more advanced customization In this article I ll walk through the process of migrate Solr from a Kubernetes cluster to Amazon EKS Elastic Kubernetes Service using backup and restore method Please take into account depend on your Solr s version system requirement circumstance etc you will need to extra setup on EFS to ensure your Ks cluster is able to access to network file system on AWS This will not be required if your Solr s version can use S as backup repository Please refer to the links below Solr Operator documentationWorking with Amazon EFS access points EFSIs it possible to make EFS publicly accessible For the purpose of demonstrating I ll migrate Solr from an EKS cluster to another one within the same region However you can apply this migration method to any Kubernetes cluster running on any platform Prerequisite Before you begin make sure you have the following available AWS account and required permission to create resourcesTerraform or AWS CLI kubectl and helm installed on your machineThe following step is what we will do in this article Step Create target EKS cluster Step Install Solr using Helm Step Setup Solr backup storage Step Create backup from origin cluster Step Restore Solr to EKS using backup Let s go in details Create target EKS clusterThere are many ways to create a cluster such as using eksctl In my case I will use terraform module cause it s easy to reuse and comprehend This is my Terraform code template to create the cluster You can just copy and run it or customize based on your desired configurations provider aws region ap southeast default tags tags environment Dev provider kubernetes host module eks cluster endpoint cluster ca certificate basedecode module eks cluster certificate authority data token data aws eks cluster auth this token provider helm kubernetes host module eks cluster endpoint cluster ca certificate basedecode module eks cluster certificate authority data token data aws eks cluster auth this token provider kubectl apply retry count host module eks cluster endpoint cluster ca certificate basedecode module eks cluster certificate authority data load config file false token data aws eks cluster auth this token data aws eks cluster auth this name module eks cluster name data aws availability zones available locals region ap southeast vpc cidr azs slice data aws availability zones available names module eks source terraform aws modules eks aws version gt EKS Cluster Config cluster name solr demo cluster version VPC Config vpc id module vpc vpc id subnet ids module vpc private subnets EKS Cluster Network Config cluster endpoint private access true cluster endpoint public access true EKS Worker eks managed node groups solr nodegroup node group name solr managed node group launch template os amazonlinuxeks public ip false pre userdata lt lt EOF yum install y amazon ssm agent systemctl enable amazon ssm agent amp amp systemctl start amazon ssm agent EOF desired size ami type AL x capacity type ON DEMAND instance types t medium disk size module eks blueprints addons common source aws ia eks blueprints addons aws version gt cluster name module eks cluster name cluster endpoint module eks cluster endpoint cluster version module eks cluster version oidc provider arn module eks oidc provider arn create delay dependencies for ng in module eks eks managed node groups ng node group arn eks addons aws ebs csi driver service account role arn module ebs csi driver irsa iam role arn vpc cni service account role arn module aws node irsa iam role arn coredns kube proxy enable aws efs csi driver true Resource for VPC CNI Addonmodule aws node irsa source terraform aws modules iam aws modules iam role for service accounts eks version gt role name prefix module eks cluster name aws node attach vpc cni policy true vpc cni enable ipv true oidc providers main provider arn module eks oidc provider arn namespace service accounts kube system aws node module ebs csi driver irsa source terraform aws modules iam aws modules iam role for service accounts eks version gt role name prefix module eks cluster name ebs csi driver attach ebs csi policy true oidc providers main provider arn module eks oidc provider arn namespace service accounts kube system ebs csi controller sa module vpc source terraform aws modules vpc aws version gt name solr demo subnet cidr local vpc cidr azs local azs private subnets for k v in local azs cidrsubnet local vpc cidr k public subnets for k v in local azs cidrsubnet local vpc cidr k enable nat gateway true single nat gateway true public subnet tags kubernetes io role elb private subnet tags kubernetes io role internal elb The following AWS resources will be created VPC with private and public subnets EKS cluster along with a node group t medium x and EKS adds on aws ebs csi driver vpc cni coredns kube proxy You can check AWS resources in AWS management console Install Solr using helmNext step is to install Solr using helm Install the Solr amp Zookeeper CRDshelm repo add apache solr helm repo update Install the Solr operator and Zookeeper Operatorkubectl create f version gt all with dependencies yamlhelm install solr operator apache solr solr operator version lt version gt Install the Solr zookeeperhelm install solr apache solr solr n solr version lt version gt Replace version with your chart version or chart version which contain your Solr s version Next run this command to get admin s password and access to Solr UI Get solr passwordkubectl get secret solrcloud security bootstrap n solr o jsonpath data admin base decode Port forward Solr UIkubectl port forward service solrcloud common n solrNow open your browser and type http localhost the result should be Then using the admin s password we get above to login Setup Solr backup storageAfter you have Solr installation done it is time to setup Solr backup storage At the time of writing this post AWS supports backup storage types EFS and S Depending on your Solr s version and system requirement you can choose either of them In this demo I ll use EFS as backup storage since this storage type is compatible to most Solr s version For more information please visit this link To setup EFS as Solr s backup storage you need to create an EFS in AWS This terraform code template will create EFS resource module efs source terraform aws modules efs aws version File system name solr backup storage performance mode generalPurpose throughput mode bursting Mount targets security group mount targets ap southeast a subnet id module vpc private subnets ap southeast b subnet id module vpc private subnets ap southeast c subnet id module vpc private subnets deny nonsecure transport false security group description EFS security group security group vpc id module vpc vpc id security group rules private subnet cidr blocks module vpc private subnets Replace EFS id with EFS resource ID e g fs abcdef you just created in previous step and then run command kubectl apply f solr efs pvc yaml n solrFrom now on EFS is ready to use on your cluster In next step you need to upgrade Solr to take EFS as backup storage First create values yaml file as below backupRepositories name solr backup volume source Required persistentVolumeClaim claimName solr efs claim directory solr backup OptionalNote that you will need to do this for both origin and target cluster Second you need to roll it out using helm run command helm upgrade install solr f values yaml apache solr solr n solr version lt version gt Finally you should see EFS claim name in your Solr pod using this command as an expected result kubeclt describe statefulset dica solrcloud n solr grep solr efs claim ClaimName solr efs claimCreate backup from source clusterIn order to restore Solr to new cluster you definitely need to have a backup file in your hand You are going to backup a collection using Solr API by using the following command curl user admin lt password gt https lt origin solr endpoint gt solr admin collections action BACKUP amp name lt backup name gt amp collection lt collection name gt amp location file var solr data backup restore solr backup amp repository solr backupIf you have more than one collection just repeat the process Replace password with admin s password origin solr endpoint for your origin Solr s endpoint and as your choice You can check your backup progress by accessing to a pod and then check the directory Restore Solr to target EKS clusterSince both origin and target Solr s backup storage are using the same directory in AWS EFS as you setup in previous steps You only need to invoke the restore API in your target cluster curl user admin lt password gt http localhost solr admin collections action RESTORE amp name lt backup name gt amp location var solr data backup restore solr backup amp collection lt collection name gt As I configured to use port fowarding I only need to replace Solr s endpoint with localhost Finally let s go to Solr UI and you should see the collection have been restored successfully to your new EKS cluster After that you can start setting up autoscaling ingress security and other resources for Solr in new EKS cluster and connecting your application to the database Should you need any further information regarding Solr s backup and restore API please visit this link ConclusionSolr is widely used in enterprise and SMB Depending on your system requirements and circumstances migrating Solr to Amazon EKS will require different setup and approaches I hope this post will provide you with useful information about Solr migration using backup and restore Any comments are welcomed Thank you for your reading Thanks co author coangha for your effort in this post |
2023-08-31 03:24:37 |
ニュース |
BBC News - Home |
Ben Wallace: New UK defence secretary to be announced |
https://www.bbc.co.uk/news/uk-politics-66667039?at_medium=RSS&at_campaign=KARANGA
|
wallace |
2023-08-31 03:51:09 |
ニュース |
BBC News - Home |
North Korea says it simulated nuclear strike on South |
https://www.bbc.co.uk/news/world-asia-66666589?at_medium=RSS&at_campaign=KARANGA
|
missiles |
2023-08-31 03:28:00 |
ニュース |
BBC News - Home |
Gabon coup leaders name General Brice Oligui Nguema as new leader |
https://www.bbc.co.uk/news/world-africa-66666585?at_medium=RSS&at_campaign=KARANGA
|
bongo |
2023-08-31 03:08:34 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「ビルボードって何だ?」オリコン世代が知る由もない今どき音楽シーン - Lifestyle Analysis |
https://diamond.jp/articles/-/328305
|
「ビルボードって何だ」オリコン世代が知る由もない今どき音楽シーンLifestyleAnalysis近年、日本の音楽が活況を呈している。 |
2023-08-31 12:30:00 |
マーケティング |
MarkeZine |
【耳から学ぶ】SDGs推進の現状と生活者のインサイト/セイバンに聞く、新ブランドの立ち上げのポイント |
http://markezine.jp/article/detail/43317
|
新ブランド |
2023-08-31 12:30:00 |
IT |
週刊アスキー |
東京大学発・ELYZA、GPT-3.5(text-davinci-003)匹敵、最高水準の日本語LLM |
https://weekly.ascii.jp/elem/000/004/153/4153052/
|
elyza |
2023-08-31 12:35:00 |
IT |
週刊アスキー |
この秋に食べたいメニューを紹介 マリノアシティ福岡の館内飲食店「秋のグルメ・スイーツフェア」9月4日より開催 |
https://weekly.ascii.jp/elem/000/004/153/4153160/
|
館内 |
2023-08-31 12:30:00 |
マーケティング |
AdverTimes |
「時間も人手も足りない」広報担当者必見!「成果を最大化する仕事の進め方」特集/スムーズな情報収集、ニュース価値の高い企画づくり…先進事例や専門家のアドバイスを紹介/広報会議10月号 |
https://www.advertimes.com/20230831/article431450/
|
|
2023-08-31 03:22:21 |
マーケティング |
AdverTimes |
エクストリーム就職相談 〜世界で活躍する⽇本⼈クリエイティブに聞け!〜(第1回 HIKARI 後編) |
https://www.advertimes.com/20230831/article432134/
|
エクストリーム就職相談世界で活躍する⽇本⼈クリエイティブに聞け第回HIKARI後編「エクストリーム就職相談世界で活躍する⽇本⼈クリエイティブに聞け」第回に登場していただくのは、ロサンゼルスと東京を拠点に活躍する監督・脚本家・プロデューサーのHIKARIさん。 |
2023-08-31 03:01:45 |
マーケティング |
AdverTimes |
エクストリーム就職相談 〜世界で活躍する⽇本⼈クリエイティブに聞け!〜(第1回 HIKARI 前編) |
https://www.advertimes.com/20230831/article430213/
|
そんなHIKARIさんの映像人生は、大阪での子役から始まった。 |
2023-08-31 03:00:35 |
コメント
コメントを投稿