Blog Posts

Total : 3,115

Total Blog Posts : 3,115

Blog Posts

1 2 Previous Next

Edge GWでFWやNAT設定を行い接続対象のVMにSSH・RDP接続も可能ですが

要件によっては穴あけを避けたいケースが考えられます。

そんな時にPowerCLIのOpen-VMConsoleWindowコマンドレットを使用して

vCloud Airへブラウザからログインしなくても対象のVMのコンソールを起動させることができます。

 

■前提条件:

・PowerCLIがクライアントにインストールされていること

・できればブラウザはFireFoxが好ましい(そしてFireFoxを既定のブラウザに設定しておく

 

■対象サービス:

・VPC

・Dedicated

・OnDemand

 

1. PowerCLIを起動しvCDへ接続する

Connect-CIServer p10v1-vcd.vchs.vmware.com -Org M12345678-9012

 

2. vCloud Airログインアカウントを入力する

 

3. 接続対象のVMを選択する

$selection = Get-CIVM | ? {$_.Status -eq "PoweredOn"} | Out-GridView -OutputMode Multiple

 

4. コンソールを起動する

Open-VMConsoleWindow $selection

 

※下図はOnDemand環境のVMにコンソール接続した例です。

SnapCrab_NoName_2016-2-9_22-46-22_No-00.png

I am getting critical swap usage alert in one of the monitoring tool called nagios.

 

1) However when I went to the host from vCenter and checked the memory utilization from the cluster, the respective host memory utilization is only 66%

Also I went to performance tab of a host, when i selected memory, it shows a 1 min high spike and suddenly it went down.

My question is how do I identify, which VM is using more swap on this Host or what is the cause of  that high spike?


2) From ESXi command line, esxtop "m" output shows the below


SWAP  /MB:   123    curr,   122 rclmtgt:                 0.00 r/s,   0.00 w/s


which means it is using 123 MB swap and reclaim memory is 0.


My query is, when I can see it is showing 66% utilization of Memory, then why it is using swap? and I am not sure, how do I avoid to such situation in future?


Can anybody please, I have searched and didn't found anything relevant.

VMware Photon OS の、Docker Hub オフィシャルリポジトリが公開されました。

Docker コンテナイメージが「docker pull photon」でダウンロードできます。

 

Three New Official Repos Join the Docker Library

http://blog.docker.com/2016/01/three-new-official-repos-join-the-docker-library/http://blog.docker.com/2016/01/three-new-official-repos-join-the-docker-library/

 

Docker Hub の photon リポジトリ。

https://hub.docker.com/r/library/photon/https://hub.docker.com/r/library/photon/

 

リポジトリの Tag を見ると、現時点(2016/01)でインストーラの ISO イメージが公開されている

Photon OS 1.0 TP2 と、それよりも新しい 1.0 RC が公開されています。

この時点の latest Tag は 1.0RC のイメージに割り当てられています。

dockerhub-photon-repo.png


ということで、Docker Hub オフィシャルのイメージからコンテナを起動してみます。

 

オフィシャル photon イメージからコンテナ起動。

 

Docker ホストは、Photon OS 1.0 TP2 を使用しています。

root [ ~ ]# cat /etc/photon-release

VMware Photon Linux 1.0 TP2

 

今回の Docker ホストは、photon21 というホスト名にしています。

root [ ~ ]# uname -n

photon21

 

Docker Hub のオフィシャルの photon はこれです。

NAME に「/」がなく、OFFICIAL が [OK] になっています。

root [ ~ ]# docker search photon | grep -v /

NAME                                 DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED

photon                               Photon OS is a technology preview of a min...   5         [OK]

 

イメージをダウンロード(pull)してみます。

タグなしで「photon」と指定しているので、「photon:latest」がダウンロードされます。

root [ ~ ]# docker pull photon

Using default tag: latest

latest: Pulling from library/photon

2b04b19ccb4f: Pull complete

a7d41096d06c: Pull complete

b12b5ead0dad: Pull complete

library/photon:latest: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.

Digest: sha256:b2848958bab911122e8469411184ab683d8105859497ecb33bb9f3760ace6ce0

Status: Downloaded newer image for photon:latest

 

ダウンロードされました。

root [ ~ ]# docker images photon

REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE

photon              latest              b12b5ead0dad        2 weeks ago         119.1 MB

 

コンテナを起動してみます。

起動と同時にコンテナの中に入っていることが、プロンプトとホスト名からわかります。

root [ ~ ]# docker run -it photon

root [ / ]# uname -n   ★ここからコンテナの中。

4ee5f47acd72

 

latest から起動したコンテナの Photon OS のバージョンは 1.0 RC になっています。

root [ / ]# cat /etc/photon-release

VMware Photon Linux 1.0-RC

PHOTON_BUILD_NUMBER=09637bc

 

Photon OS では、yum のかわりに tdnf という yum 互換コマンドで RPM パッケージを管理します。

コンテナイメージに登録済みのリポジトリを見てみます。

root [ / ]# tdnf repolist

repo id             repo name                               status

photon              VMware Photon Linux 1.0(x86_64)         enabled

photon-updates      VMware Photon Linux 1.0(x86_64)Updates  enabled

lightwave           VMware Lightwave 1.0(x86_64)            enabled

 

tdnf は、yum と同様のリポジトリ参照設定をします。

今回のコンテナでは、このように設定されていました。

tdnf / yum コマンドを実行しなくても、baseurl に設定されている URL に Web ブラウザなどで

アクセスすると、実際にどのような RPM が用意されているのか確認できます。

root [ / ]# ls /etc/yum.repos.d/

lightwave.repo  photon-iso.repo  photon-updates.repo  photon.repo

root [ / ]# cat /etc/yum.repos.d/photon.repo

[photon]

name=VMware Photon Linux 1.0(x86_64)

baseurl=https://dl.bintray.com/vmware/photon_release_1.0_RC_x86_64

gpgkey=file:///etc/pki/rpm-gpg/VMWARE-RPM-GPG-KEY

gpgcheck=1

enabled=1

skip_if_unavailable=True

root [ / ]# cat /etc/yum.repos.d/photon-updates.repo

[photon-updates]

name=VMware Photon Linux 1.0(x86_64)Updates

baseurl=https://dl.bintray.com/vmware/photon_updates_1.0_RC_x86_64

gpgkey=file:///etc/pki/rpm-gpg/VMWARE-RPM-GPG-KEY

gpgcheck=1

enabled=1

skip_if_unavailable=True

root [ / ]# cat /etc/yum.repos.d/lightwave.repo

[lightwave]

name=VMware Lightwave 1.0(x86_64)

baseurl=https://dl.bintray.com/vmware/lightwave

gpgkey=file:///etc/pki/rpm-gpg/VMWARE-RPM-GPG-KEY

gpgcheck=1

enabled=1

skip_if_unavailable=True

root [ / ]# cat /etc/yum.repos.d/photon-iso.repo

[photon-iso]

name=VMWare Photon Linux 1.0(x86_64)

baseurl=file:///mnt/cdrom/RPMS

gpgkey=file:///etc/pki/rpm-gpg/VMWARE-RPM-GPG-KEY

gpgcheck=1

enabled=0

skip_if_unavailable=True

 

ちなみに、このコンテナイメージには、yum は入っていません。

ただし、photon のリポジトリには配置されているので追加インストールすることは可能です。

root [ / ]# yum

bash: yum: command not found

root [ / ]# tdnf list yum

yum.noarch                                  3.4.3-2.ph1rc             photon

 

オフィシャル photon イメージのカスタマイズ。

 

photon では標準で tdnf を使用するようになっているので、

コンテナイメージをカスタマイズするときは、

これまで yum を使用していた手順では、かわりに tdnf コマンドを使用します。

たとえば、docker build ~ するときは、下記のような感じになります。

 

まず、例として httpd をインストールして起動するだけの超簡易的な Dockerfile を作成してみました。

 

Dockerfile の内容

FROM photon

MAINTAINER gowatana

 

RUN tdnf install -y httpd

ENTRYPOINT /usr/sbin/httpd -D FOREGROUND

 

イメージを build してみます。

root [ ~ ]# docker build -t photon-web:1.0 .

Sending build context to Docker daemon 10.75 kB

Step 0 : FROM photon

---> b12b5ead0dad

Step 1 : MAINTAINER gowatana

---> Running in 750719e6d0e2

---> e945a2934d58

Removing intermediate container 750719e6d0e2

Step 2 : RUN tdnf install -y httpd

---> Running in 989cd40787da

 

