Install Deployment Itop
1. Download itop:https://wiki.openitop.org/doku.php on official website
2, upload the compressed package, install the database and HTTP, and install the relevant PHP plug-ins:
unzip iTop-2.4.0-3585.zip yum install httpd php php-gd php-xml mariadb-server php-mysql php-soap php-mcrypt php-ldap -ymv web /var/www/html/cd /var/www/html/chown -R apache:apache web/systemctl start httpd
3. Configuration database:
yum install mariadb-server php-mysql php-mysqli -y
4. Modify the database configuration file:
[[email protected] ~]# cat /etc/my.cnf[mysqld]datadir=/data/mysqlsocket=/data/mysql/mysql.sockmax_allowed_packet=2097652symbolic-links=0[mysql]socket=/data/mysql/mysql.sock[mysqld_safe]log-error=/var/log/mariadb/mariadb.logpid-file=/var/run/mariadb/mariadb.pidsocket=/data/mysql/mysql.sock!includedir /etc/my.cnf.d
5. Specify the socket file and start the database:
ln -s /data/mysql/mysql.sock /var/lib/mysql/mysql.socksystemctl restart mariadbsystemctl restart httpd
To add a database authorization:
MariaDB [(none)]> grant all on *.* to ‘itop‘@‘localhost‘ identified by ‘itop‘;
6, Login Web interface, install the configuration in the Web interface.
Configure Itop
After the installation is complete, log in with the Administrator account, you can see the following interface:
Tip: There are different options for scenarios when you install using the Web interface, and you can choose the option according to your business size and scenario.
When the host and network devices are added, the corresponding relationship needs to be planned first, in general, the following sequence can be referred to:
1, first in the location of the definition room, office area. The organization defines the hierarchy of departments, contact persons, and contact persons between the subordinate and the departmental relationships.
2, according to the room definition rack, physical servers, network equipment and other physical equipment, the details of which can be further improved according to demand.
3. After the physical equipment is defined, the physical machines can be divided into the farm objects such as clusters and cloud platforms.
4, stand-alone virtual machine host, divided into hypervisor. All VMS are partitioned into virtual machine.
Create different business scenarios for different business platforms:
Configure the virtual machine and physical machine resource pools used in different business scenarios:
Data import
If you have a large number of machines or virtual machines that need to be added to Itop, you can use table import methods, such as bulk import of virtual machines:
1. Select a template to export Excel:
2. Select the field information you want to export, which is also the field we want to modify:
3. After export, use Excel to open, bulk add the corresponding virtual machine information to the table, and then save in CSV format.
4. Use nodepad++ to open this CSV file and convert it to UTF8 format.
5. Select this file to import:
Using Itop for CMDB Asset Management