SlideShare ist ein Scribd-Unternehmen logo
1 von 14
Downloaden Sie, um offline zu lesen
Windows Azure &
PowerShell DSC
SYSTEM CENTER & AZURE NIGHT!! (2014.03.28)
高井 一輝 – SYSTEM CENTER USER GROUP JAPAN
自己紹介
 高井 一輝 (Takai Kazuki)
 某 ISP 勤務
 主な仕事 : クラウドとオンプレミスを組み合わせたインテグレーション
 見積り、提案書の作成から設計、構築、試験、運用まで
 ネットワーク、サーバ (Windows、Linux)
 System Center User Group Japan (SCUGJ)
 Twitter : @zhuky7
 Facebook : kazuki.takai
 Blog : Operations Lab. http://operationslab.wordpress.com/
本日のお話
 Windows Azure 上で DSC (Desired State Configuration) を使う際の注意点
 本質的には DSC はあまり関係ないです
 言語パック周りのお話です
突然ですが
 Windows Azure は検証にも最適
 検証したいと思ってすぐ使える
 手元に機材を用意する必要がない
 検証・デモ機を持ち歩く必要がない
 Windows Server 2012 R2 のテンプレートも用意されている
 Windows Server 2012 R2 の新機能を Azure で検証(体験)したい
 とりあえず DSC とか
Desired State Configuration (DSC)
 Windows PowerShell Desired State Configuration
 サーバーの構成と管理を行うための新機能
(PowerShell 4.0 / Windows Server 2012 R2)
 サーバーに対する操作 (構築) 手順ではなく、サーバーの状態を記述することで
サーバーを自動構成
 DSC によるサーバーの構成手順
 PowerShell で構成後のサーバーの状態を定義
 PowerShell コードから構成データが含まれる MOF ファイルを生成
 MOF ファイルを使用してサーバーを構成
DSC リソース
Archive Environment File Resources A
Group Log Package Resources B
Process Registry Role Resources C
Script Service User Resources D
Windows PowerShell Desired State Configuration
Built-In Resources Custom Resources
試してみた
 Windows Azure 上に仮想マシンを展開
 OS の初期設定を実施
 Windows Update
 ユーザー作成
 セキュリティ設定変更
 エラー報告やその他細かい設定
 言語設定
 DSC を動かしてみる
エラー
モジュール MSFT_RoleResource のインポートが失敗しました。
エラー: ディレクトリ
'C:¥Windows¥system32¥WindowsPowerShell¥v1.0¥Modules¥PSDesiredStateC
onfiguration¥DSCResources¥MSFT_RoleResource¥ja-JP¥'
または親のカルチャ ディレクトリに Windows PowerShell データ ファイル
'MSFT_RoleResourceStrings.psd1' が見つかりません。
+ CategoryInfo : InvalidOperation:
(root/Microsoft/...gurationManager:String) []、CimException
+ FullyQualifiedErrorId : ImportModuleFailed
+ PSComputerName : INF1403-W12R2E
リソースファイルがない?
 C:¥Windows¥system32¥WindowsPowerShell¥v1.0¥Modules¥PSDesiredState
Configuration¥DSCResources¥MSFT_RoleResource を見てみる
 ja-JP フォルダーがない
 Windows Azure の仮想マシンは英語 OS
 確かに、デフォルトではリソースが存在しないのが正しいが…
うまく動く環境と動かない環境
 同じ DSC 構成ファイル(スクリプト)でも、動く環境と動かない環境がある
 動く環境
 日本語ランゲージパックを適用していない
 日本語ランゲージバックを適用済み、ログインユーザーの言語環境が日本語
システムユーザーおよびようこそ画面は英語
 動かない環境
 日本語ランゲージパックを適用済み、ログインユーザーの言語環境が日本語
システムユーザーおよびようこそ画面も日本語
 ↑の環境でも、動く場合がある
動かない原因
 システム言語が日本語に設定されている環境で、かつ KB2883200 が適用されて
いない
 KB2883200 - Windows 8.1 および Windows Server 2012 R2 の一般公開用の更新プロ
