starts the service, if the other node does not start, it will remain stuck in the waiting state.
[Root @ node1 drbd] # service drbd start
[Root @ node2 drbd] # service drbd start
3) view synchronization status
[Root @ node1 drbd] # Watch-N 1 'cat/proc/drbd'
You can also use the following command to view
[Root @ node1 drbd] # drbd-Overview
0: Web connected secondary/secondary inconsistent/inconsistent C
of the form. if you purchase or write a template class with excellent and reliable pointer arrays, your life will become very easy. STL (Standard Template Library) is supported by many c ++ versions. It has many good template-based pointer array classes, but if you want to use your own template class, perform a complete and thorough test before you apply it to your form management. now you need to pay attention to the memory leakage or NULL pointer r
This course will start from scratch using the ASP. NET Ajax client framework/component to create a "pure" Ajax applicationProgram. This new development method is suitable for developers to learn about Ajax. The presentation layer is placed completely on the client, and only pure data is transmitted between the browser and the server. It also helps developers integrate ASP. NET Ajax client frameworks.
Watch video:( Coming soon ...)
Download PPT: As
Swift 2: You can use @ NSManage to mark the automatic generation method. swift @ nsmanage
View Final Version
Original article linkAuthor: Tomasz SzulcOriginal Article Date:Translator: mmoaay; Proofreader: numbbbbb; Final: shanks
Swift 2 in Xcode 7 beta 5 has another feature: we can use@NSManagedTo declare the a
XIB file Design Principles
1. Always use a delay to load the NIB file. The NIB file is loaded only when these objects in the NIB file are about to be used immediately.
2. Store Duplicate User interface components (such as document windows) in a separate NIB file.
3. For occasionally used Windows and menus, there is a separate NIB file. In this way, the resources will be loaded to the memory when it is actua
Log4net usage Summary-(2) use in ASP. net mvc, log4netmvcLog4net configuration in ASP. net mvc, there is also a configuration method, that is, not in web. config, but to create a separate log4net. config under the root directory1. Reference log4net. dll2. Add log4net. config under the root directory of the site
3. Configure xmlConfigurationAdd [assembly: log4net. Config. XmlConfigurator (ConfigFile = "l
. First determine if the original object is passed in.if (Car!=_car) {2 Make a release to the old object once[_car release];//If there is no old object, it has no effect3. Do a retain on a new object_car=[car retain];}}4, @property parameters1) whether to generate the Set method (not generated if it is a read-only property)ReadOnly: Read only, generate getter declarations and implementationsReadWrite: Default, generate both setter and getter declarati
Poke links to see the final version
Original linkTomasz SzulcOriginal Date: 2015/08/06Translator: mmoaay; proofreading: numbbbbb; Final: Shanks
The Swift 2 in Xcode 7 Beta 5 has another feature: When using a one-to-many relationship, we can @NSManaged declare the automatic generation method.
This technique is very useful. Suppose you have one Library and more Book entity objects. Libraryand books is a one-to-many relations
Use angularjs to develop next-generation web applications (2): angularjs application skeleton (1) and angularjs next-generation
1. Call angularjs
1> load angularjs Library
It can be loaded from google's CDN (content delivery network) to get fast, and it can cache script libraries between multiple applications (this method is recommended, but China's special national conditions, this method cannot be used ):
Debug button on the toolbar. D. In the dialog box that appears, select the "Debug cmsisdap" option. E, after entering the debugging interface, select the "Resume" button to run the program, select "Disconnect" can be disconnected from the Development Board. F, the normal operation of the program, you can through the serial debugger assistant, watch the running results, the program first output a "Hello world", and then can send information to the Dev
1. Set up an ascending array: Range ();$numarr 1 Range // (1,2,3,4) $numarr 2 Range // (1,3,5,7,9) $letter Range // (' A ', ' B ', ' C ' ... ' z ')2. Use the loop to access the array:$fruit [3] = (' Apple ', ' banana ', ' pear '); for ($i = 0; $i$i++ )echo$fruit[$i]. ; // equivalent to the following code foreach ($f
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.