storage
126 TopicsBIGI LTM VE qcow2 image - Shared directory too small for upgrade
We are in the process of migrating our servers from BIGIP 11.3 to 11.6. I am trying a test upgrade with the BIGIP-11.3.0.39.0.qcow2 image. However, the /shared directory is too small to hold the 11.6 image (over 1GB) for the upgrade procedure. [root@localhost:Active:Standalone] config df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg--db--hda-set.1.root 380M 187M 174M 52% / /dev/mapper/vg--db--hda-set.1._config 477M 15M 438M 4% /config /dev/mapper/vg--db--hda-set.1._usr 2.2G 1.4G 746M 65% /usr /dev/mapper/vg--db--hda-set.1._var 477M 160M 293M 36% /var /dev/mapper/vg--db--hda-dat.share.1 485M 37M 423M 9% /shared /dev/mapper/vg--db--hda-dat.log.1 485M 28M 432M 6% /var/log none 502M 708K 501M 1% /dev/shm none 502M 4.9M 497M 1% /var/tmstat none 502M 1.3M 501M 1% /var/run prompt 4.0M 28K 4.0M 1% /var/prompt Can anyone tell me how to increase the /shared directory? From 11.5 the tmsh modify sys disk directory command is available, but I haven't found anything for 11.3. Thanks for any help you can offer. Steve383Views0likes1CommentSyslog v11 modification
Hi - I want to only send syslog levels, notice through emergency, but just want notice messages that match "monitor status". Like the messages below here: Feb 12 00:00:13 myf5.com cleansed mcpd[1925]: 01070727:5: Pool member pool_member_ip:801 monitor status up. Feb 12 00:01:33 myf5.com cleansed mcpd[1925]: 01070638:5: Pool member pool_member_ip:801 monitor status down. The syntax below is not getting it done. Am I close? sys syslog { auth-priv-from warning auth-priv-to emerg console-log enabled cron-from warning cron-to emerg daemon-from notice daemon-to emerg description none include " filter f_notice { match "(.*monitor status.*)"; }; filter f_remote_loghost { level(notice..emerg); }; destination d_remote_loghost { udp(\"172.17.2.49\" port(514)); udp(\"172.25.6.10\" port(514)); }; log { source(s_syslog_pipe); filter(f_remote_loghost); destination(d_remote_loghost); }; " iso-date disabled kern-from notice kern-to emerg local6-from notice local6-to emerg mail-from notice mail-to emerg messages-from notice messages-to warning remote-servers none user-log-from notice user-log-to emerg }213Views0likes4CommentsXenApp 6.5 with Kerberos Auth and CIFS-Windows Shares
I have been having difficulties with this issue for some time and I am hoping that someone can shed some light on it. All information in this post will be from my test bed environment, however the same issue is occurring in our live development environment. We are running 11.5.1 HF5 and so far I have been able to get Kerberos authentication working in order to access my published Citrix Applications with APM proxying all ICA traffic and replacing the Citrix Web Interface. The issue comes in when once a published app is launch, for example Notepad, I am then unable to access any mapped drives or other CIFS-Windows shares using Kerberos and instead I am asked for my Username and Password. I have been mostly following this thread to get to where I currently am as I have a similar scenario: F5 BigIP LTM 6900 In my testbed I have one Domain Controller, one server called XML1 which is my XenApp server and one server called WB1 which is where I had the Citrix Web Interface when I was trying pass-through authentication along with where I created the shared folder I am trying access through my Citrix apps. All servers are Windows 2008 R2, domain level is set to 2003. Our clients are not joined to the domain but I have a valid method of locating the right user using a APM AD query. In my testbed I have one Domain Controller, one server called XML1 which is my XenApp server and one server called WB1 which is where I had the Citrix Web Interface when I was trying pass-through authentication along with where I created the shared folder I am trying access through my Citrix apps. All servers are Windows 2008 R2, domain level is set to 2003. Our clients are not joined to the domain but I have a valid method of locating the right user using a APM AD query. My mapped drives are in both \\servername\share and \\fqdn\share forms. Would appreciate any help I can get, Sheigh397Views0likes5Comments11.4.0 unable to import 3M-record external data-file
f5 BIG-IP LTM VE v11.4.0 ESXi VM allocated with 200 gb hdd , 16 gb ram System > File Management > Data Group File List > Import > point to 3M-record data-file on disk ( 216 MB ) receive error : " File upload failed, please check log file for details " I review all logs but don't see any entries related to data-file load. System > File Management > iFile List > Import > point to the same 3M-record file I receive the same error. Examining /var/log/ltm I see : err diskmonitor: 011d0004: Disk partition _root_ has only 0% free but the timestamp of this error does not coincide with my attempted file uploads. I assume _root_ refers to the Linux disk partition -- why would I receive an error showing 0% free ? In /var/log i see tmm , tmm1 , tmm2 , tmm3660Views0likes29CommentsNeed to apply iRule for a VIP whose type is "Performance Layer 4" profile
Hi I am a newbie to F5 and iRule. One of our requirement is the url re-direction as below www.ramkar.com/startup ==> www.ramkar.com/login I did researched this forum and framed the following 2 iRules: iRule-1 when HTTP_REQUEST { if { [string tolower [HTTP::path]] equals "/login" || [string tolower [HTTP::path]] equals "/startup" } { HTTP::uri "/login" } } iRule-2 when HTTP_REQUEST { if { ([HTTP::host] equals "www.ramkar.com") and ([HTTP::uri] ends_with "/startup") } { HTTP::redirect https://www.ramkar.com/login } } The type of our VIP( was "Performance Layer 4". When checked with our IT and Network Team, they suggested to change the type to "Performance HTTP" as iRules will not work with "Performance Layer 4" type. We did this change in F5 for the VIP: www.ramkar.com. But when we tried to apply the irule-1, we are getting the error: "01070394:3:HTTP_REQUEST event in rule (ramkar) requires an associated HTTP or ICAP profile on the virtual server (/blah/blah/" Can any one please help me apply any one of these iRules in F5. Please note that our Network Team advised that we should not apply Standard or HTTP profile to this F5 as it will slowdown the PROD environment. Any help is greatly appreciated -- K.Ramesh Karthik.344Views0likes2CommentsVCMP space disk allocation explanations
Hello, Can please someone help me to understand the disk allocation of this VCMP system? 1/ Total physical disk space is : 400GB according to fdisk: [root@XXX:Active:Standalone] config fdisk -l Disk /dev/sda: 400.0 GB, 400088457216 bytes 255 heads, 63 sectors/track, 48641 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 48641 390707808 8e Linux LVM 2/ Guests vdisks use 100G of lvm space but... (so you can guess 500GB used... :/) [root@XXX:Active:Standalone] config ls -lh /shared/vmdisks/ total 23G drwx------ 2 root root 16K Apr 8 16:45 lost+found -rw-r--r-- 1 root root 100G Jun 23 11:45 GUEST1.img -rw-r--r-- 1 root root 23 Jun 22 15:25 GUEST1.info -rw-r--r-- 1 root root 100G Jun 23 11:45 GUEST2.img -rw-r--r-- 1 root root 23 Jun 22 15:25 GUEST2.info -rw-r--r-- 1 root root 100G Jun 23 11:45 GUEST3.img -rw-r--r-- 1 root root 23 Jun 22 15:25 GUEST3.info -rw-r--r-- 1 root root 100G Jun 23 11:45 GUEST4.img -rw-r--r-- 1 root root 23 Jun 22 15:28 GUEST4.info -rw-r--r-- 1 root root 100G Jun 23 11:45 GUEST5.img -rw-r--r-- 1 root root 23 Jun 22 15:25 GUEST5.info 3/ ... but the physical space usage is as below: [root@XXX:Active:Standalone] config tmsh show vcmp virtual-disk detail -------------------------------------------------------- Sys::Vcmp::VirtualDisk Name Operating System Status Disk Use (bytes) -------------------------------------------------------- GUEST1.img tmos in-use 4.6G GUEST2.img tmos in-use 4.4G GUEST3.img tmos in-use 4.5G GUEST4.img tmos in-use 4.3G GUEST5.img tmos in-use 4.5G 4/ and indeed pysically this matches (4.6 + 4.4 + 4.5 + 4.3 + 4.5 = 23 GB) and confirmed with command du: [root@XXX:Active:Standalone] config du -hs /shared/vmdisks/ 23G /shared/vmdisks/ 5/ But when I run command df I can't summ the disk space to reach 400GB: [root@XXX:Active:Standalone] config df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg--db--sda-set.3.root 380M 212M 149M 59% / /dev/mapper/vg--db--sda-set.3._config 3.0G 72M 2.8G 3% /config /dev/mapper/vg--db--sda-set.3._usr 2.5G 1.9G 465M 81% /usr /dev/mapper/vg--db--sda-set.3._var 3.0G 431M 2.4G 16% /var /dev/mapper/vg--db--sda-dat.share.1 30G 6.0G 23G 22% /shared /dev/mapper/vg--db--sda-dat.log.1 6.9G 163M 6.4G 3% /var/log none 24G 916K 24G 1% /dev/shm none 24G 41M 24G 1% /shared/rrd.1.2 none 24G 8.2M 24G 1% /var/tmstat none 24G 1.6M 24G 1% /var/run prompt 4.0M 28K 4.0M 1% /var/prompt none 24G 0 24G 0% /var/loipc /dev/mapper/vg--db--sda-app.vcmp.dat.vmdisks 277G 23G 240G 9% /shared/vmdisks How should I interpret all thoses disk usage values to figure out the real explanation? Thanks for your help. Kind regards. SylvainSolved787Views0likes6CommentsDisk space allocation
Disk space allocation varies from release to release. For example, on my v10.2.4 box, I have: Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg--db--sda-set.2.root 248M 130M 106M 56% / /dev/mapper/vg--db--sda-set.2._usr 1.4G 1.1G 244M 82% /usr On a v11.2/3 box, I have: Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg--db--sda-set.3.root 287M 191M 82M 70% / /dev/mapper/vg--db--sda-set.3._usr 2.0G 1.6G 380M 81% /usr I wonder if sizes have changed/increased in v11.4 and v11.5?271Views0likes2CommentsWhat is hotfix and error while installing a hotfix via ICONTROL?
Hotfix is lik a patch to an OS. But if i intall a hotfix it must apply on an already present boot location but it creates a new loacation and boots from there.Now i need to know .Can i delete a primary boot location after installing a hotfix or i need to keep all partition??? and also while i try to install a hotfix on box using i control it gives an exception. "Exception in thread "main" AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: Exception caught in System::urn:iControl:System/SoftwareManagement::install_hotfix() Exception: Common::OperationFailed primary_error_code : 16908289 (0x01020001) secondary_error_code : 0 error_string : Error installing hotfix "Hotfix-BIGIP-11.4.0-2419.0-HF3.iso" faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:Exception caught in System::urn:iControl:System/SoftwareManagement::install_hotfix() Exception: Common::OperationFailed primary_error_code : 16908289 (0x01020001) secondary_error_code : 0 error_string : Error installing hotfix "Hotfix-BIGIP-11.4.0-2419.0-HF3.iso" at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at iControl.SystemSoftwareManagementBindingStub.install_hotfix(SystemSoftwareManagementBindingStub.java:1158) at com.payoda.iControl.upgrade.VersionManagement.installHotFix(VersionManagement.java:247) at com.payoda.iControl.upgrade.VersionManagement.main(VersionManagement.java:100) {http://xml.apache.org/axis/}hostname:PTPLD105 Exception caught in System::urn:iControl:System/SoftwareManagement::install_hotfix() Exception: Common::OperationFailed primary_error_code : 16908289 (0x01020001) secondary_error_code : 0 error_string : Error installing hotfix "Hotfix-BIGIP-11.4.0-2419.0-HF3.iso" at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at iControl.SystemSoftwareManagementBindingStub.install_hotfix(SystemSoftwareManagementBindingStub.java:1158) at com.payoda.iControl.upgrade.VersionManagement.installHotFix(VersionManagement.java:247) at com.payoda.iControl.upgrade.VersionManagement.main(VersionManagement.java:100)"229Views0likes1CommentAPM Webtop Links - Getting PHP to run
Using the "Hosted Content" feature of the APM, I have uploaded some PHP files that allow me to generate Secure URLs pointing to our CDN hosted downloads. However, when I created a new Webtop Link (pointing to the PHP file) the PHP file shows up as text in the browser. When I click the webtop link, I want it to run the code and launch the secure URL. How do I get this PHP code to run? Code is posted below. (The hosted content includes another file cdn_secure.php that has the function called in the script.) I also tried a portal link, but it downloaded the PHP file instead of running it. This should be easy, right?443Views0likes4Comments