グラムのロールアップ
 http://support.microsoft.com/kb/2883200/ja
 ランゲージパックの適用後に、KB2883200 を適用する必要あり
 ランゲージパックの適用後に Windows Update を実行すると、インストール対象と
して表示される
まとめ
 言語パックを適用した OS 環境とローカライズ版の OS 環境は同じではない
 言語パックを適用したら、Windows Update を再実行する
 必要がないなら、システムアカウントの言語は変更しない
 今回の事象以外にも、いろいろなトラブルが起きる可能性があります
ご清聴ありがとうございました

Weitere ähnliche Inhalte

Was ist angesagt?

[MR14] Windows 10 を クラウドで提供。 本邦初公開! Citrix XenDesktop Essentials の全容解明 ~ Citr...
[MR14] Windows 10 を クラウドで提供。 本邦初公開! Citrix XenDesktop Essentials の全容解明 ~ Citr...[MR14] Windows 10 を クラウドで提供。 本邦初公開! Citrix XenDesktop Essentials の全容解明 ~ Citr...
[MR14] Windows 10 を クラウドで提供。 本邦初公開! Citrix XenDesktop Essentials の全容解明 ~ Citr...
de:code 2017
 

Was ist angesagt? (19)

Interact2019 - Windows Admin Center 2019年6月のお話
Interact2019 - Windows Admin Center 2019年6月のお話Interact2019 - Windows Admin Center 2019年6月のお話
Interact2019 - Windows Admin Center 2019年6月のお話
 
Windows Admin Center -Project Honolulu改め-
Windows Admin Center -Project Honolulu改め-Windows Admin Center -Project Honolulu改め-
Windows Admin Center -Project Honolulu改め-
 
Nano Server First Step
Nano Server First StepNano Server First Step
Nano Server First Step
 
PowerShell DSC と連携して監視を効率化してみる
PowerShell DSC と連携して監視を効率化してみるPowerShell DSC と連携して監視を効率化してみる
PowerShell DSC と連携して監視を効率化してみる
 
PowerShell 5.0 & Security
PowerShell 5.0 & SecurityPowerShell 5.0 & Security
PowerShell 5.0 & Security
 
PowerShell 5.0 JEA (Just Enough Administration) First Step
PowerShell 5.0 JEA (Just Enough Administration) First StepPowerShell 5.0 JEA (Just Enough Administration) First Step
PowerShell 5.0 JEA (Just Enough Administration) First Step
 
Windows Admin Center 2110
Windows Admin Center 2110Windows Admin Center 2110
Windows Admin Center 2110
 
PowerShell DSC と Linux
PowerShell DSC と LinuxPowerShell DSC と Linux
PowerShell DSC と Linux
 
Past and Future of PowerShell
Past and Future of PowerShellPast and Future of PowerShell
Past and Future of PowerShell
 
AKS on Azure Stack HCI/Windows Serverのデプロイ _ Deploying AKS on Azure Stack HCI...
AKS on Azure Stack HCI/Windows Serverのデプロイ _ Deploying AKS on Azure Stack HCI...AKS on Azure Stack HCI/Windows Serverのデプロイ _ Deploying AKS on Azure Stack HCI...
AKS on Azure Stack HCI/Windows Serverのデプロイ _ Deploying AKS on Azure Stack HCI...
 
Non-coding! Azure
Non-coding! AzureNon-coding! Azure
Non-coding! Azure
 
20180630 data transformationusinglogicflow
20180630 data transformationusinglogicflow20180630 data transformationusinglogicflow
20180630 data transformationusinglogicflow
 
Interact 2018:PowerShell of Microsoft SDN v2 101
Interact 2018:PowerShell of Microsoft SDN v2 101Interact 2018:PowerShell of Microsoft SDN v2 101
Interact 2018:PowerShell of Microsoft SDN v2 101
 
Sql server 2016 always on 可用性グループ new features
Sql server 2016 always on 可用性グループ new featuresSql server 2016 always on 可用性グループ new features
Sql server 2016 always on 可用性グループ new features
 
