• 23Mar

    This tutorial describes how to set up database replication in MySQL. MySQL replication allows you to have an exact copy of a database from a master server on another server (slave), and all updates to the database on the master server are immediately replicated to the database on the slave server so that both databases are in sync. This is not a backup policy because an accidentally issued DELETE command will also be carried out on the slave; but replication can help protect against hardware failures though.

    In this tutorial I will show how to replicate the database exampledb from the master with the IP address 192.168.0.100 to a slave. Both systems (master and slave) are running Debian Sarge; however, the configuration should apply to almost all distributions with little or no modification.

    Both systems have MySQL installed, and the database exampledb with tables and data is already existing on the master, but not on the slave.

    I want to say first that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!

    Continue reading »

  • 22Mar

    1. Reboot router.
    2. When ROMMON is loading, send break signal on console port.
    3. confreg 0×2142
    4. reset
    5. enable, copy start run
    6. ***interfaces will be shut down!! make sure you ‘no shut’ them***
    7. conf t, change enable secret, line con/vty/aux passwords, usernames, etc.
    8. config-register 0×2102
    9. ^Z, write / copy run start
    10. reload, and make sure it’s happy.

  • 01Mar

    ต้องทำผ่าน Command Line นะครับ
    ตามรายละเอียดนี้ ต้องการดูทั้งหมดคลิ๊กที่ ที่มา นะครับ

    4.2.3. Creating VLANs

    For servers in a resource pool, you can use the pool-vlan-create command. This command creates the VLAN and automatically creates and plugs in the required PIFs on the hosts in the pool. See Section 8.4.22.2, “pool-vlan-create” for more information.

    To connect a network to an external VLAN using the CLI

    1. Open the XenServer host text console.
    2. Create a new network for use with the VLAN. The UUID of the new network is returned:

    xe network-create name-label=network5

    3. Use the pif-list command to find the UUID of the PIF corresponding to the physical NIC supporting the desired VLAN tag. The UUIDs and device names of all PIFs are returned, including any existing VLANs:

    xe pif-list

    4. Create a VLAN object specifying the desired physical PIF and VLAN tag on all VMs to be connected to the new VLAN. A new PIF will be created and plugged into the specified network. The UUID of the new PIF object is returned.

    xe vlan-create network-uuid= pif-uuid= vlan=5

    5. Attach VM VIFs to the new network. See Section 4.2.1, “Creating networks in a standalone server” for more details.

    ที่มา: http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/reference.html#networking-standalone_host_config-vlans