Assigning the profile to a blade server using script

I had a UCS workshop this morning with one of my clients, and he asked me if there is any way to develop a script to remove the profle from one of the blades and re-assign another profile to the same blade.
Thanks for your input in advance!

Should be possible.
Have a look into some of the scripts available on the Cisco Developer Network, which utilize the APIs of UCS:
Examples (login may be required to download):
UCS Automation Tool (goUCS)
Cisco UCS PowerTool for UCSM
Thanks,
Michael

Similar Messages

  • How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_0

    How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_001 using Functional Module NUMBER_GET_NEXT explain me ?

    Hi,
    First go thourh the FM import export parameters list.
    Try to create an internal table of type INRI-NRRANGENR for number ranges.
    We can provide the lower and higher values for this table so that what ever PO is created will be with that range.
    Try to create the ncessary ones using this FM.
    In the Exit, EXIT_SAPMM06E_001,
    the Export parameters are-
    EKKO-EBELN- the PO ios created with in that specified range
    Range as INRI-NRRANGENR - Here try to assign the Internal table that was populated in the FM.
    Try to code this in the Include provded and keep Breakpint and check the PO number generated.
    Reply if u need more help on this.
    Reward if helpful.
    Best Wishes,
    Chandralekha

  • How to transfer database table contain null values, primary key, and foreign key to the another database in same server. using INSERT method.

    how to transfer database table contain null values, primary key, and foreign key to the another database in same server. using INSERT method.  thanks

    INSERT targetdb.dbo.tbl (col1, col2, col3, ...)
       SELECT col1, col2, col3, ...
       FROM   sourcedb.dbo.tbl
    Or what is your question really about? Since you talke about foreign keys etc, I suspect that you want to transfer the entire table definition, but you cannot do that with an INSERT statement.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Assigning the profile options of Oracle Diagnostic tool of R12

    Hi
    Could anyone please ellaborate the profile options for RDA (Oracle Diagnostics) like Default timeout used by OSUtility,Sleep time used in OSUtility,Time out used by OSUtility and Time out used by OSUtility to get environment details.
    If possible please sugest the way to assign the values for these profiles.
    Akshaya

    Hi,
    Create a profile under Application Developer Responsibility as follow:
    Name OAE_LAUNCHER
    Application <whatever>
    User Profile Name Oracle Application Express Launcher
    Description Oracle Application Express Launcher
    2. Set above profile value under System Administrator Responsibility -> Profile -> System, and search for the ‘OAE_LAUNCHER’.
    Set the value at Site Level as:
    http://<hostname>:<Apex port>/pls/apex
    Then instead of hardcoding the URL in the jsp, just give the profile name OAE_LAUNCHER that you have just created in the jsp.
    Hope this helps you
    Brgds,
    Mini
    If this is helpful or correct, assign points promptly.

  • How to save the selection of quick select tool using scripts?

    I am writing a script to record the edit history and I want to save the select area of quick select tool using scripts. 

    Yeah, that's true. If we active the HistoryState, we can see the selection area in  photoshop, however when we save the HistoryState in  jpg, the dotted line disappears. 

  • Getting the file from IIS FTP Server using ALSB

    Hi,
    I want to extract a file from FTP server in ALSB.I am using ALSB2.5 and Microsoft IIS FTP Server.
    Now i want to know that
    1.Do i need to configure a Proxy service or Business Service to poll a file from FTP server?
    2.How to read the contents of the file once the File comes in?
    Regards,
    Indu Garg

    You need to configure a Proxy service for the polling.
    The contents of the file will be inside the context variable $body.

  • Installing Printers from Windows 2008 R2 printer server using the Cname

    Am having issues installing printers on workstations from the windows 2008 R2 print server using the DNS names. the servername and Full qualified Name works fine.
    l have tweaked the Registry and Disabled the StrictNameChecking but still getting an error.  this is the message am getting...
    Printer Installation Failed
    You do not have enough privilege to complete the printer installation on the local machine.
    I found this KB and did exactly what is in the KB but stilll....
    lhttp://support.microsoft.com/kb/870911/en-us
     need help

    Hi.
    I think I solved this yesterday. We got 1 printserver, with an alias, which we had this problem to connect to. I noticed that there is a difference between x86 and 64bits system entries in the registry...
    When you are having a 64bit system, you must use REG_QWORD instead of REG_DWORD, REG_DWORD is only to be used in x86 system! See below.
    Windows 2008 server R2 64-bit 
    HKLM\SYSTEM\CurrentControlSet\Control\Print
    = ”DnsOnWire” = REG_QWORD Decimal = 1
    (reg add hklm\system\currentcontrolset\control\print /v DnsOnWire /t REG_QWORD /d 1)
    HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters
    = DisableStrictNameChecking = REG_QWORD Decimal = 1
    (reg add hklm\system\currentcontrolset\services\lanmanserver\parameters /v DisableStrictNameChecking /t REG_QWORD /d 1)
    HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters\ 
    REG_SZ = OptionalNames = “aliasname” (C-name record in DNS)
    (reg add hklm\system\currentcontrolset\services\lanmanserver\parameters /v OptionalNames /t REG_SZ)
    Windows 2008 server x86 
    HKLM\SYSTEM\CurrentControlSet\Control\Print = "DnsOnWire" = REG_DWORD Decimal = 1
    (reg add hklm\system\currentcontrolset\control\print /v DnsOnWire /t REG_DWORD /d 1)
    HKLM\SYSTEM\CurrentControlSet\services\Lanmanserver\Parameters = DisableStrictNameChecking = REG_DWORD Decimal = 1
    (reg add hklm\system\currentcontrolset\services\lanmanserver\parameters /v DisableStrictNameChecking /t REG_DWORD /d 1)
    HKLM\SYSTEM\CurrentControlSet\services\LanManServer\Parameters\  REG_SZ = OptionalNames = “aliasname”
    (C-name record in DNS)
    (reg add hklm\system\currentcontrolset\services\lanmanserver\parameters /v OptionalNames /t REG_SZ)
    Don't forget to reboot your system after these changes!
    Best Regards, Mats

  • Assigning the role to the group using MAXL

    Hi,
    We are using Essbase 11.1.1.3 and Hyperion Financial Reports 11.1.13.
    I have created a role called "Standard_user_HFR" in shared Services and assgined Explorer and viewer to the role and i need to assign the role to the groups and i have around 1600 groups to which i have assign the role. Is there any Maxl Script to assign the role to the groups. As of now i am manually adding the role to the group.
    Regards,
    VJ

    Also look into Aggregated Roles to possibly reduce the number of Groups.
    Oracle states:
    Aggregated roles, also known as custom roles, aggregate multiple predefined application roles. An aggregated role can contain other aggregated roles. For example, a Shared Services Administrator or Provisioning Manager can create an aggregated role that combines the Planner and View User roles of a Oracle Hyperion Planning, Fusion Edition, application. Aggregating roles can simplify the administration of applications that have several granular roles. Global Shared Services roles can be included in aggregated roles. You cannot create an aggregated role that spans applications or products.
    Thank you,
    Todd Rebner

  • How to read XML file kept on NON-SAP server using the Http URL ?

    Dear Experts,
    I am working on CRM2007 web UI. I need to read a XML file placed on a shared server location by a third party program. Then process that XML file into CRM and create a quotation using the data extracted from the file.
    All i have with me is the http URL that points to the location of the file.
    I am supposed to read the file , create quotation and at later point of time i would be asked to update the quotation and then generated new XML representing updated quotation and replace the XML file on shared server location with this new updated XML file.
    I know how to extract data from XML file into ABAP but i have no clue as to how to access the file on some other server using the http url i have and how to read it ?
    I searched on the forum and i found the codes for reading XML file that is located either on client machine OR on the Application server wheareas my file is on some other than sap application server.
    Please help me as its an urgent issue .
    Points will be rewarded for sure.
    Please help.
    Thanks in advance,
    Suchita.
    p.s. : the http url to the file location is like -->
    http://SomeServerDomain/SomeDirectory/file.xml

    hi,
    interesting task.
    to request the file by a http call you need to create an if_http_client object.
    More info is [here|http://help.sap.com/saphelp_nwmobile71/helpdata/en/e5/4d350bc11411d4ad310000e83539c3/frameset.htm]
    to parse the file you either have to work with the ixml packages ([info|http://help.sap.com/saphelp_nwmobile71/helpdata/en/47/b5413acdb62f70e10000000a114084/content.htm]) or you use an XSLT transformation ([info|http://help.sap.com/saphelp_nwmobile71/helpdata/en/a8/824c3c66177414e10000000a114084/content.htm]).
    uploading the final file isn't so easy. if you only have http, you should write a server script to allow uploading of the new file and copying it into the place of the old file. but you definitely need the script.
    now it's your take. depending on how experienced you are in ABAP and networking this might turn out to be easy or pretty complicated.
    have fun,
    anton

  • Assigning Authorisation profile to roles

    Hi All,
    I have created a new authorisation profile by copying from the standard profile and activated the same, I have created a role using  PFCG and assigned it to the user via SU01, but still the user has not  got the required authorisations.
    When i try to assign this  profile to the role via PFCG, i am not able to assign
    Either i have to select  the  transactions from the menu tab and the  system is creating  new authorisation profile and  assigning it to the user,
    can anybody  help me out in assigning the  authorisation profile to the  roles
    Regards
    Venkat

    Hi Venkatesh,
    Short of performing an upgrade step via SU25 to convert the profile to a role (which you really don't want to do!), you can't do this to the best of my knowledge.
    PFCG is called profile generator because it creates the profiles for you based on what you enter into the menu tab and the corresponding auth values that you maintain within the role via PFCG.
    I strongly recommend that you build a role via PFCG and create it with the right combination of menu transactions and auth values.  You can then assign this to the user.  This is the standard way of maintaining authorisations now.
    Alternatively you can assign the profile you have created to the user, however if the role build is role based, I would not recommend this approach at all.

  • SQL Verification Problem / Muse Form Issue (Server uses MySQL muse uses SQLite) I'm in desperate need of help

           Alright well here is my issue... I have been trying to fix it on my own for the past week non stop and I have finally came to a solid conclusion as to the cause of the issue.
       I always get the error "The server has encountered an error..." in red text when anyone tries to submit a form and also when I try and test it myself. This led me to test the server / site for compatibility or issues by using the test:
    mydomain.com /scripts/form_check.php
    I got the first two checks green (pass) and the third test threw a red check meaning I was having an issue with SQL verification. This then led me to days of trying to work with my hosting provider (one.com) trying to solve the problem and I was told that they use mySQL on their servers and that they couldn't do anything on their end to solve the issue. I read alot that we are recommended in this case to try and get our host to add the SQLite database to their server or whatever it is they would do, long story short I guess many people are able to ask their host to make SQLite work and most accept and add SQLite functionality to their servers but unfortunately my hosting provider doesn't want to do this and they said they were sorry and that I would need to either switch the script to work with mySQL or figure something else out...
       I took a lot of time building my site and I dont want to take the form out. I absolutely need it... I know many post on here saying "forms dont work, oh poop " or "adobe sucks I dont want to use business catalyst grrr" but I tried to find the source of the problem and I've successfully came to the conclusion that my issue is that my script wants to use SQLite but in order for my sites forms to work the server needs to have SQLite as well... My idea is that if I can configure the script and the site itself to use mySQL instead of SQLite the SQL verification will then not be an issue and my websites forms will function with no issues. I am curious if a member of the staff with adobe has experience with this particular issue and can help me out? or if a member of the adobe community has solved this problem? If not I am hoping that with the description I provided that someone with knowledge of mysql, sqlite or code in general could help me modify the script or write a new script that will allow the forms to work properly. I know its a long shot, I say that because this discussion is full of people who used muse in favor of dreamweaver because just like a large number of people in the muse discussion area, I'm a graphic designer, with plenty of computer experience, art and design skill and I am extremely familiar with photoshop. Muse is perfect in so many ways. In fact, like I mentioned above, I don't even have a complaint at this time about muse. I understand the form issue in this case, and I imagine in thousands of other users situations, is all just a matter of scripts and compatibility.. Its just a little issue between the SQLite scripts we are all given when we export our muse website and the SQL version our various hosting service may be using on their servers.
       Just incase I missed anything, to provide just a bit more info on the topic and myself for anyone who may be able to help:
    I can alter the text inside of the scripts easily if anyone happens to know any lines of code that easily solve this issue (making the muse contact forms, which are native to SQLite, functional on a server using mySQL)
    I was told one way I could make the forms work on a server using mySQL (or any version other than SQLite) If I were to make changes to adobe muses SQL version by converting the SQLite db to mySQL db (db = database)
    I am computer literate and I can take any directions necessary, I really just need to get this done, I really appreciate any help I can get!!
    Thank you in advance,
    Roy

    <?php
    If you see this text in your browser, PHP is not configured correctly on this hosting provider.
    Contact your hosting provider regarding PHP configuration for your site.
    PHP file generated by Adobe Muse CC 2014.1.6
    function formthrottle_check()
        if (!function_exists("sqlite_open"))
            return '1';
        $retCode ='5';
        if ($db = @sqlite_open('muse-throttle-db', 0666, $sqliteerror))
            $res = @sqlite_query($db, "SELECT 1 FROM sqlite_master WHERE type='table' AND name='Submission_History';",  $sqliteerror);
            if ($res == null or @sqlite_num_rows($res) == 0 or @sqlite_fetch_single($res) != 1)
                $created = @sqlite_exec($db, "CREATE TABLE Submission_History (IP VARCHAR(39), Submission_Date TIMESTAMP)",  $sqliteerror);
                if($created)
                    @sqlite_exec($db, "INSERT INTO Submission_History (IP,Submission_Date) VALUES ('256.256.256.256', DATETIME('now'))",  $sqliteerror);
                else
                    $retCode = '2';
            if($retCode == '5')
                $res = @sqlite_query($db, "SELECT COUNT(1) FROM Submission_History;",  $sqliteerror);
                if ($res != null and @sqlite_num_rows($res) > 0 and @sqlite_fetch_single($res) > 0)
                    $retCode = '0';
                else
                    $retCode = '3';
            @sqlite_close($db);
        else
            $retCode = '4';
        return $retCode;
    function formthrottle_too_many_submissions($ip)
        $tooManySubmissions = false;
        if (function_exists("sqlite_open") and $db = @sqlite_open('muse-throttle-db', 0666, $sqliteerror))
            $ip = @sqlite_escape_string($ip);
            @sqlite_exec($db, "DELETE FROM Submission_History WHERE Submission_Date < DATETIME('now','-2 hours')",  $sqliteerror);
            @sqlite_exec($db, "INSERT INTO Submission_History (IP,Submission_Date) VALUES ('$ip', DATETIME('now'))",  $sqliteerror);
            $res = @sqlite_query($db, "SELECT COUNT(1) FROM Submission_History WHERE IP = '$ip';",  $sqliteerror);
            if (@sqlite_num_rows($res) > 0 and @sqlite_fetch_single($res) > 25)
                $tooManySubmissions = true;
            @sqlite_close($db);
        return $tooManySubmissions;
    ?>

  • How to get the profile name

    I did not know how to get the profile name in photoshop file using javascript? Kindly help me.

    var myDocProfile = app.activeDocument.colorProfileName;

  • The profile manager only shows my new profile. How do I switch back to my default profile?

    I just made a new profile to use exclusively with an alternate version of Firefox. My regular version accidentally opened this new profile, so I tried using profile manager to set it back to the default. However, the profile manager is only showing my new profile. /appdata/roaming/mozilla/firefox/profiles shows that I still have my default and my new profile. Putting -P "default" in the target line just opens up profile manager. How do I switch back to my default profile or get it to show up in profile manager?

    When a profile doesn't show in the Profile Manager then you can register this profile by using the Profile Manager to create a new profile.
    You can click the "Choose Folder" button to make Firefox recognize and use an already existing profile.
    It is best to create a desktop shortcut that selects a specific profile (-P "profile_name") to avoid opening a profile with the wrong Firefox version.<br />
    Make sure to select the profile for the default browser in the Profile Manager, so that is used when you click a link in an external program.
    *http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    *http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox
    You can use the -no-remote command line switch to open another Firefox instance with its own profile and run multiple Firefox instances simultaneously.
    *http://kb.mozillazine.org/Opening_a_new_instance_of_Firefox_with_another_profile

  • [SOLVED] Shared Firefox Profile on ntfs partition "in use"

    After failing to install arch on an ancient computer a year ago, I've successfully installed arch with lightdm and openbox on my current desktop.
    Everything works fine except for the firefox profile I share across my partitions.  When I run firefox -p and try to use the profile, I get a message that Firefox cannot use the profile because it is in use, even though I've checked that firefox is not running.
    I am aware that using openbox without a DE means other partitions aren't auto mounted in filemanagers (I'm using xfe), and I edited the /etc/fstab to mount the ntfs partition:
    # /dev/sdb2 LABEL=Data
    UUID=(the UUID is correct, I checked) /media/user/Data  ntfs  rw,auto,user,exec,suid,async,dev,umask=000   0 0
    The drive now auto mounts without needing root, but I cannot create new folders even as root (Operation not permitted). Perhaps I've forgotten an option in the fstab?
    Last edited by :hovercraft (2014-02-08 00:26:44)

    Thanks! That worked perfectly!
    I installed ntfs-3g and changed the fstab to the default on that page, and now firefox loads exactly like in my other partitions.

  • Automatic Login using Script

    How do i automate logging into a server using script.
    i want to retrieve a specific data from a number of servers. the number of servers is too large for that to be done manually. Please find a solution for this

    Trusted RSH (using .rhosts file), trusted SSH (using .shosts and known_hosts files), or SSH with the expect utility to provide passwords. Each have their benefits and drawbacks.
    Information regarding each of these solutions is available en masse on the Internet. Google is a friend to all system administrators.

Maybe you are looking for