Application Platform としての Windows Server 2019
Application Platform としての Windows Server 2019Application Platform としての Windows Server 2019
Application Platform としての Windows Server 2019
 
Introducing Windows Terminal
Introducing Windows TerminalIntroducing Windows Terminal
Introducing Windows Terminal
 
Windows Admin Center -HCI管理を中心に-
Windows Admin Center -HCI管理を中心に-Windows Admin Center -HCI管理を中心に-
Windows Admin Center -HCI管理を中心に-
 
[MR14] Windows 10 を クラウドで提供。 本邦初公開! Citrix XenDesktop Essentials の全容解明 ~ Citr...
[MR14] Windows 10 を クラウドで提供。 本邦初公開! Citrix XenDesktop Essentials の全容解明 ~ Citr...[MR14] Windows 10 を クラウドで提供。 本邦初公開! Citrix XenDesktop Essentials の全容解明 ~ Citr...
[MR14] Windows 10 を クラウドで提供。 本邦初公開! Citrix XenDesktop Essentials の全容解明 ~ Citr...
 
Windows Admin Center 2018年10月のお話
Windows Admin Center 2018年10月のお話Windows Admin Center 2018年10月のお話
Windows Admin Center 2018年10月のお話
 

Andere mochten auch

Asian Automation Alliance システムテスト自動化構築時の考え方と進め方の一例
Asian Automation Alliance システムテスト自動化構築時の考え方と進め方の一例Asian Automation Alliance システムテスト自動化構築時の考え方と進め方の一例
Asian Automation Alliance システムテスト自動化構築時の考え方と進め方の一例
Noriyuki Mizuno
 
ChefとPuppetの比較
ChefとPuppetの比較ChefとPuppetの比較
ChefとPuppetの比較
Sugawara Genki
 

Andere mochten auch (20)

『Azure power shell + 無料ジョブスケジューラ』活用事例
『Azure power shell + 無料ジョブスケジューラ』活用事例『Azure power shell + 無料ジョブスケジューラ』活用事例
『Azure power shell + 無料ジョブスケジューラ』活用事例
 
Windows Serverを活用する on Windows Azure セミナー
Windows Serverを活用する on Windows Azure セミナーWindows Serverを活用する on Windows Azure セミナー
Windows Serverを活用する on Windows Azure セミナー
 
Asian Automation Alliance システムテスト自動化構築時の考え方と進め方の一例
Asian Automation Alliance システムテスト自動化構築時の考え方と進め方の一例Asian Automation Alliance システムテスト自動化構築時の考え方と進め方の一例
Asian Automation Alliance システムテスト自動化構築時の考え方と進め方の一例
 
新卒1年目の個人活動まとめ
新卒1年目の個人活動まとめ新卒1年目の個人活動まとめ
新卒1年目の個人活動まとめ
 
ノンコーディングでactive directoryを管理してみる
ノンコーディングでactive directoryを管理してみるノンコーディングでactive directoryを管理してみる
ノンコーディングでactive directoryを管理してみる
 
Serfが面白いと俺の中で話題にwwwwww 【改訂版】
Serfが面白いと俺の中で話題にwwwwww 【改訂版】Serfが面白いと俺の中で話題にwwwwww 【改訂版】
Serfが面白いと俺の中で話題にwwwwww 【改訂版】
 
Windows Azureを利用したDevOps入門
Windows Azureを利用したDevOps入門Windows Azureを利用したDevOps入門
Windows Azureを利用したDevOps入門
 
SIプロジェクトでのインフラ自動化の事例 (第1回 Puppetユーザ会 発表資料)
SIプロジェクトでのインフラ自動化の事例 (第1回 Puppetユーザ会 発表資料)SIプロジェクトでのインフラ自動化の事例 (第1回 Puppetユーザ会 発表資料)
SIプロジェクトでのインフラ自動化の事例 (第1回 Puppetユーザ会 発表資料)
 
ネットワークエンジニアのための Puppet / Chef
ネットワークエンジニアのための Puppet / Chefネットワークエンジニアのための Puppet / Chef
ネットワークエンジニアのための Puppet / Chef
 
