rac on windows 2003

74
1 © 2006 Julian Dyke RAC on Windows 2003 Julian Dyke Independent Consultant Web Version juliandyke.co

Upload: kyle

Post on 30-Jan-2016

45 views

Category:

Documents


0 download

DESCRIPTION

RAC on Windows 2003. Julian Dyke Independent Consultant. Web Version. juliandyke.com. Introduction. This presentation describes Windows specific RAC configuration issues including: Installation Pre installation steps Installing Oracle Clusterware Installing Oracle Database Software - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: RAC on  Windows 2003

1 © 2006 Julian Dyke

RAC on Windows 2003

Julian Dyke

Independent Consultant

Web Version

juliandyke.com

Page 2: RAC on  Windows 2003

2

© 2006 Julian Dykejuliandyke.com

Introduction This presentation describes Windows specific RAC

configuration issues including:

Installation Pre installation steps Installing Oracle Clusterware Installing Oracle Database Software Patches Post installation steps

Administration Services Networking

Page 3: RAC on  Windows 2003

3

© 2006 Julian Dykejuliandyke.com

Warning This presentation is intended to supplement information in the

Oracle documentation

It is NOT intended to replace the Oracle documentation

Most of the information contained in this presentation was correct for Oracle 10.2 Some information applies to earlier releases Where appropriate this is highlighted in the slides

Page 4: RAC on  Windows 2003

4

© 2006 Julian Dykejuliandyke.com

Overview Oracle RAC is available on Windows in

Standard Edition Enterprise Edition

Standard Edition must use Automatic Storage Management (ASM)

Enterprise Edition can use Automatic Storage Management (ASM) Oracle Cluster File System (OCFS)

Page 5: RAC on  Windows 2003

5

© 2006 Julian Dykejuliandyke.com

Shared Oracle Home Oracle Clusterware (CRS) MUST be installed in a local

directory on each node

Oracle Database Software can be installed in a shared Oracle home on the cluster file system

Page 6: RAC on  Windows 2003

6

© 2006 Julian Dykejuliandyke.com

Installation

Page 7: RAC on  Windows 2003

7

© 2006 Julian Dykejuliandyke.com

Pre-InstallationSteps

Page 8: RAC on  Windows 2003

8

© 2006 Julian Dykejuliandyke.com

Pre-Installation Steps Pre-Installation tasks include:

Check public interface is first in bind order Disable Windows Media Sensing for TCP/IP Disable Write Caching on Shared Storage Enable Auto-mounting Local drives must be accessible from all nodes Environment variables System clocks must be synchronized

Page 9: RAC on  Windows 2003

9

© 2006 Julian Dykejuliandyke.com

Public Interface Bind Order The public interface must be the first in the bind order

To check this Start Windows Explorer Right click on My Network Places and choose Properties In the Advanced menu click Advanced Settings... In the Adapters and Bindings tab

If the public interface is not the first name listed Click the arrow to move it to the top of the list Click OK to save the setting

Page 10: RAC on  Windows 2003

10

© 2006 Julian Dykejuliandyke.com

Windows Media Sensing for TCP/IP Windows Media Sensing for TCP/IP must be disabled To check this

Run REGEDT32.EXE Navigate to HKEY_LOCAL_MACHINE\System\

CurrentControlSet\Services\Tcpip\Parameters

Add the following registry entry: Right click on right hand pane and select

New -> DWORD value

Value Name: DisableDHCPMediaSenseValue: 1

NOTE - It is recommended that you backup the registry before making changes using REDEDT32.EXE / REGEDIT.EXE

Page 11: RAC on  Windows 2003

11

© 2006 Julian Dykejuliandyke.com

Write Caching Write Caching must be disabled on shared storage

To disable write caching at operating system level:

Start->Settings->Control Panel->Administrative Tools-> Computer Management->Device Manager->Disk Drives

Expand the disk drives list Double-click the first drive listed

On the Disk Properties tab uncheck the write cache enabled option

Repeat for all remaining disk drives

Not necessary if using HP Array Manager as write caching is automatically disabled at operating system level

