2017年发生了两件大事:
- FRRouting项目启动,把原来需要打patch才能在Quagga上使用的ldpd合并进了主线
 - Cumulus公司把自己的VRF实现贡献给了Linux内核
 
Linux终于获得了能用的原生的MPLS(L3VPN)和VRF支持。不过三年以后,MPLS配置的完整文档尚付阙如。近日我经过研究和阅读各种零散的资料,成功在测试环境中配置了一个标准的MPLS核心网络架构,因此写一篇文章来分享配置过程以及路上遇到的各种坑。
2017年发生了两件大事:
Linux终于获得了能用的原生的MPLS(L3VPN)和VRF支持。不过三年以后,MPLS配置的完整文档尚付阙如。近日我经过研究和阅读各种零散的资料,成功在测试环境中配置了一个标准的MPLS核心网络架构,因此写一篇文章来分享配置过程以及路上遇到的各种坑。
今天刚开了个新的AD,兴高采烈地把设备都加了域,结果WinRM不工作。报错如下:
| 
					 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22  | 
						PS C:\Windows\system32> enter-pssession server02 enter-pssession : Connecting to remote server server02 failed with the following error message : WinRM cannot process the request. The following error with errorcode 0x80090324 occurred while using Kerberos authentication: There is a time and/or date difference between the client and server.  Possible causes are:   -The user name or password specified are invalid.   -Kerberos is used when no authentication method and no user name are specified.   -Kerberos accepts domain user names, but not local user names.   -The Service Principal Name (SPN) for the remote computer name and port does not exist.   -The client and remote computers are in different domains and there is no trust between the two domains.  After checking for the above issues, try the following:   -Check the Event Viewer for events related to authentication.   -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use HTTPS transport.  Note that computers in the TrustedHosts list might not be authenticated.    -For more information about WinRM configuration, run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic. At line:1 char:1 + enter-pssession server02 + ~~~~~~~~~~~~~~~~~~~~~~~~     + CategoryInfo          : InvalidArgument: (server02:String) [Enter-PSSession], PSRemotingTransportException     + FullyQualifiedErrorId : CreateRemoteRunspaceFailed  | 
					
对于一个新的域,这种情况大概率是两台设备的时钟不同步了。
很多UPS(例如APC的大部分产品)都支持串口上报数据,但是很多时候你会用它支持不止一个设备。这时候你就需要通过某些网络协议来共享UPS状态。Synology DSM的网络UPS共享功能其实不仅支持把UPS状态共享给另一台DSM,而且还支持第三方操作系统。下面是一个能用的配置例子。
VNC不能传输音频流,所以如果你不想用RDP访问Proxmox VE上的Windows,又想有声音,那么就只能用SPICE了。不过别想用它玩游戏——DirectX肯定是不会支持的。
如果你跟我一样在ZFS上创建了第二个volume然后尝试把它作为Proxmox VE的directory类型存储,那么你可能也遇到了重启以后这个volume没有正确挂载的问题。这并不是ZFS automount失效了,而是在ZFS挂载之前,Proxmox VE就会在上面创建出vz文件夹来,而ZFS默认状态下又不允许overlay mount。
解决方法:
| 
					 1 2 3 4 5 6 7 8 9 10 11 12 13 14  | 
						# cat /etc/systemd/system/zfs-force-mount.service  [Unit] Description=force mount ZFS Before=syncthing@.service After=zfs.target pve-storage.target [Service] Type=oneshot ExecStart=/usr/sbin/zfs mount -a -O [Install] WantedBy=multi-user.target  # systemctl enable zfs-force-mount  | 
					
参考: