發表文章

目前顯示的是 2015的文章

Install VASA 6.0P1 on VSC 6.0

圖片
My VMware environment :     vSphere version : 6.0U1     vCenter version : 6.0U1     NetApp VSC version : 6.0     NetApp VASA version : 6.0P1 notes *** VASA 6.0P1 didn't support VSC6.1 1. After install NetApp VSC and register VSC via web (https://localhost:8143/Register.html),  2.  you have to restart VMware Web Client service then logon as administrator then register VASA in VSC 3. You will see a warning, click OK to register VASA in provider 4. After VASA was registered, you will see successfully. 5. Logout and login vSphere Web Client, you can see VASA provider for Clustered in VSC

You Cannot Use open-vm-tools to Customize VMs

When you deploy VMs install open-vm-tools, you can not use customize to deploy VM, you need to install  open-vm-tools-deploypk fisrt. Please refer the KB:  http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2075048

RHEL5.8 point java to new path

vi /etc/profile and add following to end of file. export JAVA_HOME="/usr/lib/vmware/viewagent/jre" export PATH=$JAVA_HOME/bin:$PATH

Monitor Linux with HP/Dell Hardware status via ManageEngine Application Manager

圖片
1. Install hpsmh-7.5.0-4.x86_64.rpm 2. Install hp-health-8.6.0.24-24.rhel4.x86_64.rpm 3. Install hp-snmp-agents-8.6.0.18-16.rhel4.x86_64.rpm  4. run /sbin/hpsnmpconfig and setup private/public string 5. start hp-snmp-agents service 6. configure /etc/snmp/snmpd.conf and restart snmp service 7. add host into monitor software.

Ubuntu 14.04 install on HP DL360 Gen9 with HP insight management agent

圖片
Subscribe Deb-based systems to the mcp repository Cut-n-paste the following section (substituting ditribution, architecture and project version) into  /etc/apt/sources.list.d/mcp.list  on your system: # HP Management Component Pack deb http://downloads.linux.hp.com/SDR/repo/mcp  dist / project_ver  non-free Where: dist trusty, precise, squeeze, wheezy project_ver current, 9.50, 9.40, 9.25, 9.10 Update the local apt indexes # apt-get update Search for a specific package # apt-cache search  #  browse debs Install a specific package # apt-get install Management Component Pack The Linux Management Component Pack provides agent software for use on community-supported distributions. For RedHat and SUSE distributions, please use the  Service Pack for ProLiant  ( SPP ). The MCP (unlike the SPP) does  not  provide drivers and firmware (firmware is provided via  HPSUM , and drivers...

Windows 2008 R2 Event Forward limits

Just take a notes , it can't forward event over < 20

Install JDK on RHEL5/6/7

Prepare : Download JDK from Java and upload to Linux cd /opt/jdk1.7.0_79 alternatives --install /usr/bin/java java /opt/jdk1.7.0_79/bin/java 2 alternatives --config java alternatives --install /usr/bin/jar jar /opt/jdk1.7.0_79/bin/jar 2 alternatives --install /usr/bin/javac javac /opt/jdk1.7.0_79/bin/javac 2 alternatives --set jar /opt/jdk1.7.0_79/bin/jar alternatives --set javac /opt/jdk1.7.0_79/bin/javac  java -version export JAVA_HOME=/opt/jdk1.7.0_79

實作Horizon View for Linux VDI

千呼萬喚的Linux VDI終於在6/4/2015 release了,這幾天下來實測後做些整理,希望可以幫到有需要的IT同伴. 環境介紹 vSphere platform : 6.0 Powershell 6.x 並安裝在vCenter上 Horizon environment : 6.1.1 Horizon Client : 3.4 (Windows/Mac OS X) Windows AD : 2008 R2 DNS解析須可以解析View broker 位置 Linux OS for VDI CentOS 6.6 x64 with jre-7u79 RHEL6.6 x64 with jre-7u79 ubuntu 12.04 with jre-7u80 RHEL5.8 x64安裝設定皆正常,但無法連線 有搭配過jre7u75, jre7u76,jreu79 Protocol 並非PCoIP,也不是RDP,是 Blast ( port 5443 必須要跟security srv或是connection srv 之間的防火牆開通) View Agent 與Connection Srv 須開通4001:4002:LDAP Linux VDI 與vCenter 要開通 SSH:22,在透過powershell deploy view agent時會用到 Horizon 6 for Linux VDI的功能 不支援HTML Access 不支援Client裝置(USB,Printer, Copy/Paste)對應的Linux VDI 不支援Single Sign-On - 連線上Linux VDI後須再輸入Linux 的帳號密碼 支援單向Audio (Linux VDI to Client) 支援兩個螢幕以上 - 需要在虛擬顯示卡上作相對應的設定,一般我會建議雙螢幕+32MB 記憶體 KDE桌面沒有經過View Agent 認證,所以不建議使用 Bug 當在全螢幕輸入完帳號密碼登入桌面後,畫面會並不會AutoFit, 需要手動將畫面縮小或是放大使其重新AutoFit. 實作流程 創建guest customization specification, 名稱為linuxagent ...

