This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
admin:esxi [2019/06/11 18:19] peppe |
admin:esxi [2023/03/27 11:26] peppe |
||
---|---|---|---|
Line 65: | Line 65: | ||
Access to guest consoles is via VMPlayer/ | Access to guest consoles is via VMPlayer/ | ||
+ | |||
+ | ==== 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:// | ||
+ | |||
+ | |||
==== HP SSACLI Smartarray utility ==== | ==== HP SSACLI Smartarray utility ==== | ||
Line 101: | Line 107: | ||
vmware_guestd_enable=" | vmware_guestd_enable=" | ||
- | ===== SNMP configuration ===== | + | ==== DL380ws lab 24h clones |
+ | - Create VM | ||
+ | - Name: dl380wsXX | ||
+ | - Compatibility: | ||
+ | - 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 | ||
- | ==== ESXi host ==== | + | - Setup drbl, scylla, uranus for boot/usage (see other guide) |
- | # esxcli system snmp set --communities public | + | - Boot from network (PXE) and restore ubuntu image |
- | # esxcli system snmp set --enable true | + | - Copy MAC address (Edit settings->Network Adapter 1->MAC Address) |
- | # /etc/init.d/ | + | - Add to drbl dhcpd.conf |
+ | - service isc-dhcp-server | ||
- | firewall rules: | + | - Install open-vm-tools (instead of vmware tools) |
+ | apt -y install open-vm-tools | ||
- | # esxcli network firewall ruleset set --ruleset-id snmp --allowed-all true | + | - Stop and disable lightdm (gui not needed) |
- | | + | |
+ | systemctl disable lightdm.service | ||
- | ==== rescue ==== | + | - Enable VM autostart (ESXi-> |
- | LibreNMS installation: | + | - Set noshutdown flag |
+ | touch / | ||
- | # apt update | + | Install cse updates (last update |
- | # apt install apache2 curl acl zip unzip | + | \\ |
- | # systemctl enable apache2 | + | - Include updates: |
- | + | | |
- | php 7.1.3 installation: | + | - Exclude gui based/VM updates: |
- | # apt install apt-transport-https lsb-release ca-certificates | + | |
- | | + | |
- | # sh -c 'echo "deb https:// | + | |
- | | + | |
- | # 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: | ||
- | # apt install mariadb-server | ||
- | # systemctl enable mariadb | ||
- | # systemctl start mariadb | ||
- | # mysql_secure_installation | ||
- | # mysql -u root -p | ||
- | CREATE DATABASE librenms; | ||
- | USE librenms; | ||
- | GRANT ALL PRIVILEGES ON librenms.* TO ' | ||
- | FLUSH PRIVILEGES; | ||
- | exit; | ||
- | # / | + | ==== Convert thick vmdk disk files to thin ==== |
- | 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 / | + | |
- | # usermod -a -G librenms www-data | + | |
- | # cd /opt/ | + | |
- | # git clone https:// | + | |
- | # chown -R librenms: | + | |
- | # cp / | + | |
- | # vi / | + | |
- | Replace RANDOMSTRINGGOESHERE with community name | + | |
- | + | ||
- | # curl -o / | + | |
- | # chmod +x / | + | |
- | # systemctl restart snmpd | + | |
- | # cp / | + | |
- | # cp / | + | |
- | + | ||
- | # mv librenms/ / | + | |
- | # cd / | + | |
- | # ./ | + | |
- | + | ||
- | Access from http://< | + | |
- | Login at http://< | + | |
- | ===== iSCSI multipath ===== | + | ===== iSCSI multipath |
==== EMC VNX e3100 side ==== | ==== EMC VNX e3100 side ==== |