Windowsでの自動化の手段
Windowsでの自動化の手段Windowsでの自動化の手段
Windowsでの自動化の手段
 
Serverspecの本気をみるのです
Serverspecの本気をみるのですServerspecの本気をみるのです
Serverspecの本気をみるのです
 
Chef on azure
Chef on azureChef on azure
Chef on azure
 
「自動家(オートメータ)をつくる」-システムテスト自動化カンファレンス2014 「.reviewrc」枠発表-
「自動家(オートメータ)をつくる」-システムテスト自動化カンファレンス2014 「.reviewrc」枠発表-「自動家(オートメータ)をつくる」-システムテスト自動化カンファレンス2014 「.reviewrc」枠発表-
「自動家(オートメータ)をつくる」-システムテスト自動化カンファレンス2014 「.reviewrc」枠発表-
 
Azure CLI あずにゃんの CLI を使ってみた結果www
Azure CLI あずにゃんの CLI を使ってみた結果wwwAzure CLI あずにゃんの CLI を使ってみた結果www
Azure CLI あずにゃんの CLI を使ってみた結果www
 
ChefとPuppetの比較
ChefとPuppetの比較ChefとPuppetの比較
ChefとPuppetの比較
 
意識の低い自動化
意識の低い自動化意識の低い自動化
意識の低い自動化
 
DevOps Practices: Configuration as Code
DevOps Practices:Configuration as CodeDevOps Practices:Configuration as Code
DevOps Practices: Configuration as Code
 
自動構築と自動テスト〜インフラのコード化とクラウドの優位性
自動構築と自動テスト〜インフラのコード化とクラウドの優位性自動構築と自動テスト〜インフラのコード化とクラウドの優位性
自動構築と自動テスト〜インフラのコード化とクラウドの優位性
 
インフラ構築とテストについて(ITインフラ業務自動化現状確認会)
インフラ構築とテストについて(ITインフラ業務自動化現状確認会)インフラ構築とテストについて(ITインフラ業務自動化現状確認会)
インフラ構築とテストについて(ITインフラ業務自動化現状確認会)
 
Configuration As Code - Adoption of the Job DSL Plugin at Netflix
Configuration As Code - Adoption of the Job DSL Plugin at NetflixConfiguration As Code - Adoption of the Job DSL Plugin at Netflix
Configuration As Code - Adoption of the Job DSL Plugin at Netflix
 

Ähnlich wie Windows Azure and PowerShell DSC

帰ってきた インフラ野郎 Azureチーム ~Azure データセンターテクノロジー解体新書2018春~ - de:code2018
帰ってきた インフラ野郎 Azureチーム ~Azure データセンターテクノロジー解体新書2018春~ - de:code2018帰ってきた インフラ野郎 Azureチーム ~Azure データセンターテクノロジー解体新書2018春~ - de:code2018
帰ってきた インフラ野郎 Azureチーム ~Azure データセンターテクノロジー解体新書2018春~ - de:code2018
Toru Makabe
 
初心者がハマったWindows Azureの基礎の基礎
初心者がハマったWindows Azureの基礎の基礎初心者がハマったWindows Azureの基礎の基礎
初心者がハマったWindows Azureの基礎の基礎
Saori Ando
 
2011/12/3 わんくま同盟
2011/12/3 わんくま同盟2011/12/3 わんくま同盟
2011/12/3 わんくま同盟
貴仁 大和屋
 
やりたいことから考えるMicrosoft Azure 上の データストアの選び方とデータサイエンティスト向け活用法。KVSからDWHまで
やりたいことから考えるMicrosoft Azure 上の データストアの選び方とデータサイエンティスト向け活用法。KVSからDWHまでやりたいことから考えるMicrosoft Azure 上の データストアの選び方とデータサイエンティスト向け活用法。KVSからDWHまで
やりたいことから考えるMicrosoft Azure 上の データストアの選び方とデータサイエンティスト向け活用法。KVSからDWHまで
Daisuke Masubuchi
 

Ähnlich wie Windows Azure and PowerShell DSC (20)

