Jump to content

AlbinoRaven

Member
  • Posts

    29
  • Joined

  • Last visited

  • Donations

    $0.00 
  • Country

    Canada

Everything posted by AlbinoRaven

  1. The Oracle OUI for 9i sucks a** when using the record feature and requires some "detailing" afterwards. First create your response file with the: setup.exe -record -destinationFile "c:\myoracleresponse.rsp" After you record it make sure you go through and change the {oracle.client_9.2.0.1.0} in to this {"oracle.client","9.2.0.1.0"} You are going to have to comb the whole rsp file to get it working though.
  2. The Oracle OUI for 9i sucks a** when using the record feature and requires some "detailing" afterwards. First create your response file with the: setup.exe -record -destinationFile "c:\myoracleresponse.rsp" After you record it make sure you go through and change the {oracle.client_9.2.0.1.0} in to this {"oracle.client","9.2.0.1.0"} You are going to have to comb the whole rsp file to get it working though.
  3. On the ESX Server you will find the iso for the VMware Tools in the /usr/lib/vmware/isoimages/windows.iso. Use WinISO or WinRAR to extract the files into a folder. Place the reference to the VMWare tools in the RunOnceEx.cmd to a batch file. REG ADD %KEY%\017 /VE /D "VMWare Tools for ESX 2.5.2" /f REG ADD %KEY%\018 /V 1 /D "%systemdrive%\Drivers\VMware.cmd" /f The batch file to launch the VMWare tools. ================ @echo off %systemdrive%\Drivers\setup.exe /S /v"/qn ADDLOCAL=ALL REBOOT=ReallySuppress ================ Voila! The cake is ready, serve with ice cream and coffee!
  4. Basically the following scripts ping a range of specified IP addresses which is then dropped into a txt file, another script picks the "available" IP address from the txt file and performs a netsh with the IP address variable and then assigns it to the NIC. What I'm having trouble with is the first script writes all of the IP's into the txt file, so there are a couple of hundred IP's in the list rather than the first available one. Second issue is the netsh command doesn't seem to want to assign the ip address. makes me sad. Anyhoo, I have the entire thing running as an "installation" item with the RunOnceEx.cmd during an unattended setup. Next to computer name assignment, the ip addressing is one pain of many in deploying 50 servers without touching anything but my coffee. Cheers! Albino Or if someone has a better way with VB I would seriously owe you a pint or a grande latte. -------------------------------------------------- IPGrep1.cmd - releases the DHCP address ====start here==== @echo off ipconfig /release exit ====end here==== IPGrep2.cmd - the entire thing must be pasted as one line! ====start here==== @echo off for /l %%a in (200,1,254) do (ping -n 1 -w 200 192.168.1.%%a |find "unreachable" && echo 192.168.1.%%a>>ipaddress.txt) ====end here==== ipaddress.txt ====start here==== <pinged ip addresses that are unreachable> ====end here==== IPGrep3.cmd ====start here==== for /f %%i in (ipaddress.txt) do netsh interface ip set address name="Local Area Connection"&netsh interface ip set address local static %%i 255.255.255.0 192.168.1.1 ====end here====


×
×
  • Create New...