infx start|stop|mode|inst
start database serverinfx start fork=nothe service wait until start up is complete, specify fork=no
stop database serverinfx stop fork=nothe service wait until shutdown is complete, specify fork=no
change instance modeinfx mode mode=qmode|quiescent|smode|singleuser|omode|online
Change the operating mode of the database server. photoStore the current information about the instance. Includes all onstat information, spaces, chunk files etc. infx photoYou can optionally pass a parameter, res=, to specify how much detailed information you want. The higher the "res", the more space the disk files will take up.
These files can be passed as parameters to the infx status command line service and dashboards to view the historical information. dbphotoStore the current information about databases. Includes information from sysmaster such as sysptprof and systabnames. infx dbphotoYou can optionally pass a parameter, res=, to specify how much detailed information you want. The higher the "res", the more space the disk files will take up.
By default, this service dumps information about all databases. In config.ini, you can override that by setting the parameter INFX_PHOTO_DBS to the list of databases you want to dump. You can optionally specify a database name, or list of databases from the command line. e.g. dump all databases infx dbphotoe.,g. dump one database infx dbphoto db=monitor_jgh1e.g. dump two databases infx dbphoto db=monitor_jgh1+bartestThe output of these "photos" can be passed as parameters to the infx status command line service and dashboards to view the historical information. instance managementinfx inst func=new|init|idir|rm newinst= idir= [ config onconfig servernum sw squiggle | fork=no
Create and manage database instances
Creates all of the files, directories and links required for an instance of the database. See config/onconfig for format details. You can re-run the creation on an existing instance, to update its configuration. Only new files, directories and links will be created.
All existing ones are retained. A new ONCONFIG file will not be generated when one already exists.
Specify an absolute path for the sw parameter, or spcify the path relative to /infx/sw.
Does not initialize the database instance, just creates files etc.
infx inst func=init squiggle=yes fork=no
Create a new instance of the database server.
you can run this. change informix softwareinfx inst func=idir sw=
Create a new instance of the database server.
Change the version of the informix software for this instance. The instance must be offline for this service to run. You must ensure
that a valid ONCONFIG and SQLHOSTS file for the instance exists in the new software directory.
Always read the documentation, test the new version and backup for data and config files before changing informix software versions.
Specify an absolute path for the sw parameter, or specify the path relative to /infx/sw.
remove informix softwareinfx inst func=idirrm sw=
create an alias for informix softwareinfx inst func=ialias alias= sw=
infx inst func=ialias alias=latest sw=IIF_11.50FC7DEWhen you specify the software for an instance, you can use the alias instead of the version number. Later, if you upgrade, all
instances pointing to that alias can be upgraded at once.
change an informix software aliasinfx inst func=ialiaschg alias= sw=
infx inst func=ialiaschg alias=latest sw=IIF_11.50FC8DEAll of the instances that are using this alias must be shutdown before this service can run. You must also make sure that the
new software directory contains valid ONCONFIG and SQLHOSTS files for all instances.
|