はじめての Azure 開発
はじめての Azure 開発はじめての Azure 開発
はじめての Azure 開発
 
帰ってきた インフラ野郎 Azureチーム ~Azure データセンターテクノロジー解体新書2018春~ - de:code2018
帰ってきた インフラ野郎 Azureチーム ~Azure データセンターテクノロジー解体新書2018春~ - de:code2018帰ってきた インフラ野郎 Azureチーム ~Azure データセンターテクノロジー解体新書2018春~ - de:code2018
帰ってきた インフラ野郎 Azureチーム ~Azure データセンターテクノロジー解体新書2018春~ - de:code2018
 
Azure Arc Automanage Machine Configuration による構成の管理と適用
Azure Arc Automanage Machine Configuration による構成の管理と適用Azure Arc Automanage Machine Configuration による構成の管理と適用
Azure Arc Automanage Machine Configuration による構成の管理と適用
 
Azure Fundamental
Azure FundamentalAzure Fundamental
Azure Fundamental
 
Sql azure入門
Sql azure入門Sql azure入門
Sql azure入門
 
Visual Studio を使った Windows Azure アプリケーション開発概要
Visual Studio を使った Windows Azure アプリケーション開発概要Visual Studio を使った Windows Azure アプリケーション開発概要
Visual Studio を使った Windows Azure アプリケーション開発概要
 
初心者がハマったWindows Azureの基礎の基礎
初心者がハマったWindows Azureの基礎の基礎初心者がハマったWindows Azureの基礎の基礎
初心者がハマったWindows Azureの基礎の基礎
 
Azure と MT のフシギな関係
Azure と MT のフシギな関係Azure と MT のフシギな関係
Azure と MT のフシギな関係
 
Jazug福島 azure vm_20150404
Jazug福島 azure vm_20150404Jazug福島 azure vm_20150404
Jazug福島 azure vm_20150404
 
わんくま東京勉強会#46 Azureセッション資料
わんくま東京勉強会#46 Azureセッション資料わんくま東京勉強会#46 Azureセッション資料
わんくま東京勉強会#46 Azureセッション資料
 
わんくま東京勉強会#46 Azureセッション資料
わんくま東京勉強会#46 Azureセッション資料わんくま東京勉強会#46 Azureセッション資料
わんくま東京勉強会#46 Azureセッション資料
 
2011/11/26 Dot netlab
2011/11/26 Dot netlab2011/11/26 Dot netlab
2011/11/26 Dot netlab
 
Azure DevOpsとVisual Studio App CenterをモバイルアプリのCI/CDに活用しよう
Azure DevOpsとVisual Studio App CenterをモバイルアプリのCI/CDに活用しようAzure DevOpsとVisual Studio App CenterをモバイルアプリのCI/CDに活用しよう
Azure DevOpsとVisual Studio App CenterをモバイルアプリのCI/CDに活用しよう
 
Container x azure x kubernetes
Container x azure x kubernetesContainer x azure x kubernetes
Container x azure x kubernetes
 
db tech showcase 大阪 2014 C12 どうつかう?Couchbase Server
db tech showcase 大阪 2014 C12 どうつかう?Couchbase Serverdb tech showcase 大阪 2014 C12 どうつかう?Couchbase Server
db tech showcase 大阪 2014 C12 どうつかう?Couchbase Server
 
2011/12/3 わんくま同盟
2011/12/3 わんくま同盟2011/12/3 わんくま同盟
2011/12/3 わんくま同盟
 
PowerShell and Release Management Server
PowerShell and  Release Management ServerPowerShell and  Release Management Server
PowerShell and Release Management Server
 
20190201 Cloud Native Kansai AKS Azure
20190201 Cloud Native Kansai AKS Azure20190201 Cloud Native Kansai AKS Azure
20190201 Cloud Native Kansai AKS Azure
 
