Resets Portal Server MBeams to their initial state.
Be careful when using this command to reset a MBean with type MonitoringConfiguration . MonitoringConfiguration MBean reset unregisters all Portal Server instance or Portal Server Secure Remote Access instance MBeans, and restarts instance monitoring. This command may show an error message if MonitoringConfiguration MBean has been reset, and the command tries to reset other MBeans.
psadmin reset-monitoring-mbeans --adminuser uid --passwordfile password-filename [--portal portal-ID] | [--proxy-type sra-proxy-type ] --instance instance-ID [--type type-name-property[--name-properties mbean-name-properties] | [--object-name mbean-object-name] [--interactive ] [--output output-filename] [--verbose] [mbean-name-regexp]
psadmin reset-monitoring-mbeans -u uid -f password-filename [-p portal-ID] | -x sra-proxy-type] [-i instance-ID] [[ -t type-name-property [ --name-properties mbean-name-properties] | [--object-name mbean-object-name]] -o output-filename [ -v] [mbean-name-regexp]
The following options are required:
Specifies the administrator's distinguished name.
Specifies the administrator's password in the password file.
Specifies the Portal Server instance or Portal Server Secure Remote Access instance for this command. Portal Server Secure Remote Access instance is also known by Portal Server Secure Remote Access profile name.
The following options are not required:
Specifies the portal ID.
Identifies Portal Server Secure Remote Access Proxy type: Gateway, Rewriter Proxy, or Netlet Proxy. sra-proxy-type can be either gateway, rwp, or nlp respectively.
Specifies the unique identity of the MBean ObjectName.
If ObjectName property 'type' is not unique, MBean ObjectName may have additional name-properties to uniquely identify it. You can locate such MBean specifying additional name-properties using this option, along with the -–type option.
Specifies a valid JMX ObjectName pattern to select monitoring MBeans.
Prompts for user confirmation to confirm resetting the selected MBean.
Names the output file.
Shows progression of command.
The following operand is available:
Specifies a java.util.regex regular expression as an operand to locate a MBean, if type and name-properties options are not enough.
The following snippet shows how a particular MBean can be reset
Do you want to continue operation with <com.sun.portal: type=ChannelActionStatistic,channelAction=Content,name=RedirectChannel, class=com.sun.portal.providers.jsp.JSPProvider>? [y/n] n No MBeans reset ./psadmin get-monitoring-attributes -u amadmin -f ./password -p portal1 s -i nicp104_80 --name-properties "name=RedirectChannel" com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=RedirectChannel,class=com.sun.portal.providers.jsp.JSPProvider Count = 2 Description = Rolling average time to get fresh content for this channel LastSampleTime = 1129282758188 LastTime = 4 LowerBound = 100 MaxTime = 3179 MinTime = 4 Name = PS Channel Action Statistics: Content RollingAvgTime = 2120 StartTime = 1129214725856 TotalTime = 3183 Unit = RollingAvgTime UpperBound = 1000 ./psadmin reset-monitoring-mbeans -u amadmin -f ./password -p portal1 -i nicp104_80 --interactive --name-properties "name=RedirectChannel" Do you want to continue operation with <com.sun.portal: type=ChannelActionStatistic, channelAction=Content,name=RedirectChannel,class=com.sun.portal.providers. jsp.JSPProvider>? [y/n]y com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=RedirectChannel,class=com.sun.portal.providers.jsp.JSPProvider MBean reset ./psadmin get-monitoring-attributes -u amadmin -f ./password -p portal1 -i nicp104_80 --name-properties "name=RedirectChannel" com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=RedirectChannel,class=com.sun.portal.providers.jsp.JSPProvider Count = 0 Description = Rolling average time to get fresh content for this channel LastSampleTime = 1129283756991 LastTime = 0 LowerBound = 100 MaxTime = 0 MinTime = 0 Name = PS Channel Action Statistics: Content RollingAvgTime = 0 StartTime = 1129283756991 TotalTime = 0 Unit = RollingAvgTime UpperBound = 1000 |