Installing:

Linux-PAM                       x86_64      1.1.8-2.ph1rc       1011.17 k

krb5                            x86_64      1.12.2-1.ph1rc        3.51 M

e2fsprogs                       x86_64      1.42.9-4.ph1rc        2.67 M

cyrus-sasl                      x86_64      2.1.26-4.ph1rc      548.33 k

apr                             x86_64      1.5.2-5.ph1rc       519.52 k

apr-util                        x86_64      1.5.4-5.ph1rc       394.36 k

openldap                        x86_64      2.4.40-2.ph1rc        1.51 M

httpd                           x86_64      2.4.12-4.ph1rc       12.19 M

 

Total installed size: 22.30 M

 

Downloading:

httpd                                  4692452    100%

openldap                                865721    100%

apr-util                                156350    100%

apr                                     181582    100%

cyrus-sasl                              276100    100%

e2fsprogs                              1051512    100%

krb5                                   1406668    100%

/var/tmp/rpm-tmp.gShFPX: line 3: groupadd: command not found

/var/tmp/rpm-tmp.gShFPX: line 6: useradd: command not found

 

Testing transaction

Running transaction

 

Complete!

---> 9b51afe2abb4

Removing intermediate container 989cd40787da

Step 3 : ENTRYPOINT /usr/sbin/httpd -D FOREGROUND

---> Running in fac2999916a5

---> ccfd44e6ff70

Removing intermediate container fac2999916a5

Successfully built ccfd44e6ff70

 

「photon-web:1.0」が build されました。

root [ ~ ]# docker images

REPOSITORY          TAG                 IMAGE ID            CREATED              VIRTUAL SIZE

photon-web          1.0                 ccfd44e6ff70        About a minute ago   147.6 MB

photon              latest              b12b5ead0dad        2 weeks ago          119.1 MB

 

コンテナを起動して curl でアクセスすると、ちゃんと httpd でおなじみの「It works!」ページが返されています。

root [ ~ ]# docker run -d -p 8001:80 photon-web:1.0

a38e5be9e9d27a932d86b08781833a67592e4d36dcc00f9a88179426773fc86f

root [ ~ ]# curl http://localhost:8001/

<html><body><h1>It works!</h1></body></html>

 

ただ、Photon OS はコンテナ用の軽量 OS のため、デフォルトで設定されている photon の tdnf のリポジトリには

あまり RPM が配置されていません。

このイメージは、特定の用途(Lightwave とか)で使用するか、もしくは

カスタマイズするためにいくらか tdnf(yum)のリポジトリを追加する必要がありそうです。

 

以上、Docker Hub オフィシャルの photon イメージについてでした。

ESXi では VM のディスク(VMDKファイル)拡張は簡単にできます。

その VMKD 拡張後にゲスト側ではどうしたらよいか聞かれることが多いので

Linux ゲストを例として、ディスク拡張をやってみます。

 

VMの仮想ディスク拡張の考え方。

仮想ディスクのサイズ拡張は、VMだけでなくゲスト側でも作業が必要です。

下のレイヤから順に拡張作業することになります。

ちなみに、今回はの環境は・・・

  • ESXi は、6.0 U1 。VMバージョンは 11。(vmx-11)
  • VM では「準仮想化」の SCSI コントローラを使用している。
  • ゲスト OS は、Oracle Linux 6.7。 (ただし仮想マシンのタイプは RHEL6)
  • 拡張する VMDK は、VM の「ハードディスク 2」。ゲスト OS では /dev/sdb と認識されている。
  • ゲスト OS では、ディスクは単一パーティション(/dev/sdb1)だけ。
  • ゲスト OS では、/dev/sdb1 に ext4 ファイルシステムを作成している。
  • /dev/sdb では、ゲスト OS での LVM は使用していない。

vmdk-extend.png

 

最初の状態を確認しておきます。

 

OS は、Oracle Linux 6.7 です。RHEL 6.x や CentOS 6.x でも同様な手順が使えるはずです。

[root@ol67-vm01 ~]# cat /etc/oracle-release

Oracle Linux Server release 6.7

 

パーティションを見てみます。

今回、拡張する VMDK は /dev/sdb で、パーティションは /dev/sdb1 です。

[root@ol67-vm01 ~]# cat /proc/partitions | grep sdb

   8       16   10485760 sdb

   8       17   10485744 sdb1

 

今回は sfdisk コマンドでパーティション拡張してみます。

sfdisk でも、初期状態を見ておきます。

※-uM は MB 表示、-uS はセクタ表示です。

[root@ol67-vm01 ~]# sfdisk -l -uM /dev/sdb

 

ディスク /dev/sdb: シリンダ数 10240、ヘッド数 64、32 セクタ/トラック

Units = 1048576 バイトをメガバイト、1024 バイトのブロック、0 から数えます

 

デバイス ブート 始点   終点   MiB  #ブロック   Id  システム

/dev/sdb1         0+ 10239  10240-  10485744   83  Linux

/dev/sdb2         0      -      0          0    0  空

/dev/sdb3         0      -      0          0    0  空

/dev/sdb4         0      -      0          0    0  空

 

[root@ol67-vm01 ~]# sfdisk -l -uS /dev/sdb

 

ディスク /dev/sdb: シリンダ数 10240、ヘッド数 64、32 セクタ/トラック

ユニット = 512 バイトのセクタ、0 から数えます

 

デバイス ブート    始点      終点    #セクタ  Id システム

/dev/sdb1            32  20971519   20971488  83  Linux

/dev/sdb2             0         -          0   0  空

/dev/sdb3             0         -          0   0  空

/dev/sdb4             0         -          0   0  空

 

ファイルシステムは ext4 にしています。だいたい 10 GB です。

[root@ol67-vm01 ~]# df -hT

Filesystem           Type   Size  Used Avail Use% Mounted on

/dev/mapper/vg_ol67min-lv_root

                     ext4    14G  1.7G   12G  14% /

tmpfs                tmpfs  873M     0  873M   0% /dev/shm

/dev/sda1            ext4   477M   72M  376M  16% /boot

/dev/sdb1            ext4   9.8G   23M  9.2G   1% /u01

 

ファイルシステム上のファイルが読み取れることを確認しておきます。

[root@ol67-vm01 ~]# cat /u01/test.txt

abcd

efg

 

 

1. 仮想ディスク(VMDK)の拡張。

 

vSphere Web Client で作業します。

拡張したい VMDK を接続している VM の「設定の編集」の、

「仮想ハードウェア」→「ハードディスク 2」のサイズを増やします。

※逆に、サイズを縮小することはできません。

 

現状では、10GB です。

vmdk-extend-01.png

 

サイズを 20GB に増やしました。

vmdk-extend-02.png

 

VM のサマリ画面でも、容量が 20GB になったことがわかります。

vmdk-extend-03.png

 

2. パーティションの拡張。

 

これは、Linux ゲスト に直接ログインして作業します。

 

まず、ファイルシステムをアンマウントしておきます。

今回、/dev/sdb1 は、/u01 にマウントしています。

※ディレクトリやファイルをつかんでいるアプリケーションなどは停止しておく必要があります。

[root@ol67-vm01 ~]# umount /u01

 

この時点では、まだ VMDK のサイズ拡張が認識されていないはずです。

[root@ol67-vm01 ~]# cat /proc/partitions | grep sdb

   8       16   10485760 sdb

   8       17   10485744 sdb1

 

パーティションテーブルを、いったん再読み込みします。

[root@ol67-vm01 ~]# sfdisk -R /dev/sdb

 

VMDK の拡張が認識されます。

[root@ol67-vm01 ~]# cat /proc/partitions | grep sdb

   8       16   20971520 sdb

   8       17   10485744 sdb1

 

/dev/sdb1 パーティションを拡張します。

今回は、開始セクタ(sfdisk -l -uS 表示の「開始」)が 32 なので、

[root@ol67-vm01 ~]# sfdisk -l -uS /dev/sdb

 

ディスク /dev/sdb: シリンダ数 20480、ヘッド数 64、32 セクタ/トラック

ユニット = 512 バイトのセクタ、0 から数えます

 

デバイス ブート    始点      終点    #セクタ  Id システム

/dev/sdb1            32 20971519   20971488  83  Linux

/dev/sdb2             0         -          0   0  空

/dev/sdb3             0         -          0   0  空

/dev/sdb4             0         -          0   0  空

 

32 セクタから末尾まで拡張してみます。

[root@ol67-vm01 ~]# echo '32,,' | sfdisk -uS /dev/sdb