やりたいことから考えるMicrosoft Azure 上の データストアの選び方とデータサイエンティスト向け活用法。KVSからDWHまで
やりたいことから考えるMicrosoft Azure 上の データストアの選び方とデータサイエンティスト向け活用法。KVSからDWHまでやりたいことから考えるMicrosoft Azure 上の データストアの選び方とデータサイエンティスト向け活用法。KVSからDWHまで
やりたいことから考えるMicrosoft Azure 上の データストアの選び方とデータサイエンティスト向け活用法。KVSからDWHまで
 
Microsoft azureとdockerとansibleと
Microsoft azureとdockerとansibleとMicrosoft azureとdockerとansibleと
Microsoft azureとdockerとansibleと
 

Mehr von Kazuki Takai

Mehr von Kazuki Takai (18)

Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築
Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築
Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築
 
Azure Arc Jumpstart Update - HCIBox Edition
Azure Arc Jumpstart Update - HCIBox EditionAzure Arc Jumpstart Update - HCIBox Edition
Azure Arc Jumpstart Update - HCIBox Edition
 
ArcBox のおさらいと最新情報
ArcBox のおさらいと最新情報ArcBox のおさらいと最新情報
ArcBox のおさらいと最新情報
 
Arc 対応サーバーへの SSH アクセス
Arc 対応サーバーへの SSH アクセスArc 対応サーバーへの SSH アクセス
Arc 対応サーバーへの SSH アクセス
 
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
 
Insight into Azure Active Directory - Azure AD Custom Role & Scope
Insight into Azure Active Directory - Azure AD Custom Role & ScopeInsight into Azure Active Directory - Azure AD Custom Role & Scope
Insight into Azure Active Directory - Azure AD Custom Role & Scope
 
最近の PowerShell について
最近の PowerShell について最近の PowerShell について
最近の PowerShell について
 
Windows Server 2022 Datacenter Azure Edition Overview
Windows Server 2022 Datacenter Azure Edition OverviewWindows Server 2022 Datacenter Azure Edition Overview
Windows Server 2022 Datacenter Azure Edition Overview
 
Azure Arc 概要
Azure Arc 概要Azure Arc 概要
Azure Arc 概要
 
Recap: Windows Server 2019 Failover Clustering
Recap: Windows Server 2019 Failover ClusteringRecap: Windows Server 2019 Failover Clustering
Recap: Windows Server 2019 Failover Clustering
 
使ってみよう PowerShell
使ってみよう PowerShell使ってみよう PowerShell
使ってみよう PowerShell
 
5分で分かる Windows Server 2019 HCI 超概要
5分で分かる Windows Server 2019 HCI 超概要5分で分かる Windows Server 2019 HCI 超概要
5分で分かる Windows Server 2019 HCI 超概要
 
Windows Server 2019 で Container を使ってみる
Windows Server 2019 で Container を使ってみるWindows Server 2019 で Container を使ってみる
Windows Server 2019 で Container を使ってみる
 
Recap: PowerShell Core
Recap: PowerShell CoreRecap: PowerShell Core
Recap: PowerShell Core
 
Windows とコンテナの話
Windows とコンテナの話Windows とコンテナの話
Windows とコンテナの話
 
Azure Stack の使い道 - 2017年11月版 -
Azure Stack の使い道 - 2017年11月版 -Azure Stack の使い道 - 2017年11月版 -
Azure Stack の使い道 - 2017年11月版 -
 
最近の PowerShell のお話
最近の PowerShell のお話最近の PowerShell のお話
最近の PowerShell のお話
 
IT Pro のための PowerShell スクリプティング
IT Pro のための PowerShell スクリプティングIT Pro のための PowerShell スクリプティング
IT Pro のための PowerShell スクリプティング
 

Kürzlich hochgeladen

Kürzlich hochgeladen (11)

NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
 
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
 
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
 
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
 
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
 
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
 
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
 
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
 