Page 12: RAC on  Windows 2003

12

© 2006 Julian Dykejuliandyke.com

Disk Manager To start the Disk Management tool:

Start->Administrative Tools->Computer Management->Storage->Disk Management

Alternatively the Disk Management tool can be started from the command line using:

C:> DISKMGMT.MSC

Page 13: RAC on  Windows 2003

13

© 2006 Julian Dykejuliandyke.com

Auto-Mounting Auto-mounting must be enabled when using

RAC with raw partitions RAC with cluster file system Oracle Clusterware Logical drives for ASM

Auto-mounting must be enabled on each node in the cluster

To check if auto-mounting is enabled use:

C:> DISKPARTDISKPART> AUTOMOUNT

Automatic mounting of new volumes disabled

Page 14: RAC on  Windows 2003

14

© 2006 Julian Dykejuliandyke.com

Auto-Mounting To enable auto-mounting use:

C:> DISKPARTDISKPART> AUTOMOUNT ENABLE

Automatic mounting of new volumes enabledDISKPART> EXIT

Repeat on each node in the cluster

Restart all nodes after configuring this setting

Page 15: RAC on  Windows 2003

15

© 2006 Julian Dykejuliandyke.com

Local Drive Accessibility Local drives must be accessible from all nodes

To check local drive accessibility: For each node

For each local drive to be used by the Oracle installation

Use NET USE command to confirm accessibility

For example if Oracle will be installed on E$ in a two-node cluster containing nodes RAC1 and RAC2

On RAC1:

NET USE \\RAC2\E$

NET USE \\RAC1\E$

On RAC2:

Page 16: RAC on  Windows 2003

16

© 2006 Julian Dykejuliandyke.com

Environment Variables On each node the following environment variables must be

set TEMP TMP

By default these are set to %USERPROFILE%\Local Settings\Temp

Oracle recommends these are redefined as follows TEMP=C:\TEMP TMP=C:\TMP

These settings should be the same on each node

Page 17: RAC on  Windows 2003

17

© 2006 Julian Dykejuliandyke.com

Time Synchronization It is recommended that the system clocks are synchronized

between all nodes in the cluster appears to be less important in Oracle 10g Release 2 than

in previous RAC versions To synchronize the system clocks enable the Windows Time

Service on one node

The current time server for a node can be discovered using:

NET TIME /QUERYSNTPThe current SNTP server is: node2

The current time server for a node can be set using:

NET TIME /SETSNTP:<hostname> For example:

NET TIME /SETSNTP:SGHRAC1

Page 18: RAC on  Windows 2003

18

© 2006 Julian Dykejuliandyke.com

Time Synchronization The current time on a node can be discovered using

NET TIME \\NODE1 /SETCurrent time at \\NODE1 is 20/02/2006 10:56

The current local clock is 20/03/2006 10:54Do you want to set the local computer's time to match the time at \\node1? (Y/N) [Y]: yThe command completed successfully.

To initially synchronize the time use

NET TIME \\NODE1 Current time at \\NODE1 is 20/02/2006 10:50

Page 19: RAC on  Windows 2003

19

© 2006 Julian Dykejuliandyke.com

Oracle ClusterwareInstallation

Page 20: RAC on  Windows 2003

20

© 2006 Julian Dykejuliandyke.com

Oracle Clusterware Installation To install Oracle Clusterware

Login as Local Administrator only

The documentation states that Clusterware can be installed using Domain Administrator Installation currently fails when attempting to start

Clusterware services

Page 21: RAC on  Windows 2003

21

© 2006 Julian Dykejuliandyke.com

Oracle Clusterware Installation In Oracle 10.1 Oracle Clusterware was called Cluster Ready

Services (CRS)

In Oracle 10.1 to set up CRS run CRS/SETUP.EXE

DO NOT run CRS/INSTALL/SETUP.exe This will cause the installation to fail. See Metalink Note 277688.1 - CRS Install: Failed to locate

service OracleCSSService on second node

Also make sure that the install path does not include any spaces

In Oracle 10.2 there is only one SETUP.EXE program

