Endeca Virtual Machine Environment Configuration summary

Source: Internet
Author: User
Tags scp command

Endeca Virtual Machine Environment Configuration summary

    • Background and problems

Oracle Endeca is responsible for providing a complete endeca environment in VirtualBox , approximately 36GB. Now apply down the 128GB memory server, to install VirtualBox on the server and run the virtual machine in a fully Endeca environment. Two main problems are faced. One is restricted and locally uploaded to the special plane's network bandwidth (400kb/s),36gb virtual image upload to the server problem. the second is the installation of VirtualBox after the server Mount virtual image, unable to configure the network through the graphical interface problems.

    • Solution Solutions

for the problem one, prepare a compressed sub-package method, a 4g, a total of 9 files. Two accounts are uploaded to the transit server at the same time to shorten the upload times. During the period, the software FlashFXP that supports the continuation of the breakpoint can be encountered .

for issue two, considering that both the transit server and the target server are not able to operate through the interface, only now the VirtualBox in Windows is configured to bridge network mode, set the IP address and so on. And then split the upload.

    • Operation Steps

    • Modify virtual Machine network connection mode to "bridge" mode under Windows environment

650) this.width=650; "Width=" 409 "height=" 265 "src="/e/u261/themes/default/images/spacer.gif "alt=" QQ picture 20150611163222.jpg "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat Center;border : 1px solid #ddd; "/>

    1. after running the virtual machine, enter the system and give the system a fixed IP address (and 128G Server IP in the same network segment)

650) this.width=650; "Width=" 482 "height=" 338 "src="/e/u261/themes/default/images/spacer.gif "alt=" QQ picture 20150611163732.png "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat Center;border : 1px solid #ddd; "/>

    1. After you complete the above modifications, shut down the virtual machine gracefully. will be modified after all the virtual machine files, including *.vmdk,*.vbox,*.vbox-prev,logs folder, by 7z software subcontracting compression to package in tar format, then upload to a staging server using FlashFXP software

650) this.width=650; "Width=" height= "449" src= "/e/u261/themes/default/images/spacer.gif" alt= " QQ picture 20150611163920.jpg "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat Center;border : 1px solid #ddd; "/>

650) this.width=650; "width=" 419 "height=" 229 "src="/e/u261/themes/default/images/spacer.gif "alt=" QQ picture 20150611164111.jpg "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat Center;border : 1px solid #ddd; "/>

    1. the staging server is copied to the target server via the SCP command SCP **.tar.001 [email protected], enter the password, wait for the upload to complete

    2. Merge the subcontracting files on the destination server, unzip with the tar command

Cat **.tar.001 **.tar.002 >> Endeca.tar

TAR–XVF Endeca.tar

    1. installation VirtualBox, process slightly. (The current target server is already installed)

    2. Execution Vboxmanage command configuration, one way is to directly mount the virtual machine configured under Windows, another way is to create a virtual machine, mount the uploaded virtual image, two ways to configure the command poor.

Vboxmanage registervm/data/virtualbox\vms/eid_linux98/eid_linux_98.vbox Add virtual machine, need to put *.vbox,*. Vbox-prev,logs put it in /home/endeca/.config/virtualbox/.

VBOXMANAGEMODIFYVM ' BDD '--memory "100001" configuration memory

VBOXMANAGECONTROLVM ' BDD ' Nic1 ' nat ' configuration using the first few network cards

VBOXMANAGEMODIFYVM ' BDD '--nic1 ' bridged ' configuration network

VBOXMANAGEMODIFYVM ' BDD '--bridgeadapter1 ' bond0 ' configuration bridging mode

VBOXMANAGEMODIFYVM ' BDD '--nictype1 82540EM

Boxmanagestorageattach ' BDD '--storagectl SATA--port 1--device 0--medium/home/*.vmdk Mount Virtual Mirror

Vboxmanage STARTVM ' BDD '// the command starts directly with an error and does not prompt

VBOXHEADLESS–STARTVM ' BDD '// the command starts with error will prompt

Vboxmanage showvminfo ' BDD ' view virtual machine status

Vboxmanage list Runningvms list running virtual machines

8. Start the virtual machine by command VBOXMANAGESTARTVM ' BDD ' –type Headless, and then ping the IP address of the virtual machine set , waiting for the ping SSH into the virtual machine settings.

9. Endeca starting the directory machine command

/home/oracle/eid/middleware/user_projects/domains/endeca_server_domain/startweblogic.sh

/home/oracle/eid/middleware/user_projects/domains/endeca_studio_domain/startweblogic.sh

/home/oracle/eid/middleware/user_projects/domains/oracle.eid-ps/startweblogic.sh

Nohup./startweblogic.sh &

Cat Nohup.out

Jdbc:oracle:thin:@//localhost:1521/pdborcl


Endeca Virtual Machine Environment Configuration summary

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.