<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vignesh Ravindran on Medium]]></title>
        <description><![CDATA[Stories by Vignesh Ravindran on Medium]]></description>
        <link>https://medium.com/@vrvignesh?source=rss-87442db7fd4f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*dpz9PKfBGI7iSoJt.</url>
            <title>Stories by Vignesh Ravindran on Medium</title>
            <link>https://medium.com/@vrvignesh?source=rss-87442db7fd4f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 23:59:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vrvignesh/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[First Impressions: Claude’s Computer Use Agent Capability]]></title>
            <link>https://medium.com/@vrvignesh/first-impressions-claudes-computer-use-agent-capability-2da7ed33b1af?source=rss-87442db7fd4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/2da7ed33b1af</guid>
            <category><![CDATA[computer-use]]></category>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[rap]]></category>
            <category><![CDATA[anthropics]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Vignesh Ravindran]]></dc:creator>
            <pubDate>Tue, 29 Oct 2024 09:36:22 GMT</pubDate>
            <atom:updated>2024-10-31T12:32:44.674Z</atom:updated>
            <content:encoded><![CDATA[<p>Anthropic has recently released a promising agent capability called Computer Use, which enables its AI model, Claude, to perform tasks on user’s computers in a manner similar to human interaction. The model has multimodal capabilities and is designed to interpret screenshots and text about the current state of the computer through the API. It then sends back responses about the next steps to be taken on the computer.</p><h3>Computer Use Workflow</h3><p>1. Provide Claude with computer use tools and a user prompt</p><p>2. Claude decides to use a tool</p><p>3. Extract tool input, evaluate the tool on a computer, and return results</p><p>4. Claude continues calling computer use tools until it’s completed the task</p><p>For more detailed information about how Computer Use works, please refer to the <a href="https://docs.anthropic.com/en/docs/build-with-claude/computer-use#how-computer-use-works">documentation</a>.</p><h3>Applications and Potential</h3><p>The versatility of the Computer Use AI extends across various domains, some possible use cases include:</p><ul><li>Web Search Automation: Streamlining information retrieval processes.</li><li>Data Entry: Reducing errors and speeding up data management tasks.</li><li>Software Testing: Automating repetitive testing procedures for improved quality assurance</li></ul><h3>Reference Implementation</h3><p>Anthropic has provided a reference implementation with required software, tools, and a VNC server as an <a href="https://github.com/anthropics/anthropic-quickstarts/tree/main/computer-use-demo">Ubuntu container</a>. The reference implementation includes three tools:</p><ul><li>Computer Tool: Enables Claude to autonomously perform tasks on a computer, mimicking human actions like mouse movements and keyboard input.</li><li>Text Editor Tool: Allows Claude to interact with text editors for efficient document creation and manipulation.</li><li>Bash Tool: Facilitates command execution in a bash shell</li></ul><p>For more details about the tools refer the <a href="https://docs.anthropic.com/en/docs/build-with-claude/computer-use#understand-anthropic-defined-tools">documentation</a></p><h3>Prerequisites to run the container:</h3><ul><li>Docker: Required for creating a secure environment.</li><li>API Key: Add credit balance to utilize the APIs and generate a API key for authentication.</li><li>Docker Desktop : <a href="https://docs.docker.com/desktop/install/windows-install/">Install docker desktop</a>, to run docker containers on windows.</li></ul><h3>Run the container:</h3><pre># Set the API key<br>set ANTHROPIC_API_KEY=your_api_key<br><br># Run the container<br>docker run ^<br>-e ANTHROPIC_API_KEY=%ANTHROPIC_API_KEY% ^<br>-v &quot;%USERPROFILE%\.anthropic:/home/computeruse/.anthropic&quot; ^<br>-p 5900:5900 ^<br>-p 8501:8501 ^<br>-p 6080:6080 ^<br>-p 8080:8080 ^<br>-it ghcr.io/anthropics/anthropic-quickstarts:computer-use-demo-latest</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7fVTRpmEi6u9DJcdEnnTfw.png" /><figcaption>Container Status</figcaption></figure><h3>Using the demo environment:</h3><p>Once the container successfully starts, go to <a href="http://localhost:8080/">http://localhost:8080</a>, which provides an interface to send prompts to the agent and show the screenshots of what&#39;s happening inside the container desktop</p><h3>Demos</h3><h3>Demo 1 : Finding the weather information</h3><p><strong>Here’s a step-by-step breakdown of how this demo works:</strong></p><p>Step 1: Initialization with User Prompt and Tools</p><ul><li>The user provides a prompt that specifies the desired action (e.g., “Find the Chennai Weather”)</li><li>The tools used in the reference implementation are Computer, Text editor and bash tool</li></ul><p>Step 2: Tool Selection by Claude</p><ul><li>Claude evaluates the user prompt against the available tools to determine which one(s) can assist in completing the task.</li><li>If a suitable tool is identified, Claude formulates a request to use that tool, indicating its intent through an API response.</li><li>In this case it first decides to use Computer tool to take screenshot</li></ul><p>Step 3: Execution of Tool Commands</p><ul><li>The application extracts the tool name and input from Claude’s request.</li><li>The specified tool is executed within a controlled environment (like a virtual machine or a container), where it performs actions such as taking screenshots or moving the cursor.</li></ul><p>Step 4: Feedback Loop for Task Completion</p><ul><li>After executing the tool, Claude analyzes the results to determine if further actions are necessary to complete the task. In this case “it opens FireFox”</li><li>If additional steps are required, Claude will issue another request to use a tool, continuing this process until the task is finished.</li></ul><p>Step 5: Response Generation</p><ul><li>Once Claude determines that the task is complete or no further tool use is needed, it generates a text response for the user summarizing what was accomplished.</li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FmKJ3aFOrK3I%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DmKJ3aFOrK3I&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FmKJ3aFOrK3I%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9a1dda1d291c198c7d016393296e52db/href">https://medium.com/media/9a1dda1d291c198c7d016393296e52db/href</a></iframe><h3>Demo 2 : Python Program running in the Background</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FiMim7R-Hh84%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DiMim7R-Hh84&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FiMim7R-Hh84%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/cab60e09a9a0a2263192139137e2eb6c/href">https://medium.com/media/cab60e09a9a0a2263192139137e2eb6c/href</a></iframe><h3>Demo 3 : Python Program running in the Terminal</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F1TGC9tYd7dY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D1TGC9tYd7dY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F1TGC9tYd7dY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/348bb7cde7b88fba1c392e14682b0d79/href">https://medium.com/media/348bb7cde7b88fba1c392e14682b0d79/href</a></iframe><h3>Current Challenges:</h3><ul><li>Multiple API calls are required to complete a task, resulting in API rate limiting</li><li>Higher consumption of input and output API tokens</li><li>In testing, running these demos approximately 10 times cost around 2 USD</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mmkGSRjaTieBfz5a2DbwQA.png" /><figcaption>Rate Limits</figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FYkWH9eX9Tzs%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DYkWH9eX9Tzs&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FYkWH9eX9Tzs%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0f87c5deedd872d388cb83fec9334c8b/href">https://medium.com/media/0f87c5deedd872d388cb83fec9334c8b/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZLm9CFwOY7svxNGDZXWNsQ.png" /><figcaption>Tokens Consumed</figcaption></figure><h3>Limitations:</h3><p>Claude’s computer abilities are still in testing phase and have some important limits to keep in mind. <br>May work slower than a human operator</p><ul><li>Can make mistakes when clicking or interpreting screen elements</li><li>Has difficulty with tasks like scrolling or working with spreadsheets</li><li>Cannot create social media accounts or post content online for safety reasons</li><li>Best suited for non-time-critical tasks in secure environments</li><li>Prone to prompt injection</li></ul><p>For detailed information about limitations refer the <a href="https://docs.anthropic.com/en/docs/build-with-claude/computer-use#understand-computer-use-limitations">documentation</a></p><h3>Demonstrations by Anthropic and Community:</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FODaHJzOyVCQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DODaHJzOyVCQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FODaHJzOyVCQ%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/887e18b235d06a31ade96c8d3bed63a0/href">https://medium.com/media/887e18b235d06a31ade96c8d3bed63a0/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FvH2f7cjXjKI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DvH2f7cjXjKI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FvH2f7cjXjKI%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/275b1eb5049d0e397eb3878e01276795/href">https://medium.com/media/275b1eb5049d0e397eb3878e01276795/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//x.com/amasad/status/1848763999594418539&amp;image=" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/4550a1482b92cdc7df3c13f13a4f52af/href">https://medium.com/media/4550a1482b92cdc7df3c13f13a4f52af/href</a></iframe><h3>RPA vs Computer Use</h3><p>While experimenting with Computer Use, I noticed its similarities to RPA bots and became curious about what sets them apart from each other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*v4KeogBKClnDP0TrgxJ7hQ.png" /></figure><h3>Closing thoughts</h3><p>Although Computer Use is currently in its beta phase, its features are expected to evolve and become more advanced over time. Similar capabilities are likely to emerge from other leading frontier model vendors as well. Companies from different domains, such as Asana, Canva, Cognition, DoorDash, Replit, and The Browser Company, have already begun exploring this technology. Enterprises will need to evaluate whether agents like Computer Use, in their current form, can bring business benefits when compared to traditional RPA solutions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2da7ed33b1af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IBM Cloud Account Single Sign-on using IBM Cloud App ID and Microsoft Azure AD]]></title>
            <link>https://medium.com/@vrvignesh/ibm-cloud-account-single-sign-on-using-ibm-cloud-app-id-and-microsoft-azure-ad-88932a5660a2?source=rss-87442db7fd4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/88932a5660a2</guid>
            <category><![CDATA[azure-ad]]></category>
            <category><![CDATA[aml]]></category>
            <category><![CDATA[ibm-cloud]]></category>
            <category><![CDATA[ibm-cloud-app-id]]></category>
            <category><![CDATA[single-sign-on]]></category>
            <dc:creator><![CDATA[Vignesh Ravindran]]></dc:creator>
            <pubDate>Tue, 30 Jun 2020 13:47:46 GMT</pubDate>
            <atom:updated>2020-07-21T13:35:23.011Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Overview</strong></p><p>IBM Provides two Single sign-on approaches for the enterprise customers to log in to the IBM Cloud. The focus of the article is to highlight the difference between two approaches and also to show the step by step instruction on how to set up the self-service federation using IBM Cloud App ID by integrating with Microsoft Azure Active directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5nUzdr1u_c8voBSQVs1k8w.png" /><figcaption>IBM Cloud App ID Flow</figcaption></figure><p><strong>Two Single sign-on approaches</strong></p><ol><li>Manual federation using IBMid</li><li>Self-service federation using IBM Cloud App ID</li></ol><p><strong>Manual Offline Federation using IBMid</strong></p><p>One can sign up for IBM Cloud with a federated ID only if your company is already registered with IBM. Registering a company’s domain with IBM enables users to log in to the IBM products and services by using their existing company user credentials. Authentication is then handled by the company’s identity provider through a single sign-on (SSO).For information about how to register your company for a federated ID, see the <a href="https://ibm.box.com/v/IBMid-Federation-Guide">IBMid Enterprise Federation Adoption Guide</a></p><p><strong>Key features and benefits of Offline Federation Process</strong></p><ol><li>Federate only once using the domain name</li><li>IBMid federation will work for IBM Cloud and other IBM services such as Cognos and Planning analytics</li><li>In an <a href="https://cloud.ibm.com/docs/account?topic=account-enterprise">Enterprise account</a> scenario, all the sub-accounts of IBM Cloud will have the same login home page cloud.ibm.com</li><li>Users need to be invited in each account wherever the user needs access</li></ol><p><strong>Self Service Federation using IBM Cloud App ID</strong></p><p>IBM Cloud can now leverage the <a href="https://www.ibm.com/cloud/app-id">IBM Cloud App ID</a> service to connect to the identity providers and allow those users to log into an IBM Cloud account.</p><p><strong>Key features and benefits of the Federation using IBM Cloud App ID</strong></p><ol><li>Self Service</li><li>Users can be automatically onboarded, no separate invite required</li><li>In an <a href="https://cloud.ibm.com/docs/account?topic=account-enterprise">Enterprise account</a> scenario, each sub-account needs a separate App ID Instance</li><li>For each account, the login URL will be different for eg. cloud.ibm.com/authorize/&lt;uniquenameforaccount&gt;</li></ol><p><strong>Setup Self-service Single Sign-on using the App ID</strong></p><p>The remaining section of this article focuses on the steps to achieve Single sign-on using the App ID</p><p><strong>Create App ID</strong></p><p>Log in to IBM Cloud &gt; Locate the APP ID from the Catalog &gt; Create the App ID by choosing the appropriate plan</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pQy0KqMbi-byxhbmHwBK4g.png" /><figcaption><strong>Create APP ID Service</strong></figcaption></figure><p><strong>Download SAML metadata</strong></p><p>Open the newly created APP ID Service &gt; Click Identity Providers &gt; Click SAML 2.0 Federation &gt; Click “Download SAML metadata File” to download the metadata file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XYRgq4Ni0Q38q30N_vuKjQ.png" /><figcaption><strong>Download SAML metadata file</strong></figcaption></figure><p><strong>Create Application in Azure Directory</strong></p><p>Sign in to the Azure portal using your administrator account, and browse to the Active Directory &gt; Enterprise Applications &gt; New application &gt; Non-gallery application section&gt; Enter the name of the application &gt; Click Add</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mmucDnxsOQacFPQfDimgZQ.png" /><figcaption><strong>Adding an Azure Application</strong></figcaption></figure><p><strong>Configure Single Sign-on in Azure AD</strong></p><p>Click the newly created application &gt; Click Single Sign-on under Manage &gt; Click SAML</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rLH_xkc0hzfP80KC3FnowA.png" /><figcaption><strong>SAML Config Page</strong></figcaption></figure><p><strong>Configure Basic SAML Configuration</strong></p><ol><li>Click the edit pencil icon under Basic SAML Configuration</li><li>Copy the entityID value from the EntityDescriptor XML tag of the downloaded metadata file and paste it in Identifier field as shown below</li><li>Copy the Location value from the AssertionConsumerService XML tag of the downloaded metadata file and paste it in the Reply URL field as shown below</li><li>Click Save</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-iK3byK2HApy_QhxtGWCDQ.png" /><figcaption><strong>Basic SAML Configuration</strong></figcaption></figure><p><strong>Configure User Attributes and Claim</strong></p><ol><li>Click edit pencil Icon under User Attributes &amp; Claims</li><li>Delete all the additional claims</li><li>Add new claims as shown below in the “Final mapping of User Attribute &amp; Claims” image</li><li>Make Sure the claim name and values are exactly similar as shown in the “Final mapping of User Attribute &amp; Claims<strong>” </strong>image</li><li>When adding claim keep the namespace empty</li><li>Claim name “username” should have the email ID of the user but for some reason when trying to map the username to user.mail, attribute username is not passed in SAML to the IBM App ID. To workaround, edit the user and fill the alternate email field with the user email ID</li><li>Make sure the user has access to the newly created application in the Azure AD</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RkiA61rAjARFoPHTf6hehw.png" /><figcaption><strong>Default User Attributes and Claim</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qv0LATEnYDhTmNolw5b0KA.png" /><figcaption><strong>User Attributes &amp; Claims page after deletion of Additional Claims</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f36gMFQKm5PSkMlTtXeW3w.png" /><figcaption><strong>Final mapping of User Attribute &amp; Claims</strong></figcaption></figure><p><strong>Configure SAML 2.0 Federation in the APP ID</strong></p><ol><li>Go to the App ID Instance &gt; Identity Providers &gt; SAML 2.0 Federation</li><li>Copy and paste the Azure AD Identifier from the Azure AD application SAML-based-Sign-on page to the “Entity ID” Field of App ID</li><li>Copy and paste the Login URL from the Azure AD application SAML-based-Sign-on page to the “Sign In URL” Field of App ID</li><li>Download the Base 64 Certificate from Azure AD application SAML-based-Sign-on page. Paste the contents of the certificate to the “Primary Certificate” Field of App ID and click save</li><li>Click Test</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GaSmOC3YsHlr4svS_B35uw.png" /><figcaption><strong>SAML Login Details and Certificate</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yKJZ8HdZDIWzj92UuDeInQ.png" /><figcaption><strong>APP ID SAML Federation Configuration</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fvrPphxBPC9xgbM2IVrFSQ.png" /><figcaption><strong>Successful verification from App ID SAML Federation</strong></figcaption></figure><p><strong>Configure Identity Provider in the APP ID</strong></p><p>Replicate the exact settings as shown in the below image by going to App ID Service in the IBM Cloud&gt; Manage Authentication</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o8EieK9_DCAZvNoR2m1iYg.png" /><figcaption><strong>Enable SAML 2.0 Federation in the APP ID</strong></figcaption></figure><p><strong>Create Identity Provider in the IBM Cloud IAM</strong></p><ol><li>Go to Manage &gt; Access (IAM) from the top menu of the IBM Cloud &gt; Click Identity Providers &gt; Click Create</li><li>Give a name for IDP and choose the App ID service from the drop-down for service Instance</li><li>Complete the remaining settings as shown below and click create</li><li>Edit the “Default IDP URL” on the Identity Provider page. This URL will be the login page for Cloud account</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bYp7P2MYQcEDE6IwW_UXzg.png" /><figcaption><strong>Create Identity Provider from the IAM</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lIQ89hxyU7NNqSk_qJQd4g.png" /><figcaption><strong>Edit Default IDP URL</strong></figcaption></figure><p><strong>Login and Test</strong></p><p>Type the IdP URL in the browser. In this case, it is <a href="https://cloud.ibm.com/authorize/AzureTest">https://cloud.ibm.com/authorize/AzureTest</a>, the browser will redirect to Microsoft for authentication. Once authenticated the browser will be redirected to the IBM Cloud console and the user will be onboarded to the IBM Cloud automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*fxaqK9qsaoVEwFUa_m18yA.png" /><figcaption><strong>Microsoft Azure AD Login</strong></figcaption></figure><p><strong>Summary</strong></p><p>This article highlights the differences between two Single sign-on approaches for the IBM Cloud Account login and also provides the step by step instructions on how to set up the self-service federation using IBM Cloud App ID by integrating with the Microsoft Azure Active directory</p><p><strong>References</strong></p><ol><li><a href="https://cloud.ibm.com/docs/appid?topic=appid-about">About App ID</a></li><li><a href="https://cloud.ibm.com/docs/iam?topic=iam-idp-integration">Enabling authentication from an external identity provider</a></li><li><a href="https://www.ibm.com/cloud/blog/announcements/ibm-cloud-self-service-federation-for-external-identity-providers">Self-Service Federation for External Identity Providers</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88932a5660a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Manage and Automate Assets of Cloud Pak for Data 2.5 using Jobs APIs: Part -2]]></title>
            <link>https://medium.com/@vrvignesh/manage-and-automate-assets-of-cloud-pak-for-data-2-5-using-jobs-apis-part-2-27caeb80d779?source=rss-87442db7fd4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/27caeb80d779</guid>
            <category><![CDATA[cpd]]></category>
            <category><![CDATA[cloud-pak-for-data]]></category>
            <category><![CDATA[jobs]]></category>
            <category><![CDATA[rest-api]]></category>
            <dc:creator><![CDATA[Vignesh Ravindran]]></dc:creator>
            <pubDate>Thu, 25 Jun 2020 03:31:38 GMT</pubDate>
            <atom:updated>2020-06-25T03:31:38.455Z</atom:updated>
            <content:encoded><![CDATA[<h3>Overview</h3><p>IBM® Cloud Pak for Data (CPD) and several of the services that run on the platform provide open and extensible APIs that enable you to <em>collect</em>, <em>organize</em>, and <em>analyze</em> your data and to <em>infuse</em> your applications with AI.</p><p>Watson Data REST APIs associated with Watson Studio and Watson Knowledge Catalog can be used to manage the data-related assets, Jobs, and connections in the analytics projects on IBM Cloud Pak for Data.</p><p><strong>Requirements</strong></p><p>To use this <a href="https://cloud.ibm.com/apidocs/watson-data-api-cpd">API</a>, the following services must be installed:</p><ul><li>Watson™ Knowledge Catalog</li><li>Watson Studio</li></ul><h3>Scenario</h3><p>The focus of this article is to run a job associated with a notebook using the rest API in an analytics project. This scenario assumes the notebook, and the job was created already in the project. To complete the scenario following APIs has to invoked in a sequence</p><ul><li>Get bearer token using Authorize API. Bearer token will be used in the subsequent API calls</li><li>Get Project</li><li>Get Jobs</li><li>Run the Job</li></ul><h3>Get Bearer token</h3><p>To generate the bearer token, the username, and password of the CPD platform are required. Execute the following curl command by replacing appropriate values in the angular brackets. The Curl command invokes /icp4d-api/v1/authorize API. From the response retrieve the token value and pass it in the subsequent API calls. Make sure the user has the right set of roles and permission to create/manager projects as described in the <a href="https://www.ibm.com/support/knowledgecenter/SSQNUZ_2.5.0/cpd/admin/users.html">documentation</a></p><pre>curl -k -X POST https://&lt;cpd-host&gt;/icp4d-api/v1/authorize -H ‘cache-control: no-cache’ -H ‘content-type: application/json’ -d ‘{“username”:”&lt;username&gt;”,”password”:”&lt;password&gt;”}’</pre><h3>Get Project</h3><p>To get the project guid, run the following curl command by replacing appropriate values in the angular brackets. Curl command invokes the /v2/projects API.</p><pre>curl -k -X GET \<br>https://&lt;cpd-host&gt;/v2/projects \<br>-H &#39;authorization: Bearer &lt;token&gt;&#39; \<br>-H &#39;cache-control: no-cache&#39;</pre><p>The response will list the metadata of the projects associated with the user. Identify the guid of the project where the Job is created. In this case, the guid is 01260e34–0517–410e-9529–76e0d03baa85. Use this project guid in the subsequent API calls.</p><h3>Get Jobs</h3><p>To get the Jobs metadata of the project run the following curl command by replacing appropriate values in the angular brackets. Curl command invokes the /v2/jobs API.</p><pre>curl -X GET -k   &#39;https://&lt;cpd_host&gt;/v2/jobs?project_id=&lt;projectguid&gt;&#39;   -H &#39;Authorization: Bearer &lt;token&gt;&#39; \<br>-H &#39;cache-control: no-cache&#39;</pre><p>The response will list the metadata of the jobs associated with the project. Identify the asset_id of the job you want to run through API. In this case, the asset_id is c9a7c2b8–68d9–4388–9c92-de3ce6f9eada. Use this project asset_id in the subsequent API calls.</p><h3>Run Job</h3><p>To run the Job through API run the following curl command by replacing appropriate values in the angular brackets. Curl command invokes the /v2/jobs/&lt;jobasset-id&gt;/runs?project_id=&lt;projectguid&gt; API.</p><pre>curl -X POST -k  &#39;https://&lt;cpd-host&gt;/v2/jobs/&lt;jobasset-id&gt;/runs?project_id=&lt;projectguid&gt;&#39;   -H &#39;Authorization: Bearer &lt;token&gt;&#39; \<br>-H &#39;content-type: application/json&#39; \<br>-d &#39;{<br>  &quot;job_run&quot;: {<br>&quot;configuration&quot;: {<br>      <br>    }<br>}<br>}&#39;</pre><p>Login to the CP4D&gt;Go to Projects&gt;Jobs to view the status of Job Run.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2mIC6UoQAyvLZB3ImWl6xw.png" /><figcaption><strong>Status of the Run Job</strong></figcaption></figure><p><strong>Summary</strong></p><p>The article demonstrates how to run a Job associated with a notebook in an analytics project through APIs in the IBM Cloud Pak for Data Platform</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27caeb80d779" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Troubleshooting tips for the uncommon problems of IBM Cloud Pak for Data 2.5 (CPD) Install]]></title>
            <link>https://medium.com/@vrvignesh/troubleshooting-tips-for-the-uncommon-problems-of-ibm-cloud-pak-for-data-2-5-cpd-install-be72c3fa868c?source=rss-87442db7fd4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/be72c3fa868c</guid>
            <category><![CDATA[openshift]]></category>
            <category><![CDATA[cpd]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <category><![CDATA[cloud-pak-for-data]]></category>
            <category><![CDATA[data-and-ai]]></category>
            <dc:creator><![CDATA[Vignesh Ravindran]]></dc:creator>
            <pubDate>Mon, 13 Apr 2020 11:54:34 GMT</pubDate>
            <atom:updated>2020-04-15T04:35:27.433Z</atom:updated>
            <content:encoded><![CDATA[<h3>Troubleshooting Tips for the Uncommon Problems of IBM Cloud Pak for Data 2.5 (CPD) Install</h3><h3>Overview</h3><p>IBM Cloud Pak™ for Data is a fully-integrated data and AI platform that modernizes how businesses collect, organize and analyze data and infuse AI throughout their organizations. Built on Red Hat® OpenShift® Container Platform, IBM Cloud Pak for Data integrates market-leading IBM Watson® AI technology with IBM Hybrid Data Management Platform, DataOps, and governance and business analytics technologies. Together, these capabilities provide the information architecture for AI that meets your ever-changing enterprise needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dJD2z5Bcr23OKdMMIyyNMA.png" /><figcaption>Cloud Pak for Data</figcaption></figure><p>To install Cloud Pak for Data follow the instructions in the <a href="https://www.ibm.com/support/knowledgecenter/SSQNUZ_2.5.0/cpd/install/install.html">IBM Knowledge Center</a>. This article focuses on solving some of the uncommon problems faced during the installation of IBM Cloud Pak for Data 2.5</p><h4>Problem 1: Not able to ssh to the nodes after setting <strong>SELINUX=enforcing</strong></h4><p>Security-Enhanced Linux (SELinux) must be enabled on all of the Red Hat Linux servers before installing the OpenShift Container Platform or the installer will fail. After changing the SELINUX setting from “permissive” to “enforcing” in the <strong><em>/etc/selinux/config</em></strong> file and rebooting, users cannot login via ssh to the nodes. This usually occurs when switching from a lenient policy to a strict policy.</p><p>To avoid this, autorelabel the system before reboot by following the below steps:</p><pre>set SELINUX=enforcing in /etc/selinux/config and save the file<br>touch /.autorelabel<br>reboot</pre><h4>Problem 2: Openshift 3.11 Install fails while installing as a sudo user</h4><p>Cloud Pak for Data 2.5 requires<strong> </strong>Red Hat OpenShift Container Platform Version 3.11. By default, Openshift will be installed by assuming root as the ssh user. In some scenarios, where the root access is not available, it requires to be installed using sudo user access. In such a scenario make sure the configuration in the OpenShift inventory file has the following variables</p><pre>[OSEv3:vars]<br>ansible_ssh_user=&lt;ssh user name with sudo access&gt;<br>ansible_become = true</pre><h4>Problem 3: Internet access to the CPD Cluster</h4><p>In some organizations, internet access will be provided through the proxy. Before starting the Openshift and CPD installation make sure the following proxy entries are added in the /etc/environment file of all the cluster nodes to enable the internet access.</p><pre>HTTP_PROXY=http://&lt;URL:port&gt;<br>export HTTP_PROXY<br>HTTPS_PROXY=http://&lt;URL:port&gt;<br>export HTTPS_PROXY</pre><h4>Problem 4: Enabling ip_forward for the machines based on VMWare Infrastructure</h4><p>One of the key prerequisites to install Openshift 3.11 is to enable ip_forward in all the nodes. IP forward will be enabled typically by executing the following command</p><pre>sysctl -w net.ipv4.ip_forward=1</pre><p>In some virtual machines based on Vmware infrastructure, IP forward does not get enabled even after executing the above command. In such a scenario to enable the ip_forward, make sure the contents of the file /proc/sys/net/ipv4/ip_forward is “1” in all the nodes.</p><h4>Problem 5: Docker Daemon crash</h4><p>One of the key prerequisites to install Cloud Pak for Data is to keep time synched on all of the nodes within 500ms. This can be achieved by running NTP client/chrony which will connect to the pool of NTP Servers on the internet. In some cases, organizations prefer to connect to the local NTP server. In such a scenario iptables rules have to be configured appropriately to allow the NTP client to communicate with the local NTP server. If the iptables service is stopped instead of making the above configuration, it makes the docker daemon to crash as iptables service is essential for the docker to run. Check the /var/log/messages of nodes for the error. If you encounter the following message it is more likely due to the iptables service is not running. Make sure iptables service is always running.</p><pre>level=error msg=&quot;Force shutdown daemon&quot;</pre><h4>Problem 6: Portworx Storage Install for CPD 2.5 on IBM Public Cloud</h4><p>IBM Cloud Pak for Data supports Portworx as one of the storage providers. Provisioning a VM in the IBM cloud will have two additional disks (Swap 2GB and System 64MB). The Portworx install will throw the following error in the IBM Cloud.</p><pre>Failed in internal kvdb setup: failed to create a kvdb client to peer kvdb nodes [[<a href="http://158.176.135.178:9019/">http://&lt;IP&gt;:9019</a>]]: context deadline exceeded. Make sure peer kvdb nodes are healthy.&quot; func=InitAndBoot package=boot</pre><p>The reason for the error is Portworx Install script treats the virtual machine’s additional disks as raw disks and tries to install Portworx on those disks.</p><p>To solve this issue, create a disk for Portworx with the same name in all the worker nodes. Edit the px-install.sh script to specify the raw disk that should be used. To use a specific raw disk, uncomment the #DEFAULT_STORE parameter and specify the raw disks to use. For example:</p><pre>DEFAULT_STORE=&quot;-s /dev/xvde&quot;</pre><p><strong>Problem 7: cassandra-0 pod crashes while installing wkc assembly of CPD</strong></p><p>While installing wkc assembly, cassandra-0 pod crashes repeatedly. The error occurs on the Cassandra database startup by throwing the following exception while trying to execute a JNA library. JNA requires an executable directory to start. The reason for this failure is the directories /tmp and /var/lib/docker was mounted to the storage with noexec flag in the /etc/fstab file. The “<strong>noexec</strong>” <strong>mount option</strong> prevents the direct execution of binaries on the <strong>mounted</strong> filesystem. To solve this issue remove the “noexec” flag for the mounts in the /etc/fstab file of all the worker nodes and reboot</p><pre>INFO [main] 2020-01-22 05:40:21,069 CassandraDaemon.java:488 - Classpath: /opt/cassandra/conf:/opt/cassandra/build/classes/main:/opt/cassandra/build/classes/thrift:/opt/cassandra/lib/HdrHistogram-2.1.9.jar:/opt/cassandra/lib/ST4-4.0.8.jar:/opt/cassandra/lib/airline-0.6.jar:/opt/cassandra/lib/antlr-runtime-3.5.2.jar:/opt/cassandra/lib/apache-cassandra-3.11.3.jar:/opt/cassandra/lib/apache-cassandra-thrift-3.11.3.jar:/opt/cassandra/lib/asm-5.0.4.jar:/opt/cassandra/lib/caffeine-2.2.6.jar:/opt/cassandra/lib/cassandra-driver-core-3.0.1-shaded.jar:/opt/cassandra/lib/commons-cli-1.1.jar:/opt/cassandra/lib/commons-codec-1.9.jar:/opt/cassandra/lib/commons-lang3-3.1.jar:/opt/cassandra/lib/commons-math3-3.2.jar:/opt/cassandra/lib/compress-lzf-0.8.4.jar:/opt/cassandra/lib/concurrent-trees-2.4.0.jar:/opt/cassandra/lib/concurrentlinkedhashmap-lru-1.4.jar:/opt/cassandra/lib/disruptor-3.0.1.jar:/opt/cassandra/lib/ecj-4.4.2.jar:/opt/cassandra/lib/guava-18.0.jar:/opt/cassandra/lib/high-scale-lib-1.0.6.jar:/opt/cassandra/lib/hppc-0.5.4.jar:/opt/cassandra/lib/jackson-core-asl-1.9.13.jar:/opt/cassandra/lib/jackson-mapper-asl-1.9.13.jar:/opt/cassandra/lib/jamm-0.3.0.jar:/opt/cassandra/lib/javax.inject.jar:/opt/cassandra/lib/jbcrypt-0.3m.jar:/opt/cassandra/lib/jcl-over-slf4j-1.7.7.jar:/opt/cassandra/lib/jctools-core-1.2.1.jar:/opt/cassandra/lib/jflex-1.6.0.jar:/opt/cassandra/lib/jna-4.2.2.jar:/opt/cassandra/lib/joda-time-2.4.jar:/opt/cassandra/lib/json-simple-1.1.jar:/opt/cassandra/lib/jstackjunit-0.0.1.jar:/opt/cassandra/lib/libthrift-0.9.2.jar:/opt/cassandra/lib/log4j-over-slf4j-1.7.7.jar:/opt/cassandra/lib/logback-classic-1.1.3.jar:/opt/cassandra/lib/logback-core-1.1.3.jar:/opt/cassandra/lib/lz4-1.3.0.jar:/opt/cassandra/lib/metrics-core-3.1.5.jar:/opt/cassandra/lib/metrics-jvm-3.1.5.jar:/opt/cassandra/lib/metrics-logback-3.1.5.jar:/opt/cassandra/lib/netty-all-4.0.44.Final.jar:/opt/cassandra/lib/ohc-core-0.4.4.jar:/opt/cassandra/lib/ohc-core-j8-0.4.4.jar:/opt/cassandra/lib/reporter-config-base-3.0.3.jar:/opt/cassandra/lib/reporter-config3-3.0.3.jar:/opt/cassandra/lib/sigar-1.6.4.jar:/opt/cassandra/lib/slf4j-api-1.7.7.jar:/opt/cassandra/lib/snakeyaml-1.11.jar:/opt/cassandra/lib/snappy-java-1.1.1.7.jar:/opt/cassandra/lib/snowball-stemmer-1.3.0.581.1.jar:/opt/cassandra/lib/stream-2.5.2.jar:/opt/cassandra/lib/thrift-server-0.3.7.jar:/opt/cassandra/lib/jsr223/*/*.jar:/opt/cassandra/lib/jamm-0.3.0.jar<br>INFO [main] 2020-01-22 05:40:21,069 CassandraDaemon.java:490 - JVM Arguments: [-Xloggc:/opt/cassandra/logs/gc.log, -ea, -XX:+UseThreadPriorities, -XX:ThreadPriorityPolicy=42, -XX:+HeapDumpOnOutOfMemoryError, -Xss512k, -XX:StringTableSize=1000003, -XX:+AlwaysPreTouch, -XX:-UseBiasedLocking, -XX:+UseTLAB, -XX:+ResizeTLAB, -XX:+UseNUMA, -XX:+PerfDisableSharedMem, -<a href="http://djava.net/">Djava.net</a>.preferIPv4Stack=true, -Xms1024M, -Xmx1024M, -Xmn256M, -XX:+UseParNewGC, -XX:+UseConcMarkSweepGC, -XX:+CMSParallelRemarkEnabled, -XX:SurvivorRatio=8, -XX:MaxTenuringThreshold=1, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:CMSWaitDuration=10000, -XX:+CMSParallelInitialMarkEnabled, -XX:+CMSEdenChunksRecordAlways, -XX:+CMSClassUnloadingEnabled, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintHeapAtGC, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -XX:+PrintPromotionFailure, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=10, -XX:GCLogFileSize=10M, -Dnetworkaddress.cache.ttl=60, -Dnetworkaddress.cache.negative.ttl=60, -XX:CompileCommandFile=/opt/cassandra/conf/hotspot_compiler, -javaagent:/opt/cassandra/lib/jamm-0.3.0.jar, -Dcassandra.jmx.local.port=7199, -Dcom.sun.management.jmxremote.authenticate=false, -Dcom.sun.management.jmxremote.password.file=/etc/cassandra/jmxremote.password, -Djava.library.path=/opt/cassandra/lib/sigar-bin, -Dcassandra.libjemalloc=/usr/lib64/libjemalloc.so.1, -Dlogback.configurationFile=logback.xml, -Dcassandra.logdir=/opt/cassandra/logs, -Dcassandra.storagedir=/opt/cassandra/data, -Dcassandra-foreground=yes]<br>ERROR [main] 2020-01-22 05:40:21,088 NativeLibraryLinux.java:62 - Failed to link the C library against JNA. Native methods will be unavailable.<br>java.lang.UnsatisfiedLinkError: /tmp/jna-63/jna5538001540562399371.tmp: /tmp/jna-63/jna5538001540562399371.tmp: failed to map segment from shared object: Operation not permitted<br>    at java.lang.ClassLoader$NativeLibrary.load(Native Method) ~[na:1.8.0_222]<br>    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) ~[na:1.8.0_222]<br>    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) ~[na:1.8.0_222]<br>    at java.lang.Runtime.load0(Runtime.java:809) ~[na:1.8.0_222]<br>    at java.lang.System.load(System.java:1086) ~[na:1.8.0_222]<br>    at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:851) ~[jna-4.2.2.jar:4.2.2 (b0)]<br>    at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:826) ~[jna-4.2.2.jar:4.2.2 (b0)]<br>at com.sun.jna.Native.&lt;clinit&gt;(Native.java:140) ~[jna-4.2.2.jar:4.2.2 (b0)]<br>    at org.apache.cassandra.utils.NativeLibraryLinux.&lt;clinit&gt;(NativeLibraryLinux.java:53) ~[apache-cassandra-3.11.3.jar:3.11.3]<br>    at org.apache.cassandra.utils.NativeLibrary.&lt;clinit&gt;(NativeLibrary.java:93) [apache-cassandra-3.11.3.jar:3.11.3]<br>    at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:196) [apache-cassandra-3.11.3.jar:3.11.3]<br>    at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:602) [apache-cassandra-3.11.3.jar:3.11.3]<br>    at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:691) [apache-cassandra-3.11.3.jar:3.11.3]<br>INFO [main] 2020-01-22 05:40:21,089 StartupChecks.java:140 - jemalloc seems to be preloaded from /usr/lib64/libjemalloc.so.1<br>WARN [main] 2020-01-22 05:40:21,089 StartupChecks.java:169 - JMX is not enabled to receive remote connections. Please see cassandra-env.sh for more info.<br>WARN [main] 2020-01-22 05:40:21,090 StartupChecks.java:220 - The JVM is not configured to stop on OutOfMemoryError which can cause data corruption. Use one of the following JVM options to configure the behavior on OutOfMemoryError: -XX:+ExitOnOutOfMemoryError, -XX:+CrashOnOutOfMemoryError, or -XX:OnOutOfMemoryError=&quot;&lt;cmd args&gt;;&lt;cmd args&gt;&quot;<br>ERROR [main] 2020-01-22 05:40:21,091 CassandraDaemon.java:708 - The native library could not be initialized properly.</pre><p><strong>Summary</strong></p><p>The article provides solutions to the uncommon problems faced during the IBM Cloud Pak for Data 2.5 Install.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be72c3fa868c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Manage and automate assets of Cloud Pak for Data 2.5 using collect and organize rest APIs: Part -1]]></title>
            <link>https://medium.com/@vrvignesh/manage-and-automate-assets-of-cloud-pak-for-data-2-5-using-collect-and-organize-rest-apis-part-1-6b1b07d252e1?source=rss-87442db7fd4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b1b07d252e1</guid>
            <category><![CDATA[rest-api]]></category>
            <category><![CDATA[create-project]]></category>
            <category><![CDATA[cpd]]></category>
            <category><![CDATA[cloud-pak-for-data]]></category>
            <dc:creator><![CDATA[Vignesh Ravindran]]></dc:creator>
            <pubDate>Thu, 05 Mar 2020 15:39:16 GMT</pubDate>
            <atom:updated>2020-05-12T15:00:10.583Z</atom:updated>
            <content:encoded><![CDATA[<h3>Manage and Automate Assets of Cloud Pak for Data 2.5 using C<em>ollect, Organize</em> and Analyze Rest APIs: Part-1</h3><h4>Overview</h4><p>IBM® Cloud Pak for Data (CPD) and several of the services that run on the platform provide open and extensible APIs that enable you to <em>collect</em>, <em>organize</em>, and <em>analyze</em> your data and to <em>infuse</em> your applications with AI. With this collection of REST APIs, you can:</p><ul><li>Automate and govern your AI lifecycle in business applications so that you can operationalize AI</li><li>Implement data-driven processes and operations that feed your AI and ML applications</li></ul><p>The Watson Data API provides <em>collect</em> and <em>organize </em>capabilities. The API enables you to manage data-related assets and the people who need to use these assets. For example, you can use the API to:</p><ul><li>Manage analytics projects</li><li>Manage catalogs</li><li>Manage the connections that are available to analytics projects and to catalogs</li><li>Manage governance policies</li><li>Discover assets from a connection</li><li>View the lineage of an asset</li></ul><p><strong>Requirements</strong></p><p>To use this <a href="https://cloud.ibm.com/apidocs/watson-data-api-cpd">API</a>, the following services must be installed:</p><ul><li>Watson™ Knowledge Catalog</li><li>Watson Studio</li></ul><h4>Scenario</h4><p>The focus of this article is to create a project, upload assets such as CSV file and Notebooks. To complete the scenario following APIs has to invoked in a sequence</p><ul><li>Get bearer token using Authorize API. Bearer token will be used in the subsequent API calls</li><li>Create a Project</li><li>Copy files to the project</li><li>Create an Asset Type</li><li>Create Assets in the project with the appropriate Asset type</li><li>Create Attachment in the project and link it to the copied files and the asset created</li></ul><h4>Get Bearer token</h4><p>To generate the bearer token, username and password of the CPD platform are required. Execute the following curl command by replacing appropriate values in the angular brackets. The Curl command invokes /icp4d-api/v1/authorize API. From the response retrieve the token value and pass it in the subsequent API calls. Make sure the user has the right set of roles and permission to create/manager projects as described in the <a href="https://www.ibm.com/support/knowledgecenter/SSQNUZ_2.5.0/cpd/admin/users.html">documentation</a></p><pre>curl -k -X POST https://&lt;cpd-host&gt;/icp4d-api/v1/authorize -H ‘cache-control: no-cache’ -H ‘content-type: application/json’ -d ‘{“username”:”&lt;username&gt;”,”password”:”&lt;password&gt;”}’</pre><h4>Create a Project</h4><p>To create a project execute the following curl command by replacing appropriate values in the angular brackets. Curl command invokes the /transactional/v2/projects API</p><pre>curl -X POST -k https://&lt;cpd-host&gt;/transactional/v2/projects -H ‘Authorization: Bearer &lt;token&gt;’ -H ‘content-type: application/json’ -d ‘{<br> “name”: “&lt;project name&gt;”,<br> “description”: “A project description.”,<br> “generator”: “DAP-Projects”,<br> “public”: false,<br> “tags”: [<br> “string”<br> ],<br> “enforce_members”: false,<br> “storage”: {<br> “type”: “assetfiles”,<br> “guid”: “&lt;any random guid for example d0e410a0-b358–42fc-b402-dba83316413e&gt;”<br> }<br>}’</pre><h4>Create Project Response</h4><p>Copy the project id from the location URL. In this case, project id is 275cd7d7–44ca-421b-9872-c4e4ca4a7f3c</p><pre><br>{“location”:”/v2/projects/275cd7d7–44ca-421b-9872-c4e4ca4a7f3c”</pre><h4>Copy files to the project</h4><p>Copy the CSV file and the Jupyter Notebook from the local system to the newly created project. Execute the following curl commands by replacing appropriate values in the angular brackets. The Curl command invokes /v2/asset_files/&lt;asset_type&gt;/&lt;filename&gt;?project_id=&lt;projecid&gt; API. Asset_type can be data_asset or notebook. Use the project_id value of the create project API response</p><pre>curl -k -X PUT \<br> ‘https://&lt;cpd-host&gt;/v2/asset_files/data_asset/&lt;csvfilename&gt;?project_id=&lt;projectid&gt;&#39; \<br> -H ‘Accept: */*’ \<br> -H ‘Authorization: Bearer &lt;token&gt;’ \<br> -F file=@&lt;localsystemcsvfilepath&gt;</pre><pre>curl -k -X PUT \<br> ‘https://&lt;cpd-host&gt;/v2/asset_files/notebook/&lt;notebookname&gt;?project_id=&lt;projecid&gt;&#39; \<br> -H ‘Accept: */*’ \<br> -H ‘Authorization: Bearer &lt;token&gt;’ \<br> -F file=@&lt;locacalsystemnotebookfilepath&gt;</pre><h4>Create an Asset Type Notebook</h4><p>By default, a project created through API will only allow creating data assets. To create a notebook asset, asset type “notebook” has to be created. Execute the following curl command by replacing appropriate values in the angular brackets. The Curl command invokes /v2/asset_types?project_id=&lt;projectid&gt; API. Use the project_id value of the create project API response</p><pre>curl -X POST -k ‘https://&lt;cpd-host&gt;/v2/asset_types?project_id=&lt;projectid&gt;&#39; -H ‘Authorization: Bearer &lt;token&gt;’ \<br>-H ‘content-type: application/json’ \<br>-d ‘{<br> “description”: “Notebooks are defined by ipynb files according to Jupyter layout”,<br> “fields”: [<br> {<br> “key”: “kernel”,<br> “type”: “object”,<br> “facet”: false,<br> “is_array”: false,<br> “is_searchable_across_types”: false<br> },<br> {<br> “key”: “compute”,<br> “type”: “string”,<br> “facet”: false,<br> “is_array”: false,<br> “is_searchable_across_types”: false<br> },<br> {<br> “key”: “originates_from”,<br> “type”: “object”,<br> “facet”: false,<br> “is_array”: false,<br> “is_searchable_across_types”: false<br> }<br> ],<br> “relationships”: [],<br> “name”: “notebook”,<br> “version”: 1<br>}’</pre><p><strong>Create data Asset in the Project</strong></p><p>Create a data asset inside the project by executing the following curl command. Replace appropriate values in the angular brackets. The curl command invokes /v2/assets?project_id=&lt;projectid&gt; API. Use the project_id value of the create project API response. From the response note down the asset id of the data asset created</p><pre>curl -X POST -k   &#39;https://&lt;cpd-host&gt;/v2/assets?project_id=&lt;projectid&gt;&#39;   -H &#39;Authorization: Bearer &lt;token&gt;&#39;   \<br>-H &#39;content-type: application/json&#39; \<br>  -d &#39;{<br>  &quot;metadata&quot;: {<br>    &quot;asset_type&quot;: &quot;data_asset&quot;,<br>    &quot;name&quot;: &quot;test&quot;,<br>    &quot;origin_country&quot;: &quot;us&quot;</pre><pre>},<br>  &quot;entity&quot;: {}<br>}&#39;</pre><p><strong>Create Notebook Asset in the Project</strong></p><p>Create a python 3.6 notebook asset inside the project by executing the following curl command. Replace appropriate values in the angular brackets. The curl command invokes /v2/assets?project_id=&lt;projectid&gt; API. Use the project_id value of the create project API response. From the response note down the asset id of the notebook asset created</p><pre>curl -X POST -k ‘https://&lt;cpd-host&gt;/v2/assets?project_id=&lt;projectid&gt;&#39; -H ‘Authorization: Bearer &lt;token&gt;’ \<br>-H ‘content-type: application/json’ \<br> -d ‘{<br> “metadata”: {<br> “asset_type”: “notebook”,<br> “name”: “Analysis”,<br> “origin_country”: “us”<br> },<br> “entity”: {<br> “notebook”: {<br> “kernel”: {<br> “display_name”: “Python 3.6”,<br> “language”: “python”,<br> “name”: “python3”<br> },<br> “originates_from”: {<br> “type”: “file”<br> }<br> }<br>}<br>}’</pre><p><strong>Create data Attachment in the Project and link it with the copied files</strong></p><p>Create a data attachment inside the project by executing the following curl command. Replace appropriate values in the angular brackets. The curl command invokes /v2/assets/&lt;assetid&gt;/attachments?project_id=&lt;projectid&gt; API. Use the project_id value of the create project API response and use the asset id of the create data asset step.</p><pre>curl -X POST -k ‘https://&lt;cpd-host&gt;/v2/assets/&lt;assetid&gt;/attachments?project_id=&lt;projectid&gt;&#39; -H ‘Authorization: Bearer &lt;token&gt;’ \<br>-H ‘content-type: application/json’ \<br>-d ‘{<br> “asset_type”: “data_asset”,<br> “object_key”: “data_asset/&lt;csvfilenamecopiedtotheproject&gt;”,<br> “object_key_is_read_only”: true</pre><pre>}’</pre><p><strong>Create Notebook Attachment in the Project and link it with the copied files</strong></p><p>Create a notebook attachment inside the project by executing the following curl command. Replace appropriate values in the angular brackets. The curl command invokes /v2/assets/&lt;assetid&gt;/attachments?project_id=&lt;projectid&gt; API. Use the project_id value of the create project API response and use the asset id of the create notebook asset step.</p><pre>curl -X POST -k ‘https://&lt;cpd-host&gt;/v2/assets/&lt;assetid&gt;/attachments?project_id=&lt;projectid&gt;&#39; -H ‘Authorization: Bearer &lt;token&gt;’ \<br>-H ‘content-type: application/json’ \<br>-d ‘{<br> “asset_type”: “notebook”,<br> “mime”: “application/json”,<br> “object_key”: “notebook/&lt;notebookfilenamecopiedtotheproject&gt;”,<br> “object_key_is_read_only”: false</pre><pre>}’</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gxkYQlwei5yOF5nf1be7eA.png" /><figcaption><strong>Newly created Analytics Project with Assets through API in the CPD Platform</strong></figcaption></figure><p><strong>Summary</strong></p><p>The article demonstrates how to automate project and asset creations through APIs in the IBM Cloud Pak for Data Platform</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b1b07d252e1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Install, Configure and Expose MongoDB on IBM Cloud Pak for Data (ICP4D)]]></title>
            <link>https://medium.com/@vrvignesh/install-configure-and-expose-mongodb-on-ibm-cloud-pak-for-data-icp4d-c1563ed84e70?source=rss-87442db7fd4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1563ed84e70</guid>
            <category><![CDATA[addons]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[ibm-data-and-ai]]></category>
            <category><![CDATA[cloud-pak-for-data]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Vignesh Ravindran]]></dc:creator>
            <pubDate>Mon, 11 Nov 2019 08:48:02 GMT</pubDate>
            <atom:updated>2019-11-11T08:48:02.243Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>Overview</strong></h4><p>Cloud Pak for Data provides a modern data and analytics multi-cloud platform that is elastic and reliable. In addition, it provides an end-to-end architecture that enables you to catalog, govern, transform, analyze your data and build, infuse AI models so that you can spend less time managing your data and more time using it to grow your business, Key features of Cloud Pak for Data:</p><ul><li>Features role-focused data, governance, and analytics capabilities tailored for data scientists, analysts, data engineers, data stewards, developers</li><li>Encourages collaboration and communication, improves data governance within the enterprise — accelerates digital transformation</li><li>Helps advance a data-driven culture for your organization — establishes the foundation for AI</li></ul><p><strong>ICP4D MongoDB Add-on</strong></p><p>IBM Cloud Pak for Data functionality can be extended through Add-ons. Add-ons are services that are deployed on Cloud Pak for Data cluster. For more information see <a href="https://www.ibm.com/support/knowledgecenter/en/SSQNUZ_2.1.0/com.ibm.icpdata.doc/zen/admin/add-ons.html#add-ons">Add-ons</a></p><p>MongoDB is a flexible and scalable database that is designed to store, query, and index documents. This article explains how to install, configure and expose MongoDB Add-on in the ICP4D.</p><p><strong>MongoDB Usecases</strong></p><ul><li>Storing Product Catalog</li><li>Operational database that supports a rapidly changing data model</li><li>Store large amounts of data with different data types, such as structure, unstructured, and polymorphic data</li><li>Store Log Data</li><li>Store large amounts of data from the Internet of Things devices or sensors</li></ul><p><strong>Guideline and Prereq to install MongoDB on ICP4D</strong></p><ul><li><a href="https://www.ibm.com/support/knowledgecenter/en/SSQNUZ_2.1.0/com.ibm.icpdata.doc/zen/admin/db-reqs.html">Refer guidelines for installing the database on ICP4D</a></li><li><a href="https://www.ibm.com/support/knowledgecenter/en/SSQNUZ_2.1.0/com.ibm.icpdata.doc/zen/admin/db-reqs.html#db-reqs__mongodb">Refer Prerequisites for installing MongoDB on ICP4D</a></li><li>Download MongoDB in the master node from IBM® Passport Advantage for more details <a href="https://www.ibm.com/support/knowledgecenter/en/SSQNUZ_2.1.0/com.ibm.icpdata.doc/zen/admin/download-db-pkg.html">Refer Download MongoDB Add-on</a></li><li>Move the Mongo tar file to the /ibm/InstallPackage/databases/</li></ul><p><strong>Install MongoDB on ICP4D</strong></p><p>Before creating a MongoDB, determine whether you want to use the database for development or test or production environment because this decision impacts:</p><ul><li>The namespace where you plan to run the database</li><li>Whether you deploy the database on dedicated or non-dedicated nodes</li><li>Where your storage is located</li></ul><p><strong>Prepare ICP4D Cluster for MongoDB Install</strong></p><p>MongoDB can be installed in three ways on ICP4D</p><ul><li>Adding MongoDB Dedicated nodes</li><li>Adding non-dedicated nodes for MongoDB</li><li>Label existing nodes for MongoDB</li></ul><p>This article focuses on using existing nodes for MongoDB installation</p><p>Login to master node and run the following command to label the existing nodes for MongoDB by replacing IP, Filename, and password</p><pre>kubectl exec -it $(kubectl get pods -n zen | grep zen-database-core | awk {‘print $1’}) -n zen -- /tools/configure-database.sh --master MASTERIP \<br> --worker-node WORKER1IP,WORKER2IP --ppa-archive &lt;MONGOTARFILEWITHPATH&gt; \<br> --password PASSWORD --configure-node</pre><p>Enable Cloud Pak for Data to detect the database installation package by running the following command</p><pre>kubectl exec -it $(kubectl get pods -n zen | grep zen-database-core | awk {&#39;print $1&#39;}) -n zen -- /tools/configure-database.sh --master MASTERIP \<br>--ppa-archive &lt;MONGOTARFILEWITHPATH&gt; --password PASSWORD --enable</pre><p><strong>Deploy MongoDB</strong></p><p>Login to the ICP4D Platform with the admin rights. Navigate to From the navigation, select <strong>Collect</strong> &gt; <strong>My data&gt;Databases</strong></p><p>Click <strong>Create a database.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*gGVmWe0_XhKlhVFUUnEN9g.png" /><figcaption><strong>Create Database</strong></figcaption></figure><p>Select Mongo DB and version and Click Next</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r8anhvItnXh17vfmw5nZJQ.png" /><figcaption><strong>Select the Database type and version</strong></figcaption></figure><p>Specify Cores, RAM, Nodes, Namespace and click Next</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qT0j8yTRQCjx89UAGqjoqw.png" /><figcaption><strong>Choose Nodes, Cores and NameSpace</strong></figcaption></figure><p>Specify Storage Class and size and click next. In my scenario, I have chosen the default glusterfs storage</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*liKriIkFeUN9CKo9jqLAKA.png" /><figcaption><strong>Specify Storage</strong></figcaption></figure><p>Review the configuration and click Create. MongoDB deployment will take 3 to 5 minutes to complete</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JKY1C8m7yWOrmr4qruhIlw.png" /><figcaption><strong>Review Configuration</strong></figcaption></figure><p><strong>Expose MongoDB for External consumption</strong></p><p>MongoDB is deployed as StatefulSet.StatefulSet maintains a sticky identity for each of their Pods. <a href="https://kubernetes.io/docs/concepts/services-networking/service/#headless-services">Headless Service</a> is created alongside the MongoDB StatefulSet. Kubernetes Service NodePort or LoadBalancer is required to expose the StatefulSet for outside consumption. In this article, a Nodeport service is created to expose the MongoDB</p><p>Run the below command to identify the label for the Statefulset. For example, the label might look like “statefulset.kubernetes.io/pod-name=mongodb-1565083310-replica-set-0”</p><pre>kubectl get pods -n mongodb --show-labels</pre><p>Replace the selector value in the below YAML by using the label identified using the previous command.</p><pre>apiVersion: v1<br>kind: Service<br>metadata:<br>  labels:<br>    app: mongodb-svc<br>  name: mongodb-svc<br>  namespace: mongodb<br>spec:<br>  ports:<br>  - name: mongodb<br>    port: 27017<br>    protocol: TCP<br>    targetPort: 27017<br>  selector:<br>    statefulset.kubernetes.io/pod-name: mongodb-1569921938-replica-set-0<br>  sessionAffinity: None<br>  type: NodePort</pre><p>Run the YAML</p><pre>kubectl create -f &lt;YAMLFile&gt;</pre><p>Identify the NodePort Port by running the following command</p><pre>kubectl get service -n mongodb</pre><p><a href="https://www.mongodb.com/products/compass">Download</a> and Connect using MongoDB Compass. In our case, the port is 31618</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*khO1Jb_cNVjF7QxsLV7ZKg.png" /><figcaption><strong>MongoDB Connection Details</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9_0UvzaAodpO4IfMJ_19CA.png" /><figcaption>List of Databases in MongoDB</figcaption></figure><h3>Summary</h3><p>The article demonstrates how to install,configure and expose MongoDB on top of IBM Cloud Pak for Data</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1563ed84e70" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IBM Cloud Automation Manager Multi-Node Installation With NFS]]></title>
            <link>https://medium.com/@vrvignesh/ibm-cloud-automation-manager-multi-node-installation-with-nfs-45702a9706a6?source=rss-87442db7fd4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/45702a9706a6</guid>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[fn]]></category>
            <category><![CDATA[multi-cloud]]></category>
            <category><![CDATA[ibm-cloud-private]]></category>
            <category><![CDATA[ibm-icam]]></category>
            <dc:creator><![CDATA[Vignesh Ravindran]]></dc:creator>
            <pubDate>Wed, 09 Jan 2019 06:35:41 GMT</pubDate>
            <atom:updated>2019-01-09T06:35:41.443Z</atom:updated>
            <content:encoded><![CDATA[<h3>IBM Cloud Automation Manager Multi-Node Installation With NFS Storage</h3><h3><strong>Overview</strong></h3><p>IBM® Cloud Automation Manager is a multi-cloud, self-service management platform running on IBM Cloud Private that empowers developers and administrators to meet business demands.</p><p>Cloud Automation Manager Service Composer allows you to expose cloud services to any cloud through the IBM Cloud Private catalog. It accelerates developer velocity and improves governance.</p><p>Cloud Automation Manager uses open source Terraform to manage and deliver cloud infrastructure as code. Cloud infrastructure delivered as code is reusable, able to be placed under version control, shared across distributed teams, and it can be used to easily replicate environments. Cloud Automation Manager brings a common approach to automate all workloads in all clouds to reduce configuration errors and improve operational efficiency. You can manage infrastructure as code using Hashicorp Terraform software.</p><p>Cloud Automation Manager supports all of the persistent volume types that IBM Cloud Private supports, the two recommended storage configurations for Cloud Automation Manager are NFS and GlusterFS.</p><p>This article will cover the step by step instructions to Install IBM Cloud Automation Manager (ICAM) 3.1.0 on IBM Cloud Private (ICP) 3.1.0 in a multi-node set up using NFS as a shared storage. In this scenario, NFS is set up within the ICP nodes. The other deployment option is to set up the NFS server outside the ICP cluster. This article demonstrates the ICAM and NFS setup in an Ubuntu 16.04 environment, NFS commands setup may vary based on Operating system such as Red Hat, CentOS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/1*OZkq8a9Hbqgs3JjPO4oYCQ.png" /><figcaption>ICAM — Multinode</figcaption></figure><h3>Prerequisites</h3><ol><li>This document assumes ICP 3.1 is installed successfully</li><li>Verify the <a href="https://www.ibm.com/support/knowledgecenter/en/SS2L37_3.1.0.0/cam_requirements.html">System requirements</a> for Installing ICAM</li><li>Root access to the nodes</li></ol><h3>High-Level steps</h3><ol><li>Install NFS in Master nodes and Worker Nodes</li><li>Create Docker Store Secrets and ServiceID API Key</li><li>Create Persistent Volumes</li><li>Deploy Cloud Automation Manager from Catalog</li></ol><h3>1.Install and NFS in Master nodes and Worker Nodes</h3><p><strong>Execute the following command one by one in the Master node</strong></p><p>apt-get update <br>apt-get -y install nfs-kernel-server nfs-common<br>mkdir /export<br>mkdir /export/CAM_db<br>mkdir /export/CAM_logs<br>mkdir /export/CAM_terraform<br>mkdir /export/CAM_BPD_appdata<br>chmod -R 777 /export<br>chown nobody:nogroup /export/CAM_db<br>chown nobody:nogroup /export/CAM_logs<br>chown nobody:nogroup /export/CAM_terraform<br>chown nobody:nogroup /export/CAM_BPD_appdata<br>echo “/export *(rw,insecure,no_subtree_check,async,no_root_squash)” &gt;&gt; /etc/exports<br>echo “/export/CAM_logs *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)” &gt;&gt; /etc/exports<br>echo “/export/CAM_db *(rw,insecure,no_subtree_check,async,no_root_squash)” &gt;&gt; /etc/exports<br>echo “/export/CAM_terraform *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)” &gt;&gt; /etc/exports<br>echo “/export/CAM_BPD_appdata *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)” &gt;&gt; /etc/exports<br>exportfs -a<br>systemctl restart nfs-server</p><p><strong>Execute the following command one by one in all the Worker nodes after replacing &lt;master-node-ip&gt; to the IP of NFS Server</strong></p><p>apt-get update <br>apt-get -y install nfs-common<br>mkdir /export<br>mkdir /export/CAM_db<br>mkdir /export/CAM_logs<br>mkdir /export/CAM_terraform<br>mkdir /export/CAM_BPD_appdata<br>chmod -R 777 /export<br>mount &lt;master-node-ip&gt;:/export/CAM_db /export/CAM_db<br>mount &lt;master-node-ip&gt;:/export/CAM_logs /export/CAM_logs<br>mount &lt;master-node-ip&gt;:/export/CAM_terraform /export/CAM_terraform<br>mount &lt;master-node-ip&gt;:/export/CAM_BPD_appdata /export/CAM_BPD_appdata<br>echo “&lt;masternode-ip&gt;:/export /export nfs rw 0 0” &gt;&gt; /etc/fstab<br>echo “&lt;masternode-ip&gt;:/export/CAM_db /export/CAM_db nfs rw 0 0” &gt;&gt; /etc/fstab<br>echo “&lt;masternode-ip&gt;:/export/CAM_logs /export/CAM_logs nfs rw 0 0” &gt;&gt; /etc/fstab<br>echo “&lt;masternode-ip&gt;:/export/CAM_terraform /export/CAM_terraform nfs rw 0 0” &gt;&gt; /etc/fstab<br>echo “&lt;masternode-ip&gt;:/export/CAM_BPD_appdata /export/CAM_BPD_appdata nfs rw 0 0” &gt;&gt; /etc/fstab</p><h3>2 Create Docker Store Secrets and ServiceID API Key</h3><p>a. Follow the instructions in the link to <a href="https://www.ibm.com/support/knowledgecenter/SS2L37_3.1.0.0/cam_docker_secret.html">Create docker store secret</a></p><p>b. Follow the instructions in the link under the section Before you begin to <a href="https://www.ibm.com/support/knowledgecenter/en/SS2L37_3.1.0.0/cam_install_EE_online.html">create ServiceID API Key</a></p><h3>3. Create Persistent Volumes</h3><p>Create persistent volumes that are required for Cloud Automation Manager database, log files, terraform, and Cloud Automation Manager Template Designer</p><p>a. In the dashboard of IBM Cloud Private, click <strong>Create resource</strong> menu. It is available on the top right next to the <strong>Catalog</strong> menu.</p><p>b. Copy and paste the YAML or JSON files given in section d to g one by one into the <strong>Create resource</strong> dialog box and click create</p><p>c. In each of the following yaml examples, replace mycluster.icp with your NFS server IP and /export/CAM_xxx with the path on the NFS server for the volume.</p><p>d. For Cloud Automation Manager database:</p><pre>kind: PersistentVolume<br>apiVersion: v1<br>metadata:<br>  name: cam-mongo-pv<br>  labels:<br>    type: cam-mongo<br>spec:<br>  capacity:<br>    storage: 15Gi<br>  accessModes:<br>    - ReadWriteMany<br>  nfs:<br>    server: mycluster.icp<br>    path: /export/CAM_db</pre><p>e. For Cloud Automation Manager database:</p><pre>kind: PersistentVolume<br>apiVersion: v1<br>metadata:<br>  name: cam-logs-pv<br>  labels:<br>    type: cam-logs<br>spec:<br>  capacity:<br>    storage: 10Gi<br>  accessModes:<br>    - ReadWriteMany<br> nfs:<br>    server: mycluster.icp<br>    path: /export/CAM_logs</pre><p>f. For terraform persistent volume:</p><pre>kind: PersistentVolume<br>apiVersion: v1<br>metadata:<br>  name: cam-terraform-pv<br>  labels:<br>    type: cam-terraform<br>spec:<br>  capacity:<br>    storage: 15Gi<br>  accessModes:<br>    - ReadWriteMany<br>  nfs:<br>    server: mycluster.icp<br>    path: /export/CAM_terraform</pre><p>g. For Cloud Automation Manager Template Designer:</p><pre>kind: PersistentVolume<br>apiVersion: v1<br>metadata:<br>  name: cam-bpd-appdata-pv<br>  labels:<br>    type: cam-bpd-appdata<br>spec:<br>  capacity:<br>    storage: 20Gi<br>  accessModes:<br>    - ReadWriteMany<br>  nfs:<br>    server: mycluster.icp<br>    path: /export/CAM_BPD_appdata</pre><h3>4. Deploy Cloud Automation Manager from Catalog</h3><p>Log in to IBM Cloud Private by using the supported browser. For the list of supported browsers, see Other requirements section of <a href="https://www.ibm.com/support/knowledgecenter/SS2L37_3.1.0.0/cam_requirements.html?view=kc">System requirements</a>.</p><ol><li>Go to <strong>Manage</strong> &gt; <strong>Helm Repositories</strong> &gt; <strong>Sync repositories</strong> to synchronize the helm repositories.</li><li>Go to <strong>Catalog</strong> &gt; <strong>Helm Charts</strong>, click ibm-cam</li><li>Review instructions and click <strong>Configure</strong>.</li><li>In the <strong>Configuration</strong> section, enter the following values:</li></ol><p><strong>Release name</strong> — Enter release name. For example, cam</p><p><strong>Target namespace</strong> — Select Services from the target namespace drop-down list.</p><p><strong>Note</strong>: The services namespace is required because Cloud Automation Manager uses the ConfigMap of IBM Cloud Private to support single sign-on. If you define and use your own namespace during Cloud Automation Manager installation, then the installation might fail.</p><ul><li>Select <strong>I have read and agreed to license agreements</strong> to accept the license agreements.</li></ul><p>5. In the <strong>Global</strong> section, enter the following values:</p><ul><li><strong>Image Pull Secret Name</strong> — Enter the Docker Store secret name that you generated in <a href="https://www.ibm.com/support/knowledgecenter/SS2L37_3.1.0.0/cam_docker_secret.html?view=kc">Creating a Docker Store secret</a>.</li><li><strong>Product Identifier</strong> — Enter the contents of the icp-cam-prod-id-3.1.0.0.txt file.</li><li><strong>Deploy API Key</strong> — Enter the deploy API Key. It is used to generate Cloud Automation Manager specific Service ID and API Key. The Cloud Automation Manager API Key is used to interact with the platform authorization.</li></ul><p>6. Click Install</p><p>7. Installation may take 30 minutes to complete.</p><p>8. After 30 minutes, Login to the terminal of the Master node and run the following command</p><p>kubectl get -n services pods</p><p>9. If the installation is successful, all the ICAM pods will be up and running as shown in the below figure</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X5bzI2sKdHSLCPk7G4OpIg.png" /><figcaption><strong>List of CAM Pods</strong></figcaption></figure><h3>Summary</h3><p>This article provides the step by step instruction to install IBM Cloud Automation manager in a multi-node NFS setup. Learn to use IBM Cloud automation manager to automate the provisioning of cloud infrastructure, applications and develop content to deploy infrastructure and create service orchestrations by using the tutorials available in <a href="http://,https//developer.ibm.com/cloudautomation/">IBM Developer Community</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45702a9706a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>