);Sync (0 );# The default action of syslog-ng 1.6.0 is to log a stats line# To the file every 10 minutes. That's pretty uugly after a while.# Change it to every 12 hours so you get a nice daily update# How many messages syslog-ng missed (0 ).Stats (43200 );Create_dirs (yes );};Source s_internal {internal ();};Destination d_syslognglog {file ("/var/log/syslog-ng.log ");};Log {source (s_internal); destination (d_syslognglog );};Source s_sys {file ("/proc/kmsg" log_prefix ("kernel:"); Unix-stream
purpose as disabling automatic failover.-INFINITY: The resource is always removed from the current location.Define location constraints: Resource ID rules with unique location IDsDefine location constraints: Resource ID rules with unique location IDsLocation Prefer-Node1 (ldirectord)Rule $ id = "prefer-node1-rule" 100: # uname eq NODE1Resource arrangement constraintsThe colocation command is used to define which resources should be run on the same ho
First, collocated group status1. CreatingWhen you create a storage pool, it creates a specified number of collocated groups. CEPH displays creating when creating one or more collocated groups, and when created, the OSD in the acting set of its collocated group will be interconnected; Once the interconnect is complete, the Collocated group state should become active+clean, meaning that the Ceph client can write data to the colocation group.2. PeeringWh
(such as timeout, operation after startup failure)Group define a groups//define a set type (combine multiple resources)Clone define a clones//defines a clone type (you can set the total number of clones, and several clones can be run on each node)Ms Define a Master-slave resource//define a master-slave type (nodes within a cluster can only have one running master resource, others from the standby)Rsc_template Define a resource template//define a resource templateLocation a location preference//
%/%hostname%/messages.log"Control log output format based on attributesUse the following format to customize the format of the log by making various modifications to the properties in the template:%Some examples are as follows:Full message text for%msg% # log%msg:1:2% # The first two characters of the log message text%msg:::d The full message text of the rop-last-lf% # Log, and remove the last line feed%timegenerated:1:10:date-rfc3339% # The first 10 characters of the timestamp and formatted acc
SQL statements.
For programmers, SQL statements provide rich query functions, making it easier to analyze text files.
The following is a simple log table, which is as common as possible, so there is only message.
SQL code
Create table 'logging '(
'Id' INT (10) unsigned not null AUTO_INCREMENT,
'Tag' ENUM ('unknow', 'user', 'bbs ', 'cart', 'admin') not null default 'unknow' comment' log tag Domain ',
'Asctime' timestamp not null default CURRENT_TIMESTAMP comment' generation time ',
'
that do not carry the "reverse billing request" user facility. You can enable the "Accept call carrying the reverse billing request" function on an X.25 interface, all such calls will be accepted. You can also enable this function for an address ing using the accept-reverse option in the x25 map command, only calls that reach this interface for this address ing are accepted, while other such calls refer to calls that carry reverse billing requests bu
which devices will be listed.
T
The type of the (all) facility. There are three types of facilities:
Q message queue
M shared memory segments
S semaphore
ID
(All) The identifier of the Facility item.
KEY
(All) keys used as parameters of msgget subroutines, semget subroutines, or shmget subroutines constit
The main function of service area analysis is to determine the areas that can be reached within a certain period of time. For example, from a certain point, we want to know the scope of the areas that can be reached within 30 minutes, then we can use the service area analysis. The following is the final implementation of this article:
The following describes the specific implementation process.
Service area analysis is the last part of web-based network analysis. We have explained how to creat
array disk.By default, we use a group to group resources, and start the resource in the order from the top down, and if the intermediate resource stops unexpectedly, the cluster shuts down the following resources and starts from the middle, because a resource cannot exist in multiple resource groups, which of course does not meet the requirements.WORKAROUND: When the Configure is configured, group the VIP and array into a resource group, using the Order command to define the boot order, namely:
The questions are as follows:
Invalidargumenterror (above for traceback): Cannot assign a device to node ' train/final/fc3/b/momentum ': Could not sat ISFY explicit device specification '/device:gpu:0 ' because no devices matching that specification are registered in this P rocess; Available devices:/job:localhost/replica:0/task:0/cpu:0
colocation Debug Info:
colocation Group had the Following types and dev
Profiling oerr commands in Oracle
The commands in Oralce are very rich. The oerr command is a good auxiliary tool. Many error codes that do not seem to have an eyebrow purpose can help DBAs quickly identify the cause of the problem, we don't need to remember the ORA errors at all, unless they are completely inseparable from your work.
Most of the commands are in binary format. For example, sqlplus is a shell script, and the implementation principle is not hard. Let's analyze it, let's look at th
DBWR trace file
ORA-01110: data file 5: '/DBData/WWL/wwl001.dbf'
2.3Check the trace file, clearly telling you that the lost file cannot be found or lost.
* ** Service name :() 09:17:38. 573
* ** Session id: (167.1) 09:17:38. 573
ORA-01157: Message 1157 not found; No message file for product = RDBMS, facility = ORA; arguments: [5]
ORA-01110: Message 1110 not found; No message file for product = RDBMS, facility
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.