User Tools

Site Tools


admin:esxi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
admin:esxi [2019/06/11 18:19]
peppe
admin:esxi [2024/03/29 11:51]
peppe
Line 65: Line 65:
  
 Access to guest consoles is via VMPlayer/VMRC. Access to guest consoles is via VMPlayer/VMRC.
 +
 +==== Small Footprint CIM Broker Daemon (SFCBD) ====
 +The Small Footprint CIM Broker Daemon (SFCBD) is not running. Storage health data is reported by this daemon. Please see this KB article for information on enabling this service.\\
 +[[https://kb.vmware.com/s/article/1025757]]\\
 +
 +
  
 ==== HP SSACLI Smartarray utility ==== ==== HP SSACLI Smartarray utility ====
Line 101: Line 107:
   vmware_guestd_enable="YES"   vmware_guestd_enable="YES"
  
-===== SNMP configuration =====+==== DL380ws lab 24h clones ==== 
 +- Create VM 
 +  - Name: dl380wsXX 
 +  - Compatibility: ESXI 5.1 and later (VM version 9) 
 +  - Guest OS family: Linux 
 +  - Guest OS Version: Ubuntu Linux 64-bit 
 + 
 +  - Storage: 600GB datastore 
 + 
 +  - CPUs: 4 
 +  - RAM: 2GB 
 +  - HDD: 128GB thin provisioned 
 +  - Network: VLAN74 Network 
 + 
 +- Setup drbl, scylla, uranus for boot/usage (see other guide) 
 + 
 +- Boot from network (PXE) and restore ubuntu image 
 +    - Copy MAC address (Edit settings->Network Adapter 1->MAC Address) 
 +    - Add to drbl dhcpd.conf 
 +    - service isc-dhcp-server restart
  
-==== ESXi host ====+- Install open-vm-tools (instead of vmware tools) 
 +  apt -y install open-vm-tools
  
-  # esxcli system snmp set --communities public +Stop and disable lightdm (gui not needed) 
-  # esxcli system snmp set --enable true +  service lightdm stop 
-  # /etc/init.d/snmpd restart+  systemctl disable lightdm.service
  
-firewall rules:+- Enable VM autostart (ESXi->VM->Autostart->Enable)
  
-  # esxcli network firewall ruleset set --ruleset-id snmp --allowed-all true +Set noshutdown flag 
-  # esxcli network firewall ruleset set --ruleset-id snmp --enabled true+  touch /etc/cse_updates/noshutdown
  
-==== rescue ====+Install cse updates (last update in ubuntu22.04-hp705ws02-2022-10-10-12-img openjdk8)\\ 
 +\\ 
 +- Include updates: 
 +  python3-mysql-connector.sh cache-download.sh turnin-suid.sh ncal.sh nam-fixed.sh 2204extras.sh etc. 
 +- Exclude gui based/VM updates: 
 +  orcad-quartus.sh gns3lab.sh chrome.sh unity3d.sh texstudio.sh
  
-LibreNMS installation: 
  
-  # apt update && apt upgrade +==== Convert thick vmdk disk files to thin ==== 
-  # apt install apache2 curl acl zip unzip +  vmkfstools -i vm01.vmdk -d thin thin-vm01.vmdk
-  # systemctl enable apache2 +
-   +
-  php 7.1.3 installation: +
-  # apt install apt-transport-https lsb-release ca-certificates +
-  # wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg +
-  # sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' +
-  # apt update +
-  # apt install php7.1-cli php7.1-curl php7.1-mbstring php7.1-gd libapache2-mod-php7.1 php7.1-snmp php7.1-xml php7.1-mysql php7.1-zip php7.1-json+
  
-  mariadb installation: +==== Punchzero ("defrag") vmdk files ==== 
-  # apt install mariadb-server +  vmkfstools -K <name>.vmdk
-  # systemctl enable mariadb +
-  # systemctl start mariadb +
-  # mysql_secure_installation +
-  # mysql -u root -p +
-  CREATE DATABASE librenms; +
-  USE librenms; +
-  GRANT ALL PRIVILEGES ON librenms.* TO 'librenmsuser'@'localhost' IDENTIFIED BY 'librenmspss'; +
-  FLUSH PRIVILEGES; +
-  exit;+
  
-  # /etc/mysql/mariadb.conf.d/50-server.cnf 
-  add the following in mysqld section 
-  innodb_file_per_table=1 
-  sql-mode="" 
-  lower_case_table_names=0 
-   
-  # systemctl restart mariadb 
-   
-  #  apt install composer fping git graphviz imagemagick mtr-tiny nmap python-memcache python-mysqldb rrdtool snmp snmpd whois 
-   
-  # useradd librenms -d /opt/librenms -M -r 
-  # usermod -a -G librenms www-data 
-  # cd /opt/ 
-  # git clone https://github.com/librenms/librenms.git librenms 
-  # chown -R librenms:librenms /opt/librenms 
-  # cp /opt/librenms/snmpd.conf.example /etc/snmp/snmpd.conf 
-  # vi /etc/snmp/snmpd.conf 
-  Replace RANDOMSTRINGGOESHERE with community name 
-   
-  # curl -o /usr/bin/distro https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/distro 
-  # chmod +x /usr/bin/distro 
-  # systemctl restart snmpd 
-  # cp /opt/librenms/librenms.nonroot.cron /etc/cron.d/librenms 
-  # cp /opt/librenms/misc/librenms.logrotate /etc/logrotate.d/librenms 
-   
-  # mv librenms/ /var/www/html/ FIXME 
-  # cd /var/www/html/libremns 
-  # ./scripts/composer_wrapper.php install --no-dev 
-   
-  Access from http://<IP>/librenms/html/ 
-  Login at http://<IP>/librenms/html/index.php/login 
  
-===== iSCSI multipath =====+===== iSCSI multipath (OLD, decommissioned 9/2022) =====
  
 ==== EMC VNX e3100 side ==== ==== EMC VNX e3100 side ====
admin/esxi.txt · Last modified: 2024/03/29 11:51 by peppe