Page 22: RAC on  Windows 2003

22

© 2006 Julian Dykejuliandyke.com

Oracle Clusterware Installation During installation the OracleClusterPreInstService is

installed on each node to provide a list of available drives

This service uses ORACLECLUSTERPREINSTSERVICE.EXE

Page 23: RAC on  Windows 2003

23

© 2006 Julian Dykejuliandyke.com

Oracle Clusterware Installation To manually delete a failed clusterware installation:

Stop and delete all Oracle services. For example:

SC STOP OracleCRServiceSC DELETE OracleCRService

Delete contents of Oracle Clusterware home directory

If required delete Oracle inventory directory C:\Program Files\Oracle

Use REGEDIT to remove Oracle keys from registry HKEY_LOCAL_MACHINE\Software\Oracle

Use Oracle Object Manager to delete links to OCR and Voting disk

Page 24: RAC on  Windows 2003

24

© 2006 Julian Dykejuliandyke.com

Oracle Object Manager If using raw devices

Oracle Object Manager is used to create links for OCR Voting Disk

Pathname is %ORACLE_HOME%\bin\GUIObjectOBJManager

Link names are: ocrcfg votedsk1

Executed automatically by the OUI during installation Must be executed manually during manual deinstallation

Page 25: RAC on  Windows 2003

25

© 2006 Julian Dykejuliandyke.com

Oracle Object Manager For example

Page 26: RAC on  Windows 2003

26

© 2006 Julian Dykejuliandyke.com

Oracle Database Software

Installation

Page 27: RAC on  Windows 2003

27

© 2006 Julian Dykejuliandyke.com

Database Installation The script %ORACLE_HOME%\bin\SelectHome.bat must be

executed on all remote nodes to activate the following products: Oracle Data Provider for .NET Oracle Provide for OLE DB Oracle Objects for OLE Oracle Counters for Windows Performance Monitor Oracle Administration Assistant

Page 28: RAC on  Windows 2003

28

© 2006 Julian Dykejuliandyke.com

AutomaticStorage

Management

Page 29: RAC on  Windows 2003

29

© 2006 Julian Dykejuliandyke.com

Automatic Storage Management ASM disks must be stamped before they can be used by ASM Can be stamped

Using ASMTOOL command line utility Using ASMTOOLG GUI utility During ASM instance creation process in DBCA

Page 30: RAC on  Windows 2003

30

© 2006 Julian Dykejuliandyke.com

ASMTOOLG

Page 31: RAC on  Windows 2003

31

© 2006 Julian Dykejuliandyke.com

Cluster File System

Page 32: RAC on  Windows 2003

32

© 2006 Julian Dykejuliandyke.com

Cluster File System If selected in the Oracle Universal Installer (OUI) session then

the Oracle Cluster File System is installed automatically

It is not necessary to download OCFS separately (as would be the case in Linux for example)

Page 33: RAC on  Windows 2003

33

© 2006 Julian Dykejuliandyke.com

Cluster File System To create partitions use OCFSFORMAT Recommended block sizes are:

Software (Shared ORACLE_HOME) 4

Database files 1024

For example:

OCFSFORMAT /l R:/C 1024 /V REDO

Page 34: RAC on  Windows 2003

34

© 2006 Julian Dykejuliandyke.com

Patches

Page 35: RAC on  Windows 2003

35

© 2006 Julian Dykejuliandyke.com

Patches In addition to normal patch sets additional cumulative patches

are issued for Oracle on Windows platforms

For example 10.1.0.3 Patch 5 10.2.0.1 Patch 3

Install the latest cumulative patch for the platform

For example in Oracle 10.2 available patches include 10.2.0.1.0 Patch 2 (10.2.0.1.2P) Patch 4751342 10.2.0.1.0 Patch 3 (10.2.0.1.3P) Patch 4751539 10.2.0.1.0 Patch 4 (10.2.0.1.4P) Patch 4923768

At the time of writing Patch 4 was recommended

Page 36: RAC on  Windows 2003

36

© 2006 Julian Dykejuliandyke.com

