IBM GC23-7753-05 manual Examples of Deployment Utility Usage on Windows

Page 63

Examples of Deployment Utility Usage on Windows

Deploying a IDS Instance in Silent Mode

In this example, the user informix is created on the target server and has the

password mypassw0rd. The command will run in silent mode, without prompting

for confirmation. The snapshot is decompressed from the my_archive.zip file by

7-zip software if it is installed on the operating system.

ifxdeploy.exe -p mypassw0rd -y -silent -file my_archive.zip

Deploying a IDS Instance as Local System User Where You Specify an

Extraction Method

In this example, the snapshot is extracted from the C:\my_archive.tar file on the

target computer:

ifxdeploy.exe -system -extractcmd "tar -xf C:\my_archive.tar c:\informix"

The extract command is enclosed in double quotation marks because it contains

spaces.

Creating a New Server Instance

In this example, the SQLHOSTS port number is 9090, the server number for the

instance is 2, and a full path is specified for the log file.

ifxdeploy.exe -silent -y -sqliport 9090 -servernum 2 -l C:\my_log.txt

Creating an Instance as Local System User with DRDA Enabled

In this example, the SQLHOSTS port is 9090, the DRDA port is 9096, and the

command will run in verbose mode. The snapshot used here is not in a

compressed file format, so neither the -fileoption nor the -extractcmdoption is

needed.

ifxdeploy.exe -system -y -sqliport 9090 -drdaport 9096 -verbose

Dynamic Relocation of Chunks to Single Parent Directory

In this example, the chunks are relocated to a single parent directory and indicate

location of the root dbspace:

ifxdeploy -rootpath D:\IFMX\ex1\rootdbs.001 -relocate D:\IFMX\ex2

Chunk Relocation to Multiple Paths

In this example, the location of the root dbspace has been specified with the

ROOTPATH configuration parameter, so the command does not need to be run

with the -rootpathoption. Each mapping between the old path and the new path

is separated by a semicolon.

ifxdeploy -relocate C:\IFMXDATA=D:\IFMXDATA;C:\IFMXLOGSPACE=E:\IFMXLOGSPACE

Chunk Relocation to Multiple Paths with New Offsets

In this example, the location of the root dbspace has been specified with the

ROOTPATH configuration parameter, so the command does not need to be run

with the -rootpathoption. The mapping of the old paths and the new paths

includes offset values (in kilobytes), which are indicated after the commas.

ifxdeploy -relocate C:\IFMXDATA,0=D:\IFMXDATA,4;C:\IFMXDATAB,3=D:\IFMXDATAB,5

Chapter 5. Deploying IDS with the Deployment Utility 5-9

Image 63
Contents IBM Informix Dynamic Server Installation Guide for Windows Page IBM Informix Dynamic Server Installation Guide for Windows Copyright International Business Machines Corporation 1996 Contents Index Introduction IBM Informix Dynamic Server EditionsAbout This Publication Overview Reference Types of UsersWhat’s New in Version 11.50.xC4 Documentation Conventions Html documentation Feature, Product, and Platform MarkupTechnical Changes Example Code ConventionsComponent represented in Html Meaning Syntax DiagramsAdditional Documentation Compliance with Industry StandardsDistinct Unique How to Read a Command-Line Syntax DiagramKeywords and Punctuation Setting the Run ModeIdentifiers and Names How to Provide Documentation FeedbackPage Preparing to Install IDS on Windows Verifying Administrators Group MembershipOnline Notes Verifying System Requirements Programs menu Multiple Copies of IDS on One ComputerMultiple copies of different versions Multiple copies of the same versionChoosing Your Installation Setup Installation Application Setup TypesRelated tasks Installable Features of IDS FeaturesBase Server Global Language Support Backup and RestoreConversion and Reversion Support XML PublishingDemonstration Database Server IDS Configuration FileDemonstration Database Server on Your System Planning Role Separation Instance Configuration WizardIxaao Installation DirectoryChoosing between Local and Domain Installations IxdbssoUpgrading the Database Server Local InstallationDomain Installation with Domain Administrator Privileges User informixInstalling IDS on Windows Installing IBM Informix ProductsInstalling a Copy of IDS on a Computer Installing with the GUI Typical Setup Related conceptsRelated reference Installing with the GUI Custom Setup GUI feature tree Performing a Silent Installation Using a Customized server.ini File for Silent Installation Using a Response File for Silent InstallationTo perform a silent installation by using a response file %WINDIR%\setup.iss Silent Installation on a Host with Multiple InstallationsCode Description Silent Installation Response CodesSetting Up Cluster Installations Cluster InstallationsOverview of Implementing a Cluster on Two Nodes Setting Up a Cluster Installation Preparing to Set Up a ClusterTo set up a cluster on the primary node Installing IDS as a Cluster on the Secondary Node Implementing a Cluster on the Primary NodeIDS as a Cluster on the Secondary Node Overwriting an Existing IDS Installation Upgrade of IDS by Overwriting an Existing InstallationMultiple Residency Planning for Multiple ResidencyCreating a New Database Server Instance Purpose Server Instance Manager Command-Line OptionsOption System Meaning Troubleshooting Installation Problems16IBM Informix Dynamic Server Installation Guide for Windows Post-Installation Tasks on Windows Working with the InstallationInstallation Automatic Actions IDS Program Group Server-name Initializing and Starting the Database ServerDatabase Server Number Database Server Configuration After InstallationChoose Start Control Panel Administrative Tools Stopping the Database ServerService Name and Port Number Database Server NameDbspace Name, Location, and Size Shared Server Definition Computer Default Sbspace Name, Location, Size, and Page SizeConfiguring IDS Manually To configure the installed database serverPost-Installation Tasks Windows 8IBM Informix Dynamic Server Installation Guide for Windows Altering IDS Features Modifying IDS on WindowsAltering Copies of IDS Instnum Uninstalling IDSReinstalling the Database Server Performing Silent Uninstallations of IDSCommand 4IBM Informix Dynamic Server Installation Guide for Windows Deployment Utility Deploying IDS with the Deployment UtilityInitialized dbspaces + Rapid IDS Embeddability with the Deployment UtilityEnvironment Variables Database Server ConfigurationCreating a Snapshot for Deployment Deploying a Snapshot with the Deployment UtilityDatabase Server Aliases Ifxdeploy Command The Deployment Utility SyntaxIfxdeploy.conf file Delifx Command OptionsInformix-Admin group Element Purpose Key ConsiderationsForce Usage Examples of Deployment Utility Usage on Windows INFORMIXDIR%\etc on Windows Example of Value SettingParameters Ifxdeploy.conf file is in $INFORMIXDIR/etc/ on LinuxOnconfig.std No OnconfigInformix Ifxdeploy.conf file forServername\rootdbsdat.000 + ifxdeploy.conf File Template Following shows the contents of the ifxdeploy.conf file#SYSTEM + Removing a Snapshot with the Deployment Utility Informix and the administrative group16IBM Informix Dynamic Server Installation Guide for Windows Appendix. Accessibility 2IBM Informix Dynamic Server Installation Guide for Windows Host Host 4IBM Informix Dynamic Server Installation Guide for Windows Copyright IBM Corp Copyright License Trademarks 4IBM Informix Dynamic Server Installation Guide for Windows Dbservername Mirrorpath Sbspacename Servernum Index Special charactersINFORMIXDIR% Dbservername TCP/IP Page GC23-7753-05