Oracle® Fusion Middleware High Availability Guide 11g Release 1 (11.1.1) Part Number E10106-12 |
|
|
View PDF |
The detailed usage of ascrsctl can be obtained by following the instructions generated from the command ascrsctl help
. This appendix provides the full content of the help pages to serve as a complete offline reference.
TOPIC
start - start an ASCRS resource
COMMAND
ascrsctl start -name <string> [-type <string>] [-node <string>]
DESCRIPTION
This ASCRS command is used to start a resource already created with ASCRS.
Mandatory arguments:
-name, -n
This argument specifies the resource name.
Optional arguments:
-type, -t
This argument specifies the resource type if the resource name is in short form. It is not needed if the name is in canonical form.
-node
This argument specifies the cluster node for starting the resource. If it is not specified, the node will be chosen by CRS based on the placement policy for this resource.
EXAMPLE(S)
ascrsctl start -n mydisk -t disk ascrsctl start -n ora.myvip.cfcvip -node hostA.mycompany.com
TOPIC
stop - stop an ASCRS resource
COMMAND
ascrsctl stop -name <string> [-type <string>] [-force] [-noprompt]
DESCRIPTION
This ASCRS command is used to stop a resource created with ASCRS.
Mandatory arguments:
-name, -n
This argument specifies the resource name.
Non-mandatory arguments:
-type, -t
This argument specifies the resource type if the resource name is in short form. It is not needed if the name is in canonical form.
-force, -f
This argument shuts down the named resource and takes it offline from CRS management. This option guarantees to take offline the CRS monitoring of the resource, but does not guarantee to shut down the resource if it is already in an unmanageable state.
-noprompt, -np
When this argument is specified, the user is not prompted for confirmation, and the resource and its dependents are taken offline.
EXAMPLE(S)
ascrsctl stop -n mydisk -t disk ascrsctl stop -n ora.myvip.cfcvip -f -np
TOPIC
status - check the status of ASCRS resources
COMMAND
ascrsctl status [-name <string>] [-type <string>] [-long]
DESCRIPTION
This ASCRS command is used to check the status of one or all resources created with ASCRS. The status of a resource includes its current running state, its basic CRS profile information, and its relationship to the other ASCRS resources.
-name, -n
This argument specifies the resource name. If not specified, check all resources.
-type, -t
This argument specifies the type of resources to be checked. It is not needed if the name is in canonical form.
-long, -l
When this argument is specified, the status information is displayed in a detailed format.
EXAMPLE(S)
ascrsctl status ascrsctl status -name ora.mydisk.cfcdisk ascrsctl status -l
TOPIC
switch - switchover an ASCRS resource to another cluster node
COMMAND
ascrsctl switch -name <string> [-type <string>] [-node <string>] [-noprompt]
DESCRIPTION
This ASCRS command is used to switch over an ASCRS resource that is currently in online state to another node in the cluster. All resources this resource depends upon are also switched over.
Mandatory arguments:
-name, -n
This argument specifies the resource name.
Non-mandatory arguments:
-type, -t
This argument specifies the resource type if the resource name is in short form. It is not needed if the name is in canonical form.
-node
This argument specifies the target cluster node of this resource. If it is not specified, the target node will be chosen by CRS based on the placement policy for this resource.
-noprompt, -np
When this argument is specified, the user is not prompted for confirmation.
EXAMPLE(S)
ascrsctl switch -n mydisk -t disk hostB.mycompany.com ascrsctl switch -n ora.myvip.cfcvip -np
TOPIC
delete - delete an ASCRS resource
COMMAND
ascrsctl delete -name <string> [-type <string>] [-noprompt]
DESCRIPTION
This ASCRS command is used to delete a resource created with ASCRS. Once a resource is successfully deleted, the resource is no longer managed by CRS.
An ASCRS resource cannot be deleted if there are still one or more other resources depending on it, or if it is not in offline state.
Mandatory argument:
-name, -n
This argument specifies the resource name.
Non-mandatory arguments:
-type, -t
This argument specifies the resource type if the resource name is in short form. It is not needed if the name is in canonical form.
-noprompt, -np
When specified, the user is not prompted for confirmation.
EXAMPLE(S)
ascrsctl delete -n mydisk -np ascrsctl delete -n ora.myvip.cfcvip
TOPIC
create/disk - create disk ASCRS resource
COMMAND
ascrsctl create -name <string> -type disk -path <string> -mountCommand <string> -umountCommand <string> [options]
DESCRIPTION
This ASCRS command is used to create (or register) a shared disk resource in CRS. To successfully create a disk resource, a signature file needs to be created on the root of the shared disk. See the Oracle Fusion Middleware Administrator's Guide for details.
These are mandatory arguments:
-name, -n
This argument specifies the resource name to be created.
-type, -t
This argument specifies the resource type. Its value must be disk.
path
This argument specifies the mount point of the shared disk.
-mountCommand, -mc
This argument specifies a platform-specific command to be invoked when mounting the shared disk. Command "nop" takes no action. On Windows, if the shared disk is NTFS, use the command "diskmgr online <disk number>", where <disk number> can be identified in the Microsoft Disk Manager window.
-umountCommand, -umc
This argument specifies a platform-specific command to be invoked when unmounting the shared disk. Command "nop" takes no action. On Windows, if the shared disk is NTFS, use the command "diskmgr offline <disk number>", where <disk number> can be identified in the Microsoft Disk Manager window.
These are non-mandatory options:
-clusterNodes, -nodes, -cn
This argument specifies the valid nodes of the cluster that can host this resource. The value is a space-separated or comma-separated list of node names in the cluster. If it is not specified, all the nodes are included.
-resourceParams, -params, -p
This argument specifies space-separated or comma-separated "name=value" pairs to set the CRS properties of this resource, for example, as=1,rt=400.
The property names and their value ranges are shown in Table E-1, where, except for as, st, and ra, all the other numbers are in seconds. These properties can be configured through the ASCRS configuration file. If a property is neither configured nor specified with this option, the default is assumed.
Table E-1 Resource Values for Create Commands
Parameter | Min | Max | Default | Purpose |
---|---|---|---|---|
as |
0 |
1 |
1 |
Auto Start |
ci |
5 |
6000 |
600 |
Check Interval |
fd |
5 |
600 |
50 |
Failover Delay |
fi |
5 |
6000 |
50 |
Failure Interval |
ft |
0 |
20 |
5 |
Failure Threshold |
ra |
0 |
20 |
3 |
Restart Attempts |
st |
20 |
3600 |
30 |
Script Timeouts |
rt |
20 |
3600 |
30 |
Start Timeout |
pt |
20 |
3600 |
30 |
Stop Timeout |
-policy
This argument specifies what resource parameter values are used. These policies and values are available in the ASCRS configuration.
The valid values are normal or fast. If it not specified, normal is assumed. However, the -resourceParams values always take precedence over the policy.
EXAMPLE(S)
UNIX: ascrsctl create -n dbhome -t disk -path /cfcdb1 -mc "/bin/mount /dev/sda1 /cfcdb1" -p fd=30 ascrsctl create -n dbhome -t disk -path /cfcdb1 -mc "/bin/mount /dev/sda1 /cfcdb1" -umc "/bin/umount /dev/sda1" Windows: ascrsctl create -n asdisk -t disk -path c:\oracle\asdisk -mc "diskmgr online 2" -mc "diskmgr offline 2" -p fd=30
TOPIC
update/disk - update disk ASCRS resource
COMMAND
ascrsctl update -name <string> [-type disk] [-path <string>] [-mountCommand <string>] [-umountCommand <string>] [options]
DESCRIPTION
This ASCRS command is used to update a disk resource created with ASCRS.
Mandatory argument:
-name, -n
This argument specifies the resource name to be updated. If it is a fully qualified name, the -type option can be omitted.
These are non-mandatory options:
-type, -t
This argument specifies the resource type. Its value must be disk.
-path
This argument specifies the mount point of the shared disk.
-mountCommand, -mc
This argument specifies a platform-specific fully qualified command or script name to be executed for mounting the shared disk. On Windows, if the shared disk is NTFS, use the command "diskmgr online <disk number>", where <disk number> can be identified in the Microsoft Disk Manager window.
-umountCommand, -umc
This argument specifies a platform-specific fully qualified command or script name to be executed for unmounting the shared disk. On Windows, if the shared disk is NTFS, use the command "diskmgr offline <disk number>", where <disk number> can be identified in the Microsoft Disk Manager window.
-clusterNodes, -nodes, -cn
This argument specifies the valid nodes of the cluster that can host this resource. The value is a space-separated or comma-separated list of node names in the cluster. The special value default includes all nodes.
-resourceParams, -params, -p
This argument specifies space-separated or comma separated "name=value" pairs to set the CRS properties for this resource, for example, as=1, rt=400.
The property names and their value ranges are shown in Table E-2, where, except for as, st, and ra, all the other numbers are in seconds.
Table E-2 Resource Values for Update Commands
Parameter | Min | Max | Purpose |
---|---|---|---|
as |
0 |
1 |
Auto Start |
ci |
5 |
6000 |
Check Interval |
fd |
5 |
600 |
Failover Delay |
fi |
5 |
6000 |
Failure Interval |
ft |
0 |
20 |
Failure Threshold |
ra |
0 |
20 |
Restart Attempts |
st |
20 |
3600 |
Script Timeout |
rt |
20 |
3600 |
Start Timeout |
pt |
20 |
3600 |
Stop Timeout |
EXAMPLE(S)
UNIX: ascrsctl update -n mydisk -t disk -umfc "/bin/umount -l /sharedisk" Windows: ascrsctl update -n mydisk -t disk -mc "diskmgr online 1" -umc "diskmgr offline 1"
TOPIC
create/vip - create vip ASCRS resource
COMMAND
ascrsctl create -name <string> -type vip -ipAddr <ip> -netmask <string> -interface <string> [options]
DESCRIPTION
This ASCRS command is used to create (or register) a virtual IP resource in CRS
These are mandatory arguments:
-name, -n
This argument specifies the resource name to be created.
-type, -t
This argument specifies the resource type. Its value must be vip.
-ipAddr, -ip
This argument specifies the IP address of the virtual IP or its hostname.
-netmask, -nm
This argument specifies the network mask for the above virtual IP.
-interface, -if
This argument specifies the network interface(s) on which the IP should be enabled.
On UNIX, the value can be one or more interface names such as eth0 or "eth0|eth1". On Windows, the value can be one or more network connection names, such as "Public network1|Public network2".
These are non-mandatory options:
-clusterNodes, -nodes, -cn
This argument specifies the valid nodes of the cluster that can host this resource. The value is a space-separated or comma-separated list of node names in the cluster. If it is not specified, all the nodes are included.
-resourceParams, -params, -p
This argument specifies space-separated or comma-separated "name=value" pairs to set the CRS properties for this resource, for example, as=1,rt=400.
The property names and their value ranges are listed in Table E-1, where, except for as, st and ra, all the other numbers are in seconds. These properties can be configured through the ASCRS configuration file. If a property is neither configured nor specified with this option, the default is assumed.
-policy
This argument specifies what resource parameter values are used. These policies and values are available in the ASCRS configuration file.
The valid values are normal or fast. If it not specified, normal is assumed. However, the -resourceParams values always take precedence over the policy.
EXAMPLE(S)
UNIX: ascrsctl create -n myvip -t vip -ip 192.168.1.10 -nm 255.255.255.0 -if eth1 -p ci=5 Windows: ascrsctl create -n myvip -t vip -ip 192.168.1.10 -nm 255.255.255.0 -if "Public network" -p ci=5
TOPIC
update/vip - update vip ASCRS resource
COMMAND
ascrsctl update -name <string> [-type vip] [-ipAddr <string> [-netmask <string>] [-interface <string>] [options]
DESCRIPTION
This ASCRS command is used to update a vip resource created with ASCRS.
Mandatory argument:
-name, -n
This argument specifies the resource name to be updated. If it is a fully qualified name, the -type option can be omitted.
These are non-mandatory options:
-type, -t
This argument specifies the resource type. Its value must be vip.
-ipAddr, -ip
This argument specifies the IP address of the virtual IP or its hostname.
-netmask, -nm
This argument specifies the network mask for the above virtual IP.
-interface, -if
This argument specifies the network interface(s) on which the IP should be enabled.
On UNIX, the value can be one or more interface names such as eth0 or "eth0|eth1". On Windows, the value can be one or more network connection names, such as "Public network1|Public network2".
-clusterNodes, -nodes, -cn
This argument specifies the valid nodes of the cluster that can host this resource. This value is a space-separated or comma-separated list of node names in the cluster. The special value default includes all the nodes.
-resourceParams, -params, -p
This argument specifies space-separated or comma-separated "name=value" pairs to set the CRS properties for this resource, for example, as=1,rt=400.
The property names and their value ranges are listed in Table E-2, where, except for as, st and ra, all the other numbers are in seconds.
EXAMPLE(S)
UNIX: ascrsctl update -n ora.myvip.cfcvip -ip 192.168.1.10 ascrsctl update -n ora.myvip.cfcvip -if eth1 -p ci=3 Windows: ascrsctl update -n ora.myvip.cfcvip -if Public -p ci=3
TOPIC
create/dblsnr - create dblsnr ASCRS resource
COMMAND
ascrsctl create -name <string> -type dblsnr -listenerName <string> -listenerOracleHome <string> -vip <string> -disk <string> [-tnsAdmin <string>] [options]
DESCRIPTION
This ASCRS command is used to create (or register) an Oracle database listener resource in CRS.
These are mandatory arguments:
-name, -n
This argument specifies the resource name to be created.
-type, -t
This argument specifies the resource type. Its value must be dblsnr.
-listenerName, -ln
This argument specifies the database listener name.
-listenerOracleHome, -lsnroh, -loh
This argument specifies the Oracle Home of the database that owns this listener.
-vip
This argument specifies the vip resource this listener runs on.
-disk
This argument specifies the disk resource the Oracle Home resides on.
The other non-mandatory options:
-clusterNodes, -nodes, -cn
This argument specifies the valid nodes of the cluster that can host this resource. This value is a space-separated or comma-separated list of node names in the cluster. The special value default includes all the nodes. If it is not specified, all the nodes are included.
-resourceParams, -params, -p
This argument specifies space-separated or comma-separated "name=value" pairs to set the CRS properties for this resource, for example, as=1,rt=400.
The property names and their value ranges are listed in Table E-1, where, except for as, st and ra, all the other numbers are in seconds. These properties can be configured through the ASCRS configuration file. If a property is neither configured nor specified with this option, the default is assumed.
-policy
This argument specifies what resource parameter values are used. These policies and values are available in the ASCRS configuration file.
The valid values are normal or fast. If it not specified, normal is assumed. However, the -resourceParams values always take precedence over the policy.
-tnsAdmin, -ta
This argument specifies the location of the listener configuration if it is not in the default location within the Oracle Home.
EXAMPLE(S)
UNIX: ascrsctl create -name mydblsnr -type dblsnr -listenerName orcl -listenerOracleHome /cfcdb1 -vip 192.168.1.10 -disk ohdisk Windows: ascrsctl create -name mydblsnr -type dblsnr -listenerName orcl -listenerOracleHome c:\oraasshare\cfcdb1 -vip myvip -disk ohdisk
TOPIC
update/dblsnr - update dblsnr ASCRS resource
COMMAND
ascrsctl update -name <string> [-type dblsnr] [-listenerName <string>] [-listenerOracleHome <string>] [-vip <string>] [-disk <string>] [-tnsAdmin <string>] [options]
DESCRIPTION
This ASCRS command is used to update a dblsnr resource created with ASCRS.
Mandatory argument:
-name, -n
This argument specifies the resource name to be updated. If it is a fully qualified name, the -type option can be omitted.
These are non-mandatory options:
-type, -t
This argument specifies the resource type. Its value must be dblsnr.
-listenerName, -ln
This argument specifies the database listener name.
-listenerOracleHome, -lsnroh, -loh
This argument specifies the Oracle Home of the database that owns this listener.
-vip
This argument specifies the vip resource this listener runs on.
-clusterNodes, -nodes, -cn
This argument specifies the valid nodes of the cluster that can host this resource. The value is a space-separated or comma-separated list of node names in the cluster. The special value default includes all the nodes.
-resourceParams, -params, -p
This argument specifies space-separated or comma-separated "name=value" pairs to set the CRS properties for this resource, for example, as=1,rt=400.
The property names and their value ranges are listed in Table E-2, where, except for as, st and ra, all the other numbers are in seconds.
-tnsAdmin, -ta
This argument specifies the new location of the listener configuration file. The special value "nil" sets this location to its default.
-disk
This argument specifies the disk resource the Oracle Home resides on.
EXAMPLE(S)
ascrsctl update -n mydblsnr -t dblsnr -vip newvip ascrsctl update -n mydblsnr -t dblsnr -disk newdisk -p st=30,pt=40,rt=40
TOPIC
create/db - create db ASCRS resource
COMMAND
For database instance: ascrsctl create -name <string> -type db -oraHome <string> -oraSID <string> -disk <string> [<string> ...] -lsnr <string> [-pfile <string>] [-componentID dbinstance] [options] For database console: ascrsctl create -name <string> -type db -oraHome <string> -oraSID <string> -disk <string> -vip <string> [-componentID dbconsole] [options] For job scheduler (Windows only): ascrsctl create -name <string> -type db -oraHome <string> -oraSID <string> -disk <string> [-componentID jobscheduler] [options] For VSS writer (Windows only): ascrsctl create -name <string> -type db -oraHome <string> -oraSID <string> -disk <string> [-componentID vsswriter] [options]
DESCRIPTION
This ASCRS command is used to create (or register) an Oracle database resource in CRS. Depending on the specified component ID, the database resource represents either a core database instance, a dbconsole service, or, if the platform is Windows, an Oracle job scheduler service or an Oracle Volume Shadow Service (VSS).
These are mandatory arguments for all database resources:
-name, -n
This argument specifies the resource name to be created.
-type, -t
This argument specifies the resource type. Its value must be db.
-oraHome, -oh
This argument specifies the database Oracle Home location.
-oraSID, -sid
This argument specifies the Oracle SID name.
-disk
This argument specifies the shared disks hosting the Oracle Home and data files. For a database instance component, the value for this parameter is a space-separated or comma-separated list of ASCRS disk resource names; for other components, its value is the disk resource hosting the Oracle home.
The other non-mandatory options:
-componentID, -c
This argument identifies the database component to be managed. It assumes dbinstance, dbconsole, jobscheduler (Windows only), or vsswriter (Windows only). If this is not specified, dbinstance is assumed.
-clusterNodes, -nodes, -cn
This argument specifies the valid nodes of the cluster that can host this resource. The value is a space-separated or comma-separated list of node names in the cluster. If it is not specified, all the nodes are included.
-resourceParams, -params, -p
This argument specifies space-separated or comma-separated "name=value" pairs to set the CRS properties for this resource, for example, as=1,rt=400.
The property names and their value ranges are listed in Table E-1, where, except for as, st and ra, all the other numbers are in seconds. These properties can be configured through the ASCRS configuration file. If a property is neither configured nor specified with this option, the default is assumed.
-policy
This argument specifies what resource parameter values are used. These policies and values are available in the ASCRS configuration file.
The valid values are normal or fast. If it not specified, normal is assumed. However, the -resourceParams values always take precedence over the policy.
Component-specific options:
For database instance component:
-lsnr
This argument specifies the listener resource used by this database. It is mandatory.
-pfile, -pf
This argument specifies the database pfile for starting the database. It is only valid for the dbinstance component.
For database console component:
-vip
This argument specifies the virtual IP resource used by this database console resource. It is mandatory.
EXAMPLE(S)
UNIX: ascrsctl create -n mydb -t db -oh /cfcdb1 -sid orcl -disk ohdisk datafiledisk -lsnr mydblsnr Windows: ascrsctl create -n mydb -t db -oh c:\oraasshare\cfcdb1 -sid orcl -disk ohdisk datafiledisk -lsnr mydblsnr
TOPIC
update/db - update db ASCRS resource
COMMAND
ascrsctl update -name <string> -type db [-oraHome <string>] [-oraSID <string>] [-disk <string> [<string> ...]] [-lsnr <string>] [-pfile <string>] [-vip <string>] [options]
DESCRIPTION
This ASCRS command is used to update an ASCRS db resource registered in CRS.
Mandatory argument:
-name, -n
This argument specifies the resource name to be updated.
Non-mandatory arguments:
-type, -t
This argument specifies the resource type. Its value must be db. If the resource name is in canonical form, the -type option can be omitted.
-oraHome, -oh
This argument specifies the database Oracle Home location.
-oraSID, -sid
This argument specifies the Oracle SID name
-disk
For a database instance component, the value for this parameter is a space-specified or comma-specified list of ASCRS disk resource names; for other components, its value is the disk resource hosting the Oracle home.
lsnr
This argument specifies the listener resource. It is only applicable for the dbinstance component.
-vip
This argument specifies the virtual IP resource used by a database console, so it is applicable for a database console resource only.
The other non-mandatory options:
-clusterNodes, -nodes, -cn
This argument specifies the valid nodes of the cluster that can host this resource. The value is a space-separated or comma-separated list of node names in the cluster. The special value default includes all the nodes.
-resourceParams, -params, -p
This argument specifies space-separated or comma-separated "name=value" pairs to set the CRS properties for this resource, for example, as=1,rt=400.
The property names and their value ranges are listed in Table E-2, where, except for as, st and ra, all the other numbers are in seconds.
-pfile, -pf
This argument specifies the database pfile for starting the database. The special value "nil" sets this file to its default. It is only valid for the dbinstance component.
EXAMPLE(S)
ascrsctl update -n ora.mydb.cfcdb -disk ohdisk -lsnr newlsnr -p st=60,rt=60,pt=60
TOPIC
create/as - create as ASCRS resource
COMMAND
ascrsctl create -name <string> -type as -componentHome <string> [-componentIDs <string> [<string> ...]] -vip <string> -disk <string> [<string> ...] [-db <string> [<string> ...]] [-as <string> [<string> ...]] [options]
DESCRIPTION
This ASCRS command is used to create (or register) a middleware resource in CRS.
These are mandatory arguments:
-name, -n
This argument specifies the resource name to be created.
-type, -t
This argument specifies the resource type. Its value must be as.
-componentHome, -ch
This argument specifies the location of the WebLogic domain that contains the targeted Administration Server, managed servers, or the OPMN managed servers.
-vip
This argument specifies the virtual IP resource the middleware servers depend upon.
-disk
This argument specifies the shared disks hosting the WebLogic software, the WebLogic server domain directory, or, if it is for OPMN managed components, the instance home, and other shared disks this resource directly depends upon. If a shared disk is used for multiple purposes, it needs to be specified only once. The value for this parameter is a space-separated or comma-separated list of ASCRS disk resource names.
Non-mandatory options:
-componentIDs, -ci
This argument specifies the names of the servers to be managed in the WebLogic domain or the OPMN instance. If this argument is missing or if the value is default, all the servers are included.
db
This argument specifies the database resources this as resource directly depends upon.
as
This argument specifies the as resources this resource directly depends upon.
-m
This argument specifies the health monitors that the WebLogic servers should use. If this option is missing or its value is default, the TCP ping monitor is used for all the managed servers. To use user-defined monitors, this option should be followed by a list of monitor assignments such as '-m AdminServer=mon1 wlsapp=mon2', where AdminServer and wlsapp are valid server names, while mon1 and mon2 are valid monitor names defined in CRS_HOME/ascrs/config/mconfig.xml
.
-clusterNodes, -nodes, -cn
This argument specifies the valid nodes of the cluster that can host this resource. The value is a space-separated or comma-separated list of node names in the cluster. If it is not specified, all the nodes are included.
-resourceParams, -params, -p
This argument specifies space-separated or comma-separated "name=value" pairs to set the CRS properties for this resource, for example, as=1,rt=400.
The property names and their value ranges are listed in Table E-1, where, except for as, st and ra, all the other numbers are in seconds. These properties can be configured through the ASCRS configuration file. If a property is neither configured nor specified with this option, the default is assumed.
-policy
This argument specifies what resource parameter values are used. These policies and values are available in the ASCRS configuration file.
The valid values are normal or fast. If it is not specified, normal is assumed. However, the -resourceParams values always take precedence over the policy.
EXAMPLE(S)
UNIX: ascrsctl create -n idm.weblogic -t as -ch /sharedisk/fmw/user_projects/domains/IDMDomain -vip idmvip -disk idmdisk ascrsctl create -n idm.weblogic -t as -ch /sharedisk/fmw/user_projects/domains/IDMDomain -vip idmvip -disk idmdisk -p st=800,rt=800,pt=800 ascrsctl create -n idm.opmn -t as -ch /sharedisk/fmw/asinst_1 -vip idmvip -disk idmdisk -p st=800,rt=800,pt=800 Windows: ascrsctl create -n adminserver -t as -ch c:\oracle\asdisk\fmw\user_projects\domains\adminserverDomain -vip adminservervip -disk adminserverdisk
TOPIC
update/as - update as ASCRS resource
COMMAND
ascrsctl update -name <string> [-type as] [-componentHome <string>] [-componentIDs <string> [<string> ...]] [-vip <string>] [-disk <string> [<string> ...]] [-db <string> [<string> ...]] [-as <string> [<string> ...]] [options]
DESCRIPTION
This ASCRS command is used to update an as resource created with ASCRS. On Windows, OPMN resources are not supported.
Mandatory argument:
-name, -n
This argument specifies the resource name to be updated.
Non-mandatory arguments:
-type, -t
This argument specifies the resource type. Its value must be as. If the resource name is in canonical form, the -type option can be omitted.
-componentHome, -ch
This argument specifies the location of the WebLogic domain or OPMN instance home.
-componentIDs, -ci
This argument specifies the names of the servers managed in the WebLogic domain or the OPMN instance. Value 'default' means all the server names are included.
-vip
This argument specifies the virtual IP resource this component depends upon.
-disk
This argument specifies the shared disk resources this as resource directly depends upon. The value is a space-separated or comma-separated list of disk resource names.
-db
This argument specifies the database resources this as resource directly depends upon. Value 'nil' removes all these dependencies.
-as
This argument specifies the as resources this resource directly depends upon. Value 'nil' removes all these dependencies.
-m
This argument specifies the health monitors that WebLogic servers should use. If its value is default, the TCP ping monitor is used for all the managed servers. To fine-tune the monitor assignments, this option should be followed by a list of monitor assignments such as '-m AdminServer=mon1 wlsapp=mon2', where AdminServer and wlsapp are valid server names, while mon1 and mon2 are either valid monitor names defined in CRS_HOME/ascrs/config/mconfig.xml or 'default'.
-clusterNodes, -nodes, -cn
This argument specifies the valid nodes of the cluster that can host this resource. The value is a space-separated or comma-separated list of node names in the cluster. The special value default includes all the nodes.
-resourceParams, -params, -p
This argument specifies space-separated or comma-separated "name=value" pairs to set the CRS properties for this resource, for example, as=1,rt=400.
The property names and their value ranges are listed in Table E-2, where, except for as, st and ra, all the other numbers are in seconds.
EXAMPLE(S)
ascrsctl update -n myas -t as -vip newvip -disk instdisk wldisk ascrsctl update -n ora.myas.cfcas -p st=800,rt=800,pt=800