Posts

Showing posts from 2023

Vathsa's VmWare Usuefull Commands

  Most Useful ESXCLI and ESXi Shell Commands for Your VMware Environment Check the status of active network connections: esxcli network ip connection list Display the information about network interfaces: esxcli network ip interface list Display the information about IP addresses of the network interfaces that are present on the server: esxcli network ip interface ipv4 get Display the network information for VMs: esxcli network vm list View the domain search settings: esxcli network ip dns search list View the DNS servers set in the network settings: esxcli network ip dns server list List vSwitchs and port groups: esxcli network vswitch standard list Show statistics for the  vmnic0  network interface: esxcli network nic stats get -n vmnic0< Check the firewall status and rule settings: esxcli network firewall get esxcli network firewall ruleset list Note : The default firewall policy is to drop traffic if the opposite rules are not set. You can temporary disab...

Vathsa's DevOps - Command Line Selinux Ansible Firewall

  Selinux  rhel8 useful commands  semanage import <<EOF boolean -D login -D interface -D user -D port -D node -D fcontext -D module -D ibendport -D ibpkey -D permissive -D boolean -m -1 collectd_tcp_network_connect boolean -m -1 daemons_enable_cluster_mode boolean -m -1 domain_can_mmap_files boolean -m -1 domain_kernel_load_modules boolean -m -1 glance_api_can_network boolean -m -1 glance_use_execmem boolean -m -1 glance_use_fusefs boolean -m -1 haproxy_connect_any boolean -m -1 httpd_can_network_connect boolean -m -1 httpd_execmem boolean -m -1 httpd_use_openstack boolean -m -1 logrotate_read_inside_containers boolean -m -1 neutron_can_network boolean -m -1 nis_enabled boolean -m -1 os_cinder_use_nfs boolean -m -1 os_glance_dac_override boolean -m -1 os_glance_use_nfs boolean -m -1 os_glance_use_sudo boolean -m -1 os_gnocchi_use_nfs boolean -m -1 os_haproxy_dac_override boolean -m -1 os_httpd_wsgi boolean -m -1 os_keepalived_dac_override boolean -m -1 os_keystone_u...