論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
20161022 Linux on Azureの世界
1. Linux on Azure の世界
Azure Linux Agent/Extensions概説
とAADとの連携など「いろいろ」
CLR/H in Tokyo 第11回
@tanaka_733
2. 自己紹介
お仕事
◦ OpenShift
◦ .NET Core on Red Hat Enterprise Linux (RHEL)
◦ Red Hat Solutions on Azure (RHEL, OpenShift etc)
個人
◦ Microsoft MVP for Visual Studio and
Development Technologies
◦ C#, .NET Core + Azure
◦ Build InsiderでC#関連の記事を執筆していたりします
◦ 最新連載: Roslyn SDKによる拡張の作り方
3. 今日のGOAL
◦Linux ユーザー向け Azure CLI おさらい
◦Azure上のLinuxが起動しなくなったら?
◦Azure Linux Agent に注目
◦Azure Linux Extension でアカウント制御や診断も
◦Azure AD と Linuxを組み合わせるシナリオの紹介
◦AnsibleでAzureリソースを制御してみよう
◦Azure File Storageでファイル共有してみよう
9. Azure PowerShell on Linux
# wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-
alpha.9/powershell-6.0.0_alpha.11-1.el7.centos.x86_64.rpm
# yum localinstall powershell-6.0.0_alpha.11-1.el7.centos.x86_64.rpm
PS /home/user1> Install-Package -Name AzureRM.NetCore.Preview -Source
https://www.powershellgallery.com/api/v2 -ProviderName NuGet -ExcludeVersion -Destination
/home/user1/.local/share/powershell/Modules
PS /home/user1> Import-Module AzureRM.NetCore.Preview
PS /home/user1> Login-AzureRMAccount
VERBOSE: To sign in, use a web browser to open the page https://aka.ms/devicelogin. Enter the code
AAAAAAAAA to authenticate.
Preview版で利用可能
http://tech.tanaka733.net/entry/azure-powershell-preview-on-linux
.NET Coreを先にインストールしておくこと
19. Agentのログファイル
/var/log/waagent.log
2016/06/23 03:56:28 Azure Linux Agent Version: WALinuxAgent-2.0.16
2016/06/23 03:56:28 Linux Distribution Detected : redhat
2016/06/23 03:56:28 Module /lib/modules/3.10.0-327.18.2.el7.x86_64/kernel/drivers/ata/ata_piix.ko driver for ATAPI CD-ROM is
already present.
2016/06/23 03:56:28 VMM Init script not found. Provisioning for Azure
2016/06/23 03:56:28 IPv4 address: 10.0.0.4
2016/06/23 03:56:28 MAC address: 00:0D:3A:40:06:2C
2016/06/23 03:56:28 Probing for Azure environment.
2016/06/23 03:56:28 DoDhcpWork: Setting socket.timeout=10, entering recv
2016/06/23 03:56:28 Set default gateway: 10.0.0.1
2016/06/23 03:56:28 Discovered Azure endpoint: 168.63.129.16
2016/06/23 03:56:28 Fabric preferred wire protocol version: 2015-04-05
2016/06/23 03:56:28 Negotiated wire protocol version: 2012-11-30
2016/06/23 03:56:28 SetBlockDeviceTimeout: Update the device sda with timeout 300
2016/06/23 03:56:28 SetBlockDeviceTimeout: Update the device sdb with timeout 300
2016/06/23 03:56:28 SetBlockDeviceTimeout: Update the device sdc with timeout 300
2016/06/23 03:56:28 SetBlockDeviceTimeout: Update the device sdd with timeout 300
2016/06/23 03:56:28 Retrieved GoalState from Azure Fabric.
2016/06/23 03:56:28 ExpectedState: Started
20. Agentのログファイル(失敗時)
/var/log/waagent.log
2016/06/23 04:14:41 Processing completed for Microsoft.OSTCExtensions.LinuxDiagnostic-2.3.9003
2016/06/23 04:14:41 Found Plugin: Microsoft.OSTCExtensions.VMAccessForLinux version: 1.3.0.1
2016/06/23 04:14:41 ERROR:HandlerManifest.json not found.
2016/06/23 04:14:41 Finished processing ExtensionsConfig.xml
2016/06/23 04:14:41 ERROR:Failed to get manifestdata.
2016/06/23 04:14:41 Successfully reported handler status
2016/06/23 04:15:06 ERROR:Failed to get manifestdata.
2016/06/23 04:15:31 ERROR:Failed to get manifestdata.
2016/06/23 04:15:56 ERROR:Failed to get manifestdata.
2016/06/23 04:16:22 ERROR:Failed to get manifestdata.
2016/06/23 04:16:47 ERROR:Failed to get manifestdata.
23. コマンドでのインストール
$ azure vm extension-image list -l {location}
$ azure vm extension set {vm_resource_group_name} {vm_name} {Type}
{Publisher} {Version} {option_parameter}
41. 今日のまとめ
◦Linux ユーザー向け Azure CLI おさらい
◦Azure上のLinuxが起動しなくなったら?
◦Azure Linux Agent に注目
◦Azure Linux Extension でアカウント制御や診断も
◦Azure AD と Linuxを組み合わせるシナリオの紹介
◦AnsibleでAzureリソースを制御してみよう
◦Azure File Storageでファイル共有してみよう
42. 今日触れていないこと
もっとRed Hat Solutions on Azure特有のこと
◦ 需要があれば話します
OMSによるLinuxリソース監視
◦ 来週のTokyo jazug night「OpenShift on Azure」で少し触れる予定
SQLServer on Linux (on Azure)
◦ 時(Public Preview)が来れば(調べてから)話す
Service Fabric for Linux
◦ いつか話す
Notas do Editor
AAD DS can enable you to access LDAP repository synced with AAD. You can use AAD as LDAP repository. But it can be accessed from the specific VNET in Azure and the VNET is the old style VNET: ASM.
Now ARM is prefer to ASM, so if you want to access AAD DS from the VM on ARM VNET, you can set up VNET peering.
AAD DS can enable you to access LDAP repository synced with AAD. You can use AAD as LDAP repository. But it can be accessed from the specific VNET in Azure and the VNET is the old style VNET: ASM.
Now ARM is prefer to ASM, so if you want to access AAD DS from the VM on ARM VNET, you can set up VNET peering.