AIXv5.3安装smb
下载并安装软件:opt-samba-base.tar.gzopt-samba-3.0.28-AIX5.tar.gz增加访问用户,并输入密码:[root@615 /]#./smbpasswd -a dslog修改配置文件smb.conf,增加访问内容:[dslog] comment = Datastage log directory browseable = yes writable = no path = /dswork/etlhome/etllog增加开机自动启动smb服务:[root@615 /]#cat /etc/inittab...smb:2:respawn:/usr/bin/sh /script/startsmb.sh #start samba[root@615 /]#cat /script/startsmb.sh/opt/pware/samba/3.0.28/sbin/nmbd -D/opt/pware/samba/3.0.28/sbin/smbd -D[@more
db2更新大表
当更新一个大表,可能导致错误:DB21034E The command was processed as an SQL statement because it was not avalid Command Line Processor command. During SQL processing it returned:SQL0964C The transaction log for the database is full. SQLSTATE=57011可能的原因:1、事务过大,导致所有的日志文件都满,此时解决方法有:1)加大日志文件数量或容量2)在事务中对大表执行关闭日志操作db2 +c "alter table ods.table1 activate not logged initially"db2 +c "update ods.table1 set col1=''"两条命令要在
以普通权限用户启动websphere进程
背景:UAT环境在开发阶段,更新比较频繁,开发人员要求能重启websphere进程;unix平台下容易做到,但windows平台通常情况下需要管理员或power users权限,此权限过大。多次测试后得到如下方法来控制:以windows平台下default profile为例1、新建本地用户admin_dev,权限组users,remote desktop users2、建立相关的发布目录,共享/授所有权给admin_dev,如d:citicups3、将目录E:IBMWebSphereAppServerlogs 以及目录E:IBMWebSphereAppServerprofilesdefault 授所有权给admin_dev4、这时对‘服务’中相关的websphere服务设置‘手动’启动5、本
三种平台下Websphere Application Server由6.0.0.1到6.0.2.17
近期对所有测试环境下的WAS进行补丁处理。补丁下载地址:http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg27006876Linux 32Bit X86,需要下载6.0.2以及6.0.2.17Win32Bit X86,需要下载6.0.2以及6.0.2.17AIX下因为64bit版本本身就包含6.0.2,只需要下载6.0.2.17每个profile操作步骤:1.停止was2.作OS/data备份3.上传补丁并解包到{WAS_INSTALL_ROOT}4.执行6.0.2的update.exe/update.sh5.执行6.0.2.17的update.exe/update.sh6.启动was,检查版本。[@more@]
windows上使用EMC CX3-20存储
在将EMC CX3-20存储划Lun给windows服务器使用时要做扇区偏移,使用windows的工具diskpar.exec:diskpar.exe -i 3 (i-query;3指磁盘分区号,可以在‘计算机管理’->‘磁盘管理’看到指定的分区号) 可以看到:C:>Diskpar.exe -i 3---- Drive 10 Geometry Infomation ----Cylinders = 27772TracksPerCylinder = 255SectorsPerTrack = 63BytesPerSector = 512DiskSize = 228432476160 (Bytes) = 217850 (MB)---- Drive Partition 0 Infomation ----StatringOffset = 65536PartitionLength = 228432443904HiddenSectors = 63PartitionNum