/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -create -profileName Dmgr01 -profilePath /opt/IBM/WebSphere/AppServer/profiles/Dmgr01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/dmgr -nodeName linvm2CellManager01 -cellName linvm2Cell01 -hostName linvm2.lswsup.ukr
/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -create -profileName AppSrv01 -profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed -nodeName linvm2Node01 -cellName linvm2Node01Cell01 -hostName linvm2.lswsup.ukr
Thursday, December 25, 2008
when WAS PMT does not work
Profiles can be created with wasprofile.sh tool
More here
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/rxml_wasprofile.html
More here
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/rxml_wasprofile.html
X11 forwarding with ssh
To enable X11 forwarding with ssh when connecting as
ssh -X server
xauth program needs to be installed on the server you connect to.
In RHEL5 xauth is in xorg-x11-xauth rpm
ssh -X server
xauth program needs to be installed on the server you connect to.
In RHEL5 xauth is in xorg-x11-xauth rpm
Wednesday, June 11, 2008
How to delete and recreate WebSphere 6.1 profiles
WAS >6.1.0.13
To delete profiles.
/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -unaugment -profileName Dmgr01
/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -delete -profileName Dmgr01
/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -unaugment -profileName AppSrv01
/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -delete -profileName AppSrv01
delete directories;
/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/
Create new profile with profileManager
/opt/IBM/WebSphere/AppServer/bin/ProfileManagement/pmt.sh
On WAS versions < 6.1.0.13 use
To delete profiles with the same arguments:
/opt/IBM/WebSphere/AppServer/bin/wasprofile.sh
To create profile:
To delete profiles.
/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -unaugment -profileName Dmgr01
/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -delete -profileName Dmgr01
/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -unaugment -profileName AppSrv01
/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -delete -profileName AppSrv01
delete directories;
/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/
Create new profile with profileManager
/opt/IBM/WebSphere/AppServer/bin/ProfileManagement/pmt.sh
On WAS versions < 6.1.0.13 use
To delete profiles with the same arguments:
/opt/IBM/WebSphere/AppServer/bin/wasprofile.sh
To create profile:
/opt/IBM/WebSphere/AppServer/bin/ProfileCreator/pctLinux.bin
Sunday, February 17, 2008
Russian input does not work in programs launched with Wine
I use en_US.UTF-8 locale on my laptop (openSuSe 10.3), but sometimes I need windows programs with russian input to be launched with wine.
I wrap each exe with sh file similar to the following:
export LC_ALL=ru_RU.UTF-8
wine BMCity.exe
One very important step is to create the following link to make ru_RU.UTF-8 locale available to wine.
sudo ln -s /usr/lib/locale/ru_RU.utf8 /usr/share/X11/locale/ru_RU.UTF-8
I wrap each exe with sh file similar to the following:
export LC_ALL=ru_RU.UTF-8
wine BMCity.exe
One very important step is to create the following link to make ru_RU.UTF-8 locale available to wine.
sudo ln -s /usr/lib/locale/ru_RU.utf8 /usr/share/X11/locale/ru_RU.UTF-8
Friday, January 25, 2008
Why does VMware crash during startup from ntfs-3g?
Workaround: Set "mainMem.useNamedFile=FALSE" in the .vmx file. It will disable paging files and VMware will work fine, often with much better performance.
Status: This has been worked one in the kernel and FUSE for three years. The solutions is complex and several experimental patches are available. VMware has also fixed their virtual machine recently.
Friday, January 11, 2008
"No space left on device" error from Xen
xenstored database may get corrupted sometimes and upon vm startup it would give a very misleading message like.
# xm create /etc/xen/win2k3
Using config file “/etc/xen/win2k3”.
Error: (28, ‘No space left on device, while writing /local/domain/0/backend/vbd/
18/768/online : 1′)
- Stop xend "/etc/init.d/xend stop"
- Kill xenstored as the above script does not shut it down (I also killed xenconsoled, just in case)
- Delete all tdb file from /var/lib/xenstored/tdb*
- Start xend
- Attempt to start your vm.
- If you see the following error just reboot the machine.
# xm create /etc/xen/win2k3
Error: Device 0 (vif) could not be connected. Hotplug scripts not working. - After reboot everything should be fine.
Subscribe to:
Posts (Atom)