現在、誰もこのディスクを使っていないかを調べます...

OK

 

ディスク /dev/sdb: シリンダ数 20480、ヘッド数 64、32 セクタ/トラック

古い場面:

ユニット = 512 バイトのセクタ、0 から数えます

 

デバイス ブート    始点      終点    #セクタ  Id システム

/dev/sdb1            32  20971519   20971488  83  Linux

/dev/sdb2             0         -          0   0  空

/dev/sdb3             0         -          0   0  空

/dev/sdb4             0         -          0   0  空

新たな場面:

ユニット = 512 バイトのセクタ、0 から数えます

 

デバイス ブート    始点      終点    #セクタ  Id システム

/dev/sdb1            32  41943039   41943008  83  Linux

/dev/sdb2             0         -          0   0  空

/dev/sdb3             0         -          0   0  空

/dev/sdb4             0         -          0   0  空

警告: ブート可能な基本パーティションがありません

LILO にとっては問題ありませんが、DOS MBR はこのディスクをブートできなく

なってしまいます。

新たなパーティションの書き込みに成功

 

パーティションテーブルを再読み込み中...

 

もし、DOS パーティションを作成または変更したならば -- たとえば /dev/foo7 、

dd(1) をつかって最初の 512 バイトをゼロにして下さい:

dd if=/dev/zero of=/dev/foo7 bs=512 count=1

(詳細は fdisk(8)を見てください。)

 

この時点だと、まだ /dev/sdb1 に作成された ext4 のファイルシステムは拡張されていません。

[root@ol67-vm01 ~]# mount /u01

[root@ol67-vm01 ~]# df -hT /u01

Filesystem     Type  Size  Used Avail Use% Mounted on

/dev/sdb1      ext4  9.8G   23M  9.2G   1% /u01

 

3. ファイルシステムの拡張。

 

引き続き、Linux ゲスト にて作業します。

いちおう、ファイルシステムをアンマウントしておきます。

[root@ol67-vm01 ~]# umount /u01

 

そして、ファイルシステムチェック(e2fsck)を実施した後に、

ファイルシステムを拡張(resize2fs )します。

[root@ol67-vm01 ~]# e2fsck -f /dev/sdb1

e2fsck 1.43-WIP (20-Jun-2013)

Pass 1: Checking inodes, blocks, and sizes

Pass 2: Checking directory structure

Pass 3: Checking directory connectivity

Pass 4: Checking reference counts

Pass 5: Checking group summary information

/dev/sdb1: 12/655360 files (0.0% non-contiguous), 79664/2621436 blocks

[root@ol67-vm01 ~]# resize2fs /dev/sdb1

resize2fs 1.43-WIP (20-Jun-2013)

Resizing the filesystem on /dev/sdb1 to 5242876 (4k) blocks.

The filesystem on /dev/sdb1 is now 5242876 blocks long.

 

これで、ファイルシステムも 20GB に拡張されました。

[root@ol67-vm01 ~]# mount /u01

[root@ol67-vm01 ~]# df -hT /u01

Filesystem     Type  Size  Used Avail Use% Mounted on

/dev/sdb1      ext4   20G   28M   19G   1% /u01

 

もともと配置していたファイルが読み取れています。

[root@ol67-vm01 ~]# cat /u01/test.txt

abcd

efg

 

Linux のディストリビューションや、LVM 利用の有無、ファイルシステムの種類によって

使用するツールやコマンドラインは変わりますが、このような流れで VM のディスク拡張が可能です。

また、実際にディスク拡張をする場合は、

事前に拡張対象ファイルシステムにあるデータのバックアップを取得しておくとよいと思います。

 

以上、VM のディスク拡張についてでした。

Installing and configuring Endpoint Operations  vCenter Monitoring Solution

 

The new vCenter Monitoring Solution is based on the EPOPS Agent.

Documentation:

https://c368768.ssl.cf1.rackcdn.com/product_files/25806/original/vCenter_Solution_1.1_Guidefadf2b185bd8c71f01f43301f65f1d06.pdf

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2133716

Ingredients:


1. vRealize Operations Manager 6.1 -> You already have it installed, if not, download it

     -> https:/my.vmware.com/group/vmware/info?slug=infrastructure_operations_management/vmware_vrealize_operations/6_1

2. vRealize Operations EndPoint Agent installable -> download the 64-bit version from

     -> https://my.vmware.com/group/vmware/details?downloadGroup=VROPS-610&productId=538&rPId=8818

3. vCenter Monitoring Solution Management Pack (PAK-File) -> not easy to find, but it is on

      -> https://solutionexchange.vmware.com/store/products/130354

4. vCenter Server access with administrator / root privileges -> in my case Linux vCSA

 

Instructions:

 

1. Install and configure EPOPS Agent on the vCenter

2. Install and configure vCenter Monitoring Management Pack

****************

1. Detailed instructions - The Agent

1.1 Download the agent (Linux 64-bit)  from here:

11-detailed-instructions---the-agent.png

1.2 Run RPM-installation