Patches Current Windows patch sets are documented on Metalink

For Oracle 10.1 See Metalink Note 276548.1 - 10.1.0.x Oracle Database and

Networking Patches for Microsoft Platforms

For Oracle 10.2 See Metalink Note 342443.1 10.2.0.x Oracle Database and

Networking Patches for Microsoft Platforms

Both reference Note 161549.1 - Oracle Database Server and Networking

Patches for Microsoft Platforms

Page 37: RAC on  Windows 2003

37

© 2006 Julian Dykejuliandyke.com

Patch Set Installation Installing Oracle 10.1.0.3 Patch 5 The patch set should be installed in both the Clusterware

home and the Oracle database home Run Setup.exe in the Oracle database home

After installing the CRS Patch on each node stop all CRS services (Service Management)

OracleCRService OracleEVMService OracleCSService OracleClusterVolumeService

Run C:\Oracle\product\10.1\crs\install\patch10103.bat After installing Oracle database software patch on one node,

run $ORACLE_HOME\bin\SelectHome.bat on remaining nodes

Page 38: RAC on  Windows 2003

38

© 2006 Julian Dykejuliandyke.com

Patch Set Installation Installing Oracle 10.2.0.1 Patch 3 The patch set should only be installed in the Oracle database

home and does not affect CRS

Patch is installed using OPATCH OPATCH should be upgraded to 10.2.0.1.1 or above

Patch# : 4898608

Stop all services using %ORACLE_HOME% Install 10.2.0.1.3 using

OPATCH APPLY

Page 39: RAC on  Windows 2003

39

© 2006 Julian Dykejuliandyke.com

Patch Set Installation Installing Oracle 10.2.0.1 Patch 4 The patch set should be installed in both the Clusterware and

RDBMS home directories Patch 4: 4923768

Patch is installed using OPATCH OPATCH should be upgraded to 10.2.0.1.1 or above in both

Clusterware and RDBMS home directories Patch# : 4898608

Stop all services using %ORACLE_HOME% Install 10.2.0.1 Patch 4 using

OPATCH APPLY

Page 40: RAC on  Windows 2003

40

© 2006 Julian Dykejuliandyke.com

Post-InstallationSteps

Page 41: RAC on  Windows 2003

41

© 2006 Julian Dykejuliandyke.com

Post Installation Post installation tasks include:

Make files node-specific (Shared Oracle home only) Create ORA_DBA group on remaining nodes Set Log on as a Batch Job privilege for Enterprise Manager

users

Page 42: RAC on  Windows 2003

42

© 2006 Julian Dykejuliandyke.com

Make Files Node-Specific If using shared Oracle Home on OCFS file system

After database creation using DBCA the HC files must be made node-specific.

Applies to Oracle 10.1 (at least)

On each host these files have the pathname:

%ORACLE_HOME%\DATABASE\HC_<instance_name>.DAT

For example on instance RAC1

%ORACLE_HOME%\DATABASE\HC_RAC1.DAT

Page 43: RAC on  Windows 2003

43

© 2006 Julian Dykejuliandyke.com

Make Files Node-Specific For example on node node1:

srvctl stop instance -d RAC -i RAC1

ocfsutil /c NodeSpecificFile /o create /m h: /p oracle\product\10.1.0\db\database\hc_rac1.dat

srvctl start instance -d RAC -i RAC1

Repeat for remaining instances

Page 44: RAC on  Windows 2003

44

© 2006 Julian Dykejuliandyke.com

Log on as a batch job Users must have the Log on as a batch job privilege for

Enterprise Manager to work correctly Start->Administrative Tools->Local Security Policy-> Security Settings->Local Policies-> User Rights Assignment->Log on as a batch job Assign privilege for each administrative users Repeat on each node

There is a description of this problem in Metalink Note 279765.1 "Error Message

'RemoteOperationException: ERROR: Wrong password for users' when trying to startup or shutdown the database from the Enterprise Manager console"

There is a description of the resolution in Metalink Note 109188.1 How to Set "Logon as a Batch Job"

