As more and more electronic devices are available, the storage space of mobile phones, tablets, and other mobile devices is usually small, this gave rise to the need for wireless storage sharing. This article briefly introduces several solutions for wireless storage sharing.
Desktop Sharing
Because desktop storage is
Original link: https://www.58jb.com/html/135.htmlIn the last MySQL container, the way to configure the host directory mount has been used, which is convenient but not secure enough to store data on a remote server, such as: Nfs,glusterfs,ceph, etc. generally, the current mainstream is the use of Ceph, GlusterFS;This experiment uses the simplest way of NFS to configure an Nginx container by mounting shared storage
Android provides four data storage methods:
Shared preferences: used to store data in the "key"-"value" format. It is a lightweight key-value storage mechanism that can only store basic data types.
Filws: file storage
SQLite: a standard database provided by android that supports SQL statements
Network: stores
Some friends want to use the VirtualBox tool to build a RAC test environment and share the storage division on their personal computers, but they do not know how to use the RAC test environment, the following section describes how to use VirtualBox to build a RAC test environment and share the storage design process.
The process is as follows:
1. Use the vboxmanage.exe tool in virtualboxto create a disk.
, format file system# mke2fs-t EXT4/DEV/SDC14 , Mount# mount/dev/sdc1/mnt # Create a file system and mount it to /mnt5 , create a test file, switch to another Initiator node Mount /DEV/SDC1 To see if a file exists# Touch Test.txt; echo "This was Test line" > Test.txt(Node 2 on the operation)1 , Check for disk-free devices and mount them using# fdisk-l2 , directly mount the node just now 1 partition that created the file system /DEV/SDC1# mount/dev/sdc1/mnt3 , switch to /mnt directory to see if
iSCSI Service-Side IP192.168.254.172
Client 1 192.168.254.46
Client 2 192.168.254.158
Service-side configuration
1, the service side installs the Scsi-target-utils
[Root@localhost ~]# Yum Install scsi-target-utils-y
2, if there is a separate partition, you can use a separate partition, if there is no suitable partition can be dd a large file as a shared disk
[Root@localhost/]# dd If=/dev/zero of=/disk1 bs=1m count=3000
3000+0 Records in
3000+
) this.width=650; "Src=" Https://s2.51cto.com/oss/201710/24/0969eea1d110e51344b937d95483094d.png-wh_500x0-wm_3 -wmp_4-s_3903013654.png "title=" Tim20171024143417.png "alt=" 0969eea1d110e51344b937d95483094d.png-wh_ "/>Activeconn is the number of connections currently in effect, you can see that when we refresh the page, the number of the two servers to switch back and forth, but such a switch back and forth will cause some problems, so we can add a delay option, Having an IP access to the schedul
The core is the following two statements, tested Redhat 5 and Redhat 6, the statement of B C D for the SDB SDC SDD, etc., to be modified according to the actual situationRedhat 5For i in B c D E F g h i j k l m n o p; --Make adjustments according to your own disk symbolDoecho "kernel==\" sd*\ ", bus==\" scsi\ ", program==\"/sbin/scsi_id-g-u/dev/\ $name \ ", result==\" '/sbin/scsi_id-g-u-s/BL Ock/sd$i ' \ ', name=\ "asm-disk$i\", owner=\ "grid\", group=\ "asmadmin\", mode=\ "0660\" "DoneRedhat 6F
service master configuration file, where the NFS-specific shared services are configured, is empty by default./usr/sbin/exportfsManagement commands for NFS services. You can load the NFS configuration to take effect, and you can configure the NFS shared directory directly, that is, without configuring/etc/exports for sharing. EXPORTFS-RV Smooth Restart/usr/sbin/showmount is commonly used to view the clien
=" 0 "alt=" wps3D04.tmp "src=" Http://s3.51cto.com/wyfs02/M01/9D/80/wKioL1mBORmy-D4fAAD7Ccj8EnA633.jpg "width=" 574 "height=" 454 "/>18, the front we talked about is the operation of the graphical interface, in fact, for Windows I prefer the GUI operation, but in order to improve operational efficiency, PowerShell CLI is a good thing, let's use the command line migration to try:MOVE-VM testserver01.testad.local-computername win2012r2-test03-destinationhost TestServer02.testad.localThis article f
[Oracle] RAC shared storage udevThe core lies in the following two statements. The redhat 5 and redhat 6 are tested. The B c d in the statement represents sdb sdc sdd, which should be modified according to the actual situation.Redhat 5For I in B c d e f g h I j k l m n o p; -- adjust according to your drive letterDoEcho "KERNEL = \" sd * \ ", BUS = \" scsi \", PROGRAM = \ "/sbin/scsi_id-g-u/dev/\ $ name \",
Advantage Description :1. memcached is a memory cache that can read and write faster than regular files2. Can solve the problem of multiple server common sessionDrawback Description :1. Session data is stored in memory, persistence is deficient, but it is not a problem for session data2. You can also use other persistent systems to store sessions, for example: Redis,ttserver3. High-performance concurrency scenarios, the efficiency of cookies is much better than the session, so many large website
When you mount the Iomega Storage shared NFS file directory with the Mount command, there is a possibility that the error message "Mount:wrong FS Type,bad Option,bad block on ..." appears.Solution:
First, the connectivity of the network is confirmed;
If the error is still, check the/sbin directory is not/sbin/mount.nfs files, installation nfs-utils can (request can connect the Internet);
U
offline logon=true 10.3. Verifying the configuration file # Testparm 10.4. Clear the existing Samba cache file # service SMB Stop
# service Winbind stop
rm -f/var/lib/samba/*
# service SMB Start
# Service Winbind Start Note: If you find that the group name is not displayed correctly after logging in with your ad account, you can try this operation and then log back in. 10.5. Clear Kerberos Credentials # Kdestroy
# klist 10.6. Join the ad Join -S XXX. MYDOMAIN (AD Server)-u Administrator 10
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.