vcsa-01a:~ # rpm -Uvh epops-agent-x86-64-linux-6.1.0-3030162.rpm
Preparing...                ########################################### [100%]
Password for `epops' is already locked!
1:epops-agent            ########################################### [100%]insserv:
Service syslog is missed in the runlevels 2 to use service cgconfigepops-agent              0:off  1:off  2:off  3:on  4:off  5:on  6:off
End Point Operations Management Agent has successfully been installed to /epops-agent
, and the service is configured to start at boot using the "epops" user credentials.
Note that some plug-ins require special permissions to discover and monitor their ap  plications.
Verify that the "epops" user has the necessary permissions.
Before you start the service, perform one of the following processes:* 
Begin the interactive setup by starting the epops-agent service.* 
Edit the /epops-agent/conf/agent.properties file, by uncommenting and modifying the agent.setup values,
then start the epops-agent service.Run 'service epops-agent start' to start the epops-agent service...

1.3 Change agent user to root

Open the /etc/init.d/epops-agent file in a text editor.


1.3.1 Change the line:


RUN_AS_USER=epops

to

RUN_AS_USER=root 

 

1.3.2 Also find the line below:

AGENT_CTL="su $RUN_AS_USER -s $SHELL $AGENT_INSTALL_DIR/epops-agent/bin/ep-agent.sh"
and remove $SHELL, such that the line now reads:
AGENT_CTL="su $RUN_AS_USER -s $AGENT_INSTALL_DIR/epops-agent/bin/ep-agent.sh"
13-change-agent-user-to-root.png

1.4 Configure the agent by starting the service for the first time

vcsa-01a:~ # service epops-agent start

Starting End Point Operations Management Agent...... running (1919).

[ Running agent setup ] - The agent generated the following token    1453723755661-608569690955820004-2774624980274959717

Enter the server hostname or IP address: vrops-01a.corp.local

Enter the server SSL port [default=443]: - Testing secure connection ...

...

 

Do you trust this certificate (yes/no/more)? [default=no]: yes

- Connection successful.

Enter your server username: admin

Enter your server password:

- Registering the agent with server.

- The agent has received a client certificate from server.

- The agent has been successfully registered.

1.5 Check and write down postgres user and password

 

This password will be used later on to configure the postgres monitoring plugin in vR Ops:

vcsa-01a:~ # cat  /etc/vmware-vpx/vcdb.properties

driver = org.postgresql.Driver

dbtype = PostgreSQL

url = jdbc:postgresql://localhost:5432/VCDB

username = vc

password = DKTRP){3d$1sHvCZ

password.encrypted = false

2. Detailed Instructions: The Management Pack

2.1 Management Pack installation and configuration

Download vCenter Self-Monitoring Solution management pack from here:    https://solutionexchange.vmware.com/store/products/130354

2.2 Install the managent pack

Log in to vRealize Operations manager as "admin" and go to Solution, click on the + sign and install the management pack.

22-install-the-managent-pack.png

2.3 Configure solution credentials in vR Ops

Once the management pack installed and assuming the agent is already running a list of new resources will appear. Go to "Administration -> Inventory Explorer -> Adapter Types -> EP Ops Adapter" and select "vCenter App Server- your-vcsa-hostname" object. Press the pencil symbol ot edit it.

23-configure-solution-credentials-in-vr-ops.png

2.4 Add vCenter web credentials

Click on + to create new credentials

24-add-vcenter-web-credentials.png

2.5  Provide user name and password

25--provide-user-name-and-password.png

2.6 Configure postgress agent

Now select the object called "PostgreSQL - your vcsa hostname" and click on the pencil to edit it. Add the postgres credentials acquired in the step 1.5.

26-configure-postgress-agent.png

2.7 Check both configured objects have green collection status:

After a while (5 minutes) both configured objects should show gree collection status.

27-check-both-configured-objects-have-green-collection-status--.png

2.8 Check new data

Check new objects and data under Environment -> Operating Systems World -> Linux -> vcsa-host..

28-check-new-data.png

2.9. Check new vCenter App Server dashboard

29-check-new-vcenter-app-server-dashboard.png

2.9 Check new Alerts for vCenter Monitoring

Filter based on "Adapter Type = EP Ops Adapter"

210-check-new-alerts-for-vcenter-monitoring.png

FROM THE EDITORS VIRTUAL DESK

Welcome to the latest edition of the VMware TAM Weekly Newsletter. This week we have 2 items that may be of interest to you apart from the usual news and updates. First off we have a blog posting from the official VMware TAM Blog. This is titled "Platform Services Controller (PCS) and vCenter Server 6 Maximums". A preview of the article is below with a link to the full article. If you are new to vSphere 6 then I suggest that this would be a very good read.

We also have a new section that is actually an old section we are bringing back. This is "Tweets of the Week" and features 5 specifically selected Tweets that our Twitter Account Manager has selected to showcase each week.

There is also a summary of the TAM Social Media Assets now in every newsletter. These include links to our official blog, Twitter, Facebook and more. As we progress we will include other items for you to connect with us on.

I wish you all a successful week ahead and look forward to bringing you further news and updates next week.

 

Virtually Yours

Neil Isserow

Staff Technical Account Manager, Team Lead

San Francisco, CA


TAM SOCIAL MEDIA ASSETS (Owner: Neil Isserow)
Facebook - www.facebook.com/vmwaretam/
Twitter - @VMwareTAM (twitter.com/vmwareTAM)
Blog - blogs.vmware.com/tam
Newsletter Archive - communities.vmware.com/blogs/vmwaretam

TAM TWEETS OF THE WEEK (Editor: Daniel Mizrahi) - twitter.com/vmwareTAM
- VMware's five key cloud-native computing investments | https://t.co/fcuXu9av5T https://t.co/zZKwDWst21
- VMware's Casado warns Congress of insufficient national cyber defenses | https://t.co/65tG9zU9GQ https://t.co/C2ZUeTGIED
- Photon Platform Devbox: give it a try! | https://t.co/R8xHs6dC7b https://t.co/PDyb0i8312
- Datacenter Infrastructure Architectural Rules | https://t.co/XeM8VWE6rk https://t.co/vpY7mEbT2o
- VMware sets course on future strategies | https://t.co/axSZAPD32k https://t.co/FM7XbE7LOa

TAM FOUNDATIONAL TRAINING PLAN (Editor: Jodi Shely)
Looking for training resources on VMware Solutions. We have everything you need online and updated regularly.
EUC - bit.ly/tamftpeuc
SDDC - bit.ly/tamftpsddc

 

TAM WEBCASTS (Editor: Michelle Kaiser)

 

Please head over to our dedicated TAM Webcasts online URL:
http://bit.ly/tamwebcasts

TAM VCLOUD SUITE RESOURCES ONLINE (Editor: Joseph Suma)
Please check out our ever changing list of resources
http://bit.ly/tamvcsresources

NEW AND UPDATES PRODUCTS AND SOLUTIONS
A list of many of our latest updates to existing solutions and any new releases
http://bit.ly/tamnewreleases


NEWS AND DEVELOPMENTS FROM VMWARE

GENERAL NEWS

vRealize Automation 7.0, Virtual SAN Stretch Clusters, and The Cloud Business Manager Role

The VMware blogosphere is a wealth of knowledge covering everything from how-to content to put your skills to the test, to strategic concepts that can help you think differently about work. Check out a few of the latest posts from the Professional Services bloggers below! VMware vRealize Automati...

Jan 15, 2016 4:17:30 PM

Host disconnected from vCenter and VMs showing as inaccessible

Another deep-dive troubleshooting blog today from Nathan Small (twitter account: @vSphereStorage ) Description from customer: Host is getting disconnected from vCenter and VMs are showing as inaccessible. Only one host is affected. Analysis: A quick review of the vmkernel log shows a log spew of ...

Jan 15, 2016 1:30:54 PM

TLDR

By Tim Aines I learned a new acronym yesterday. One apparently invented by in-a-hurry techie Millennials. It showed up in a VMware technical analysis I was reading. In this otherwise extremely useful document was a sentence near the end that started out “TLDR.” A naturally curious type, I sort of...

Jan 14, 2016 8:51:04 PM

How to Overcome the Resistance to Change

By Gordon Hodgson As the New Year begins IT Organizations are beginning to implement their strategies for 2016 which will bring change to their operations that will have impact their staff. Mark Fields, the CEO at Ford addresses strategy when he is quoted as saying, “You can have the best plan in...

Jan 14, 2016 8:45:53 PM

Learn how to upload virtual machines from VMware Workstation 12 to vCloud Air

In our previous video tutorial Learn how to connect VMware Workstation to vCloud Air , we demonstrated how quick and easy it is to connect your VMware Workstation application to a vCloud Air instance. In this video tutorial we show how you can upload a virtual machine from your Workstation instal...

Jan 14, 2016 4:55:25 PM

Learn how to connect VMware Workstation to vCloud Air

Did you know that you can connect your VMware Workstation application to a VMware vCloud Air instance? Well, in this short and snappy video tutorial you will learn how you do just that. For additional information and instructions, see VMware Knowledge Base article Connecting to VMware vCloud Air ...

Jan 14, 2016 4:53:21 PM

2016 VCDX Workshop Locations and Registrations

Happy New Year Everyone! I hope everyone had a safe and happy New Year. I wanted to provide a quick update on 2016 VCDX Workshops. In 2015, we established a new process that aligned workshops with key VMUG events. This worked out extremely well to combine efforts and combine events. We also learn...

Jan 11, 2016 4:25:05 PM

vCloud Air: The Past Week in Review

The cloud is constantly changing and it can be hard to keep up, but now you don’t have to miss a beat. Catch up on everything that’s been happening on the VMware vCloud Air Blog in one place! From RAM upgrades to vTech Talks, here’s the past week in review: WEBCAST: Navigating Important Cloud Dec...

Jan 16, 2016 5:00:43 PM

Upcoming Webcast: Expert Panel on Cloud Automation

Join us for a live, online event where Christian Paulus, Director of Product Marketing for Cloud Management will lead an expert panel on cloud automation. The panel will go through a series of demos and questions that will explore how IT teams can automate the delivery and ongoing management of s...

Jan 16, 2016 11:00:52 AM

WEBCAST: Navigating Important Cloud Decisions for 2016

Are you evaluating public clouds but don’t know where to begin? Are you wondering if you should compare features and functions, look at analyst ratings, or hire a consultant? Join Angelos Kottas, VMware Senior Director, Product Marketing, for this hour-long webcast on January 19 th at 11am PST to...

Jan 15, 2016 5:40:14 PM

Automating VMware NSX Security Rules Creation using Splunk and Some Code

The VMware NSX network virtualization platform allows us to build sophisticated networking and security constructs in software. NSX has a rich RESTful API which allows one to build highly flexible and automated environments. In this blog, we’re going to focus on operations and automation; we’ll d...

Jan 15, 2016 1:00:11 PM

RevenueWell draws on vCloud Air Network partner Armor to Deliver Security and Scalability

RevenueWell provides a patient marketing and communications suite for dentists everywhere. It currently helps over 3,500 dental offices to streamline their day-to-day operations, so they can get back to doing what they do best: provide quality dental care to patients. But part of providing qualit...

Jan 14, 2016 5:00:56 PM

The Best of Both Worlds with Advanced Networking Services

By: Penny Collen , Financial Solutions Architect, Thought Leader, Blogger, and Speaker Ask CIOs why they move workloads to the cloud and you will hear “cost savings” and “agility.” Ask those same CIOs why they are not using more cloud services and they will probably say security concerns. Securit...

Jan 13, 2016 5:00:37 PM

vCloud Air vTech Talk: Launch and secure applications with Bitnami and vCloud Air

Quick: How is it possible to configure secure, functioning applications and servers in just a few clicks and minutes? If you answered “Bitnami and vCloud Air,” then yeah, you probably read the title. In this episode of vCloud Air vTech Talk, our series highlighting tips, tricks and resources for ...

Jan 12, 2016 5:00:42 PM

Creating a Custom Role for SQL DBAs with the Management Pack for Microsoft SQL Server

By: Greg Hohertz, Blue Medora As you expand the reach of vRealize Operations Manager outside the realm of vSphere and down the stack into your compute, network and storage infrastructure and up the stack in databases, middleware, and applications, you’ll quickly find the need to create custom gro...

Jan 12, 2016 11:01:56 AM

Dedicated Cloud RAM Upgrade

The vCloud Air team is pleased to announce that we have increased the RAM in our Dedicated Cloud service to 240GB per host in all locations. This gives all customers, particularly the early adopters, more RAM and enables all users to create VMs up to 240GB in size. Benefits of this upgrade includ...

Jan 11, 2016 5:00:18 PM

Log Insight for Web Traffic

Happy New Year! You may have noticed in late December some new Log Insight content packs were published to the marketplace. In this post I would like to talk about which content packs were released and the value they provide. Background A total of 5 content packs were released: Apache – CLF Apach...

Jan 11, 2016 2:00:48 PM

END USER COMPUTING

Five Great Reasons for VMware Horizon Air

By Anthony Rizzo – Staff End-User-Computing Technologist, VMware As a VMware End-User-Computing Specialist, I encounter many people who still have not been exposed to the basic concepts of desktop virtualization and desktop as a service (DaaS). After these concepts are explained, the majority of ...

Jan 15, 2016 10:40:52 PM

What’s an Enterprise Social Network Got to Do with Sales?

By Randy Ferree, Mid Market Account Executive at VMware AirWatch Account Executive Randy Ferree shares how the sales team here at VMware AirWatch uses enterprise social network Socialcast to work faster, elevate the customer experience and build camaraderie. As an account executive, it’s my job t...

Jan 15, 2016 4:00:41 PM

mPOS Is the New Barcode: Retail Mobility Expected to Explode

Though it’s difficult to remember a time before it, the barcode actually just took off about 30 years ago after some resistance. Since then, barcodes have sped up checkout lines and provided powerful market data across the entire retail industry, reaching 80-90 percent adoption among the Fortune ...

Jan 15, 2016 4:00:21 PM

This Week’s Top Mobile News: Windows 10, iOS 9.3, CES and MWC 2016

Pretty please, with sugar on top, upgrade to Windows 10? Microsoft officially ended support for Windows 8 last weekend and started pushing users of small business PCs to upgrade to Windows 10 with new notifications. Computerworld noted, this could possibly impact pockets of users at large organiz...

Jan 15, 2016 3:09:37 PM

A Look at Mobile World Congress 2016: It’s Going to Be Epic

Apps, enterprise wearables, smart machines, money…everything’s coming up mobile. And the world’s biggest, annual conference on mobile trends and mobile innovation, Mobile World Congress 2016, is coming up soon, Feb. 22–25 in Barcelona, to cover it all. Mobile World Congress is the place for indus...

Jan 14, 2016 4:29:03 PM

A Look at Mobile World Congress 2016: It’s Going to Be Epic

Apps, enterprise wearables, smart machines, money…everything’s coming up mobile. And the world’s biggest, annual conference on mobile trends and mobile innovation, Mobile World Congress 2016 , is coming up soon, Feb. 22–25 in Barcelona, to cover it all. Mobile World Congress is the place for indu...

Jan 14, 2016 4:07:14 PM

Workaround for the NAT port forwarding issue in Fusion 8.1

We recently discovered that NAT network port forwarding doesn’t work properly in Fusion 8.1. While the VMware Fusion team is working on a fix which will be included in the next update, here is a temporary workaround. Steps: Download the NAT network component from https://www.vmware.com/go/ dl_vmn...

Jan 13, 2016 10:18:20 PM

Sneak Peek: AirWatch Content Locker Gets a New Look & Feel

A new AirWatch Content Locker is officially on the way. Following up on communications sent to AirWatch Content Locker administrators earlier this month, we’re so excited to share that your feedback has helped us develop an exciting new user interface for our popular secure content collaboration ...

Jan 13, 2016 6:21:19 PM

Trash Gets Smart: AirWatch Developers Hack Garbage Collection

Every mobile innovation starts with a problem. Ours was garbage. Our local city civic authorities in India struggle to find the best alternative for efficient garbage collection. Bin pickers constantly make rounds to check how full every garbage bin is, wasting time and resources. My team (Suprit...

Jan 13, 2016 2:01:07 PM

Southern States Transforms Customer Experience by Modernizing Retail Operations | VMware Horizon

Southern States Cooperative asked Steve Tupponce’s team to accomplish two things: improve the customer experience in the field and centralize its point-of-sale and agronomy systems. In the video below, the manager of infrastructure and delivery services shares his journey of evaluating multiple o...

Jan 12, 2016 8:12:31 PM

mPOS Is the New Barcode: Retail Mobility Expected to Explode

Though it’s difficult to remember a time before it, the barcode actually just took off about 30 years ago after some resistance. Since then, barcodes have sped up checkout lines and provided powerful market data across the entire retail industry, reaching 80-90 percent adoption among the Fortune ...

Jan 12, 2016 3:01:42 PM

Look Who’s Talking EUC + Mobile Retail at NRF 2016

Consumers aren’t coming to retail stores as much as they used to, but when they do, they are better educated and expect exceptional service. To stay current in this highly competitive new retail world, retailers are finding innovative ways to deliver delightful customer experiences and the produc...

Jan 11, 2016 12:50:35 PM

Look Who’s Talking Mobile at NRF 2016

Consumers aren’t coming to retail stores as much as they used to, but when they do, they are better educated and expect exceptional service. To stay current in this highly competitive new retail world, retailers are finding innovative ways to deliver delightful customer experiences and the produc...

Jan 11, 2016 12:45:10 PM

FROM THE EDITORS VIRTUAL DESK

Welcome everyone to the first newsletter of 2016! We are delighted to be back and hope that you had a restful holiday season. As usual we will be bringing you all of the relevant VMware news and related information every week to ensure that you are kept up to date with what is going on in the world of VMware.

 

We also plan on extending the newsletter sections as we did last year but also trying to make the newsletter as easy as possible to navigate and find the information you are looking for.


So with that I look forward to bringing you all of the VMware news in 2016 and I hope that you are able to get value out of the newsletter. Please do not hesitate to contact me directly should you wish to provide any feedback on the newsletter.

 

Wishing you a fantastic start to 2016!

Virtually Yours

Neil Isserow

Staff Technical Account Manager, Team Lead

San Francisco, CA


TAM FOUNDATIONAL TRAINING PLAN (Editor: Jodi Shely)
Looking for training resources on VMware Solutions. We have everything you need online and updated regularly.
EUC - http://tinyurl.com/ftpeuc
SDDC - http://tinyurl.com/ftpsddc

 

TAM WEBCASTS (Editor: Michelle Kaiser)

 

Please head over to our dedicated TAM Webcasts online URL:
http://tinyurl.com/tamwebcasts

TAM VCLOUD SUITE RESOURCES ONLINE (Editor: Joseph Suma)
Please check out our ever changing list of resources
http://tinyurl.com/tamvcsresources

NEW AND UPDATES PRODUCTS AND SOLUTIONS
A list of many of our latest updates to existing solutions and any new releases
http://tinyurl.com/tamnewreleases


NEWS AND DEVELOPMENTS FROM VMWARE

GENERAL NEWS

Technical Paper: Installing VMware ESXi 6 Using PXE

It’s 2016, are you still installing VMware ESXi by mounting ISO images in a browser-based console? That’s probably fine for one-off efforts, and it sure beats making a trip to the datacenter with physical CDs, but network deployments are the way of the future. If you have not yet made the move to...

Jan 8, 2016 6:46:50 PM

New NSX KBs, What’s New in vSphere 5.5 Update 3b and Top 20 KB articles

Each month, we share the top VMware Global Support Services (GSS) news, alerts, and announcements from our sister blog, VMware Support Insider . Read on to find out what you might have missed. New NSX KBs you need to know Check out this blog post for last month’s trending Knowledge Base articles ...

Jan 8, 2016 4:02:10 PM

Platform Services Controller (PCS) and vCenter Server 6 Maximums

By Petr McAllister One of my customers successfully completed the VMware vSphere: Fast Track [V6] class. The customer provided a lot of positive feedback in regards to the class, and also about new functionality in vSphere 6. However, one thing was unclear: The instructor stated there is a maximu...

Jan 7, 2016 4:46:33 PM

The Changing Face of Enterprise Data

What constitutes business-critical data for an enterprise today? A decade ago, the answer would be straightforward: the data associated with business-critical applications such as inventory management, email systems, financials, etc. IT was focused primarily on transforming business processes int...

Jan 7, 2016 4:32:15 PM

VCP5-DCV Delta Exam Availability Extended

After reviewing the continued popularity of the VMware Certified Professional 5 – Data Center Virtualization Delta exam for candidates to recertify their VCP5-DCV we have decided to extend the availability date until March 31, 2016 . The exam offers some key advantages: It’s based on new material...

Jan 6, 2016 6:43:50 PM

Top 20 vRealize Operations Manager KBs for December 2015

Resetting the Administrator password in VMware vRealize Operations Manager appliance Update sequence for vSphere 6.0 and its compatible VMware products The VMware vRealize Operations Manager for Horizon (V4H/V4V) 6.2 Broker Agent fails to pair with the Horizon adapter Public Patch (Build 3294016)...

Jan 6, 2016 6:23:04 PM

Top 20 vRealize Automation KBs for December 2015

Repairing or updating the trust between all components within a VMware vRealize Automation environment Update sequence for vSphere 6.0 and its compatible VMware products Removing a virtual machine from Management in VMware vRealize Automation or vCloud Automation Migrating to a new SSO or recover...

Jan 6, 2016 6:18:56 PM

Top 20 vCenter KBs for December 2015

After upgrading an ESXi host to 5.5 Update 3b and later, the host is no longer manageable by vCenter Server Purging old data from the database used by VMware vCenter Server Consolidating snapshots in vSphere 5.x/6.0 Unlocking and resetting the VMware vCenter Single Sign-On administrator password ...

Jan 6, 2016 5:22:30 PM

Top 20 ESXi articles for December 2015

After upgrading an ESXi host to 5.5 Update 3b and later, the host is no longer manageable by vCenter Server Licensing ESXi 5.x and vCenter Server 5.x Licensing ESXi 6.x and vCenter Server 6.x Reverting to a previous version of ESXi Commands to monitor snapshot deletion in VMware ESXi/ESX Collecti...

Jan 6, 2016 1:48:38 PM

Top 20 Articles for December 2015

Here is our Top 20 KB list for December 2015. This list is ranked by the number of times a VMware Support Request was resolved by following the steps in a published Knowledge Base article. Installing VMware Tools in a Fusion virtual machine running Windows Upgrading to Windows 10 using Software U...

vCloud: The Past Week in Review

We’re excited to welcome in the New Year with a fresh round of blogs. Now you can catch up on everything that’s been happening on the VMware vCloud Blog in one place! From Cloud-Native Apps to service provider spotlights, here’s the past week in review: vCloud Air vTech Talk: Take the Quiz, Chart...

Jan 9, 2016 5:00:04 PM

Hybrid Cloud Manager is your Bridge to the Cloud

By: Eiad Al-Aqqad , Consultant Architect and Author of virtualizationteam.com . At VMworld 2015, VMware introduced the Hybrid Cloud Manager, however, with the excitement of the Cross-Cloud VMotion tech-preview that was shown at the same demo, many overlooked the Hybrid Cloud Manager announcement....

Jan 8, 2016 5:13:00 PM

vRealize Operations Manager Tech Tips: Tip #1 – Custom Datacenter object

In vRealize Operations Manager 6.1 we introduced a new construct called Custom Datacenter (CDC). I wanted to describe how to create Custom Datacenter objects, and how you would leverage these objects. The Custom Datacenter object can be created in the vR Ops UI, and you can add one or more Cluste...

Jan 7, 2016 8:25:32 PM

Virtual SAN Stretch Clusters – Real World Design Practices (Part 1)

By Jonathan McDonald This is part one of a two blog series as there was just too much detail for a single blog. I want to start off by saying that all of the details here are based on my own personal experiences. It is not meant to be a comprehensive guide for setting up stretch clustering for Vi...

Jan 7, 2016 6:41:04 PM

vCloud Air Network Service Provider Spotlight: UOLDIVEO

Acquiring and managing a secure cloud network is difficult no matter where you are. But for those who have operations in Latin America and Brazil, setting up and managing a true hybrid cloud can be especially complicated. Thankfully, there’s a simple solution, and that solution is this edition of...

Jan 7, 2016 5:00:22 PM

vRealize Automation: Tribune Media profile in Baseline Magazine

2016 has started out with substantial fanfare for the vRealize Team. The vRealize suite was called out in the Baseline story as a key component of Tribune Media’s “software-defined everything” approach. The article features great quotes from David Giambruno of Tribune on benefits to date of adopt...

Jan 7, 2016 11:01:55 AM

Completely Disable Time Synchronization for your VM

Some administrative practices, like a bad habit, have more lives than the proverbial cat – they tend to stay around forever. It is, therefore, very comforting when one finds a problematic administrative practice that has not just been universally abandoned by administrators, but is also on the to...

Jan 6, 2016 11:34:18 PM

Cloud Native Apps for the OPs Guy – Pt. 1 What the Hell is CNA Anyway?

By: Kevin Gorman, Cloud Specialist at VMware. Reposted from Zerotin.org . DevOps, containers and every other buzzword bingo concept seem to be severely muddying the waters of understanding the practicality of web-scale application development and it’s relevance to the everyday Operations Team. I’...

Jan 6, 2016 5:00:11 PM

Bringing XenDesktop and XenApp Users and Sessions to vRealize Operations

By: Mike Langdon, Blue Medora If you are a XenDesktop or XenApp admin, an all too common complaint is: “My desktop is so slow.” If one user is complaining, chances are that many more are suffering. This is where vRealize Operations comes in. Using the Management Pack for XenDesktop and XenApp, we...

Jan 6, 2016 11:01:45 AM

vCloud Air vTech Talk: Take the Quiz, Chart Your Course

Happy New Year from the VMware vCloud Air Community! As 2016 gets underway, it’s the perfect time to assess your cloud computing strategy for the coming year. Where are you on the journey to the public cloud? And where do you want to be? In this week’s vTech Talk, we’re highlighting the vCloud Ai...

Jan 5, 2016 5:00:20 PM

VMware NSX and Split and Smear Micro-Segmentation

While external perimeter protection requirements will most likely command hardware acceleration and support for the foreseeable future, the distributed nature of the services inside the data center calls for a totally different set of specifications. Some vendors have recently claimed they can ac...

Jan 5, 2016 1:00:34 PM

END USER COMPUTING

Email’s Stayin’ Alive…and Evolving with Mobile Collaboration

In recent years, businesses have been disaster-prepping for the certain doom and demise of email . The shift seemed inevitable: email is fundamentally flawed (hello, information overload), better technology exists and new generations are ushering in brand new ways of communicating. But 2016 is sh...

Jan 8, 2016 4:00:51 PM

This Week’s Top Mobile News Headlines

VMware and Intel Security alliance helps IT level up mobile security. Two tech giants announced their collaboration to integrate mobile security into the enterprise threat defense lifecycle. What does that mean? Intel + AirWatch customers can now respond to ever-increasing mobile threats faster a...

Jan 8, 2016 2:54:58 PM

Feature and Mobile Updates: December 2015

Happy New Year everyone! 2016 will be a very exciting year for Socialcast and we can’t wait to share all the new things currently in the works. But first, let’s take a look back at all the feature enhancements and mobile apps that were released in December to round out 2015. 1. Improved Search Re...

Jan 7, 2016 11:09:44 PM

Every Business Is a Digital Business. So What’s Next?

In 2013, the phrase “every business is a digital business” sparked an “aha!” moment for every company, across every industry. Two years later, where are we now? As companies reach digital maturity, what’s next? The digital transformation isn’t over, yet, according to Sanjay Poonen , executive vic...

Jan 7, 2016 2:05:40 PM

Transforming Healthcare: VITAS Embraces the Power of Mobile Devices

It’s that time of year again when we begin to pack up holiday decorations and do our level best to set goals for what we want to accomplish in the coming year. As the CIO for VITAS Healthcare—the nation’s leading provider of end-of-life care—I have one item that I think should be high on every […]

Jan 7, 2016 12:56:24 PM

Getting Started with VMware Fusion eBook: $5

Happy new year friends! Did you know about this little book I wrote called ‘Getting Started With VMware Fusion’ ? No? Well good news! It’s on sale for $5! Before I moved down here to Silicon Valley, I was a lead on the Fusion / Workstation Support team in Canada, and in 2014 I was asked by the go...

Jan 6, 2016 9:49:18 PM

Want to Look Like a Genius at Work? Grow Your Social Circle

Even great teams grow stale if they never collaborate beyond their inner circle. The most creative contributors and fastest problem-solvers often have the largest social circles at work. If you really want to work smarter and get ahead in 2016, it’s time for your tiny social bubble to pop and to ...

Jan 6, 2016 4:00:50 PM

Every Business Is a Digital Business. So What’s Next?

In 2013, the phrase “every business is a digital business” sparked an “aha!” moment for every company, across every industry. Two years later, where are we now? As companies reach digital maturity, what’s next? The digital transformation isn’t over, yet, according to Sanjay Poonen, executive vice...

Jan 6, 2016 3:56:43 PM

New AirWatch and Intel Alliance Levels up Your Mobile Security

The complex mobile threat defense lifecycle is about to get a lot shorter, thanks to a new partnership announced today between AirWatch and Intel Security. By entering into each other’s security programs—the Intel Security Innovation Alliance™ and the AirWatch Mobile Security Alliance (MSA)—mutua...

Jan 5, 2016 5:00:26 PM

Download the 3-Part Guide to Developing a BYOD Strategy

Is your organization ready to take advantage of BYOD, but aren’t sure where to start? Today, we launched a simple 3-part BYOD strategy guide that walks you through specific device- and user-based policy considerations, outline critical areas for content access, security practices, and compliance ...

Jan 5, 2016 2:30:20 PM

Legal Firm’s CIO Makes His 2016 Business Mobility Predictions

2015 was another year of growth in mobility at Dowling Aaron, as we not only reached new mobile users but current users extended their mobility profile. Each year, we add more and more mobile users as they see their peers reach new heights of productivity and collaboration. In the legal industry,...

Jan 4, 2016 1:15:40 PM

vRealize Automation (vRA) provides several methods for provisioning virtual machines from blueprints. These include template based mechanisms as well as workflows leveraging unattended installation procedures to deploy a virtual machine operating system. As some customers do have existing deployment processes they want to leverage a variety of unattended installation methods ranging from SCCM, AutoYaST and RedHat kickstart to name some is supported by vRA.

This blog describes how to leverage kickstart mechanism to deploy a virtual machine in vRealize Automation using CentOS 6.4 x86 as operating system. The process has been tested with vRealize Automation 6.2.3 and version 7.

 

Be aware this blog is not intended to provide a full step-by-step guide and replace documentation. It furthermore covers the whole process in bullet points and highlights important pieces that are not clearly covered in documentation.


Architectural considerations

 

A deployment process in vRealize Automation (vRA) is based on a blueprint which is being cloned when requested by a user. The blueprint itself defines the methodology to be used deploying the virtual machine. In RedHat/CentOS kickstart case there’s a workflow called “LinuxKickstartWorkflow” which is leveraged. Kickstart in a nutshell is the default unattended installation method for RedHat Linux operating systems which is based on a kickstart description file.

Following general steps have to be taken to accomplish the task:

 

  • Preparation of a CentOS installation ISO which is modified to point to an externally hosted kickstart file. CentOS ISO is stored on a vSphere datastore.
  • External kickstart configuration file has to be created to define unattended installation parameters as well as invoke installation of vRA guest agent as last part of the installation. The kickstart file is stored on an external server (e.g. web server)
  • vRA guest agent files have to be stored on a network share (e.g. web server)
  • Blueprint custom properties have to be defined to e.g. point to the installation sources

 

Deployment process in high level:

  • User requests published blueprint
  • Virtual machine is created on vSphere with CentOS iso attached
  • VM is booted up and boots from attached ISO
  • ISO downloads kickstart file from location defined and runs full unattended installation
  • Last part of unattended installation will download guest agent files to virtual machine and install the agent into the virtual machine
  • After reboot guest agent is started automatically and reports “success” to vRA
  • Process is finished in vRA and VM can be managed in “items” view

 

 

Preparation of CentOS ISO

 

An existing CentOS ISO (e.g. downloaded from www.centos.org) has to be prepared to include information where to find the kickstart file. There’s multiple ways to modify content of an ISO file, some of them are using commercial tools as most of the freeware tools do have a limit of 300 or 500MB in writing an ISO file. Due to that this document uses a standard linux operating system which provides the functionality for free and also guarantees it works. Follow these steps to modify the ISO:

  • Provide a web server which is reachable in your network
  • Copy the ISO file to the linux system
  • Loop mount the iso according to this description: http://bencane.com/2013/06/12/mkisofs-repackaging-a-linux-install-iso/
  • In “make your changes” section of above document edit the /var/tmp/linux/isolinux/isolinux.cfg file and add the red append parameters as mentioned below. Replace the <websrv> by the IP address of your web server and adapt the path and file name to your needs. Creation of the kickstart file is described in next section.

 

/var/tmp/linux/isolinux/isolinux.cfg

label linux

  menu label ^Install or upgrade an existing system

  menu default

  kernel vmlinuz

  append initrd=initrd.img --bootproto=dhcp ks=http://<websrv>/vra/ks.cfg

 

  • Save the file and create the ISO as per above link’s description
  • Copy the ISO to a vSphere datastore e.g. by coping it to a Windows system and uploading it to datastore from there

 

kickstart-pic01.png

 

  • Note datastore name (in this case “VM-NFS-01”) and path to ISO file (in this case “/ISO/centos64-unattend.iso”)

 

 

Preparation of kickstart file and guest agent

 

The preparation of the kickstart file is decribed in vRA documentation, see here: http://pubs.vmware.com/vra-62/topic/com.vmware.vra.iaas.virtual.doc/GUID-13EDB88E-DF34-4D82-B17A-CDF6289A2DC8.html

 

The file can simply be generated by a text editor. In this case we are using a slightly modified version compared to the documentation which works as well, see here:

 

ks.cfg

auth --useshadow --enablemd5

bootloader --append="rhgb quiet" --location=mbr --driveorder=sda

zerombr

clearpart --all --initlabel

text

firewall --disabled

keyboard us

lang en_US

logging --level=info

network --bootproto=dhcp --device=eth0 --onboot=on

reboot

rootpw secret

selinux --enforcing

timezone --isUtc America/New_York

install

part / --asprimary --fstype="ext3" --size=4096

part swap --asprimary --fstype="swap" --size=512

%packages

vim-enhanced

%post

 

rpm -i http://<websrvip>/vra/gugent-6.2.2-05062015.i386.rpm

export AXIS2C_HOME=axis2

export PYTHONPATH=/usr/share/gugent/site/dops

echo | openssl s_client -connect <vra-iaas-srv-fqdn>:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /usr/share/gugent/cert.pem

cd /usr/share/gugent

./installgugent.sh <vra-iaas-srv-fqdn>:443 ssl

 

Replace all components marked in RED by the paths, IPs, server names tailored to your environment.

After successful modification name the file “ks.cfg” and store it on the appropriate web server path (referenced from isolinux.cfg in modified CentOS ISO file).

Store the guest agent rpm file on the web server as well in the appropriate path.

 

 

Preparation of the blue print

 

Create a new blueprint and use the Action “Create” as well as provisioning workflow “LinuxKickstartWorkflow”. Fill all other values according to your needs. In addition there’s some custom properties that have to be set to make kickstart installation work. Find an easy example here:

kickstart-pic02.png

Image.ISO.Location = Datastore name where CentOS ISO resides

Image.ISO.Name = path and name of CentOS ISO file related to the root of the above mentioned datastore

VMware.VirtualCenter.OperatingSystem = operating system ID of the OS to be installed.

 

See full reference here: http://pubs.vmware.com/vsphere-55/index.jsp?topic=%2Fcom.vmware.wssdk.apiref.doc%2Fvim.vm.GuestOsDescriptor.GuestOsIdentifier.html

 

After saving the blueprint, publishing and defining the appropriate entitlements you should be able to request a VM which gets fully provisioned by kickstart process.

 

 

Troubleshooting

 

ISO checksum wrong

 

If the ISO generation tool does not create proper ISO checksum you will notice this during boot of the virtual machine created. In early boot stage a related message will come up on the console.

If that’s the case use the recommended way to modify the ISO as per this documentation (using linux system).

 

Guest agent trouble shooting

 

One important step of the whole process is the successful installation of the guest agent. If this step is not done properly the whole process in vRA will stay in “in progress” status and wait for a time out (which will not occur in less than 24 hours). So it’s essential that the guest agent is installed and starts up properly after reboot to report “success” back to vRA.

Some points to look at

  • After deployment the guest agent should be installed. You can check this by running “rpm –qa | grep gugent”. This should show a gugent package with the appropriate version number. If the output is empty gugent has not been installed. In this case check the kickstart script for syntax errors in the “rpm –i" command and also check network configuration for DHCP which is leveraged during kickstart installation.
  • Guest agent communicates with the vRA IaaS Server in an encrypted way. To do this it has to retrieve the client certificate from the IaaS server and store it in a file. Using the default parameters in above configuration files a file called “cert.pem” should be stored under /usr/share/gugent. If it’s not there or its content is empty check availability of the IaaS server during VM installation and check kickstart file for correct syntax. In addition be aware that during installation the virtual machine uses a DHCP IP address. Make sure that this address incl. the assigned DNS server is able to resolve and reach the vRA IaaS server specified in kickstart file properly.
  • Check if vrm-agent is running on the installed virtual machine: “ps aux” should show the appropriate process (VRM_daemon.pl). In addition check if vrm-agent is configured for automatic start with “chkconfig –list” command. If there’s no runlevel entry for vrm-agent but the agent has been installed the kickstart script section with “installgugent.sh” command has failed. This could be the case because cert file is not available or the IaaS server is not reachable.
  • For further trouble shooting there’s a log file GuestAgent.log which provides more in-depth information on guest agent issues as well as another log file /usr/share/gugent/axis2/logs/gugent-axis.log which shows even more details.

CloudCredibility.com invites you to get ready for VMware’s upcoming Launch Events, February 9 & 11!

 

The IT Agenda for 2016 - Enabling the Digital Enterprise


One lucky attendant and CloudCred player** who completes Task 3065 will be selected at random to win an event pass to VMworld 2016!


Register Here

Task 3065: Attend VMware's February Launches: The IT Agenda for 2016 - Enabling the Digital Enterprise.

 

Screen Shot 2016-01-20 at 12.32.45 PM.png

 


OR Follow the link provided in the announcement on your completed registration page!


RegistrationCCLink.png


 

In addition, beginning the week of the events, Monday, February 8, CloudCred will feature Launch Event Tasks and give away these other cool prizes:

 

CloudCred portable chargers

GoPro Cameras

CloudCred Tees & other swag!

 


GOOD LUCK!

**VMware employees are not eligible


Screen Shot 2015-09-23 at 11.33.00 AM.png

I had faced an issue where , the mangement network connectivity on the server lost , as soon a addition vnics were added to the UCS service profile ,

 

please see the mac address for the below nics

 

the nic order mac address are

vmnic0 : 03

vmnic1 :  00

vmnic2 : 01

vmnic3 :  02

nic1.PNG

 

but the UCS service profile would have the mac address for the corresponding nic as different , See the attached snippet for clarifications

 

the first Vnic in UCS has : 03 which is same as of our nic

 

nic2.PNG

 

the second Vnic on the UCS has different mac as that of our esxi host . hence the order was completely changed ,

 

Imagine if you have allowed Vlan 145 on the both the nics 0 and 1 for the management traffic and choose nic vnic 0 and 1 on the virtual switch end , the host will not respond ,

 

nic2.PNG

 

cisco has identified the bug , please see the relevant bug id bug/CSCuv34051

 

this issue can be fixed by the following method

 

  1. Place the ESXi/ESX host into maintenance mode. 
  2. Remove all VMNICs from the virtual switches except vmnic0, which is used for management. Make note of which VMNICs are assigned to which vSwitches. 
  3. Shut down the ESXi/ESX host. 
  4. Remove/disable all NICs except vmnic0. On-board NICs can be disabled in the BIOS. NICs installed in PCI slots should be physically removed. Make note of the slot each one came from. 
  5. Boot the server. At boot time, all removed/disabled VMNICs are removed from the esx.conf file. 
  6. Shut down the ESXi/ESX host. 
  7. Add/enable all required NICs.Enable the on-board NICs in the BIOS, and re-insert the PCI bus NICs into the slots they came from. 
  8. Boot the ESXi/ESX host. All VMNICs are assigned per segment, bus, slot, and function ID, and are ordered correctly. 
  9. Assign VMNICs back to the virtual switches they were assigned to before. 
  10. Exit maintenance mode on the ESXi/ESX host.

 

else it can also be done at UCS service profile using cisco locacli commands

 

https://tools.cisco.com/bugsearch/bug/CSCuv34051

 

Hope this helps to figure out the issue

 

Thanks and regards,

Nithyanathan R

Hi

 

   Happy to announce i have migrated DVS switch from one vcenter to another vcneter without  downtime for vms.

  i have used the DVS export and import functionality of vcenter vsphere web client,

 

Thanks

Jinu Varghese

vca-cli 15 がリリースされました。

旧バージョンで以下のコマンドを実行し、下記のようなエラーが発生してログインできない場合は、

最新のvca-cliをインストールするかアップグレードしてください。

C:\> vca login ”User ID” --password "Password"


Error:

Can't login: [SSL] ASN1 lib (_ssl.c:590)

Can't login: Org can't be null

 

パッケージ情報

https://pypi.python.org/pypi/vca-cli

 

Upgrade手順

C:\> pip install vca-cli --upgrade

 

C:\> vca -v

vca-cli version 15 (pyvcloud: 15rc2)

HOLD ON with patch ESXi 5.5 Update 3B to get updated in our environment. Below are some of the points which you might face in your regular operation tasks

 

 

You need to update to latest vCenter Server 5.5 Update 3b version and then update to ESXi 5.5 Update 3b. If we don’t update to vCenter Server 5.5 Update 3b, then you need to enable SSLv3 on ESXi for all services. Enabling SSLv3 on ESXi will cause POODLE vulnerability which is not recommended from security point-of-view

 

Some of the Points which you might to face on regular operations tasks are as below

 

1) Attempts to increase the size of a virtual disk on a running virtual machine fail with an error

          If you increase the size of a virtual disk when the virtual machine is running, the operation might fail with the following error:

          This operation is not supported for this device type.

          The failure might occur if you are extending the disk to the size of 2TB or larger. The hot-extend operation supports increasing the disk size to only 2TB or less. SATA virtual disks do not           support the hot-extend operation no matter what their size is.

       

Workaround: Power off the virtual machine to extend the virtual disk to 2TB or larger.

 

2) ESXi does not get automatically added to vCenter Server inventory

          If you update a previous version of vCenter Server and vSphere Update Manager to ESXi to 5.5 Update 3b, then after remediation task, ESXi does not get automatically added to VC           inventory. Remediation process never gets completed and ESXi connection status in VC inventory is shown as disconnected.

 

3) Static routes associated with vmknic interfaces and dynamic IP addresses might fail to appear after reboot

          After you reboot the host, static routes that are associated with VMkernel network interface (vmknic) and dynamic IP address might fail to appear.

          This issue occurs due to a race condition between DHCP client and restore routes command. The DHCP client might not finish acquiring an IP address for vmknics when the host attempts to           restore custom routes during the reboot process. As a result, the gateway might not be set up and the routes are not restored.

 

4) ESXi hosts with HBA drivers might stop responding when the VMFS heartbeats to the datastores timeout

          ESXi hosts with HBA drivers might stop responding when the VMFS heartbeats to the datastores timeout with messages similar to the following:

 

          mem>2014-05-12T13:34:00.639Z cpu8:1416436)VMW_SATP_ALUA: satp_alua_issueCommandOnPath:651: Path "vmhba2:C0:T1:L10" (UP) command 0xa3 failed with status Timeout. H:0x5           D:0x0 P:0x0 Possible sense data: 0x5 0x20 0x0.2014-05-12T13:34:05.637Z cpu0:33038)VMW_SATP_ALUA: satp_alua_issueCommandOnPath:651: Path "vmhba2:C0:T1:L4" (UP) command           0xa3 failed with status Timeout. H:0x5 D:0x0 P:0x0 Possible sense data: 0x0 0x0 0x0.


          This issue occurs with the HBA driver when a high disk I/O on the datastore is connected to the ESXi host and multipathing is enabled at the target level instead of the HBA level.

 

5) Attempts to perform live storage vMotion of virtual machines with RDM disks might fail

          Storage vMotion of virtual machines with RDM disks might fail and virtual machines might be seen in powered off state. Attempts to power on the virtual machine fails with the following error:

 

          Failed to lock the file

1 2 Previous Next

Actions

Looking for a blog?

Can't find a specific blog? Try using the Blog page to browse and search blogs.