Privileges on Windows 2000 Systems

Page 45: RAC on  Windows 2003

45

© 2006 Julian Dykejuliandyke.com

ORA_DBA Group Administrators must be members of this group on each node

in order to use / AS SYSDBA

By default ORA_DBA group is only created on installation node Not created on remaining nodes Must be created manually

See Metalink Notes 177354.1 RAC: Connect AS SYSDBA Fails with ORA-01031 77665.1 - Guide to setup/enable OS authentication to

Connect using OS user account

Page 46: RAC on  Windows 2003

46

© 2006 Julian Dykejuliandyke.com

ORA_DBA Group To create new ORA_DBA group and add users

Start->Administrative Tools->Computer Management-> System Tools->Local Users and Groups->Groups Right click and select New Name is ORA_DBA Description is Oracle DBA Group Add user e.g. XYZDOM\abc.admin

Page 47: RAC on  Windows 2003

47

© 2006 Julian Dykejuliandyke.com

Administration

Page 48: RAC on  Windows 2003

48

© 2006 Julian Dykejuliandyke.com

Environment Variables Environment variables are stored in the registry

Can be set using: Start -> Control Panel -> System -> Advanced-> Environment Variables

Page 49: RAC on  Windows 2003

49

© 2006 Julian Dykejuliandyke.com

Registry Keys Oracle registry entries are stored in

HKEY_LOCAL_MACHINE\Software\Oracle

The inventory location is defined in HKEY_LOCAL_MACHINE\Software\Oracle\inst_loc

The default inventory location is: C:\Program Files\Oracle\Inventory

The Oracle Cluster Repository location is stored in HKEY_LOCAL_MACHINE\Software\Oracle\OCR\ocrconfig_loc

Page 50: RAC on  Windows 2003

50

© 2006 Julian Dykejuliandyke.com

Registry By default CRS-related keys are stored in

HKEY_LOCAL_MACHINE\Software\Oracle\KEY_OraCr10g_home

For example ORA_CRS_HOME ORACLE_HOME

By default database keys are stored in HKEY_LOCAL_MACHINE\Software\Oracle\KEY_OraDb10g_home

For example ORACLE_BASE ORACLE_HOME ORACLE_SID

Page 51: RAC on  Windows 2003

51

© 2006 Julian Dykejuliandyke.com

Scheduler Windows contains a job scheduler

To schedule a job e.g. overnight backup use Start->Control Panel->Scheduled Tasks-> Add Scheduled Task

A wizard will step through the configuration steps

Page 52: RAC on  Windows 2003

52

© 2006 Julian Dykejuliandyke.com

Services

Page 53: RAC on  Windows 2003

53

© 2006 Julian Dykejuliandyke.com

Services Oracle uses Windows services

Similar to Unix daemons Configured in windows registry

All Oracle services have the "Oracle" prefix

The following services are created during Clusterware installation Oracle Object Service OracleClusterVolumeService OracleCRService OracleCSService OracleEVMService

Page 54: RAC on  Windows 2003

54

© 2006 Julian Dykejuliandyke.com

Services The following services are created by DBCA during ASM

instance configuration OracleOraDb10g_home1TNSListenerLISTENER_<node> OracleASMService<ASM_instance_name>

The following services are created by DBCA during database instance configuration OracleJobScheduler<instance_name> OracleService<instance_name> OracleDBConsole<Instance_name>

Page 55: RAC on  Windows 2003

55

© 2006 Julian Dykejuliandyke.com

Services Windows services can be controlled in three ways

Using the GUI Using the NET command Using the SC command

Page 56: RAC on  Windows 2003

56

© 2006 Julian Dykejuliandyke.com

Services To control services using the GUI

Start->Administrative Tools->Services Click on a service from the list of available services

Alternatively the Service Management tool can be started from the command line using:

C:> SERVICES.MSC

Single click allows you to control the service including: Start / Stop Pause/Continue Restart

Page 57: RAC on  Windows 2003

57

© 2006 Julian Dykejuliandyke.com

Services Double click allows you to manage the service including:

