Proxmox /etc/pve/nodes/node/qemu-server/ read-only after removing a node from a cluster

Problem: After removing a node from a Proxmox cluster, the node that remains active, the cluster is left in non-operational status: you can not create virtual machines, the machine deletion fails, you can not unblock the machines, the file systems Leer más

How to enable Proxy Settings for Yum

To be able to access to Ithe internet to update the system trogth proxy use: Option 1. Add to /etc/yum.conf these lines: proxy=http://<Proxy-Server-IP-Address>:<Proxy_Port> proxy_username=<Proxy-User-Name> proxy_password=<Proxy-Password>   Option 2: Export the variables in the shell: export http_proxy=http://{Proxy-User-Name}:{Proxy-Password}@<Proxy-Server-IP-Address>:<Proxy-Port> export https_proxy= http://{Proxy-User-Name}:{Proxy-Password}@<Proxy-Server-IP-Address>:<Proxy-Port> export ftp_proxy= Leer más

Example of wmic authentication file in Linux

1.Create a file, with the content. username=WindowsUsername password=WindowsPassword domain=DomainNameOrWorkGroup 2. For security, assign the permission 400. Example mkdir /etc/wmic vi /etc/wmic/Win20008.txt chmod 400 /etc/wmic/Windows2008R2srv.txt cat /etc/wmic/Windows2008R2srv.txt username=zabbixmonitor password=SuperPassword domain=WORKGROUP Usage: wmic -A /etc/wmic/Windows2008R2srv.txt //192.168.123.58 “select * from Win32_ComputerSystem”  

WMI quick examples

WMI quick examples: 1. Execute WQL in PowerShell Open PowerShell and use object Get-WmiObject with -Query argument. Examples: PS C:\Users\aurlen-win7-13> Get-WmiObject -Query “select * from Win32_ComputerSystem” Domain : S301M Manufacturer : LENOVO Model : 7034CP2 Name : T7PCAG935 PrimaryOwnerName : Leer más

Install wmi in CentOS

Problem: It is necessary to query Windows servers from Linux using Windows Management Instrumentation (WMI). Solution:   Install the wmi client in Linux, follow these steps 1. Download wmi from  www.atomicorp.com wget http://www6.atomicorp.com/channels/atomic/centos/7/x86_64/RPMS/wmi-1.3.14-4.el7.art.x86_64.rpm –2019-02-06 18:36:16– http://www6.atomicorp.com/channels/atomic/centos/7/x86_64/RPMS/wmi-1.3.14-4.el7.art.x86_64.rpm Connecting to 10.64.114.5:3128… connected. Leer más