Windows Azure and PowerShell DSC

  • 1. Windows Azure & PowerShell DSC SYSTEM CENTER & AZURE NIGHT!! (2014.03.28) 高井 一輝 – SYSTEM CENTER USER GROUP JAPAN
  • 2. 自己紹介  高井 一輝 (Takai Kazuki)  某 ISP 勤務  主な仕事 : クラウドとオンプレミスを組み合わせたインテグレーション  見積り、提案書の作成から設計、構築、試験、運用まで  ネットワーク、サーバ (Windows、Linux)  System Center User Group Japan (SCUGJ)  Twitter : @zhuky7  Facebook : kazuki.takai  Blog : Operations Lab. http://operationslab.wordpress.com/
  • 3. 本日のお話  Windows Azure 上で DSC (Desired State Configuration) を使う際の注意点  本質的には DSC はあまり関係ないです  言語パック周りのお話です
  • 4. 突然ですが  Windows Azure は検証にも最適  検証したいと思ってすぐ使える  手元に機材を用意する必要がない  検証・デモ機を持ち歩く必要がない  Windows Server 2012 R2 のテンプレートも用意されている  Windows Server 2012 R2 の新機能を Azure で検証(体験)したい  とりあえず DSC とか
  • 5. Desired State Configuration (DSC)  Windows PowerShell Desired State Configuration  サーバーの構成と管理を行うための新機能 (PowerShell 4.0 / Windows Server 2012 R2)  サーバーに対する操作 (構築) 手順ではなく、サーバーの状態を記述することで サーバーを自動構成  DSC によるサーバーの構成手順  PowerShell で構成後のサーバーの状態を定義  PowerShell コードから構成データが含まれる MOF ファイルを生成  MOF ファイルを使用してサーバーを構成
  • 6. DSC リソース Archive Environment File Resources A Group Log Package Resources B Process Registry Role Resources C Script Service User Resources D Windows PowerShell Desired State Configuration Built-In Resources Custom Resources
  • 7. 試してみた  Windows Azure 上に仮想マシンを展開  OS の初期設定を実施  Windows Update  ユーザー作成  セキュリティ設定変更  エラー報告やその他細かい設定  言語設定  DSC を動かしてみる
  • 8.
  • 9. エラー モジュール MSFT_RoleResource のインポートが失敗しました。 エラー: ディレクトリ 'C:¥Windows¥system32¥WindowsPowerShell¥v1.0¥Modules¥PSDesiredStateC onfiguration¥DSCResources¥MSFT_RoleResource¥ja-JP¥' または親のカルチャ ディレクトリに Windows PowerShell データ ファイル 'MSFT_RoleResourceStrings.psd1' が見つかりません。 + CategoryInfo : InvalidOperation: (root/Microsoft/...gurationManager:String) []、CimException + FullyQualifiedErrorId : ImportModuleFailed + PSComputerName : INF1403-W12R2E
  • 10. リソースファイルがない?  C:¥Windows¥system32¥WindowsPowerShell¥v1.0¥Modules¥PSDesiredState Configuration¥DSCResources¥MSFT_RoleResource を見てみる  ja-JP フォルダーがない  Windows Azure の仮想マシンは英語 OS  確かに、デフォルトではリソースが存在しないのが正しいが…
  • 11. うまく動く環境と動かない環境  同じ DSC 構成ファイル(スクリプト)でも、動く環境と動かない環境がある  動く環境  日本語ランゲージパックを適用していない  日本語ランゲージバックを適用済み、ログインユーザーの言語環境が日本語 システムユーザーおよびようこそ画面は英語  動かない環境  日本語ランゲージパックを適用済み、ログインユーザーの言語環境が日本語 システムユーザーおよびようこそ画面も日本語  ↑の環境でも、動く場合がある
  • 12. 動かない原因  システム言語が日本語に設定されている環境で、かつ KB2883200 が適用されて いない  KB2883200 - Windows 8.1 および Windows Server 2012 R2 の一般公開用の更新プロ グラムのロールアップ  http://support.microsoft.com/kb/2883200/ja  ランゲージパックの適用後に、KB2883200 を適用する必要あり  ランゲージパックの適用後に Windows Update を実行すると、インストール対象と して表示される
  • 13. まとめ  言語パックを適用した OS 環境とローカライズ版の OS 環境は同じではない  言語パックを適用したら、Windows Update を再実行する  必要がないなら、システムアカウントの言語は変更しない  今回の事象以外にも、いろいろなトラブルが起きる可能性があります