Wednesday, June 5, 2013

Hyper-V on ESXi5

- เปิด Service SSH ที่เครื่อง ESXi
echo ‘vhv.allow = “TRUE” ‘ >> /etc/vmware/config
- ติดตั้ง Windows 2012 ตามปกติ
- หลังจากติดตั้งเสร็จแล้วให้ไปแก้ไฟล์ .vmx ของ vmware guest ตัวที่เราติดตั้ง เช่น hyv-node-01.vmx
แก้บรรทัดคำสั่ง

    จาก guestOS = “Microsoft 2012″ หรือ ชื่ออื่น
    เป็น guestOS = “winhyperv”

เพิ่มบรรทัดคำสั่ง

    hypervisor.cpuid.v0 = FALSE

- สั่ง Power On Guest
- ติดตั้ง VMware Tools

credit:http://www.vmware.in.th/pumpith/vmware-%E0%B8%95%E0%B8%B4%E0%B8%94%E0%B8%95%E0%B8%B1%E0%B9%89%E0%B8%87-hyper-v-%E0%B8%9A%E0%B8%99-windows-2012-%E0%B9%83%E0%B8%99-esxi-5-1.html

Monday, June 3, 2013

awk + for shell

#!/bin/bash

ff=$(awk -F: '{print $1}' /etc/passwd | grep user )

for i in $ff ; do something in $i ; done

Get password from ORACLE local user

select dbms_metadata.get_ddl('USER', username) || '/' usercreate from dba_users where username like 'SCOTT';

select spare4 from user$ where name='SCOTT';

Thursday, May 30, 2013

Install vSphere Client 5.1 on Windows 8

1. Use 7-zip to open the ~350MB executable and extract the contents
2. In Windows 8, run dotnetfx35.exe – it will prompt you to download and install .NET 2.0. I let it download and install the files it needed.
   Next, run vjredist64.exe (Assuming Windows 8 x64)
3. Right-Click VMware-viclient.exe, choose “Properties”
   On the “Compatibility” tab, check the “Run this program in compatibility mode for:” and choose “Windows 7″ from the list. Click “Ok”
4. Run the VMware-viclient installer as you normally would.

Tuesday, May 28, 2013

Uninstall AltirisAgent

C:\Program Files\Altiris\Altiris Agent>AeXAgentUtil.exe /uninstallagents /clean

Friday, May 10, 2013

VLAN Taging VMware

1.Virtual Switch Tagging (VST)
   - Trunk port set vlan 0
2.External Switch Tagging (EST)
   - Tag 802.1q Port to ESXi host
3.Virtual Guest Tagging (VGT)
  - Trunk port set vlan 4065 (all vlan)
  - Tag vlan on guest ( must install vmware tool driver )
  - set vlan id on device manager > network adapter > advance > vlan id

Tuesday, April 23, 2013

File Shared between Domain and Workgroup

@Domain Controller

Local Security Policy > Local Policies  > User Rights Assignment

access this computer from the network = everyone
Deny access to this computer from the network =! Guest , everyone


Local Security Policy > Local Policies  > Security Options

Network access: Let Everyone permissions apply to anonymous users = enable


Local Security Policy > Local Policies  > Security Options

Accounts: Limit local account use of blank passwords to console logon only : disable :df enable

ALCATEL 6900

write memory copy running certified reload from working no rollback-timeout