[Daily work] configuration of test environment application and database

Source: Internet
Author: User

1. Test the monomer application before this side of the application and the database into a virtual machine, so that you can directly use the snapshot rollback, the application and the database is a complete state for easy testing.

2. But there are many virtual machines in the LAN clone, most of the virtual machine password is also consistent, in order to increase the flexibility, so this piece has a problem sometimes the IP address changes or other circumstances may have a situation of confusion,

So the virtual machine inside generally take a measure is:

When registering, use IP 127.0.0.1 to connect to this loopback address.

This avoids changes in the IP address or the amount of work that is modified after cloning.

Accordingly, the listener and Tnsname settings for the Oracle database are all a machine name address

Because it is found that Oracle will not be able to access external machines if 127.0.0.1 is used.

Another place is: If you change the machine name, you need this piece to be processed. Modify the monitoring and related configuration information for Oracle. Then reboot.

Sqlserve words to use. or 127.0.0.1 can be connected using the 127.0.0.1/instancename method if the database is not the default command

Note

Default port for Oracle 1521

Default port for SQL Server 1433

[Daily work] configuration of test environment application and database

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.