Skip to main content

Posts

Showing posts from 2019

"The terminal process terminated with exit code: 1" in Visual Studio Code when open PowerShell file

When you open a PowerShell file in Visual Studio Code, you may see following error: The terminal process terminated with exit code: 1 The issue usually occurred on new provisioned system or enterprise environment with restricted security policy. The reason and solution are same like my other post: “Timed out waiting for the PowerShell extension to start” in Visual Studio Code .

Thoughts of VMworld 2019

This is my 7th time been VMworld. It's a great IT conference. Meet genius people, experience latest technologies, discuss with experts, and listen to other's ideas. Technology is changing really fast. I still remember VMworld was talking about 'be pioneers' few years ago. But now we have moved to cloud world. 'Virtualization' was the big focusing when I first time attended VMworld. Now VMware, Microsoft and Red Hat grabbed most of market shares. 'Virtualization' is very maturely today. I could see most of 3rd party vendors were focused on 'performance monitor' on VMworld 2017. I think the reason was no space on 'virtualization' market, but performance monitor was a big market. After two years, we could see lot of great virtualization performance products, such as vRealize Operation Managers, NetApp OCI, Uila...etc. Even open source product like Zabbix, added more support of 'virtualization' product. What's the next? When I wen

Bitbucket Server Integration With Visual Studio Code on Windows

There is an official Bitbucket extension for Visual Studio Code if you use Bitbucket Cloud. Bitbucket has not yet released official extension for Bitbucket Server users. Following is how to configure Visual Studio Code to use Bitbucket Server. Before the procedure you need to collect the following information: Your user name on Bitbucket Server. Your email on Bitbucket Server. Decide the local path to store code. (It's c:tempgit in this guide) Your account has permission to modify repositories on Bitbucket Server. Assume project name is " ExampleProject " on Bitbucket Server. Assume repository name in the project is " ExampleRepository ". Get the URL of the target repository. (It's https://userid@bb.zhengwu.org/scm/exampleproject/examplerepository.git in this guide) Make sure you have the latest Visual Studio Code installed. Time needed:  30 minutes. Download and install Git. Download windows installer in Github. Installation is simple. Only thing is to

Virtual Machine Cannot Mount ISO on System Center Virtual Machine Manager 2012 R2

A few days ago a user report to me that he cannot mounts ISO image to virtual machines on SCVMM 2012 R2. The error message is the following: Error (2912) An internal error has occurred trying to contact the dcahyv01.amat.com server: NO_PARAM: NO_PARAM. WinRM: URL: [http://hyper01.contoso.com:5985], Verb: [INVOKE], Method: [GetError], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={89EC51A2-633C-4E06-8B09-3A84146830B5}] The reason is the communication between SCVMM and Hyper-V servers are blocked due to certification on SCVMM application is expired. The default expiry date of SCVMM certification is 1/1/2019. The issue got fixed after renewing certificates in System Center 2012 R2 Virtual Machine Manager .

Private IP Address Routes to L3 Subnet on Dual vNIC VM

It's not easy for me to describe the issue in one line on the title. Let me give some background here. I have 2 set of VMs. Set 1 has VM A & VM B. Set 2 has VM C & VM D. Each VM has a vNIC configured with a private IP address. VM A and VM C also have another vNIC configured with an L3 (Routable) IP address. Each set's private IP addresses are the same. To make sure no confusion I implemented a vRouter VM for each set. The vRouter is same as VM A or VM C, it has two vNICs. One is connected to L3 network, another is connected to the private network. This way can keep the private network traffic not going outside of the set. So the both set no disturb each other when I set same private IP addresses. Diagram Following are IP addresses I set for each VM: VM A: 192.168.0.11 VM B: 192.168.0.12 VM C: 192.168.0.11 VM D: 192.168.0.12 The problem is I still can get ping responding on VM A to 192.168.0.12 when I turn off VM B. I expected to see the L2 traffic goes to it own vRoute