Human readable format
schtasks /query /v /fo LISTCSVschtasks /query /v /fo CSV > tasks.csv
schtasks /query /v /fo LISTCSVschtasks /query /v /fo CSV > tasks.csv
Attachment information: i-f0cacda3 (PROD):/dev/sdf1 (attached)
The time and date of this login have been sent to the system logs.
VMware offers supported, powerful system administration tools. Please
see www.vmware.com/go/sysadmintools for details.
The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.
[root@shuttle:~] esxcli software vib install -v http://download3.vmware.com/software/vmw-tools/esxui/esxui-signed-6360286.vib
Installation Result
Message: Operation finished successfully.
Reboot Required: false
VIBs Installed: VMware_bootbank_esx-ui_1.23.0-6360286
VIBs Removed: VMware_bootbank_esx-ui_1.8.0-4516221
VIBs Skipped:
[root@shuttle:~]
REM SVN Revision Information: DO NOT REMOVE
REM $Revision: 2593 $
REM $Author: pchiu $
REM $Date: 2017-08-28 19:39:41 -0400 (Mon, 28 Aug 2017) $
# zpool offline opt2 14610995796361758680
# zpool status -v opt2
pool: opt2
state: DEGRADED
status: One or more devices has been taken offline by the administrator.
Sufficient replicas exist for the pool to continue functioning in a
degraded state.
action: Online the device using 'zpool online' or replace the device with
'zpool replace'.
scan: scrub repaired 0 in 21h9m with 0 errors on Tue Jul 25 00:42:02 2017
config:
NAME STATE READ WRITE CKSUM
opt2 DEGRADED 0 0 0
raidz1-0 DEGRADED 0 0 0
da3 ONLINE 0 0 0
da4 ONLINE 0 0 0
14610995796361758680 OFFLINE 0 0 0 was /dev/da5
# zpool replace opt2 da5 /dev/da5
# zpool status -v opt2
pool: opt2
state: DEGRADED
status: One or more devices is currently being resilvered. The pool will
continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
scan: resilver in progress since Sun Aug 27 11:21:53 2017
28.5G scanned out of 4.77T at 96.7M/s, 14h18m to go
9.50G resilvered, 0.58% done
config:
NAME STATE READ WRITE CKSUM
opt2 DEGRADED 0 0 0
raidz1-0 DEGRADED 0 0 0
da3 ONLINE 0 0 0
da4 ONLINE 0 0 0
replacing-2 OFFLINE 0 0 0
14610995796361758680 OFFLINE 0 0 0 was /dev/da5/old
da5 ONLINE 0 0 0 (resilvering)
errors: No known data errors
copy ords.war apex.war
rmdir $CATALINA_HOME/webapps/apex
copy apex.war $CATALINA_HOME/webapps/
java -jar apex.war configdir e:\
java -jar apex.war
java -jar apex.war validate
java -jar apex.war schema
java -jar apex.war setup --database dev
java -jar apex.war map-url --type base-path /dev dev
Start Tomcatcopy ords.war apex.war
rmdir $CATALINA_HOME/webapps/apex
copy apex.war $CATALINA_HOME/webapps/
java -jar apex.war configdir e:\
java -jar apex.war schema
Start TomcatEDIT: Using nginx is a better solution.
Making https call from oracle is a nightmare. As a minimum, you need to import the site certificate into Oracle wallet.[web1]
client = yes
accept = 127.0.0.1:8103
connect = web1.remote.com:8443
CAfile = ca-certs.pem
DECLARE
v_http_host varchar2(1000);
BEGIN
v_http_host := lower(owa_util.get_cgi_env('HTTP_HOST'));
if v_http_host = 'domain1.com' or v_http_host like '%.domain1.com' then
apex_theme.set_session_style(p_theme_number=> 242, p_name => 'my_style1');
elsif v_http_host = 'domain2.com' or v_http_host like '%.domain2.com' then
apex_theme.set_session_style(p_theme_number=> 242, p_name => 'my_style2');
else
apex_theme.set_session_style(p_theme_number=> 242, p_name => 'my_style1');
end if;
END;
@echo off
cd /D c:\WebAdmin
REM echo SET HEADING OFF > get_ddl_all.sql
REM echo SET ECHO OFF >> get_ddl_all.sql
REM echo SET PAGES 999 >> get_ddl_all.sql
REM echo SET LONG 90000 >> get_ddl_all.sql
REM echo SET TRIMSPOOL ON >> get_ddl_all.sql
REM echo SET PAGESIZE 50000 >> get_ddl_all.sql
REM echo SET VERIFY OFF >> get_ddl_all.sql
REM echo SET FEEDBACK OFF >> get_ddl_all.sql
echo SET TERMOUT OFF >> c:\WebAdmin\get_ddl_all.sql
"C:\Program Files\sqldeveloper\sqldeveloper\bin\sql.exe" sys/xxxx@berry.xxxx.local:1521:paris as sysdba @get_ddl_master.sql
echo exit; >> c:\WebAdmin\get_ddl_all.sql
"C:\Program Files\sqldeveloper\sqldeveloper\bin\sql.exe" sys/xxxx@berry.xxxx.local:1521:paris as sysdba @get_ddl_all.sql
REM
cd /D c:\WebAdmin\paris
svn cleanup c:\WebAdmin\paris
svn add * --force
svn -m "Nightly Backup" commit --username=chiup --password=xxxx --non-interactive
svn update
SET HEADING OFF
SET ECHO OFF
SET PAGES 999
SET LONG 90000
set LINES 300
SET TRIMSPOOL ON
SET PAGESIZE 50000
SET VERIFY OFF
SET FEEDBACK OFF
SET TERMOUT OFF
cd c:\webAdmin
spool get_ddl_all.sql append
SELECT 'spool c:\webadmin\paris\' || OWNER || '.' || OBJECT_TYPE || '.' || OBJECT_NAME ||'.sql;'||
chr(13)||chr(10)||
'ddl '||owner||'.'||object_name||';'
sql_cmd
FROM ALL_OBJECTS
WHERE OBJECT_TYPE IN ('TABLE','PROCEDURE','FUNCTION','TRIGGER','PACKAGE','VIEW')
AND OWNER NOT IN ('SYS','SYSTEM','SYSMAN','OUTLN','PORTAL','XDB','LBACSYS','OLAPSYS','WIRELESS','CTXSYS','EXFSYS')
order by owner, object_type, object_name;
spool off
exit