Start / Stop / Pause / Continue Specify the startup type

Automatic Manual Disabled

Change the login type Local System Account Named User

Specify recovery parameters Specify dependencies

Page 58: RAC on  Windows 2003

58

© 2006 Julian Dykejuliandyke.com

Services Services can be controlled using the NET command To check which services are running use:

Use the MORE command to control the output

NET START | MORE

NET START

Note that this command only prints information about services which are currently running

Use the SC command to list services which are currently stopped

Page 59: RAC on  Windows 2003

59

© 2006 Julian Dykejuliandyke.com

Services To start a service use:

NET START <service_name>

For example:

NET START OracleServiceRAC1

NET STOP <service_name>

For example:

NET STOP OracleServiceRAC1

To stop a service use:

Page 60: RAC on  Windows 2003

60

© 2006 Julian Dykejuliandyke.com

Services Services can also be controlled using the SC command Available on Windows 2003 and Windows XP To print the help message use:

SC This prints generic help and asks if you wish to see help for the QUERY and QUERYEX options

Page 61: RAC on  Windows 2003

61

© 2006 Julian Dykejuliandyke.com

Services To start a service use:

SC START <service_name>

For example:

SC START OracleServiceRAC1

To stop a service use:

SC STOP <service_name>

For example:

SC STOP OracleServiceRAC1

Page 62: RAC on  Windows 2003

62

© 2006 Julian Dykejuliandyke.com

Services To query the status of all running services use:

SC QUERY

To query the status of all services use:

SC QUERY STATE= ALL

Note that the syntax for this command is very sensitive You must have

No space between STATE and = Space between = and ALL

Use the MORE command to control the output:

SC QUERY STATE= ALL | MORE

Page 63: RAC on  Windows 2003

63

© 2006 Julian Dykejuliandyke.com

Services To query the status of an individual service use:

SC QUERY <service_name>

For example:

C:\> SC QUERY OracleServiceRAC1SERVICE_NAME: OracleServiceRAC1 TYPE : 10 WIN32_OWN_PROCESS STATE : 4 RUNNING (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN) WIN32_EXIT_CODE : 0 (0x0) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x0

SC QUERY OracleServiceRAC1

Page 64: RAC on  Windows 2003

64

© 2006 Julian Dykejuliandyke.com

Services To delete an individual service use:

SC DELETE <service_name>

For example:

SC DELETE OracleCRService

This may be necessary if you need to: tidy up after a failed installation remove Oracle manually

Page 65: RAC on  Windows 2003

65

© 2006 Julian Dykejuliandyke.com

Tasklist To list relationship between processes and services use:

C:\> TASKLIST /SVC

Image Name PID Services--------------------- ---- --------------evmd.exe 2236 OracleEVMServicecrsd.exe 2216 OracleCRService TNSLSNR.EXE 4936 OracleOraDb10g_home1TNSListenerLISTENER_NODE1OracleOBJService.exe 832 Oracle Object Serviceoracle.exe 1964 OracleASMService+ASMOcfsFindVol.exe 1552 OracleClusterVolumeServicenmesrvc.exe 1580 OracleDBConsolePDS1oracle.exe 1628 OracleServicePDS1ocssd.exe 2412 OracleCSService

TASKLIST /SVC

For example:

Page 66: RAC on  Windows 2003

66

© 2006 Julian Dykejuliandyke.com

Networking

Page 67: RAC on  Windows 2003

67

© 2006 Julian Dykejuliandyke.com

Hosts In Windows the hosts file is typically located in

C:\Windows\System32\Drivers\etc

The format is similar to Unix. For example:

RAC1 10.47.0.101RAC2 10.47.0.102

RAC1-vip 10.47.0.201RAC2-vip 10.47.0.202

RAC1-priv 192.168.0.1RAC2-priv 192.168.0.2

Page 68: RAC on  Windows 2003

68

© 2006 Julian Dykejuliandyke.com

HOSTNAME The name of the current node can be obtained at the

command line using the HOSTNAME command For example

C:\> HOSTNAMEnode1

Page 69: RAC on  Windows 2003

