Define one node as secondary and discard data on this
drbdadm secondary all drbdadm disconnect all drbdadm -- --discard-my-data connect all
Define anoher node as primary and connect
drbdadm primary all drbdadm disconnect all drbdadm connect all
drbdadm secondary all drbdadm disconnect all drbdadm -- --discard-my-data connect all
drbdadm primary all drbdadm disconnect all drbdadm connect all
To configure a local device as an RDM disk:
ls -l /vmfs/devices/disks
t10.F405E46494C4540046F455B64787D285941707D203F45765
vmkfstools -z /vmfs/devices/disks/diskname /vmfs/volumes/datastorename/vmfolder/vmname.vmdk
For example:
vmkfstools -z /vmfs/devices/disks/t10.F405E46494C4540046F455B64787D285941707D203F45765 /vmfs/volumes/Datastore2/localrdm1/localrdm1.vmdk
Linux:
ping -M do -s 8972 xxx.xxx.xxx.xxx
OSX/BSD:
ping -D -s 8184 xxx.xxx.xxx.xxx
Windows:
ping -f -l 9000 xxx.xxx.xxx.xxx
If you’ve forgotten to enable jumbo frames/9k MTU on your client device you’re sending the ping from:
PING xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx): 8184 data bytes ping: sendto: Message too long
If you have enabled jumbo frames on your client but not the destination (or a switch in between):
PING xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx): 8184 data bytes Request timeout for icmp_seq 0
If you’ve done everything righ:
PING xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx): 8184 data bytes 8192 bytes from xxx.xxx.xxx.xxx: icmp_seq=0 ttl=128 time=0.714 ms
c:\temp\src
, c:\temp\mount
, c:\temp\winremount
, c:\temp\hotfix
, and c:\temp\drivers
.C:\temp\src
..msu
or .cab
files) to C:\temp\hotfix
.c:\temp\drivers
.dism /Mount-Wim /WimFile:c:\temp\src\sources\boot.wim /Index:1 /MountDir:c:\temp\mount dism /Image:C:\temp\mount /Add-Package /PackagePath:c:\temp\hotfix dism /Image:C:\temp\mount /Add-Driver /Driver:c:\temp\drivers /Recurse dism /Unmount-Wim /MountDir:C:\temp\mount /Commit dism /Mount-Wim /WimFile:c:\temp\src\sources\boot.wim /Index:2 /MountDir:c:\temp\mount dism /Image:C:\temp\mount /Add-Package /PackagePath:c:\temp\hotfix dism /Image:C:\temp\mount /Add-Driver /Driver:c:\temp\drivers /Recurse
C:\temp\mount\sources
by date, and then copy the updated files to c:\temp\src\sources
.dism /Unmount-Wim /MountDir:C:\temp\mount /commit
Install.wim
information by running the following command, and then check every index to see how many indexes have to be updated.dism /Get-WimInfo /WimFile:c:\temp\src\sources\install.wim
install.wim
and winre.wim
by running the following commands:dism /Mount-Wim /WimFile:c:\temp\src\sources\install.wim /Index:1 /MountDir:c:\temp\mount dism /Image:C:\temp\mount /Add-Package /PackagePath:c:\temp\hotfix dism /Image:C:\temp\mount /Add-Driver /Driver:c:\temp\drivers /Recurse dism /Mount-Wim /WimFile:c:\temp\mount\windows\system32\recovery\winre.wim /Index:1 /MountDir:c:\temp\winremount dism /Image:C:\temp\mount /Add-Package /PackagePath:c:\temp\hotfix dism /Image:C:\temp\mount /Add-Driver /Driver:c:\temp\drivers /Recurse dism /Unmount-Wim /MountDir:C:\temp\winremount /Commit dism /Unmount-Wim /MountDir:C:\temp\mount /Commit
Note If there are multiple indexes in step 8, update them one by one.
Install the latest Windows ADK for Windows 8.1 update.
oscdimg -LTEST -m -u2 -bC:\temp\src\boot\etfsboot.com C:\temp\src C:\temp\Win7.ISO
oscdimg -LTEST -m -u2 -bootdata:2#p0,e,bC:\temp\src\boot\etfsboot.com#pEF,e,bC:\temp\src\efi\microsoft\boot\efisys.bin C:\temp\src C:\temp\Win7.ISO
/etc/network/interfaces
:
auto wan iface wan inet manual up ifup eth0=eth0-static post-up /etc/network/checkConnectivity.sh eth0 192.168.0.1 10.10.0.2 iface eth0 inet manual #static eth0 config iface eth0-static inet static address 192.168.0.97 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 192.168.0.1 10.10.0.2 dns-search example.net #dhcp eth0 config iface eth0-dhcp inet dhcp
/etc/network/checkConnectivity.sh
:
#!/bin/bash nif=${1} shift sleep 1 for i in ${@}; do ping -c 2 ${i} \ && exit 0 done # if nothing responds ifdown ${nif} ifup ${nif}=${nif}-dhcp
manually override:
ifup eth0=eth0-static
ifup eth0=eth0-dhcp