LMS 3.1 Baseline Template Fails
NEED HELP! :-)
I made a baseline template that basicaly says: If you encounter an interface with a vlan24, apply a port-security mac-address sticky command. TEMPLATE FOLLOWS:
In Conditional Block's SUBMODE:
interface [#.*Ethernet.*#]
CLI Command (of conditional block is):
+ switchport access vlan [#(24)#]
Use the SubMode of above condition (yes)
CLI Command:
+ switchport port-security mac-address sticky
UNFORTUNATELY, THE MESSAGE I GET AFTER THE DIRECT DEPLOY IS:
*** Device Details for cdp-aa-sw-c02-02 ***
Protocol ==> Unknown / Not Applicable
Selected Protocols with order ==> SSH
Execution Result:
CM0150 Deploy Baseline template to PRIMARY config on device failed Cause: CM0070 Copy Config to device failed on cdp-aa-sw-c02-02 Cause: Action: Check device credentials and reachability.
CM0100 Copy PRIMARY Running Config to PRIMARY Startup Config on device not attempted
CM0089 Config archival successful for cdp-aa-sw-c02-02
Do you have a clue what is wrong with this immediate job deployment??? Can you help me fix it so it applies correctly!?
Thanx in advance,
WANimal
Post the job directory for this job. The directory is found under NMSROOT/files/rme/jobs/ArchiveMgmt on Windows and /var/adm/CSCOpx/files/rme/jobs/ArchiveMgmt on Solaris.
Similar Messages
-
LMS 4.2.4 Baseline template deploy fails for 2960X
Hello,
we have Cisco Prime LMS 4.2.4 and I added a new switch type C2960X-24TS-L with IOS Version 15.0.2-EX1.
I'd like to deploy a baseline template, but it fails:
Protocol ==> Unknown / Not Applicable
Selected Protocols with order ==> SSH,Telnet,TFTP
Execution Result:
CM0150 Deploy Baseline template to PRIMARY config on device failed Cause: Operation not supported for generic support devices
CM0056 Config fetch failed for xxxxx Cause:
PRIMARY-RUNNING config Fetch Operation failed for TFTP.
SSH: Failed to establish SSH connection to 10.xxx.xxx.xxx - Cause: Authentication failed on device 3 times.
Action: Check if protocol is supported by device and required device package is installed.
The device is reachable via telnet.
I think that I installed the latest device packages for LMS 4.2.4.
What could be the problem here?
Thanks,
KerstinHi Afroz,
when I checked the ssh-credentials, I got a failure on ssh enable.
The failure message on ACS is "missing user password".
I reentered the credentials, but the error persists.
I tried to login with the credentials manually, and it works. So the credentials are correct.
Last I deleted and re-added the device, but nothing has changed.
Other devices (not 2960X) working correct.
So I think maybe I haven't the latest device packages for 2960X-Switches. But here is the next problem, I can't check for latest packages:
[ Tue Apr 07 12:19:10 CEST 2015 ] INFO [DownloadManager : queryAllPkgs] : Going to collect download packages...
[ Tue Apr 07 12:19:12 CEST 2015 ] ERROR [RemoteRepSync : downloadPsuHeadersAsXml] : VDSException thrown com.cisco.nm.xms.vds.VDSException: CcoDownloadAdapter::getXmlFileList():IOException:tools.cisco.com
Regards,
Kerstin -
LMS 4.0 Prequisites of baseline templates are ignored if used for direct deploy
Hi all,
I'm want to use baseline templates for conditionally configuring several hundert access-switches.
What I expect to work:
Write a baseline template with prerequisites and parameters and use
Configuration> Compliance> Compliance Templates> Direct Deploy
The baseline template works perfect for
Configuration> Compliance> Compliance Templates> Compliance Check
if I use regex instead of parameters
- compliant devices are detected
- commands are generated only for non compliant devices
But I don't want to enter several hundert parameters manually if
I want to deploy the job after compliance chek...
If I change the regex into a parameter then direct deploy will unconditionally
generate the commands, regardless whether the prerequisites are met or not.
Is this by design or a bug?
My task is simple:
If interface Vlan1 has an IP address matching a certain pattern I want to deploy the global command
ip default gateway [same-prefix-as-interface-vlan1].1
Like I mentioned above: the regexes are OK: compliance check works as expected
When the regexes are changed to a parameter the command ip default-gateway will
always be generated regardles wether the prequisite is met or not.
Any thoughts or insight?
Regards, MiKaSolution was simple:
In one of the old release notes (Cisco Ressource Manager Essentials, around 2009) I found a note that prerequisites in templates are not supported with direct deploy. There are no notes for newer releases but the behaviour is exactly like described.
Another documentation error...
Rgds, MiKa -
Baseline Template Query LMS 4.2 - IP address
Does anyone know how to create a baseline template that would validate a configuration to ensure that it only has 1 IP address terminating on it? The IP address may terminate on an SVI or an interface, but must only have the 1 IP address on the device
Any information or suggestion would be appreciated.Hi Afroz,
Thanks for the link however I was unable to find any information that would help me with my query.
Here's the issue. Multilayer switches can have multiple IP interfaces on them and on certain devices on our network, I want to ensure that there is only 1 IP interface. So, if the device only has 1 IP interface, the configuration is compliant. If the device has multiple IP interfaces, the configuration is non-compliant.
The other factor that would complicate things is that on some devices, the IP interface would be an SVI while on others the IP interface would be on an Ethernet port.
I hope this helps clarify my query.
Thanks,
H -
How to find routers with multiple bgp neighbors using baseline templates?
Running LMS 4.1 5k on Windows
We have around 400 routers on a MPLS network. Only few of these have more than one BGP neighbor. We need to enable some bgp traps so we know when a bgp neighbor is down. How would I write a baseline template to check if a router has more than one bgp neighbor?
basically I want to know if a router has more than one statement of the following kind:
router bgp xxxxx
neighbor x.x.x.x remote-as xxxxx <-- 1st neighbor
neighbor y.y.y.y remote-as yyyyy <-- 2nd neighborYes, it looks like the bug I mentioned previously. The bug has nothing to do with RME. You can use RME or not, and this bug will still be triggered. While an upgrade is recommended, the Release notes detail a workaround:
The 1711 router gives traceback when we process an snmpwalk at OID
"cInetIcmpMsgOutPkts" (1.3.6.1.4.1.9.10.86.1.3.2.1.6) from CISCO-IETF-IP-MIB or
when ciscoDslCpeMIB is queried (1.3.6.1.4.1.9.20.1.1).
12.2(15) works well
12.3(8)T4 and 12.0(3)T are giving this problem.
Didn4t find a similar problem reported to this one.
Workaround:
The problem lies in CISCO-DSL-CPE-MIB, so if you don't need this mib you can
exclude it from the default or created snmp view, thereby preventing the
traceback. Here is an example of 1) changing default view and 2) creating a new
view.
-- change the default snmp view to exclude CISCO-DSL-CPE-MIB
conf term
snmp-server view v1default ciscoDslCpeMIB excluded
end
show snmp view
-- create a new snmp view that excludes CISCO-DSL-CPE-MIB
conf term
no snmp-server view nodslmib
snmp-server view nodslmib iso included
snmp-server view nodslmib internet.6.3.15 excluded
snmp-server view nodslmib internet.6.3.16 excluded
snmp-server view nodslmib internet.6.3.18 excluded
snmp-server view nodslmib ciscoMgmt.252 excluded
snmp-server view nodslmib ciscoDslCpeMIB excluded
no snmp-server community public
snmp-server community public view nodslmib ro
end
show snmp view -
Hello,
I have a question about "baseline template"
I try know to find if some interfaces don't have OSPF key.
I create my basic template like this for find all the interface fastEthernet begins with 0/2/ who don't shut :
Conditional Block
sub mode
interface [#FastEthernet0/2/*#]
CLI commands
- shutdown
Compliance Block (Use the Submode of above condition is checked)
CLI commands
+ ip ospf message-digest-key [#*#]
and like this it doesn't works...
so I wonder how does works "stars *", "sharps #" ect ect ...
I try this because in the manual guide they use this, but I think I don't use them properly
thank you for answering meSo I've tried :
+ ip ospf message-digest-key [KEY]
and also
+ ip ospf message-digest-key 1 md5 [KEY]
apparently it doesn't works.
in response "RME say" to me 0 of 56 are compliant
it say, I should add in all interface the line "ip ospf message-digest-key ...". it's curious because the most of it have the line :/.
thank you for the link, I will study it. -
Baseline template - look for specific loopback interface when specifying "ip tftp source-interface"
Hello all
I'm new to regex and I'm trying to make a baseline template, that will check our network devices for our required basic configuration.
What I'm trying to do is to make a template that will look for either a loopback0 or loopback1 interface.
If eíther one is found (the loopback interfaces will not be there at the same time) it must apply the following command:
ip tftp source-interface loopback0 (or loopback1)
Is it even possible to make an if-then statement using regex?
Thank you in advance.
Best regards
Jesper Ross Petersen
Message was edited by: Jesper Ross PetersenYes, this can be done
#Go to the tcl shell of the device.
C1811#tclsh
C1811(tcl)#
#copy and paste this at the tcl prompt.
proc intf {} {
set runningcfg [exec show run | inc ^interface Loopback]
foreach line [split $runningcfg \n] {
if {[regexp {interface (Loopback[0-1])} $line -> interface] } {
ios_config "ip tftp source-interface $interface"
return "ip tftp source-interface $interface"
# now type the name of the proc (intf) at the tcl prompt.
C1811(tcl)#intf
# If loopback0 or 1 is present the tftp source interface is added to the running config.
ip tftp source-interface Loopback0
C1811(tcl)# -
The form template failed to load. IAssociation could not be found using criteria
Hello,
I'm using the project used in the "TechEd OSP309 Session" to integrate CRM 2011 with SharePoint 2010.
I successfully made the integration. I can create external lists in SharePoint, execute de CRUD operations and submit them to CRM. Also the entities relations are shown with the entity picker, this works 100%.
What i'm trying to do now is edit the form with InfoPath. The only thing I'm doing is opening the form in InfoPath, and publish it to SharePoint.
The problem occurs when trying to edit a item with the new form. I receive the folowing error:
"The form template failed to load. (User: XXXX, Form Name: Template, IP: , Request:XXX, Form ID: urn:schemas-microsoft-com:office:infopath:entity:-AutoGen-XXX, Type: DataAdapterException, Exception Message: IAssociation could not be found using criteria
'Name=XXX'.
IAssociation could not be found using criteria 'Name=XXX'.). "
Any suggestion? What is causing this problem? This only happens in entities with reference to other entities.When trying to view the InfoPath form for the a SharePoint list (on PWA), we are getting the error:
Correlation ID:e40f2d85-dbe3-4659-9786-a9f69a406ec6.
The event log shows:
The form template failed to load. (User: POET\dgreenwaldt, Form Name: Template, IP: , Request: http://stanzadev2/ResearchPWA/Lists/Project Economics/AllItems.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:list:-AutoGen-2012-10-22T19:08:52:974Z, Type:
ArgumentException, Exception Message: Value does not fall within the expected range.)
The form worked perfectly fine for several days and then started throwing this error.
Since this started happening, it can now be reproduced in other lists using a custom InfoPath form, but only seems to occur when editing the item, not adding a new one.
Steps:
1. Create a custom list on PWA.
2. Customize the form in InfoPath.
3. Add a new item via the form (on PWA, not in InfoPath filler).
4. Edit the item and the error occurs.
I have the same issue. do you have a resolution? -
How to see data of an AWR Baseline Template after it is expired
Hi,
I have a query on AWR baseline templates in 11GR2
I create a baseline template on a range which is a future date range(single).
It will show the baseline created in AWR Baseline Templates page.
Now after the range time gets over, I want to see the details which I am not able to see in EM(no charts nothing, just a page with discription of it, THe page says rage is expired).
I want to compare this baseline with other. How can I do that?Hi Akulala,
Click on your fields; go to the Source heading and make Source Used: Only when current value in session state is null
Go to your branches and make sure that the "reset pagination for this page" boxes are not ticked. and the branch points are: On submit: after computation, validation & processing.
Mike -
Form Template Failed to Load Error - InfoPath form for Sharepoint list
When trying to view the InfoPath form for the a SharePoint list (on PWA), we are getting the error:
Correlation ID:e40f2d85-dbe3-4659-9786-a9f69a406ec6.
The event log shows:
The form template failed to load. (User: POET\dgreenwaldt, Form Name: Template, IP: , Request: http://stanzadev2/ResearchPWA/Lists/Project Economics/AllItems.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:list:-AutoGen-2012-10-22T19:08:52:974Z, Type:
ArgumentException, Exception Message: Value does not fall within the expected range.)
The form worked perfectly fine for several days and then started throwing this error.
Since this started happening, it can now be reproduced in other lists using a custom InfoPath form, but only seems to occur when editing the item, not adding a new one.
Steps:
1. Create a custom list on PWA.
2. Customize the form in InfoPath.
3. Add a new item via the form (on PWA, not in InfoPath filler).
4. Edit the item and the error occurs.When trying to view the InfoPath form for the a SharePoint list (on PWA), we are getting the error:
Correlation ID:e40f2d85-dbe3-4659-9786-a9f69a406ec6.
The event log shows:
The form template failed to load. (User: POET\dgreenwaldt, Form Name: Template, IP: , Request: http://stanzadev2/ResearchPWA/Lists/Project Economics/AllItems.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:list:-AutoGen-2012-10-22T19:08:52:974Z, Type:
ArgumentException, Exception Message: Value does not fall within the expected range.)
The form worked perfectly fine for several days and then started throwing this error.
Since this started happening, it can now be reproduced in other lists using a custom InfoPath form, but only seems to occur when editing the item, not adding a new one.
Steps:
1. Create a custom list on PWA.
2. Customize the form in InfoPath.
3. Add a new item via the form (on PWA, not in InfoPath filler).
4. Edit the item and the error occurs.
I have the same issue. do you have a resolution? -
Using RME baseline templates to find non-compliant SNMP strings
Running LMS3.2.1
A. Can I run a compliance check using RME baseline template to find devices which have non standard SNMP strings IN ADDITION to the correct one?
How will the regular expression look like if we want to say
+ snmp-server community cisco123 ro
+ snmp-server community cisco456 rw 1
- snmp-server community [anything else] ro
- snmp-server community [anything else] rw [#.*#]
B. Is it possible to run a clean up job on the violating devices by using DEPLOY (or NetConfig, etc.)?- [#snmp-server community (?!cisco123|cisco456).*#]
+ snmp-server community cisco123 RO
+ snmp-server community cisco456 RW
From the compliance job result GUI, you can deploy the job directly after verifying the results. When you deploy this template, it will remove any community that does not match "cisco123" or "cisco456", and then add them if the device does not already have them. -
I am getting an error while uploading a template.
In the message console I am getting this error
Job Construction Phase
begin()
Appended operation 'Import Virtual Machine Template' to object 'cfgFile_0004fb00001400005c33cf92650cd43f'.
Appended operation 'Virtual Machine Cfg File Configure' to object 'cfgFile_0004fb00001400005c33cf92650cd43f'.
commit()
Completed Step: COMMIT
Objects and Operations
Object (CREATED): [VirtualMachineTemplate] 0004fb00001400005c33cf92650cd43f (E1_DB.tgz)
Object (CREATED): [VirtualMachineCfgFile] cfgFile_0004fb00001400005c33cf92650cd43f
Operation: Import Virtual Machine Template
Operation: Virtual Machine Cfg File Configure
Job Running Phase at 07:20 on Wed, Feb 8, 2012
Job Participants: [34:30:33:34:31:33:55:53:45:36:32:33:4e:36:4e:36 (dnptovm200)]
Actioner
Starting operation 'Import Virtual Machine Template' on object 'cfgFile_0004fb00001400005c33cf92650cd43f'
Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.JobFailureException: OVMAPI_5001E Job "1328710821448" Failed due to failure "(02/08/2012 08:01:45:873 AM)
Async operation failed on server: dnptovm200.
Object: cfgFile_0004fb00001400005c33cf92650cd43f,
PID: 25479,
Server error message: Template import error: No VM configure file found.
" on server "34:30:33:34:31:33:55:53:45:36:32:33:4e:36:4e:36" associated with object "cfgFile_0004fb00001400005c33cf92650cd43f"
Wed Feb 08 08:01:46 MST 2012
at com.oracle.ovm.mgr.api.job.JobEngine.checkJobStatus(JobEngine.java:602)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:580)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:564)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineTemplateImport.action(VirtualMachineTemplateImport.java:68)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:193)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:264)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1090)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:247)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:207)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
FailedOperationCleanup
Starting failed operation 'Import Virtual Machine Template' cleanup on object 'cfgFile_0004fb00001400005c33cf92650cd43f'
Complete rollback operation 'Import Virtual Machine Template' completed with direction=cfgFile_0004fb00001400005c33cf92650cd43f
Rollbacker
Objects To Be Rolled Back
Object (CREATED): [VirtualMachineTemplate] 0004fb00001400005c33cf92650cd43f (E1_DB.tgz)
Object (CREATED): [VirtualMachineCfgFile] cfgFile_0004fb00001400005c33cf92650cd43f
Write Methods Invoked
Class=InternalJobDbImpl vessel_id=5391 method=addTransactionIdentifier accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=5409 method=setName accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=5409 method=setFoundryContext accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=5409 method=onPersistableCreate accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=5409 method=setLifecycleState accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=5409 method=setRollbackLifecycleState accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=5414 method=setName accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=5414 method=setFoundryContext accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=5414 method=onPersistableCreate accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=5414 method=setLifecycleState accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=5414 method=setRollbackLifecycleState accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=5414 method=setJobAsset accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=5409 method=setVirtualMachineCfgFile accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=5414 method=setVirtualMachine accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=5414 method=importVirtualMachineTemplate accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=5409 method=setSimpleName accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=5414 method=setAsset accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=5414 method=configure accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=5409 method=setOrigin accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=5409 method=setDescription accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=5414 method=setAsset accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=5414 method=configure accessLevel=6
Class=InternalJobDbImpl vessel_id=5391 method=setCompletedStep accessLevel=6
Class=InternalJobDbImpl vessel_id=5391 method=setAssociatedHandles accessLevel=6
Class=InternalJobDbImpl vessel_id=5391 method=setFailedOperation accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=5409 method=nextJobOperation accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=5414 method=nextJobOperation accessLevel=6
Completed Step: ROLLBACK
I then went and check the ovs-agent.log and found this:
[2012-02-08 07:51:20 6926] DEBUG (OVSNotificationServer:138) Sending notification: {ASYNC_PROC} progress PID 25479
[2012-02-08 07:51:41 25479] DEBUG (OVSAsyncProc:192) async_proc_prog: notification {ASYNC_PROC} progress PID 25479 status {'OBJECT': 'template', 'TOTAL_OBJECT_COUNT': 1, 'CURRENT_OBJECT_COUNT': 1, 'TOTAL_BYTES': 11713453161L, 'CURRENT_BYTES': 11587552675L, 'OPERATION': 'download'}
[2012-02-08 07:51:41 25479] DEBUG (OVSNotificationProxy:45) Notification sent: {ASYNC_PROC} progress PID 25479
[2012-02-08 07:51:41 6926] DEBUG (OVSNotificationServer:138) Sending notification: {ASYNC_PROC} progress PID 25479
[2012-02-08 07:52:03 25479] DEBUG (OVSAsyncProc:192) async_proc_prog: notification {ASYNC_PROC} progress PID 25479 status {'OBJECT': 'template', 'TOTAL_OBJECT_COUNT': 1, 'CURRENT_OBJECT_COUNT': 1, 'TOTAL_BYTES': 11713453161L, 'CURRENT_BYTES': 11685037467L, 'OPERATION': 'download'}
[2012-02-08 07:52:03 25479] DEBUG (OVSNotificationProxy:45) Notification sent: {ASYNC_PROC} progress PID 25479
[2012-02-08 07:52:03 6926] DEBUG (OVSNotificationServer:138) Sending notification: {ASYNC_PROC} progress PID 25479
[2012-02-08 07:52:16 25479] DEBUG (OVSAsyncProc:192) async_proc_prog: notification {ASYNC_PROC} progress PID 25479 status {'OBJECT': 'template', 'TOTAL_OBJECT_COUNT': 1, 'CURRENT_OBJECT_COUNT': 1, 'TOTAL_BYTES': 11713453161L, 'CURRENT_BYTES': 11713453161L, 'OPERATION': 'download'}
[2012-02-08 07:52:16 25479] DEBUG (OVSNotificationProxy:45) Notification sent: {ASYNC_PROC} progress PID 25479
[2012-02-08 07:52:16 6926] DEBUG (OVSNotificationServer:138) Sending notification: {ASYNC_PROC} progress PID 25479
*[2012-02-08 07:52:20 25479] DEBUG (OVSAsyncProc:104) ovs_async_proc: pid 25479 status 1 output Template import error: No VM configure file found.
[2012-02-08 07:52:20 25479] DEBUG (OVSNotificationProxy:45) Notification sent: {ASYNC_PROC} exit PID 25479
[2012-02-08 07:52:20 6926] DEBUG (OVSNotificationServer:138) Sending notification: {ASYNC_PROC} exit PID 25479
The template comes from a OVM 2 version where it contains
[root@dendell08 E1_DB_898.4.1_11GR2_X86_64]# ls -lrt
total 79221520
-rwxrwxrwx 1 root root 13316728320 Nov 23 2010 system.img
-rwxrwxrwx 1 root root 350 Jan 11 2011 vm.cfg
-rwxrwxrwx 1 root root 78643200000 Jan 11 2011 E1_DB.img
[root@dendell08 E1_DB_898.4.1_11GR2_X86_64]#
The vm.cfg file contains the following:
# Automatically generated xen config file
name = "orclvmdb"
memory = "4096"
disk = [ 'file:/OVS/running_pool/orclvmdb/system.img,hda,w',
'file:/OVS/running_pool/orclvmdb/E1_DB.img,hdb,w', ]
vif = [ '', ]
bootloader="/usr/bin/pygrub"
vcpus=4
vfb = [ 'type=vnc,vncunused=1,vnclisten=0.0.0.0' ]
on_reboot = 'restart'
on_crash = 'restart'
Is there something wrong with the vm.cfg?The images I am trying to upload are the following size:
system.img 12.6 Gigabytes
DBase.img 73.2 Gigabytes
The repository has 98 Gigabytes of available space.
When I tried loading as one tgz file I got errors of
*[2012-02-08 07:52:20 25479] DEBUG (OVSAsyncProc:104) ovs_async_proc: pid 25479 status 1 output Template import error: No VM configure file found.
When I tried uploading as seperate files in the upload menu I am pretty sure I ran out of space and got the error:
[2012-02-09 07:43:53 20641] DEBUG (OVSAsyncProc:104) ovs_async_proc: pid 20641 status 1 output Template import error: [Errno 14] curl#23 - "Failed writing body"
Pretty sure this is due to running out of space.
Worked through the issues with deleting other images files to free up more space in the respository. Tried again and am nowing getting the following error:
(02/16/2012 03:00:21:237 PM) Async operation failed on server: dnptovm200. Object: cfgFile_0004fb0000140000dda73e3bb2a9dfec, PID: 21608, Server error message: Template import error: Cannot find disk file: system.img
If I change the order of the upload I get the same error.
Could this still be a space issue? Can't add anymore space to repository.
This isn't an issue when trying to clone the images it happens when uploading. However, I am concerned that when I do get thsi uploaded I won't have enought space to create a clone of this image to run.
Does anyone have any ideas or comments?
Edited by: JRL on Feb 17, 2012 9:41 AM -
LMS 3.2 device updates failing?
Have upgraded from LMS 3.1 to 3.2 then applied all the software updates ok.
Now applying device updates - they are failing but can't see a clear reason. The Activity Log > Event Log doesn't really provide any clues. I'm guessing the relevant log file would be the psu.log ? [see attached]
Not sure if messages like
oid : 1.3.6.1.4.1.11.2.3.7.5.19 not found in E:\CISCOW~1\lib\classpath\com\cisco\nm\cwcs\mdf\mdfdata.xml
are part of the problem?
Thanks for any troubleshooting pointersThe SYSobjectID you mention is of an HP device so that is not likely to be your problem.
Got any problems with devices not being recognized?
Tail of psu.log looks normal to me.
Cheers,
Michel -
Solaris 10 Zone for Solaris 11.1 creation with template fails.
Hi,
We are trying to use the Oracle VM Template for Oracle Solaris 10 Zone to create a solaris 10 zone on a solaris 11.1 GZ
root@exsolh0005:/opt/scripts# ./solaris-10u11-sparc -v
This is an Oracle VM Template for Oracle Solaris Zones.
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license
agreement containing restrictions on use and disclosure and are
protected by intellectual property laws. Except as expressly
permitted in your license agreement or allowed by law, you may not
use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any
part, in any form, or by any means. Reverse engineering,
disassembly, or decompilation of this software, unless required by
law for interoperability, is prohibited.
Version: 1.0.9.12
root@exsolh0005:/opt/scripts# ./solaris-10u11-sparc -p /rpool -a 10.83.128.35/24 -i net6 -z testzone
This is an Oracle VM Template for Oracle Solaris Zones.
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license
agreement containing restrictions on use and disclosure and are
protected by intellectual property laws. Except as expressly
permitted in your license agreement or allowed by law, you may not
use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any
part, in any form, or by any means. Reverse engineering,
disassembly, or decompilation of this software, unless required by
law for interoperability, is prohibited.
IMAGE: ./solaris-10u11-sparc
ZONE: testzone
ZONEPATH: /rpool/testzone
VNIC: vnicZBI83273795
IP ADDR: 10.83.128.35
NETMASK: 255.255.255.0
DEFROUTER: 10.83.128.1
TIMEZONE: Europe/Copenhagen
Checking disk-space for extraction
Ok
Extracting in /opt/scripts/bootimage.8Ham6r ...
100% [===============================>]
Checking data integrity
Ok
Checking platform compatibility
The host and the image do not have the same Solaris release:
host Solaris release: 5.11
image Solaris release: 5.10
Will create a Solaris 10 branded zone.
Checking disk-space for installation
Ok
Installing in /rpool/testzone ...
100% [===============================>]
Attaching testzone
Problem attaching testzone.
More details in /var/sadm/install/logs/solaris-10u11-sparc.log
Cleaning up and exiting.
Friday, May 10, 2013 03:18:01 PM CEST: cleaning up
root@exsolh0005:/opt/scripts#
root@exsolh0005:/opt/scripts# cat /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
[Friday, May 10, 2013 03:17:56 PM CEST] ==== Starting: /usr/lib/brand/solaris10/attach testzone /rpool/testzone -c /opt/scripts/bootimage.8Ham6r/sysidcfg.testzone ====
[Friday, May 10, 2013 03:17:56 PM CEST] Progress being logged to /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
[Friday, May 10, 2013 03:17:56 PM CEST] Pinning datasets under rpool/testzone
[Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone
[Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool
[Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool/ROOT
[Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool/ROOT/zbe
[Friday, May 10, 2013 03:17:56 PM CEST] Log File: /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
[Friday, May 10, 2013 03:17:57 PM CEST] Converting detached zone boot environment 'zbe'.
[Friday, May 10, 2013 03:17:57 PM CEST] Unmounting /rpool/testzone/root
[Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property zoned=on on rpool/testzone/rpool
[Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property canmount=noauto on rpool/testzone/rpool/ROOT
[Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property mountpoint=legacy on rpool/testzone/rpool/ROOT
[Friday, May 10, 2013 03:18:01 PM CEST] Mounting boot environment in rpool/testzone/rpool/ROOT/zbe-0 at /rpool/testzone/root (including child datasets)
cannot open 'ERROR: Error: Command <zfs list -H -o name -t filesystem -r rpool/testzone/rpool/ROOT/zbe-0> exited with status 1': invalid dataset name
[Friday, May 10, 2013 03:18:01 PM CEST] ERROR: refresh of ERROR: Error: Command <zfs list -H -o name -t filesystem -r rpool/testzone/rpool/ROOT/zbe-0> exited with status 1 failed
[Friday, May 10, 2013 03:18:01 PM CEST] ERROR: Error: rpool/testzone/rpool/ROOT/zbe-0: No such dataset.
[Friday, May 10, 2013 03:18:01 PM CEST] Unpinning datasets under rpool/testzone
[Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone
[Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool
[Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool/ROOT
[Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool/ROOT/zbe
[Friday, May 10, 2013 03:18:01 PM CEST] Result: Attach Failed.
[Friday, May 10, 2013 03:18:01 PM CEST] Exiting with exit code 254
[Friday, May 10, 2013 03:18:01 PM CEST] ==== Completed: /usr/lib/brand/solaris10/attach testzone /rpool/testzone -c /opt/scripts/bootimage.8Ham6r/sysidcfg.testzone ====
Looks like a script bug..
Regards
ClausHello All,
I would love to know if someone has a solution to this as I am seeing a similar issue with a slightly different setup.
Solaris 8 and Netra 240. I get the same result with and without patches and finish scripts. After the jumpstart and the failed boot attempt from disk. I can boot from cd, copy the glm driver from the cd to disk, and then everything works as it should. Obviously this is not a solution but only a work around.
Is it something to do with the SCSI hardware architecture used in the *240s?
Edited by: Gareth_Mann on Oct 2, 2007 7:41 PM -
Problems upgrading from LMS 3.0 to LMS 3.2 - the backup fails.
I'm upgrading from LMS 3.0 to LMS 3.2 on Solaris. I've met all of the prereq's, patches, etc. It keeps failing on the Backup...It claims I need 15 Gig for the backup. The backup directory I'm using (/opt/backup) has 35 Gig free, so that shouldn't be the issue.
Here is the error I'm seeing in the backup.log;
okcwsi:tail backup.log
tar: /var/adm/CSCOpx/files/rme/dcma/shadow/sw_images/cisco_configs/sw_images/cis
co_configs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/cisco_confi
gs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/c2950-i6q4l2-mz.121
-13.EA1c.bin: prefix is greater than 155
tar: /var/adm/CSCOpx/files/rme/dcma/shadow/sw_images/cisco_configs/sw_images/cis
co_configs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/cisco_confi
gs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/c1310-k9w7-tar.124-
10b.JDA2.tar: prefix is greater than 155
tar: /var/adm/CSCOpx/files/rme/dcma/shadow/sw_images/cisco_configs/sw_images/cis
co_configs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/cisco_confi
gs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/c2800nm-advsecurity
k9-mz.124-22.T1.bin: prefix is greater than 155
tar: /var/adm/CSCOpx/files/rme/dcma/shadow/sw_images/cisco_configs/sw_images/cis
co_configs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/cisco_confi
gs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/c3560-ipbase-mz.122
-53.SE2.bin: prefix is greater than 155
tar: /var/adm/CSCOpx/files/rme/dcma/shadow/sw_images/cisco_configs/sw_images/cis
co_configs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/cisco_confi
gs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/c7600-fpd-pkg.122-3
3.SRE1.pkg: prefix is greater than 155
tar: /var/adm/CSCOpx/files/rme/dcma/shadow/sw_images/cisco_configs/sw_images/cis
co_configs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/cisco_confi
gs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/c7600s72033-advente
rprisek9-mz.122-33.SRE1.bin: file name too long
tar: /var/adm/CSCOpx/files/rme/dcma/shadow/sw_images/cisco_configs/sw_images/cis
co_configs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/20100922075
156561-10.181.252.1.cfg: No such file or directory
ERROR(704): Cannot create or back up tar file. Backup cancelled. Verify that you
have write-access to this directory.
Backup failed: 2010/09/22 07:54:20
okcwsi:
I've tried this multiple times and each time it appears to fail on a different file/folder in the sw_images directory. This is our FTP directory where we store lots of IOS images for download. I've removed each of these files it errors out on and it keeps failing. I just removed all files from the sw_images folder and am trying the backup again now.
I'm attaching the backup.log which contains the failure information for each backup I've tried in the past two days.
My main question is...can I skip this backup somehow? I've got another LMS 3.0 system that I can export everything I need from. Skipping the backup isn't an option on the install/upgrade? It gives me the option to quit the install or try the backup again.
Thanks,You can skip the backup with a hidden option:
./setup.sh -b nobackup
However, I wouldn't feel comfortable until figuring out why the backup has been failing, ostensibly because tar is running into the 255-char limit (100 for the filename and 155 for the path), a result of the many iterations of the following:
sw_images/cisco_configs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/cisco_configs/sw_images/
Maybe you are looking for
-
What is the easiest way to create different edges for ellipses (tire edges)
Hi everyone, I thought this was going to be a piece of cake in the new Illustrator CC but I am having a few unanticipated issues:) If you can think of a better way to do this (which I am SURE you can!) please let me know:) I need to create some vecto
-
Hey, I am creating several reports using a table called Employee_School which as approx 2000000 rows and I am wondering what indexes the table should have in order to speed up my selects. My 'where' clause is using the following columns in my select
-
User clicks approve button table data deleted
Hi Experts, I have an work flow where user fills a form that goes to approver , when the approver clicks on approve button the data from usr02 get deleted. But there is no logic in PAI to do so. Please help. Thanks, Sourya Prakash.
-
Inserting regions , zip codes for a country
Hi, I am looking for a solution to insert regions for a country. Say from spro->general settings -> set countries -> insert regions , the new entries for a region of a country is possible , but we have to enter one by one. Is there any other way to i
-
Getting images from Adobe Photoshop Touch just got much easier. You can now transfer images from Adobe Photoshop Touch into Adobe Photoshop on your desktop with help from the new Adobe Cloud storage servers. You can also automatically sycronize into