Sample Script-VM-VHD-Attach.ps1



[샘플 스크립트]


$rgName = "rg-jhvm"

$vmname = "jh-vm"

$vmdiskadd=Get-AzurermVM -ResourceGroupName $rgname -Name $vmname

 

Add-AzureRMVMDataDisk -Name Data-jh-vm-2017-1 -VM $vmdiskadd -VhdUri https://rgjhvmdisks378.blob.core.windows.net/vhds/Datadisk2017.vhd -LUN 4 -Caching None -CreateOption Attach -DiskSizeInGB 10


Update-AzureRmVM -ResourceGroupName $rgname -VM $vmdiskadd


<스크립트의 수정할 값 정보>

#attach existing datadisks to VM

#수정해야하는 값

#rg-jhvm

#jh-vm

#Data-jh-vm-2017-1 = 가상 컴퓨터에 연결되는 디스크의 표시 이름

#https://rgjhvmdisks378.blob.core.windows.net/vhds/Datadisk2017.vhd = VHD 파일의 위치

#4  (-LUN) = 추가 되는 Disk LUN 넘버 (중복되면 안되기 때문에 기존 디스의 다음 번호로 입력을 하면 됩니다.

#10 (-DiskSizeInGB) = 연결되는 가상 디스크의 크기



가상 컴퓨터에 연결하기 위해 Azure 저장소에 업로드된 VHD 파일 의 URL이 필요합니다.

다른 환경에서 VHD upload해서 Azure 저장소에 저장시킨 vhd 파일을 azure vm Attach 할 수 있습니다.


예제>

Resourece group : rg-jhvm

Computer name : JH-VM


가상 컴퓨터에 연결하기 위한 Data Disk LUN 확인을 해야하며, 중복 되면 안됩니다.


예를 들면 3번까지 LUN을 디스크에서 사용 중일 경우, 스크립트를 실행하면 추가 디스크는 Lun 4로 할당이 되고, Azure VM에 대한 설정 업데이트를 진행하게 됩니다.


정상적으로 완료가 되면 아래와 같이 OK로 나타납니다.


Azure Portal에서 VM Disk를 확인하면 아래와 같이 추가 Disk가 연결 된 것을 확인 할 수 있습니다.

Azure 기초 세션 세미나 발표 자료 입니다.



20160409_Open Camp_Azure 기초 세션_V1_by 최정현.pdf



★감사합니다★

Having trouble viewing this email? View as a webpage.

 

 

Microsoft

 

Azure

 

 

 

In this email, you’ll find the latest Azure release announcements and related pricing changes.

 

Azure

 

 

Azure Scheduler Premium tier name update
Pricing | Scheduler webpage
Beginning May 1, 2016, customers using Azure Scheduler will see the Premium tier renamed as “P10 Premium” in their billing invoice, the Azure portal, and the pricing webpage. There is no change to the GUID and pricing as part of this update. The P10 Premium tier will have the same pricing and GUID as the current Premium tier.

 

Previous name

 

New name

 

 

Premium Scheduler Units

 

P10 Premium Scheduler Unit

 


Compliance updates for Azure public cloud
We’re adding more certification coverage to our Azure portfolio, so regulated customers can take advantage of new services:

Microsoft has renewed our Azure Service Organization Controls (SOC) 1 and 2 Reports, expanding service coverage to include 14 new services in SOC and achieved a SOC 3. New Azure in-scope services include: Scheduler, API Management, Azure Redis Cache, ExpressRoute, Automation, Load Balancer, HDInsight, Storage Premium, SQL Database, Event Hubs, Sync Fabric (Microsoft Azure Active Directory [Azure AD]), Password Single Sign-on (Azure AD), Self-Service Group Management (Azure AD), and Operational Insights.

Microsoft renewed our Azure Payment Card Industry (PCI) certification, updating PCI Data Security Standard (DSS) 3.0 to PCI DSS 3.1 and expanding service coverage. Services added with this certification include HDInsight, Key Vault, Azure Resource Manager, and Azure Redis Cache.

Microsoft has achieved Japan Cloud Security Gold Mark (CS Gold Mark) accreditation by Japan Information Security Audit Association (JASA). The scope includes all layers (IaaS, PaaS, and SaaS) with Azure and Office 365 and all regions operated by Microsoft that have achieved SOC 2 Type 2. CS Gold Mark is a standard based on ISO/IEC 27017.


For more information, please visit the Compliance, SOC 1, 2, and 3 Reports, Payment Card Industry (PCI) Data Security Standard (DSS) Level 1, and Cloud Security Mark (Gold) webpages.

Visual Studio Team Services Test Manager extension renamed on invoices
Visual Studio Team Services (formerly Visual Studio Online) continues to offer the Test Manager extension, enabling customers to perform manual, exploratory, and user acceptance tests, with E2E traceability across the ALM stack. This will be corrected to appear as Visual Studio Team Services Test Manager on invoices starting May 2016.

Meter updates for Azure Storage
Pricing | Storage webpage
To help clarify Azure Storage-related billing, we’ll be changing Storage and Storage-related resource GUIDs. This change is set to take effect between April 16 and May 16, 2016. We recommend customers make appropriate changes to the Storage resource GUIDs in custom applications before April 16, 2016. As part of these changes, storage transaction meters will be separated into multiple meters based on the type of transaction and the associated storage service. Please note that there is no price change as part of this update.

In addition, the resource name, Standard IO - Table/Queue (GB), will be separated into two names:

Standard IO – Table (GB)

Standard IO – Queue (GB)


To see before and after GUIDs for the various resource types, please visit the Azure Storage GUIDs webpage.

Note: As an Azure partner, you are receiving this email because we are required to notify you of all pricing changes. This is the only communication per enrollment that you will receive directly from Microsoft regarding these pricing changes.


Thank you,

Your Azure Team

 

 


 

 

This message from Microsoft is an important part of a program, service, or product that you or your company purchased or participates in. Microsoft respects your privacy. Please read our Privacy Statement.

 

 


 

 

Microsoft

 

 


+ Recent posts