|
|
abukta
super admin
profile |
|
Join Date: 29 Mar 2005 21:03
Posts: |
|
|
Submit an EMCLI job:
=============
/appldev/adm/bin/emcli/emcli submit_job -job="emcli_abukta:OSCommand" -parameters='command:/bin/sh;os_script:ls -l/tmp;username:xxxxx;password:xxxxx' -targets="ap656wgs.us.oracle.com:host"
Create a blackout:
===========
./emctl blackout
TZ set to US/Pacific
Oracle Enterprise Manager 10g Release 10.1.0.3.0.
Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
Usage :
emctl start blackout [-nodeLevel] [ ]....
The following are valid options for blackouts
defaults to local node target if not specified.
If -nodeLevel is specified after ,the blackout will be applied to
all targets and any target list that follows will be ignored.
Duration is specified in [days] hh:mm
./emctl start blackout abukta_emclass -nodeLevel
TZ set to US/Pacific
Oracle Enterprise Manager 10g Release 10.1.0.3.0.
Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
Blackout abukta_emclass added successfully
EMD reload completed successfully
./emctl status blackout
TZ set to US/Pacific
Oracle Enterprise Manager 10g Release 10.1.0.3.0.
Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
Blackoutname = abukta_emclass(NODE_LEVEL)
Targets = (ap656wgs.us.oracle.com:host,)
Time = ({2005-03-29|10:11:13,|} )
Expired = False
Blackoutname = dberman_emclass(NODE_LEVEL)
Targets = (ap656wgs.us.oracle.com:host,)
Time = ({2005-03-29|10:11:34,|} )
Expired = False
./emctl stop blackout abukta_emclass
TZ set to US/Pacific
Oracle Enterprise Manager 10g Release 10.1.0.3.0.
Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
Blackout abukta_emclass stopped successfully
EMD reload completed successfully
|