muter2 hunting-searching.. susahnya cari workstation SPARC di jakarta..
![]()
akhirnya ngeborong server2 ber architectur SPARC
![]()
finally update my Private Home datacenter
![]()
13.01.2012
Akhirnya ada jg dokumentasi
![]()
sela 4 hari dari kecelakaan Special Gift yg gak sempet didokumentasikan karena ketiduran di klinik ![]()
09.01.2012
Special gift: Nambah Koleksi kenang2an di kaki & tangan (lagi) +Tulang Bahu Nge-Geser.. ![]()
*sangat disayangkan 2x moment terakhir gak sempet di dokumentasikan… karena bangun2 udah terbaring di Klinik.. ![]()
edit weathermap config (NOTES)
NODE nmsdev0
LABEL NMS-Devel
INFOURL /graph.php?rra_id=all&local_graph_id=6
NOTES <iframe width=\"400px\" height=\"400px\" src=\"/plugins/weathermap/info.php?node=1\"></iframe>
OVERLIBGRAPH /graph_image.php?rra_id=0&graph_nolegend=true&local_graph_id=6
ICON images/Server0.png
POSITION 296 486
create file info.php (http://www.ozzie.web.id/tmp/info.txt)
<?php //echo "node id = " . $_GET['node']; chdir('../../'); include("./include/global.php"); include_once("./lib/utility.php"); include_once("./lib/api_data_source.php"); include_once("./lib/api_tree.php"); include_once("./lib/html_tree.php"); include_once("./lib/api_graph.php"); include_once("./lib/snmp.php"); include_once("./lib/ping.php"); include_once("./lib/data_query.php"); include_once("./lib/api_device.php"); if (!empty($_GET["node"])) { $host = db_fetch_row("select * from host where id=" . $_GET["node"]); } if ((($host["snmp_community"] == "") && ($host["snmp_username"] == "")) || ($host["snmp_version"] == 0)) { print "<span style='color: #ab3f1e; font-weight: bold;'>SNMP not in use</span>\n"; } else { $snmp_system = cacti_snmp_get( $host["hostname"], $host["snmp_community"], ".1.3.6.1.2.1.1.1.0", $host["snmp_version"], $host["snmp_username"], $host["snmp_password"], $host["snmp_auth_protocol"], $host["snmp_priv_passphrase"], $host["snmp_priv_protocol"], $host["snmp_context"], $host["snmp_port"], $host["snmp_timeout"], read_config_option("snmp_retries"),SNMP_WEBUI); if (substr_count($snmp_system, "00:")) { $snmp_system = str_replace("00:", "", $snmp_system); $snmp_system = str_replace(":", " ", $snmp_system); } if ($snmp_system == "") { print "<span style='color: #ff0000; font-weight: bold;'>SNMP error</span>\n"; } else { $snmp_uptime = cacti_snmp_get($host["hostname"], $host["snmp_community"], ".1.3.6.1.2.1.25.1.1.0", $host["snmp_version"], $host["snmp_username"], $host["snmp_password"], $host["snmp_auth_protocol"], $host["snmp_priv_passphrase"], $host["snmp_priv_protocol"], $host["snmp_context"], $host["snmp_port"], $host["snmp_timeout"], read_config_option("snmp_retries"), SNMP_WEBUI); $snmp_hostname = cacti_snmp_get($host["hostname"], $host["snmp_community"], ".1.3.6.1.2.1.1.5.0", $host["snmp_version"], $host["snmp_username"], $host["snmp_password"], $host["snmp_auth_protocol"], $host["snmp_priv_passphrase"], $host["snmp_priv_protocol"], $host["snmp_context"], $host["snmp_port"], $host["snmp_timeout"], read_config_option("snmp_retries"), SNMP_WEBUI); $snmp_location = cacti_snmp_get($host["hostname"], $host["snmp_community"], ".1.3.6.1.2.1.1.6.0", $host["snmp_version"], $host["snmp_username"], $host["snmp_password"], $host["snmp_auth_protocol"], $host["snmp_priv_passphrase"], $host["snmp_priv_protocol"], $host["snmp_context"], $host["snmp_port"], $host["snmp_timeout"], read_config_option("snmp_retries"), SNMP_WEBUI); $snmp_contact = cacti_snmp_get($host["hostname"], $host["snmp_community"], ".1.3.6.1.2.1.1.4.0", $host["snmp_version"], $host["snmp_username"], $host["snmp_password"], $host["snmp_auth_protocol"], $host["snmp_priv_passphrase"], $host["snmp_priv_protocol"], $host["snmp_context"], $host["snmp_port"], $host["snmp_timeout"], read_config_option("snmp_retries"), SNMP_WEBUI); print "<table>"; print "<tr bgcolor='E2E2E2'><td><strong>System_Name:</strong></td><td>" . $host["description"] . "</td></tr>\n"; print "<tr><td><strong>System IP:</strong></td><td>" . $host["hostname"] . "</td></tr>\n"; print "<tr bgcolor='E2E2E2'><td><strong>Availability:</strong></td><td>" . round($host["availability"],2) . "%</td></tr>\n"; print "<tr><td valign='top'><strong>System:</strong></td><td>" . html_split_string($snmp_system) . "</td></tr>\n"; $days = intval($snmp_uptime / (60*60*24*100)); $remainder = $snmp_uptime % (60*60*24*100); $hours = intval($remainder / (60*60*100)); $remainder = $remainder % (60*60*100); $minutes = intval($remainder / (60*100)); print "<tr bgcolor='E2E2E2'><td><strong>Uptime:</strong></td><td> $snmp_uptime"; print " ($days days, $hours hours, $minutes minutes)</td></tr>\n"; print "<tr><td><strong>Hostname:</strong></td><td> $snmp_hostname</td></tr>\n"; print "<tr bgcolor='E2E2E2'><td><strong>Location:</strong></td><td> $snmp_location</td></tr>\n"; print "<tr><td><strong>Contact:</strong></td><td> $snmp_contact</td></tr>\n"; print "</table>"; } } ?>
based on:
IPMI (http://en.wikipedia.org/wiki/Intelligent_Platform_Management_Interface)
cvs-dev2-61# cd /usr/ports/sysutils/ipmitool/ cvs-dev2-61# make cvs-dev2-61# make install ... ... ===> Compressing manual pages for ipmitool-1.8.11_2 ===> Registering installation for ipmitool-1.8.11_2 ===> SECURITY REPORT: This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/bin/ipmitool If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://ipmitool.sourceforge.net/ cvs-dev2-61#
Manual :http://ipmitool.sourceforge.net/manpage.html
Bismillahirohmanirohim.. ![]()
Tantangan baru Bermain Solaris ![]()
nge-Create System authentication beserta schema2 yg tersentralisasi untuk Terminal akses dan remote semua device..
Berikut Bahan bahannya..
Download & Install Gnu C compiler
# wget ftp://ftp.sunfreeware.com/pub/freeware/i386/10/gcc-3.4.6-sol10-x86-local.gz # gunzip gcc-3.4.6-sol10-x86-local.gz # pkgadd -d gcc-3.4.6-sol10-x86-local # wget ftp://ftp.sunfreeware.com/pub/freeware/i386/10/libgcc-3.4.6-sol10-x86-local.gz # gunzip libgcc-3.4.6-sol10-x86-local.gz # pkgadd -d libgcc-3.4.6-sol10-x86-local
Update environment
# export PATH=$PATH:/usr/local/bin:/usr/local/sbin:/usr/ccs/bin:/usr/sfw/bin
Download & Install Berkeley DB48
# wget -c http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz # tar -xzvf db-4.8.30.tar.gz # cd db-4.8.30 # cd build_unix # ../dist/configure --prefix=/usr/lib/db4 # make clean # make # make install
Update Library Path
# CPPFLAGS="-I/usr/lib/db4/include" # export CPPFLAGS # LDFLAGS="-L/usr/lib -L/usr/lib/db4/lib -R/usr/lib/db4/lib" # export LDFLAGS # LD_LIBRARY_PATH="/usr/lib/db4/lib" # export LD_LIBRARY_PATH
Download & Install OpenLDAP(Library ONLY)
# wget ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.26.tgz # ./configure --prefix=/usr/local --without-slapd # make depend # make # make install
Download & Build nss_ldap
# wget http://www.padl.com/download/nss_ldap.tgz # tar zxvf nss_ldap.tgz # cd nss_ldap-265 # ./configure --prefix=/usr/local --with-ldap-dir=/usr/local # make # make install
Download & Build pam_ldap
# wget http://www.padl.com/download/pam_ldap.tgz # tar zxvf pam_ldap.tgz # cd pam_ldap-186 # ./configure --prefix=/usr/local --with-ldap-dir=/usr/local # make # make install
update NSS LDAP
# cd /usr/lib # ln -s /usr/local/lib/nss_ldap.so.1 nss_ldap.so.1
update /etc/pam.conf to pam_ldap
# # Default definitions for Authentication management # Used when service name is not explicitly mentioned for authentication # other auth requisite pam_authtok_get.so.1 other auth required pam_dhkeys.so.1 other auth required pam_unix_cred.so.1 other auth sufficient /usr/local/lib/security/pam_ldap.so.1 use_first_pass other auth required pam_unix_auth.so.1 # # passwd command (explicit because of a different authentication module) #
update /etc/nsswitch.conf
# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "@(#)nsswitch.files 1.14 06/05/03 SMI" # # /etc/nsswitch.files: # # An example file that could be copied over to /etc/nsswitch.conf; it # does not use any naming service. # # "hosts:" and "services:" in this file are used only if the # /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. passwd: ldap [NOTFOUND=return] files group: ldap [NOTFOUND=return] files hosts: ldap [TRYAGAIN=5] files dns
to be continued…
ref:
http://blog.ozzie.web.id/?p=514

based on History BSD Daemon (http://en.wikipedia.org/wiki/BSD_daemon)..
Running di Background dari semua “Proses“.. someday we’ll know… ![]()
![]() |