Read about liferay 7 database configuration, The latest news, videos, and discussion topics about liferay 7 database configuration from alibabacloud.com
First, find the Net Configuration Assistant menu of the client, as shown in:
2. Click to enter the welcome page and select the local net service name configuration, as shown in:
3. Add by default, as shown in:
Configure the four service names, that is, enter the global database name to connect to the data
/product/10.2.0/db_1/OPatch/opatch apply
3. Under the unzipped patch directory./killDBConsole
4. Run emctl secure dbconsole-reset at the first node.
5. Run emctl secure dbconsole in section 2.
6. Run emctl start dbconsole on the 1st and 2nd nodes respectively.
The final startup is normal. If access: https: // ip: 1158/em is normal, the bug is fixed and the em configuration is complete;
Appendix: Description of the README file after the PATCH is decom
Website: bbs.justin.com: Web Server 10.15.72.73 above database: MySQL Server 10.15.72.177 above purpose: Add a MySQL Backup Server (10.15.72.136) as MySQL
Website: bbs.justin.com: Web Server 10.15.72.73 above database: MySQL Server 10.15.72.177 above purpose: Add a MySQL Backup Server (10.15.72.136) as MySQL
Groupadd mysql #4. perform the following operations on the client Windows
=Stdout.read () #5. Close connection ssh.close ()paramiko Implementing Remote Command Execution (method one: Using user name, password)def SSH (self,cmd): Import Paramiko #1. Create an SSH object ssh=Paramiko. Sshclient () #2Add this sentence do not worry about choosing Yes, will automatically select the #用ssh连接远程主机时, the first connection will be prompted whether to continue the remote connection, choose Yes Ssh.set_missing_host_key_policy (Paramiko. Autoaddpolicy ()) #3. Get the private key Pri
(1)Reduce Database AccessStatic pages are possibleStatic parts of a dynamic pageSome data can be generated as XML or saved as text filesUse data caching technology, such as memcached
(2)Optimization Detection Method
1. User Experience Detection2. MySQL status detectionUse the show status command in the MySQL command line to obtain the current MySQL status.Focus on the following attributes:Key_read_requests (number of index read requests) (the impac
Mysql database configuration optimization (high cpu usage) output results show which threads are running, can help identify problematic query statements
Show processlist;
Wait_timeout,That is, the number of sleep connection timeout seconds. if a connection times out, it is naturally terminated by mysql.Show global variables like 'Wait _ timeout ';
Set to 30 secondsSet global wait_timeout = 30;
2 GB memor
(); 6 String pathName = this.getqueryparameter (Request, "PathName"); 7 String FilePath = path + pathName; 8 file file = new file (FilePath); 9 //If the file path file exists and is a file, delete the if (file.exists ()) { One File.delete (); System.out.println ("delete succeeded"); All else { System.out.println ("file does not exi
Label:catchtostringstatic Way collect query Database Connections versionwork Using System;
2 using System.Collections.Generic;
3 using System.Configuration;
4 using System.Data.SqlClient;
5 using System.Linq;
6 using System.Text;
7 using System.Threading.Tasks;
8 using System.Data; 9 namespace Students.dal {public class DBHelper-{conn public static readonly string = configurationmanager.conn
set of properties. + Properties can be saved in a stream or loaded from a stream. - each key and its corresponding value in the property list is a string. */
+
AProperties properties=NewProperties ();//instantiating an object at
- //loading through the class loader
- Try {
-Properties.load (TestProperties2.class. getClassLoader (). getResourceAsStream ("Jdbc.properties")); - //getClassLoader () returns the class loader for this class. -
MySQL version: 5.6.21: Http://rj.baidu.com/soft/detail/12585.html?aldClient Tools: NavicatformysqlGreen version: http://www.cr173.com/soft/38153.html1, MySQL download after the file name is: Mysql_installer_community_v5.6.21.1_setup.1418020972.msi, as follows:2, double-click, pop up the following window: (If the system is prompted, select Allow)3. Installation Start screen4, check I accept the license terms, such as:5, choose Next, pop up the following window:6, select the second: Server only, s
the secondary database configuration file will be used to the user, again in advance to create a goodgrantreplication slave on * * to ' dzx ' @ ' 192.168.1.128 ' identified by ' dzx123 ';Create a user, give it all the permissions to Dzxuser This user, his IP to be 192.168.1.128 , his password is dzx123 . 650) this.width=650; "src=" https://s3.51cto.com/wyfs02/M00/A5/11/wKioL1m3X_GATn1xAAAfDC0S8PA578.jpg "t
: Ab.auth (' sa ', ' sa ') in order to go to other library operations, can not be verified in other libraries. You also need to specify a library to connect to the database:
MONGO-USA-PSA Admin #sa Account Connection Admin
MONGO-UAA-PAA Test #aa Account Connection testNoauth: Prohibit user authentication, default true. Ditto
Noauth = TrueCPU: Setting to True forces MongoDB to report CPU utilization and Io waiting per 4s, writing log information t
Label:Thinkphp has a built-in abstraction database access layer that encapsulates different database operations, and we only need to operate with a common DB class, without having to write different code and underlying implementations for different databases, and the DB class will automatically invoke the corresponding database driver to handle it. The currently
SQL Server database Mirroring (i) Single-server mirror script configuration without witnessSQL Server database Mirroring (ii) Full mirroring script configuration in a domain environmentAfter a few days, build the domain, the server joined the domain and then test another situation.Test environment:Primary server:IP = 1
) { E.printstacktrace (); } %> --------------------------------------------------------------------------------------------------4) maxactive The maximum number of database connections for the connection pool. Set to 0 to indicate no limit. 5) Maximum idle time for Maxidle database connections. When this idle time is exceeded, the database connection is marke
';sql> create spfile= ' +data1/orclst/spfileorclst.ora ' from pfile= '/home/oracle/stdbypfile.ora ';sql> shutdown immediate;
19, in the standby of the two nodes to create a parameter file, file content consistent
The code is as follows
Copy Code
Rac21:/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initorclst1.oraRac22:/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initorclst2.oraVim Initorclst1.oraSpfile= ' +data1/orclst/spfileorclst.ora '
20, set stan
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.