發表文章

目前顯示的是 2014的文章

VMWare ESXi: Could not find a trusted signer

Install vib # esxcli software vib install -v /vmware-esx-provider-lsiprovider.vib --no-sig-check Install zip # esxcli software vib install -d /vmware-esx-abc.zip --no-sig-check list vib #  esxcli software vib list  Remove vib #  esxcli software vib remove --vibname="brocade-esx-bcu-plugin"

Reclaiming iSCSI LUN space after deletion.

- Enable SSH service via the Terminal & SNMP tool in the Control Panel. - Log into the Synology as user "root" using the appropriate password. - Confirm there are no iSCSI LUNs in Storage Manager. - Stop the iSCSI service: /usr/syno/etc/rc.d/S78iscsitrg.sh stop - Remove the folder /volume1/@EP and /volume1/@EP_trash - Remove the file /var/db/iscsi/EP_JNL - Start the iSCSI service again: /usr/syno/etc/rc.d/S78iscsitrg.sh start - Log out of the Synology.

find modify data over xxx days

find /volume1/MM/ -type f -mtime +4380 -print; or ls -lt $(find /volume1/MM_Share/ -type f -mtime +365 -print;)

To convert from GHO to VMDK

To convert from GHO to VMDK ghost32 -clone,mode=restore,src=my.gho,dst=myimage.vmdk -batch -sure PS. ghost32 need 11.5 above

Enable cut and paste via the console window

isolation.tools.copy.disable – false isolation.tools.paste.disable – false

Procedure to release the SnapVault relationship and make the secondary qtree writable

On the secondary filer/NearStore:. 1. Disable snapvault. dst_filer> options snapvault.enable off  2. If snapmirror is not already licensed on the secondary filer, add a snapmirror license. dst_filer> license add  3. As snapmirror is automatically enabled when licensed, disable snapmirror. dst_filer> snapmirror off  4. Enter diag mode and convert the snapvault secondary qtree to a snapmirror qtree. dst_filer> priv set diagdst_filer> snapmirror convert  5. Exit diag mode and enable both snapvault and snapmirror. dst_filer> priv set admindst_filer> options snapvault.enable ondst_filer> snapmirror on  6. Quiesce and break the new snapmirror relationship you created with the snapmirror convert  command in step 4. dst_filer> snapmirror quiesce dst_filer> snapmirror break  7. Verify the snapmirror relationship has been broken. Note the base snapshot for thisrelationship. dst_filer> snapmirror status -l

DFS 回應緩慢....

微軟KB ( http://support.microsoft.com/kb/244380/en-us) By default, a Microsoft Distributed File System Namespace (DFSN) root referral reply to a DFS root referral query is in NetBIOS name format (\\< Server >\< Share >). This is necessary in certain environments that rely on NetBIOS and makes it possible for clients that support NetBIOS-only name resolution to locate and connect to targets in the DFS namespace. By default, Windows clients work fine with this.  However, some clients do not use NetBIOS. Two examples are clients that are not running Windows and clients that operate in an environment without WINS or that use DNS name suffixes. Those clients are incompatible with the default DFSN behavior.  In these cases, the client may be unable to resolve the server name that is returned from the root referral query. However, this problem can be addressed easily, because DFSN can be configured to operate in a DNS-only environment. This article describes how to configu...

Extend root LVM

圖片
1. Extend disk capacity on Linux VM setting. 2. Reboot Linux VM 3. Open Logical Volume Management , you can find Unpartitioned space under Uninitialized Entities 4. Open terminal , check disk raw space is extend to your requirement but usable space is keep the same space without any change. 5. Format the unspace disk to LVM format.   6. Enable change without reboot  7. Check Uninititalized Entities status, there are new partition existing and click initialize Entity 8. Click Yes for make sure Initialize it 9. New unallocated partition will appear in Unallocated Volumes and click Add to existing Volume Group 10. Add it into root VG 11. Use lvextend and resize2fs command to extend root LV

how to reconnect user mail box (less than 14 days)

14天內可以在exchange上restore mail box 1. Exchange powershell Get-MailboxDatabase -Server server1 | Clean-MailboxDatabase 如果知道哪一台就這樣下比較快 不然會跑好久 2. Exchange management tool disconneted mailbox 建立連接 3. Add X500 cn後面是帶工號

VMware 術語

Demand = VM要的 Supply = Host給的 Entitle = 應得的

EMC VPLEX can't communicate with witness

After Witness shutdown and poweron, we have to run following command in vplexcli  "vpn restart", so VPLEX can rebuild vpn session to witness

Migrate vCenter database to new SQL server

migrate procedure kb link: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=7960893 ps. use the same sql account and password as same as old If you move the SSO database from one SQL host to another host you need to update the SSO configuration with the new SQL server host information Note:  By default the permissions do not exist on the SQL server and, after the database is moved, the RSA_USER and RSA_DBA need to be created. See the vSphere Installation and Setup guide located at  vSphere Installation and Setup Guide . Note : On the server where SSO is installed, you can also view the  jndi.properties  file in the default location ( C:\Program Files\VMware\Infrastructure\SSOServer\webapps\ims\web-inf\classes\ ) to see the database configuration for the SSO server and verify the values which need to be updated. Most commonly these values are: com.rsa.db.hostname com.rsa.instanceName On the server w...

purge vcops vm

 vcops-admin purge --vc-name mtkvcs01