69

© 2006 Julian Dykejuliandyke.com

PING As in Unix the PING utility can be used to verify network

connections By default only four ICMP probes are performed For example:

C:\> PING NODE2Pinging NODE2 [10.131.60.202] with 32 bytes of data:

Reply from 10.131.60.202: bytes=32 time<1ms TTL=128Reply from 10.131.60.202: bytes=32 time<1ms TTL=128Reply from 10.131.60.202: bytes=32 time<1ms TTL=128Reply from 10.131.60.202: bytes=32 time<1ms TTL=128

Ping statistics for 10.131.60.202: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss).Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms

Page 70: RAC on  Windows 2003

70

© 2006 Julian Dykejuliandyke.com

PING By default PING uses a packet size of 32 bytes. The default TCP/IP packet size is around 1400 bytes

Can be increased by configuring jumbo frames Maximum packet size with jumbo frames is about 9000

bytes (network card and switch specific)

To confirm that the network has been correctly configured to use jumbo frames use the ping command:

PING -L <packet_size> -F <hostname>

where <packet_size> is the size in bytes For example

PING -L 1600 -F RAC1

Page 71: RAC on  Windows 2003

71

© 2006 Julian Dykejuliandyke.com

PING For example assume the default TCP/IP configuration

C:\> PING -L 1400 -F NODE2Pinging NODE2 [10.131.60.202] with 1400 bytes of data:

Reply from 10.131.60.202: bytes=1400 time<1ms TTL=128Reply from 10.131.60.202: bytes=1400 time<1ms TTL=128Reply from 10.131.60.202: bytes=1400 time<1ms TTL=128Reply from 10.131.60.202: bytes=1400 time<1ms TTL=128

......

C:\> PING -L 1600 -F NODE2Pinging NODE2 [10.131.60.202] with 1600 bytes of data:

Packet needs to be fragmented but DF setPacket needs to be fragmented but DF setPacket needs to be fragmented but DF setPacket needs to be fragmented but DF set

.....

Page 72: RAC on  Windows 2003

72

© 2006 Julian Dykejuliandyke.com

IPCONFIG IPCONFIG can be used to verify network configurations Similar to ifconfig on Unix systems For example:

C:\> IPCONFIG

Windows IP Configuration

Ethernet adapter Public Team:

Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 10.131.60.201 Subnet Mask . . . . . . . . . . . : 255.255.0.0 IP Address. . . . . . . . . . . . : 10.131.60.101 Subnet Mask . . . . . . . . . . . : 255.255.0.0 Default Gateway . . . . . . . . . : 10.131.60.254

Ethernet adapter Private Team:

Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 192.168.200.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . :

Virtual IPAddress

Public IPAddress

Private IPAddress

Page 73: RAC on  Windows 2003

73

© 2006 Julian Dykejuliandyke.com

ARP As on Unix systems ARP can be used to view the current

contents of the ARP cache Maps IP addresses to MAC (Ethernet) addresses For example:

C:\> ARP-A

Interface: 10.130.60.230 --- 0x10005 Internet Address Physical Address Type 10.131.60.96 00-0b-cd-3a-19-48 dynamic 10.131.60.202 00-15-60-55-12-81 dynamic 10.131.60.203 00-0b-cd-6d-3c-5b dynamic 10.131.60.207 00-0f-20-f9-c9-ba dynamic 10.131.60.209 00-0f-20-f9-84-65 dynamic 10.131.60.210 00-0b-cd-41-b5-72 dynamic

Interface: 192.168.200.1 --- 0x10006 Internet Address Physical Address Type 192.168.200.2 00-11-0a-5a-42-63 dynamic

Page 74: RAC on  Windows 2003

74

© 2006 Julian Dykejuliandyke.com

Acknowledgements Thanks for help in the preparation of this presentation to:

Stephen Bendall Tak Tang John Plowman Lee Cashmore Dirk Schmidt Davy Witvrouwen

Julian Dyke Independent Consultant Web Site : www.juliandyke.com Email: [email protected] Mobile: +44 7917 360777