Install EMC Agent:
pkgadd -d HostAgent-Solaris-32-sparc-en_US-1.1.0.1.0366-1.pkg
pkgadd -d NaviCLI-Solaris-32-sparc-en_US-7.31.0.3.66-1.pkg
select l *
Edit Agent File:
vi agentID.txt
add
host
ip
ex:
nidadb.nida.ac.th
202.44.72.223
restart agent
/etc/init.d/agent stop
/etc/init.d/agent start
Install EMC PowerPath:
extact EMCPower.SOLARIS.5.3.P01.b009.tar
pkgadd -d .
install licence
cd /etc
emcpreg -add AAAA-BBBB-CCCC-DDDD-EEEE
./powercf -q //verify device on host
./powermt config //verify device on host
set device policy as clariion open
=======================
powermt set policy=co dev=all
powermt save
Check HBA Port:
fcinfo hba-port
luxadm -e port
Thursday, July 11, 2013
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
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
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';
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.
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
- 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
Subscribe to:
Posts (Atom)
ALCATEL 6900
write memory copy running certified reload from working no rollback-timeout
-
SET LLDP System NAME: system name ALL-Uplink system location SIAM-FL11 SHOW LLDP Configure: show lldp config or show lldp local-syste...
-
grant execute on utl_http to wc grant execute on dbms_lock to wc; BEGIN DBMS_NETWORK_ACL_ADMIN.create_acl ( acl => ...
-
:system view system-view or sys :show all config dis current-configuration :create vlan vlan vlan_number :show ip interface ...