原创 Azure REST API (0) 概述 Windows Azure Platform 系列文章目錄

  《Windows Azure Platform 系列文章目錄》     1.概述   1.我們在使用Azure 雲服務的時候,可以通過Azure Portal: https://portal.azure.com,輸入郵箱地址和密碼,然後

原创 Azure REST API (5) Azure創建Service Principal設置Client Secret過期時間100年 Windows Azure Platform 系列文章目錄

  《Windows Azure Platform 系列文章目錄》     我們在使用Azure Service Principle,通過應用程序開發API方式部署或修改Azure資源的時候,默認的Client Secret過期時間爲2年。

原创 Azure VM (44) 使用Azure Monitor Metric Exporter Windows Azure Platform 系列文章目錄

  《Windows Azure Platform 系列文章目錄》     1.之前接觸一些客戶,使用Prometheus Cloud Watch Exporter,把AWS監控指標,與Prometheus整合   https://gith

原创 Linux (8) unbound配置轉發域 Windows Azure Platform 系列文章目錄

  《Windows Azure Platform 系列文章目錄》   本文介紹如何使用Azure Linux設置unbound本地轉發和轉發域。   1.我們可以通過下面的命令,安裝unbound yum install unbound

原创 Linux (7) NetworkManager重置resolve.conf Windows Azure Platform 系列文章目錄

  《Windows Azure Platform 系列文章目錄》     在默認情況下,Azure Linux VM 會安裝waagent,而waagent會依賴於Network Manager服務。   當我們修改了resolve.co

原创 SQL Server計算行之間的時間差

有如下的表格: ModifyDate| ModifiedBy | TaskID |2018-02-05| Bob            | 55444  |2018-02-06| Lily             | 55444  |201

原创 Azure Virtual Network (21) ER專線啓用Fast Path Windows Azure Platform 系列文章目錄

  《Windows Azure Platform 系列文章目錄》     在Azure ER專線啓動Fast Path,具體的區別如下: 禁用Fast Path 啓用Fast Path Azure VM訪問本地VM流量,流量不經

原创 Azure VM (43) Azure VM時鐘同步 Windows Azure Platform 系列文章目錄

  《Windows Azure Platform 系列文章目錄》     本文主要介紹Azure Linux VM時鐘同步問題   在CentOS 8.x上,默認採用chrony配置爲使用PTP源同步。Chrony所選時間來源是可以配置的

原创 Linux (6) 磁盤擴容 Windows Azure Platform 系列文章目錄

  《Windows Azure Platform 系列文章目錄》   #先格式化磁盤 sudo su - fdisk -l mkfs.xfs /dev/sdb blkid vi /etc/fstab UUID=4329a75b-ac4

原创 Azure ARM (28) 轉移Azure訂閱 Windows Azure Platform 系列文章目錄

  《Windows Azure Platform 系列文章目錄》     環境搭建 Azure VNet 1和VNet 2,並打通VNet Peering 僅移動Azure VNet 1和相關資源。VNet 2還保留在老的訂閱裏 在VN

原创 Azure ARM (27) 自定義Role,只能創建MySQL Flexible Server資源 Windows Azure Platform 系列文章目錄

  《Windows Azure Platform 系列文章目錄》     用戶這裏有個新的需求,自定義Role,只能創建MySQL Flexible Server資源和Private DNS Zone,不能創建資源資源。   可以使用下面

原创 Azure ARM (26) 自定義Role,不允許創建新的Azure資源 Windows Azure Platform 系列文章目錄

  《Windows Azure Platform 系列文章目錄》     如果只允許用戶修改資源(比如開機、關機等操作),不允許用戶創建新的Azure資源,請使用下面的Custom Role   下圖的Actions爲*,可以根據具體需求

原创 Azure ARM (25) 自定義Role,不允許移動Azure資源 Windows Azure Platform 系列文章目錄

  《Windows Azure Platform 系列文章目錄》     我們把一個資源從資源組A移動到資源組B的時候,如果這時候有其他人對資源組A或者資源組B的時候,會遇到創建失敗的錯誤,並且會提示該資源組正在被移動,所以無法部署   

原创 Azure ARM (24) 自定義Azure Policy Windows Azure Platform 系列文章目錄

  《Windows Azure Platform 系列文章目錄》     我們可以自定義policy,來符合公司的IT策略。   我們這裏演示的場景是,增加一個自定義policy,需要用戶在創建vnet,或者增加subnet的時候,需要開

原创 Azure VM (42) 對Azure VM進行補丁更新管理 Windows Azure Platform 系列文章目錄

  《Windows Azure Platform 系列文章目錄》     我們在使用Azure VM的時候,會遇到對虛擬機進行補丁更新管理。   Azure VM補丁管理基於Azure Automation和Log Analytics,總