用户在连接到 Internet 时遇到问题,有些站点可以工作,有些站点则不能。
我认为这与网络设备没有任何关系,但以防万一。
2 防火墙,帕洛阿尔托
4 Cisco Nexus 55XXT 交换机
自上周大约 10 天前以来,我们没有进行任何网络更改,一切正常。
我能看到的唯一突出的是,如果我 ping 有问题的机器之一,它将解析为与机器实际拥有的 IP 不同的 IP
在最后一天,我们每小时收到多个关于 IP 冲突的网络警报 2。
这仅影响了 2 个用户
来自其中一台出现问题的 PC:
C:\>ipconfig | find "IPv4"
IPv4 Address. . . . . . . . . . . : 12.43.168.248
C:\>hostname
hostname-18
Run Code Online (Sandbox Code Playgroud)
从不同的机器 Ping。
C:\>ping hostname-18
Pinging hostname-18.domain.com [12.43.168.105] with 32 bytes
Run Code Online (Sandbox Code Playgroud)
来自不同机器的 Nslookup。
C:\>nslookup 12.43.168.105
Server: ad-server.domain.com
Address: 12.43.168.83
Name: hostname-18.domain.com
Address: 12.43.168.105
C:\>nslookup 12.43.168.248
Server: ad-server.domain.com
Address: 12.43.168.83
Name: hostname-18.domain.com
Address: …Run Code Online (Sandbox Code Playgroud) 参考这篇文章
我知道将快照保留超过一两天不是一个好习惯,因为性能会降低。
链很少超过 4 或 5
然而,我们有几个应用程序在我们可以推送到生产之前必须由供应商进行测试。
大多数人都非常擅长在拍摄快照后的几天内进入和测试,但也有一些人需要一周或更长时间。
有几个实例,在过去的一年中可能有 3 或 4 个,我们不得不执行完整的系统还原或文件级还原,因为应用程序不起作用,我们不得不恢复到以前的应用程序并且快照已已经被删除了。
这些盒子相当繁忙,日志记录,电子邮件等。
其他组织如何处理这个问题?有没有办法“备份”快照?
我一直在使用 ASP.NET v 4.0 应用程序遇到非常间歇性的问题,可能每 4 天就会发生一次,发生的情况是 CPU 会飙升至 75%,有时会运行良好,直到一天结束有时它会稳步增长到 100 %
然后我必须重新启动服务器。
我遵循了“当工作进程处于 100% CPU 时该怎么办”的每一个指南,我知道它是哪个工作进程,它是哪个应用程序池。我所能做的就是找到该进程并杀死它或回收应用程序池,这有时会有所帮助。
我不知道的是在 CPU 达到 75% 的那一刻系统上发生了什么。
我想知道有没有一种方法可以在 CPU 达到 50% 时启动 procmon 并运行 2 分钟,然后关闭并保存数据?
我准备将我的生产环境从 server 2012 R2 移动到 server 2016
我想进行全新安装,并且在进行一些清点时,实际上只有两台服务器可用于暂存,我希望能够进行全新安装。
我已经阅读了几篇关于安装 Active Directory 和 hyper-v 同一服务器的最佳实践的文章。
我的应用很轻量ant 这将是一个交错的迁移,所以我的计划是使用两台服务器(2016年数据中心),将它们集群起来,将2012年的guest逐一添加(滚动升级),然后在clean时将它们添加到服务器 2016 我在生产中。
我想要做的是将 AD DS 添加到我的两台服务器创建一个子域复制 AD,并添加还添加 hyper-v 角色,以及 DNS 服务器、故障转移群集、文件和存储服务、多路径 I/O
会不会有什么冲突。
我正在尝试创建几个可以保存在本地桌面上的文件以启动 PowerShell 会话。
Windows Server 2008 和 Windows Server 2012 都是服务器核心安装。
目前,我可以打开 Powershell 并输入:
Enter-PSSession -computername Win2012SrvCore -credential administrator
Run Code Online (Sandbox Code Playgroud)
使用它,我可以连接和运行命令,一切都很棒。
我试图做的是:
创建Win2012SrvCore1.ps1使用以下命令调用的文件:
$passwd = convertto-securestring -AsPlainText -Force -String MYPASSWORD
$cred = new-object -typename System.Management.Automation.PSCredential -argumentlist "administrator",$passwd
$session = new-pssession -computername Win2012SrvCore -credential $cred
Run Code Online (Sandbox Code Playgroud)
创建Win2012SrvCore2.ps1使用以下命令调用的文件:
PowerShell.exe -Command Enter-PSSession -computername Win2012SrvCore -credential administrator
Run Code Online (Sandbox Code Playgroud)
每个ps1文件都会快速启动和关闭,并带有一些我无法阅读的红色文本。
我试图添加PAUSE到每个脚本中,但这似乎并没有阻止窗口关闭。
我想要做的是创建脚本,我可以双击并打开到 powershell 提示符,类似于保存的 RDP 会话。
我已经配置了 ps1 文件来执行:
C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe
Run Code Online (Sandbox Code Playgroud)
任何帮助将不胜感激。
尝试运行任何 rpm 命令时,出现以下错误。我不确定为什么会出现 curl 错误,但我尝试了许多不同的选项,但都失败了。
运行 CentOS7 并在代理后面
[root@CentOS7]# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
curl: (60) Peer's certificate issuer has been marked as not trusted by the user.
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in …Run Code Online (Sandbox Code Playgroud) 我正在使用来自必须在 Windows 上使用 Apache 的供应商的产品。
我们有自己的 CA。
出于命名目的:
AppServer - Server2012r2 - Apache 2.4
OldCertsha1 - Server2012r2
NewCertsha2 - Server2012r2
我使用以下两个命令在 AppServer 上创建了 CSR。
genrsa –des3 –out name.sub.domain.com.key 2048
req –new –key name.sub.domain.com.key –out name.sub.domain.com.csr
Run Code Online (Sandbox Code Playgroud)
一切顺利
req -noout -text -in name.sub.domain.com.csr
Certificate Request:
Data:
Version: 0 (0x0)
Subject: C=xx, ST=xx, L=xx, O=xx, OU=xx, CN=name.sub.domain.com
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public Key: (2048 bit)
Modulus (2048 bit):
e1:ae:5a:e8:26:81:fd:a0:49:f9:a3:c0:77:75:0f:
e1:ae:5a:e8:26:81:fd:a0:49:f9:a3:c0:77:75:0f:
e1:ae:5a:e8:26:81:fd:a0:49:f9:a3:c0:77:75:0f:
e1:ae:5a:e8:26:81:fd:a0:49:f9:a3:c0:77:75:0f:
e1:ae:5a:e8:26:81:fd:a0:49:f9:a3:c0:77:75:0f:
e1:ae:5a:e8:26:81:fd:a0:49:f9:a3:c0:77:75:0f:
e1:ae:5a:e8:26:81:fd:a0:49:f9:a3:c0:77:75:0f:
e1:ae:5a:e8:26:81:fd:a0:49:f9:a3:c0:77:75:0f:
e1:ae:5a:e8:26:81:fd:a0:49:f9:a3:c0:77:75:0f:
e1:ae:5a:e8:26:81:fd:a0:49:f9:a3:c0:77:75:0f: …Run Code Online (Sandbox Code Playgroud) 在我们的 VM 基础架构中,我们将集群主机连接到 SAN。
我想弄清楚的是在我们的 Redhat 服务器中删除文件时会留下多少“空白”。在我们的 Windows 服务器上,我们使用 sdelete 并解决了这个问题,但是对于 Linux,我很难找到解决方案。
我将“空白”定义为部门?剩下的没有清零,SSD 驱动器必须先清零,然后才能写入。
我要指出的一件事是,当谈到 Linux 时,我知道很危险,但我不是超级用户。
查看驱动器和分区:
[root@rhserver1-DATA10 /]# fdisk -l
Disk /dev/sda: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x0005d52e
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 104857599 …Run Code Online (Sandbox Code Playgroud) 服务器 2012 R2 ESXI 6
我在重置 Windows Server 2012 VM 上的本地管理员密码时遇到问题。
我首先启动到 Windows Server 2012 cd,点击修复选项 -> 故障排除 -> 命令提示符
c:
The system cannot find the the drive specified
wmic logicaldisk get name
name
d:
x:
Neither of these are the drive where the OS lives.
Run Code Online (Sandbox Code Playgroud)
所以我启动到 Windows 8 恢复磁盘
当我选择该恢复控制台下的修复 Windows 选项时,还有其他选项出现错误:
The drive where windows is installed is locked.
Run Code Online (Sandbox Code Playgroud)
我尝试了各种方法来解锁它,但无处可去。
我尝试过的事情
diskpart
list disk
there are no fixed disks to show.
bootrec /ScanOS
Total identified Windows installations: 0 …Run Code Online (Sandbox Code Playgroud) 我接手一个项目,本地域名是domain.com;他们在 domain.com 上也有一个网站。
我一直将 domain.local 用于 AD,并且想知道这是否是最佳实践,或者是否有理由不这样做。
为 domain.com 运行 nslookup 内部确实解析为正确的 IP,并且 rDNS 记录配置正确。
我想开始通过 LDAP 连接一些服务器和 vCSA,我想知道这是否会导致问题?
domain-name-system active-directory reverse-dns windows-server-2012
ssl ×2
vmware-esxi ×2
windows ×2
apache-2.4 ×1
centos7 ×1
cpu-usage ×1
curl ×1
hyper-v ×1
internal-dns ×1
nslookup ×1
powershell ×1
redhat ×1
reverse-dns ×1
rpm ×1
snapshot ×1