How to install open VM tools on Ubuntu 14.04

VMware KB https://kb.vmware.com/s/article/2075048 To obtain and import the VMware Packaging Public Keys:   Create a directory on the virtual machine to store the VMware Packaging Public Keys. Download all the VMware Public Packaging Public Key files from the https://packages.vmware.com/tools/keys directory. Save the files to the directory you created. For each key that you download, run this command to import the key: $ sudo apt-key add / key_path / key_name Where key_path is the directory in which you saved the keys and key_name is the file name of a key. Create the file /etc/apt/sources.list.d/vmware-tools.list with this content: deb https://packages.vmware.com/packages/ubuntu precise main   To install the package, run this command: $ sudo apt-get update $ sudo apt-get install open-vm-tools-deploypkg

VMware App Volume components and requirements

App Volumes Components and Requirements App Volumes Manager Windows Server 2008 R2/ Windows Server 2012 R2 Microsoft .Net Framework 3.5 feature enabled 4GB RAM 1GB free disk space SQL Server 2008 R2 or SQL 2008 R2 Express App Volume Agent Windows 7 (32-bit or 64-bit) or Windows 2008 R2/ Windows 2012 R2 Windows must be vanilla View Agent installed App Volume Agent installed 1GB RAM 5MB free disk space App Volumes environment ESXi5 or above vCenter 5 or above Active Directory Horizon View 6 or above or XenDesktop/XenApp 5.5 or above On-demand delivery of application in a non-persistent desktop .

Linux vi replace command

%s/\.jpg/\.jpg\"/g %s/old/new/g

Windows 2008 R2 event forward XML sample

      *[System[(EventID=4662)]]and *[EventData[Data[@Name='ObjectServer'] and (Data='DS')]] and *[EventData[Data[@Name='AccessMask'] and (Data= '0x20')]] and *[EventData[Data[@Name='ObjectType'] and (Data= '%{e0fa1e8c-9b45-11d0-afdd-00c04fd930c9}')]]  

Upgrade VMware Hroizon View 6.0.1 Composer to 6.1

圖片
Pre-note *If you had upgrade vCetner, please reboot vCenter before installation. 1. Run Horizon View Composer installation wizard and click "Next" 2. Accept license agreement and click "Next" 3. System will detect previous installation path, make sure it is correct and click "Next" 4. Verify Composer ODBC DSN is correct and enter username and password for this database connection. 5. Verify Composer SOAP port is 18443 (if you have change it before,please change it to your customize port else leave it to default), another hand is about certificate, by default it will create default SSL certificate, in my case - I change it to "Use an existing SSL certificate" 6. Ready to install the program, if everything is fine, click "Install" 7. Click "Finish" to close Installation windows ...

Upgrade vCetner 5.5 to 6.0

圖片
Pre-noted: Close vSphere client before you install vCenter minima memory is 8GB Backup vCenter database Start Upgrade: 1. insert vSphere vCenter 6 to CD/DVD 2. Select "vCenter Server for Windows" then click "Install" 3. Click "Next" for start upgrade process 4. Agree the EULA and click "Next" 5. Enter vCenter 5.5 SSO and vCenter 5.5 administrator credentials then click "Next" 6. Running pre-upgrade  7. After pre-upgrade, check the Ports of vCenter is correct then click "Next" 8. Check Installation path, if you want to change it, please click "Change", after you done, click "Next" 9. Confirm the settings and click "Upgrade" ...

vSphere ESXi 6 upgrade with Qlogic(Brocade) BR-1020

When upgrade ESXi 6 with Qlogic (Brocade) BR-1020, you have several method. 1. Upgrade by "update manager", after upgrade re-install Qlogic BR-1020 driver (bna/bfa) manually. 2. Upgrade by CD/DVD, you need to update BR-1020 driver to ESXi5.5/6 3. Make new ESXi 6 CD/DVD with BR-1020 driver then do upgrade.